html {
  position: relative;
  min-height: 100%;
}
body {
  background-image: url('../images/login/bg-login.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  font-family: Rajdhani, sans-serif;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.page-login {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.page-login .row {
  display: flex;
  flex-direction: column;
}

.form-card {
  height: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: baseline;
}
.form-logo {
  cursor: pointer;
  padding: 0;
  margin: auto;
  margin-top: 14vh;
  margin-bottom: 2rem;
  width: 100%;
  height: 20vh;

  display: flex;
  justify-content: end;
  align-items: flex-end;

  background-image: url('../images/login/logo_mli.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transition: margin 0.25s;
}
.form-logo-crypto {
  background-image: url('../images/login/logo_mli_crypto.png');
}
@media only screen and (max-height: 500px) {
  .form-logo {
    margin-top: 10vh;
    transition: margin 0.25s;
  }
}

.card .input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  min-width: 290px;
  height: 5rem;
  background: #fff;
  border: 1px solid #707070;
  border-radius: 10px;
}
.card .input-container input {
  box-sizing: content-box;
  padding: 0 1.1rem;
  border-radius: 10px;
  outline: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  color: #3a5374;

  font-size: 2rem;
  font-weight: 400;
}
.card form .input-container input::placeholder {
  color: #3a5374;
  font-size: 1.8rem;
  font-weight: 600;
}
.input-container input:disabled {
  background: #aaa;
}
.buttons-container button:disabled{
  background: #aaa;
}

.buttons-container {
  margin-top: -1rem;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}
.enter-button {
  margin: 2.5rem auto;
  padding: auto;
  background-color: #fff;
  border-radius: 5px;
  color: #3a5374;
  font-weight: 600;
  font-size: 1.7rem;
  border: none;

  transition: color 0.5s, background-color 0.5s;
}
.enter-button:hover:enabled {
  color: #fff;
  background-color: #3a5374;
}
.enter-button + .enter-button {
  margin-left: 10px;
}
.stretch-btn {
  width: 100%;
}

.links-container {
  margin: auto;
  margin-top: -0.5rem;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.link {
  margin: 0 auto;
  padding: 0.1rem 0;

  display: flex;
  flex-direction: row;
  align-items: baseline;
  font-weight: 600;

  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
}

.link a,
.link button {
  margin: auto;
  color: #fff;
  text-decoration: underline;

  background-color: transparent;
  border: none;
  outline: none;
}
.link a:hover,
.link button:hover {
  font-weight: 700;
}
.link p {
  margin: auto;
  margin-right: 5px;
}

.footer {
  visibility: visible;
  position: absolute;
  bottom: 0;

  width: 100vw;
  height: auto;
  padding-bottom: 35px;

  display: block;
}
.footer div {
  cursor: pointer;
  width: 150px;
  height: 50px;

  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  background-image: url('../images/login/hsc-logo-white.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80px;
}
.footer p {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.footer p + p {
  font-size: 1.2rem;
  margin-top: 13px;
  white-space: nowrap;
  text-align: center;
}

@media only screen and (max-height: 550px) {
  .footer {
    visibility: hidden;
  }
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px white inset;
  /*    -webkit-text-fill-color: yellow !important;*/
}
