/* animations */
@keyframes fadeOutAll {
  from { visibility: visible; opacity: 1; }
  to { visibility: hidden; opacity: 0; }
}
@keyframes fadeInNormal {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.appLoaderContainerBlue, .appLoaderContainerWhite, .appLoaderContainerDark {
  display: none; /* turned on in index.html script */ 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  align-content: center;
  place-items: center;
  overflow: hidden;
  z-index: 9999999999999;
}
.appLoaderContainerBlue {
  background: #0072CF;
  background: linear-gradient(38deg, rgba(5,66,138,1) 0%, rgba(0,112,206,1) 100%);
}
.appLoaderContainerWhite {
  background-color: white;
}
.appLoaderContainerDark {
  background: rgb(73, 73, 75);
  background: linear-gradient(38deg, rgb(35, 31, 32) 0%, rgb(73, 73, 75) 100%);
}

.appLoaderContainerFadeOut {
  animation-name: fadeOutAll;
  animation-duration: 0.4s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

.appLoaderIcon {
  width: 600px;
  height: 216px;
  opacity: 0;
  position: relative;
  animation-name: fadeInNormal;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-delay: 0.1s;
}
.appLoaderContainerWhite .appLoaderIcon {
  width: 400px;
  height: 145px;
}
.appLoaderContainerDark .appLoaderIcon {
  width: 400px;
  height: 145px;
}
@media screen and (max-width: 740px) {
  .appLoaderIcon, .appLoaderContainerDark .appLoaderIcon, .appLoaderContainerWhite .appLoaderIcon { width: 400px; height: 145px; }
}
@media screen and (max-width: 500px) {
  .appLoaderIcon, .appLoaderContainerDark .appLoaderIcon, .appLoaderContainerWhite .appLoaderIcon { width: 280px; height: 100px; }
}
@media screen and (max-width: 350px) {
  .appLoaderIcon, .appLoaderContainerDark .appLoaderIcon, .appLoaderContainerWhite .appLoaderIcon { width: 240px; height: 86px; }
}
.appLoaderIcon img {
  width: 100%;
}

.loadingTextRow {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 50px;
  opacity: 0;
  animation-name: fadeInNormal;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-delay: 0.1s;
}

.textImageContainer {
  width: 200px;
  height: 30px;
  margin-left: 20px;
}
.textImageContainer img {
  width: 100%;
}

/* size adjustments for white loading screen */
.appLoaderContainerDark .loadingTextRow, .appLoaderContainerWhite .loadingTextRow { margin-top: 30px; }
.appLoaderContainerDark .textImageContainer, .appLoaderContainerWhite .textImageContainer { width: 150px; height: 20px; }
.appLoaderContainerDark .lds-roller, .appLoaderContainerWhite .lds-roller { transform: scale(0.8); }

@media screen and (max-width: 740px) {
  .loadingTextRow, .appLoaderContainerDark .loadingTextRow, .appLoaderContainerWhite .loadingTextRow { margin-top: 30px; }
  .lds-roller, .appLoaderContainerDark .lds-roller, .appLoaderContainerWhite .lds-roller { transform: scale(0.8); }
  .textImageContainer, .appLoaderContainerDark .textImageContainer, .appLoaderContainerWhite .textImageContainer { margin-left: 10px; width: 150px; height: 20px; }
}

/* icon css */
.lds-roller {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 20px 20px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  margin: -2px 0 0 -2px;
}
.lds-roller-blue div:after {
  background: #0072CF;
}
.lds-roller-white div:after {
  background: #fff;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 31.5px;
  left: 31.5px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 34px;
  left: 28px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 35.5px;
  left: 24px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 36px;
  left: 20px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 35.5px;
  left: 16px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 34px;
  left: 12px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 31.5px;
  left: 8.5px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 28px;
  left: 6px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #252525;
  text-shadow: 0 1px 0 #b9bbbe;
  opacity: .5;
}

.close:hover, .close:focus {
  opacity: .75;
  color: #b9bbbe;
  text-shadow: 0 1px 0 #252525;
}

.close:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.modal-header .close {
  color: #b9bbbe;
  text-shadow: 0 1px 0 #252525;
  opacity: 1;
}

.modal-header .close:hover, .modal-header .close:focus {
  opacity: .75;
  color: #b9bbbe;
  text-shadow: 0 1px 0 #252525;
}