/* Login Register */
.tfre-login-form {
  display: flex;
  margin: 0 15px;
}

.tfre-login-form .tfre-login-form {
  all: unset;
}

#tfre_login_register_modal .modal-align-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  max-width: 951px;
}

.modal-login .modal-content {
  background: #FFF;
  padding: 37px 40px 40px 40px;
  border: unset;
  border-radius: 0;
}

.tfre-login-form .feature-login-form {
  width: 41.3%;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}

.tfre-login-form .modal-content {
  width: 58.7%;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
}

.tfre-login-form .feature-login-form img {
  height: 100%;
  object-fit: cover;
}

.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: #2C2E33;
}

.tfre-login-form .modal-login button[type="submit"] {
  margin-top: 0;
}

.tfre_login .tfre-login-google {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  width: 100%;
  border: 1px solid #E4E4E4;
  background: #fff;
  color: #2C2E33;
  margin-top: 24px;
  padding: 10px;
  border-radius: 16px;
}

.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 */

.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: 40px;
  font-size: 30px;
  font-weight: 600;
  line-height: 42px;
  text-align: left;
  color: #2C2E33;
}

.modal-login .modal-content .close {
  padding: unset;
  background: unset;
  border-radius: unset;
  border: none;
  font-size: 35px;
  position: absolute;
  top: 40px;
  right: 40px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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;
  align-content: center;
}

.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: 14px;
  font-weight: 600;
  line-height: 19.6px;
  color: #2C2E33;
  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: 29px;
}

.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);
}

.modal-login .tfre-reset-password { 
  margin-bottom: 10px;
}

.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: 16px;
  font-weight: 600;
  line-height: 21.86px;
  text-align: center;
  border: unset;
  border-radius: 16px;
  padding: 16px 20px;
}

.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: #2C2E33;
  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: #2C2E33;
  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: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  color: #5C6368;
  position: relative;
  margin-top: 20px;
}

.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;
}

.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: #1C1C1E;
}

.modal-content .tfre_login-form,
.modal-content .tfre_registration-form {
  all: unset;
}

.modal-login .field-name,
.modal-login .field-mail,
.modal-login .field-pass {
  position: relative;
}

.modal-login .field-name input,
.modal-login .field-mail input,
.modal-login .field-pass input {
  padding-left: 50px;
  border-radius: 16px !important;
}

.modal-login .field-name::after,
.modal-login .field-mail::after,
.modal-login .field-pass::after {
  content: '\e984';
  font-family: 'proty';
  font-size: 16px;
  color: #A8ABAE;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-login .field-mail::after {
  content: '\e985';
}

.modal-login .field-name::after {
  content: '\e986';
}

/* Header */
.widget_login_menu_widget .user-dropdown .user-display-name {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ECECEC !important;
  color: var(--theme-primary-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  -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;
  cursor: pointer;
}

.class-name-page-home-05 .login-dropdown .dropdown-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.class-name-page-home-02 .login-dropdown .dropdown-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.widget_login_menu_widget .user-dropdown .user-display-name:hover {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  color: #fff !important;
}

.widget_login_menu_widget .user-dropdown .user-display-name.dropdown-toggle::after {
    display: none;
}

.widget_login_menu_widget .user-dropdown .user-display-name img {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.widget_login_menu_widget .user-dropdown .user-display-name span.display-name {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 700;
}

.widget_login_menu_widget .user-dropdown .dropdown-menu {
    padding: 0;

}

.widget_login_menu_widget .user-dropdown .dropdown-menu .user-dropdown-menu .list-group-item a {
    color: #1C1C1E !important;
}

.widget_login_menu_widget .user-dropdown .dropdown-menu .user-dropdown-menu .list-group-item a i {
  margin-right: 10px;
  color: #A8ABAE;
  vertical-align: text-bottom;
  font-size: 20px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.widget_login_menu_widget .dropdown-menu {
    border: none;
    top: calc(100% + 25px) !important;
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .widget_login_menu_widget .dropdown-menu .list-group {
    width: max-content !important;
    min-width: 280px;
    border-radius: 16px;
}
  
  .widget_login_menu_widget .dropdown-menu .list-group-item {
    border: unset;
    padding: 16px 23px;
    width: 100%;
  }

  .widget_login_menu_widget .user-dropdown .dropdown-menu .user-dropdown-menu .list-group-item a {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #161E2D;
  }
  
  .widget_login_menu_widget .user-dropdown .dropdown-menu .user-dropdown-menu .list-group-item a:hover {
    color: var(--theme-primary-color) !important;
  }

  .widget_login_menu_widget .user-dropdown .dropdown-menu .user-dropdown-menu .list-group-item a:hover i {
    color: var(--theme-primary-color);
  }
  
  .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
  }

  .modal-backdrop {
    z-index: 9999;
  }
  
  .modal-login {
    z-index: 99999;
  }

  /* login button */

  .login-dropdown .dropdown-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #ECECEC;
    color: var(--theme-primary-color) !important;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    -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;
    cursor: pointer;
    vertical-align: middle;
  }

  .login-dropdown .dropdown-toggle:hover {
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color) !important;
    color: #fff !important;
}

.login-dropdown .dropdown-toggle::after {
  display: none;
}

.login-dropdown .dropdown-not-loggin {
  padding: 20px;
  border-radius: 10px;
  min-width: 270px;
  top: calc(100% + 25px) !important;
  -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.login-dropdown .dropdown-not-loggin .login {
  background: #2C2E33;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  padding: 10.5px 24px;
  border-radius: 12px;
  width: 100%;
  display: block;
  text-align: center;
cursor: pointer;
-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;
margin-bottom: 15px;
}

.login-dropdown .dropdown-not-loggin .login:hover {
  background: var(--theme-primary-color);
}

.login-dropdown .dropdown-not-loggin .register {
font-size: 14px;
font-weight: 400;
line-height: 19.6px;
color: #161E2D;
text-align: center;
cursor: pointer;
-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;
}

.login-dropdown .dropdown-not-loggin .register span {
  color: var(--theme-primary-color);
}

.login-dropdown .dropdown-not-loggin .register:hover span {
  text-decoration: underline;
}

/* End Header */

@media only screen and (max-width: 767px) {

  .page .tfre_login-form,
  .page #tfre-reset-password-section,
  .page .tfre_registration-form {
    padding: 30px 20px;
  }

  .tfre-login-form {
    margin: 0 15px;
    padding: 15px;
  }

  .page .tfre-login-form .tfre_login-form {
    padding: 0;
  }

  .tfre-login-form .modal-content {
    width: 100%;
    border-radius: 16px;
    padding: 30px 20px;
  }

  .tfre-login-form .feature-login-form {
    display: none;
  }

  .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: 20px;
  }

  .modal-login .form-group {
    margin-bottom: 20px;
  }

  .client-account {
    padding: 10px;
    margin-top: 0;
  }

  .modal-login .modal-content .close {
    right: 15px;
  }

  .widget_login_menu_widget .dropdown-menu,
  .login-dropdown .dropdown-not-loggin {
    transform: unset !important;
    right: 0;
    left: unset !important;
  }

}