/*
To have the cache of this file cleared you must comment out SpaProxy in appsettings.User.json,
restart Visual Studio and then run "mpleo webclient build"
*/
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#app-container {
  height: 100%;
}

.loader-container {
  text-align: center;
  width: 100%;
  height: 100%;
  color: #999;
  background: #fff;
  background: var(--loader-bg-color, #fff);
  font-size: 0; /* prevent loading animation moving place when react starts */
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo {
  margin-top: 50px;
  width: 400px;
  height: 200px;
  max-width: 80vw;
  background-image: url("../img/logo_mpleo_dark.svg");
  background-image: var(--loader-src-url, url("../img/logo_mpleo_dark.svg"));
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/*
  loading animation
*/

.loader-spinner {
  margin: 0 auto;
  width: 70px;
  text-align: center;
}

.loader-spinner > div {
  width: 18px;
  height: 18px;
  background-color: #ff8f1c;
  background-color: var(--loader-color, #ff8f1c);

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.loader-spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader-spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
