body {
  background-color: #f0f0f0;
  color: #333333;
}
#loginform {
  position: relative;
  display: block;
  width: 320px;
  margin: 5% auto 0 auto;
}
#loginform .header {
  margin-bottom: 1rem;
}
#loginform .header img {
  width: 100%;
}
#loginform .header span {
  font-size: 1.7rem;
}
#loginform .text {
  position: relative;
  padding: 10px 0;
  color: #ffffff;
}
#loginform .text form input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  box-sizing: border-box;
  font-size: 1.4rem;
  line-height: 1.2rem;
  padding: 10px;
  margin: 5px 0;
}
#loginform .text form input:focus {
  outline: none;
  border-bottom-color: #0b891d;
}
#loginform .text form button {
  width: 100%;
  font-size: 1.2rem;
  padding: 7px 10px;
  margin: 15px 0;
}
#loginform .login_progress {
  display: none;
}
#loginform .check_progress {
  display: block;
}
#loginform .check_progress,
#loginform .login_progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: #333;
  background-color: rgba(0, 0, 0, .65);
  color: #fff;
  z-index: 10;
}
#loginform .check_progress > span,
#loginform .login_progress > span {
  display: block;
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
}

#blkAttempsRemain {
  display: none;
}

div.info {
  /*display: flex;
  justify-content: space-around;*/
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3em 0.5em;
}
div.info a {
  justify-self: start;
  color: #999;
  transition: all 200ms ease-in-out;
  text-align: center;
}
div.info a:nth-child(2n) {
  justify-self: end;
}
div.info a:active, div.info a:link, div.info a:visited {
  color: #999;
}
div.info a:hover {
  color: #666;
}

div.choose_2fa {
  display: none;
  color: #333;
  text-align: center;
}
div.choose_2fa div.variants {
  display: block;
  margin-top: 1em;
}
div.choose_2fa div.variants button {
  width: 100%;
  font-size: 1.2rem;
  padding: 7px 10px;
  margin: 15px 0;
}

div.email_2fa,
div.totp_2fa {
  display: none;
  color: #333;
  text-align: center;
}
div.email_2fa input,
div.totp_2fa input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  box-sizing: border-box;
  font-size: 1.4rem;
  line-height: 1.2rem;
  padding: 10px;
  margin: 5px 0;
}
div.email_2fa button,
div.totp_2fa button {
  width: 100%;
  font-size: 1.2rem;
  padding: 7px 10px;
  margin: 15px 0;
}

#txtEmailConfirm,
#txtTOTPConfirm {
  text-align: center;
}

#loginform .text div.logout {
  text-align: center;
  color: #333;
}
#loginform .text div.logout div.header {
  text-transform: uppercase;
  font-size: 1.7rem;
}
#loginform .text div.logout div.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5em;
}
#loginform .text div.logout div.progress span.mdi {
  font-size: 1.4em;
}

div.footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 0.85em;
}

@media screen and (min-width: 420px) {
  #loginform {
    width: 400px;
  }
 }
