/* Login Register */
.tfre-login-form {
  overflow: hidden;
  padding: 60px;
  background: #F7F7F7;
  border-radius: 24px;
  margin: 0;
}

.tfre-login-form .tfre-login-form {
  all: unset;
}


.tfre-login-form .feature-login-form img {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.tfre-login-form .thumb-register {
  display: none;
}

.tfre-registration-wrapper > h4,
.tfre-login-form > h4 {
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
  line-height: 28.4px;
  color: #08151F;
} 

.tfre-login-form .modal-login button[type="submit"] {
  margin-top: 0;
}

#tfre_login_register_modal .modal-align-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  max-width: 630px;
}

.tfre_login .tfre-login-google {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;  
  width: 100%;
  border: 1px solid #E4E4E4;
  background: #fff;
  color: #161E2D;
  margin-top: 24px;
  padding: 10px;
}

.tfre_login .tfre-login-google svg,
.tfre_login .tfre-login-google i {
  margin-right: 5px;
}

.tfre_login .tfre-login-google:hover {
  color: #fff;
  background: var(--theme-primary-color);
}


/* modal login */
.modal-login .modal-content {
  all: unset;
  pointer-events: auto;
}

.tfre_registration-form h2,
.tfre_login-form h2,
.modal-login .modal-content .tfre_login-form h2,
.tfre-resset-password h4,
.modal-login .modal-content .tfre_registration-form h2 {
  margin-bottom: 25px;
  font-size: 44px;
  font-weight: 700;
  line-height: 62px;
  color: #161E2D;
  text-align: center;
}

.modal-login .modal-content .close {
  padding: unset;
  background: unset;
  border-radius: unset;
  border: none;
  font-size: 34px;
  position: absolute;
  top: 27px;
  right: 42px;
  font-weight: 200;
  color: #1C1C1E;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.modal-login .modal-content .close:hover {
  transform: rotate(90deg);
}

.modal-login .modal-content .close:hover {
  color: var(--theme-primary-color);
}

.modal-login .modal-dialog {
  max-width: unset;
  margin: 0 auto;
}

.modal-login .nav-tabs {
  border: unset;
}

.modal-login .form-group label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #5C6368;
  margin-bottom: 10px;
  text-align: left;
}

.modal-login .form-group input {
  margin-bottom: 0;
}

.modal-login .form-group input::placeholder {
  color: #A3ABB0;
}

.modal-login .container {
  padding: unset;
}

.modal-login .form-group {
  margin-bottom: 20px;
}

.tfre-reset-password,
.tfre_login_redirect,
.modal-login .tfre-reset-password {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  display: block;
  text-align: right;
  color: var(--theme-primary-color);
}

.tfre-reset-password:hover,
.modal-login .tfre-reset-password:hover {
  color: #08151F;
}

.tfre_forgetpass {
  margin-top: 24px;
}

.modal-login button[type="submit"],
.tfre-resset-password .tfre_forgetpass {
  display: block;
  width: 100%;
  color: #fff;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 150%;
  border: unset;
  border-radius: 4px;
  padding: 13px;
}

.tfre_signin,
.tfre_register,
.modal-login .tfre_register,
.modal-login .tfre_signin {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color:#5C6368;
  margin-top: 12px;
}

#tfre_login_redirect,
#tfre_register_redirect {
  text-align: center;
}

.tfre_register a,
.tfre_signin a,
.modal-login .tfre_register a,
.modal-login .tfre_signin a {
  color: #161E2D;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  position: relative;
}

.tfre_register a::before,
.tfre_signin a::before,
.modal-login .tfre_register a::before,
.modal-login .tfre_signin a::before {
  content: '';
  width: 100%;
  height: 1px;
  background: #161E2D;
  position: absolute;
  left: 0;
  bottom: -3px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tfre_register a:hover::before,
.tfre_signin a:hover::before,
.modal-login .tfre_register a:hover::before,
.modal-login .tfre_signin a:hover::before {
  background: var(--theme-primary-color);
}

.tfre_register a:hover,
.tfre_signin a:hover,
.modal-login .tfre_register a:hover,
.modal-login .tfre_signin a:hover {
  color: var(--theme-primary-color);
}

.tfre-resset-password .tfre_forgetpass {
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--theme-primary-color);
}

.login-with {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  color: #5C6368;
  position: relative;
}

.login-with::after,
.login-with::before {
  content: '';
  position: absolute;
  width: calc(50% - 75px);
  height: 1px;
  background: #E4E4E4;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.login-with::after {
  left: auto;
  right: 0;
}


/* page */ 
.tfre_login-form .container,
.tfre_registration-form .container {
  padding: 0;
}

.btn-login {
  width: 100%;
  margin-top: 24px;
  border-radius: 4px;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.page .tfre_login-form,
.page #tfre-reset-password-section,
.page .tfre_registration-form {
  padding: 60px;
  background: #F7F7F7;
  border-radius: 24px;
  max-width: 630px;
  margin: 0 auto;
}

.modal .modal-dialog #tfre-reset-password-section {
  padding: 0;
}

.page #tfre-reset-password-section .tfre_login_redirect {
  margin-top: 15px;
}

.page #tfre-reset-password-section .tfre_login_redirect:hover {
  color: #161E2D;
}

.modal-content .tfre_login-form,
.modal-content .tfre_registration-form {
  all: unset;
}

@media only screen and (max-width: 650px) {
  .page .tfre_login-form,
  .page #tfre-reset-password-section,
  .page .tfre_registration-form {
    padding: 40px 20px;
  }

  .tfre-login-form {
    margin: 0 15px;
    padding: 15px;
  }

  .page .tfre-login-form .tfre_login-form {
    padding: 0;
  }
}