/* Global styles from bootstrap needed now */
html {
  height: 100%;
}
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
}
select {
  font-size: var(--lxFontSize);
  padding: 2px;
  color: black;
}

div#loginContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

div#loginContainer > p {
  margin: 0;
  text-align: center;
}

button#loadContent {
  background-color: #0070f2;
  color: #ffffff;
  height: 32px;
  border: none;
  padding: 8px;
  line-height: 16px;
  border-radius: 3px;
}

p#loginInfo {
  text-align: center;
}

/* Splashscreen content */
#Splashscreen-container {
  background-image: url(../assets/images/leanix-product-background.webp);
  background-color: #0070f2;
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 10px 10px 70px;
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  position: absolute;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-in;
  -moz-transition: opacity 0.5s ease-in;
  -ms-transition: opacity 0.5s ease-in;
  -o-transition: opacity 0.5s ease-in;
  transition: opacity 0.5s ease-in;
}
#Splashscreen-container.load,
#Splashscreen-container.isWorkspaceSelection {
  opacity: 1;
}
#Splashscreen-container.isWorkspaceSelection {
  position: fixed;
  left: 0;
}

.Splashscreen-content {
  width: min(100%, 500px);
}

.Splashscreen-center {
  background: #ffffff;
  color: white;
  font-size: 2rem;
  text-align: center;
  min-height: 359px;
  padding: 40px 10px 0 20px;
  margin-top: 38px;
  border-radius: 20px;
  box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.5);
}

.Splashscreen-title {
  color: #2a303d;
  font-size: var(--lxFontHeader1Size);
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 35px;
}

.noPermissionGetSupport {
  font-size: var(--lxFontSize);
  font-weight: normal;
}

.noPermissionGetSupport > a {
  text-decoration: none !important;
  color: #526179 !important;
}

.Splashscreen-label {
  margin: 5px 0;
}
.Splashscreen-customMessage {
  display: none;
  margin-top: 20px;
}
#Splashscreen-versionOutput {
  font-size: var(--lxFontSize);
  padding-top: 10px;
}

/* Generic spinner styles, also used by lx-spinner! */
#Splashscreen-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#Splashscreen-newContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-in;
  -moz-transition: opacity 0.5s ease-in;
  -ms-transition: opacity 0.5s ease-in;
  -o-transition: opacity 0.5s ease-in;
  transition: opacity 0.5s ease-in;
}
#Splashscreen-newContainer.load {
  opacity: 1;
}

.spinner {
  margin: 0px auto;
  width: 55px;
  height: 25px;
  text-align: center;
  font-size: 11.25px;
}
.spinner > div {
  background-color: #0070f2;
  height: 100%;
  width: 6px;
  display: inline-block;
  margin: 0 1px;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}
.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}
.spinner .rect3 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}
.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}
@-webkit-keyframes sk-stretchdelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
  }
}
@keyframes sk-stretchdelay {
  0%,
  40%,
  100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}

/* Specific spinner styles for splash screen */
#Splashscreen-container:not(.customMessage) .spinner {
  height: 10px;
  font-size: 0;
}

/* Positioning of (error) toastr messages */
.toast-top-right-menu {
  top: 52px;
  right: 12px;
}

/* Custom splashscreen message */

#Splashscreen-newContainer.customMessage .Splashscreen-customMessage {
  font-size: 2rem;
  display: block;
}

#Splashscreen-container.customMessage .Splashscreen-customMessage {
  display: block;
}

.unsupported-browser {
  background-color: #f0f2f5;
}

.alert--ie {
  background-color: #f9e1e0;
  border-color: #ebccd1;
  border-left: 2px solid #f96464;
  width: 640px;
  margin: 150px auto 0;
  font-size: 18px;
  padding: 50px;
  line-height: 30px;
}
.alert--ie a {
  color: #0070f2;
}

@media only screen and (max-width: 470px) {
  .Splashscreen-title {
    font-size: 25px;
  }
}
@media only screen and (max-width: 250px) {
  .Splashscreen-title {
    font-size: 21px;
  }
}
@media only screen and (max-width: 216px) {
  .Splashscreen-title {
    font-size: 16.75px;
  }
}

@media only screen and (max-height: 450px) {
  .Splashscreen-logo {
    display: none;
  }
}

@media only screen and (max-height: 410px) {
  .Splashscreen-center {
    margin-top: 0;
  }
}
@media only screen and (max-height: 370px) {
  .Splashscreen-center {
    min-height: 339px;
  }
}
@media only screen and (max-height: 350px) {
  .Splashscreen-title {
    font-size: 21px;
    margin-bottom: 15px;
  }
  .Splashscreen-center {
    padding-top: 25px;
    min-height: 300px;
  }
}
