/* wp-login.php */

html,
body.login {
  height: 100%;
  min-height: 100%;
}

body.login.ml-half-screen {
  min-height: 100vh;
}

body.login .ml-form-container {
  flex-flow: column;
  position: relative;
  justify-content: flex-start;
  max-height: 100vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body.login .ml-form-container::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (min-width: 768px) {
  body.login {
    overflow: hidden;
  }

  body.login.ml-half-screen .ml-container {
    height: 100vh;
    min-height: 100vh;
    align-items: stretch;
    overflow: hidden;
  }

  body.login.ml-half-screen .ml-container .ml-form-container {
    height: 100vh;
    min-height: 0;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.login.ml-half-screen .ml-container .ml-extra-div {
    min-height: 100vh;
  }
}

@media (max-width: 578px) {
  .login .ml-container .ml-extra-div {
    background-image: none;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body.login.ml-half-screen .ml-container {
    flex-wrap: nowrap;
  }

  body.login.ml-half-screen.ml-login-align-1 .ml-container .ml-extra-div {
    width: 100%;
  }

  body.login.ml-half-screen.ml-login-align-1 .ml-container .ml-form-container {
    width: 354px;
    min-width: 354px;
    max-width: 354px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) and (aspect-ratio: 4/3) {
  body.login.ml-half-screen.ml-login-align-1 .ml-container .ml-form-container {
    width: 414px;
    min-width: 414px;
    max-width: 414px;
  }
}

@media (min-width: 1200px) and (min-height: 850px) {
  body.login .ml-form-container {
    justify-content: center;
  }
}

.login .ml-container .ml-extra-div {
  background-position: bottom;
  background-attachment: fixed;
}

.login .ml-container #login {
  max-width: 305px;
  padding-top: 50px;
  background: #415364;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .login .ml-container #login {
    padding-top: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) and (aspect-ratio: 3/4) {
  .login .ml-container #login {
    padding-top: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) and (aspect-ratio: 4/3) {
  .login .ml-container #login {
    padding-top: 90px;
  }
}

@media (min-width: 1200px) {
  .login .ml-container #login {
    padding-top: 20px;
  }
}

.ml-container #login > *,
.ml-container #login_footer > * {
  padding: 0 20px;
}

.login #login h1 a {
  height: 112px;
  width: auto;
  margin-bottom: 64px;
}

.login #loginform {
  margin: 0;
  height: auto;
  padding: 0 20px 0;
}

.login label {
  font-size: 12px;
}

body.login form .input,
.login input[type="text"] {
  margin: 2px 0 8px 0;
  color: #243746;
}

#loginform #user_login,
#loginform #user_pass {
  height: 40px;
}

#loginform #user_pass {
  margin-bottom: 21px;
}

.forgetmenot {
  display: none;
}

.submit #wp-submit {
  display: block;
  float: none;
  background: #91b6bb 0% 0% no-repeat padding-box;
  border-radius: 37px;
  width: 100%;
  height: 45px;
  border: 0;
  letter-spacing: 0;
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 12px;
}

.login .ml-container #login_error {
  margin: 0 20px 0;
}

#login_footer {
  max-width: 305px;
  width: 100%;
  background: rgba(65, 83, 100, 1);
  z-index: 99;
  display: flex;
  flex-flow: column;
}

#signup_link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: #9e703c 0% 0% no-repeat padding-box;
  border-radius: 37px;
  width: 100%;
  height: 45px;
  letter-spacing: 0;
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 14px;
}

#form-links {
  flex: 1 0;
  margin-bottom: 56px;
  margin-bottom: 26px;
}

#forgot_links {
  display: flex;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 8px;
}

#forgot_links a {
  display: block;
  color: #ffffff;
  letter-spacing: 0;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

#back_to_hq {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
}

@media (min-width: 768px) {
  #back_to_hq {
    margin-bottom: 100px;
  }
}

#back_to_hq a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0;
  font-size: 12px;
  background: #253847;
  border-radius: 28px;
  height: 45px;
  padding: 0 32px 0 25px;
  display: flex;
  align-items: center;
}

#back_to_hq .caret-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(136deg) translateX(-3px) translateY(-3px);
  margin-right: 8px;
}

#disclaimer {
  font-size: 12px;
  line-height: 12px;
  color: #91b6bb;
  max-width: 305px;
  margin: 0 auto 20px;
  text-align: center;
}

#help-link {
  text-align: center;
}

#help-link #start-help {
  color: #ffffff;
  letter-spacing: 0;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.lp-support {
  display: none;
}

#zendesk-chat-bubble {
  border: none;
  background: transparent
    url("/wp-content/themes/thegem-child/images/ze-help.png") no-repeat;
  background-size: cover;
  z-index: 999999;
  position: fixed;
  height: 64px;
  max-height: 64px;
  min-height: 64px;
  margin: 10px 20px;
  right: 0;
  bottom: 0;
  width: 64px;
  box-shadow: none;
  cursor: pointer;
}

#close-zendesk-chat-bubble {
  position: absolute;
  top: 0;
  right: 0;
  width: 21px;
  height: 21px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CUSTOM REGISTE RBUTTON 2/14/ */
#customModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
  display: flex; /* Use flexbox to center */
  align-items: center; /* Align vertical */
  justify-content: center; /* Align horizontal */
  animation: fadeIn 0.5s; /* Fading effect */
}

.modal-content {
  z-index: 101;
  background-color: #243746;
  width: 334px !important;
  height: 360px !important;
  border-radius: 12px;
  margin-right: 5px;
  margin-left: 5px;

  /* Remove margin:auto if it was previously set */
  animation: slideIn 0.5s; /* Slide in effect */
}

/* The Close Button */

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#registerHeader {
  color: #fff !important;

  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 200 !important;
  line-height: normal !important;
  padding-top: 17px;
  padding-bottom: 17px;
}

#registerContent {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 200;
}

#registerButtonLayout {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 32px;

  margin-top: 180px;
}
#registerButton {
  border-radius: 5px;
  background: var(--Inspiration---91B6BB, #91b6bb);

  color: var(--White, #fff);
  text-align: center;

  font-size: 13px;
  font-style: normal;
  font-weight: 400;

  width: 41px;
  height: 19px;

  padding: 6px 12px 7px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* Add Animation */
@keyframes slideIn {
  from {
    transform: translateY(-300px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
