html,
body {
  background-color: black;
  height: 100%;
  -webkit-animation: fadeIn ease 1.5s;
  animation: fadeIn ease 1.5s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media only screen and (orientation: landscape) {
  body {
    touch-action: pan-y;
  }
}

body.pagetype-login #pagecontent {
  background-image: url(../images/login.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  float: none;
  top: 0;
  margin: 0;
}

.clearfix-fixedheader {
  display: none;
}

.notification-bar {
  position: relative;
}

.actionbtns div[btn-icon-input],
.loginbutton {
  margin: 8px auto;
  padding: 0;
  width: 700px;
  max-width: 95%;
  height: 59px;
  left: 535px;
  top: 561px;
  outline: 0;

  background: var(--theme-color-primary);
  border-radius: 30px;
  font-style: normal;
  font-weight: 700;
  font-size: 16px; /* Fallback for browsers that don't allow vw */
  font-size: 0.85vw;
  line-height: 19px;
  letter-spacing: 0.2em;
}

@media only screen and (max-width: 1200px) {
  .actionbtns div[btn-icon-input],
  .loginbutton {
    font-size: 16px;
  }
}

.actionbtns div[btn-icon-input] input,
.loginbutton {
  border: none !important;
}

.logininput {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logininput .checkbox {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  margin: 8px auto;
}

.logininput .checkbox input {
  position: absolute;
  bottom: 0;
  cursor: pointer;
  opacity: 0;
  height: 24px;
  width: 24px;
  z-index: 10;
}

.logininput .checkbox input:checked ~ .checkmark {
  background-color: var(--good-color);
}

.logininput .checkbox .checkmark {
  height: 24px;
  width: 24px;
  background-color: var(--input-background);
  border: 1px solid var(--input-border);
  border-radius: var(--globalborderradius);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

.logininput .checkbox .checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

.logininput .checkbox input:checked ~ .checkmark:after {
  display: block;
}

.logininput .checkbox .checkmark:after {
  cursor: pointer;
  left: 9.25px;
  bottom: 7.9px;
  width: 4.8px;
  height: 9.6px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.logininput .checkbox .checkmark {
  border: 1px solid var(--input-border);
  border-radius: var(--globalborderradius);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  height: 24px;
  width: 24px;
}

.logininput .checkbox .header {
  color: white;
  font-size: 16px;
  font-weight: 400;
}

.logininput input[login-input],
#email,
#password {
  margin: 20px auto;
  width: 700px;
  max-width: 95%;
  height: 59px;
  left: 535px;
  top: 373px;
  outline: 0;
  text-align: center;

  background: rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 30px;
  font-style: normal;
  font-weight: 500;
  font-size: 16px; /* Fallback for browsers that don't allow vw */
  font-size: 0.75vw;
  line-height: 21px;
  letter-spacing: 0.06em;
  filter: none;
}

.logininput input[login-input]:-internal-autofill-selected,
#email:-internal-autofill-selected,
#password:-internal-autofill-selected {
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
  -webkit-text-fill-color: white !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.75) inset !important;
  box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.75) inset !important;
  font-size: 0.75vw !important;
}

#email-container.logininput {
  padding-top: 20px;
}

.loginbutton {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.loginbuttontext {
  color: white;
  line-height: 19px;
  letter-spacing: normal;
  transition: all 0.2s;
}

.loginload .loginbuttontext {
  opacity: 0;
  visibility: hidden;
}

.loginload::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  -webkit-animation: loginload-spinner 1s ease infinite;
  animation: loginload-spinner 1s ease infinite;
}

.loginload-iosfix::after {
  border-color: #ffffff;
}

@-webkit-keyframes loginload-spinner {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes loginload-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 845px) {
  .logininput input[login-input],
  #email,
  #password {
    margin: 8px auto;
  }

  #email-container.logininput {
    padding-top: 0px;
  }
}

@media only screen and (max-width: 1200px) {
  .logininput input[login-input],
  #email,
  #password {
    font-size: 14px;
  }
}

.logininput i {
  color: white;
  padding-left: 10px;
  pointer-events: none;
  position: absolute;
  max-width: 95%;
}

.icon {
  text-align: left;
  min-width: 40px;
  width: 700px;
}

.logininput input[login-input],
#email:focus,
#password:focus {
  box-shadow: 0 0 3pt 2pt var(--theme-color-primary);
  -webkit-appearance: none;
  -webkit-box-shadow: 0 0 2pt 2pt var(--theme-color-primary);
}

#email.invalid,
#password.invalid {
  box-shadow: 0 0 3pt 2pt var(--bad-color);
  -webkit-appearance: none;
  -webkit-box-shadow: 0 0 2pt 2pt var(--bad-color);
}

.login-bottomlinks {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: 50%;
  font-size: 16px !important;
  font-family: 'Roboto', sans-serif;
}

@media only screen and (max-height: 700px) {
  .login-bottomlinks {
    display: none;
  }
}

@media only screen and (max-width: 845px) {
  .login-bottomlinks {
    display: none;
  }
}

@media only screen and (max-width: 1200px) {
  .login-bottomlinks {
    width: 90%;
  }
}
