body {
  margin: 0;
}

.annoucement_container {
  padding: 18px 12px;
  word-break: break-word;
  width: 100%;
  background-color: var(--logo-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
}

.annoucement_text {
  color: white;
  font-size: 12px;
  word-break: break-word;
  width: 90%;
  text-align: center;
}

.home_message_bar_close_button {
  margin-right: 1em;
  color: white;
  border: none;
  background: transparent;
  position: absolute;
  right: 3em;
  cursor: pointer;
  font-size: 14px;
}

.home_container {
  width: 90%;
  background-color: white;
  margin: 0 auto;
}

.logo_image {
  width: 80%;
  margin: 0 auto;
  display: block;
}

.main_content {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  margin-top: 2em;
  /* Avoid error message */
}

.login_form_container {
  /* width: 90%; */
  margin: 0 auto;
}

.login_header {
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--text-standard-color);
}

.form_subsection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2em;
}

.error_message {
  margin: 1em 0;
  color: var(--mrc-red);
  font-size: 12px;
}

.home_password_reset_link {
  font-size: 13px;
  color: var(--text-standard-color);
  text-decoration: none;
}

.home_first_time_setup_link {
  text-decoration: underline;
}

.home_login_input {
  display: block;
  width: 100%;
  margin: 0 auto;
  height: 42px;
  padding-left: 5px;
  border: 2px solid #ced4da;
  outline: none;
  color: var(--text-gray);
  transition: all 0.3s;
}

.home_login_input:focus {
  border: 2px solid var(--primary-button-color);
}

.wrong_password:focus {
  border: 2px solid var(--mrc-red);
}

.username_container {
  margin-bottom: 36px;
}

.input_error {
  display: none;
  color: var(--mrc-red);
  font-size: 12px;
  margin-top: 0.5em;
  margin-bottom: 0;
  margin-left: 0.15em;
}

/* .username_error {
  display: none;
  color: var(--mrc-red);
  font-size: 12px;
  margin-top: .5em;
  margin-bottom: 0;
  margin-left: .5em;
} */

.username {
}

.password_container {
  margin-bottom: 1em;
}

/* 
.password_error {
  display: none;
  color: var(--mrc-red);
  font-size: 12px;
  margin-top: .5em;
  margin-bottom: 0;
  margin-left: .5em;
} */

.password {
}

.forgot_password_container {
  display: none;
}

.home_login_submit_button {
  width: 100%;
  height: 44px;
  margin-bottom: 3.5em;
}

.learn_more {
  font-size: 13px;
  text-align: center;
  margin-bottom: 2.5em;
}

.learn_more_link,
.referral_link {
  text-decoration: underline;
}

.referral {
  font-size: 13px;
  text-align: center;
  color: var(--text-standard-color);
}

.mobile_footer {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 3em;
}

.disclaimer {
  font-size: 8px;
  text-align: center;
}

.mobile_footer_links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3em;
}

.mobile_footer_link {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 12px;
}

.desktop_footer {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
}

.desktop_footer_logo {
  align-self: center;
  width: 250px;
  height: 90px;
}

.copyright {
  text-align: center;
  font-size: 12px;
  margin-bottom: 2em;
}

.forgot_password_container > h1 {
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--text-standard-color);
}

.forgot_password_description {
  margin-bottom: 2em;
}

.home_password_reset_link_dismiss {
  font-size: 12px;
  color: var(--text-standard-color);
  text-decoration: underline;
}

.forgot_password_input_container {
  margin-bottom: 26px;
}

.forgot_password_username_input {
}

.forgot_password_button {
  width: 140px;
  height: 35px;
}

.desktop_footer_links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 1em;
  justify-items: center;
  align-content: center;
  margin-bottom: 3em;
}

.desktop_footer_link {
  display: block;
  margin-bottom: 1em;
  font-size: 13px;
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 600;
}

.email_link {
  font-weight: normal;
  margin-bottom: 0.5em;
}

.footer_header {
  margin-top: 0;
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  margin-bottom: 1em;
}

.footer_description {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

@media only screen and (min-width: 600px) {
  .learn_more {
    font-size: 13px;
  }

  .learn_more_link {
    font-size: 13px;
  }

  .referral {
    font-size: 13px;
  }

  .referral_link {
    font-size: 13px;
  }

  .desktop_footer {
    margin-top: 100px;
    display: block;
  }

  .mobile_footer {
    display: none;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1000px) {
  .desktop_footer_links {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 2em;
  }

  .desktop_footer_logo {
    grid-column: 2/4;
    grid-row: 2/3;
  }
}

/* Login lean loading layer */

#login_loading_layer {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 100vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}
