.jquery-modal.blocker {
  z-index: 999999;
}

@media only screen and (max-width: 480px) {
  .jquery-modal.blocker {
    width: 100%;
    height: 100%;
    padding: 0;
  }
}

.usl-modal {
  max-width: 420px;
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 0 !important;
}

@media only screen and (max-width: 480px) {
  .usl-modal {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
  .usl-modal {
    max-width: 520px;
  }
}

.usl-modal a.close-modal {
  display: none;
}

@media only screen and (max-width: 480px) {
  .usl-modal a.close-modal {
    display: inline-block;
    top: 5px;
    right: 5px;
    background-image: url("../img/close-cross.svg");
    background-size: 15px;
  }
}

.rq-userplace-register-form-container {
  display: flex;
  justify-content: center;
}

/* Logo */
.usl-logo-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95px;
  padding: 20px 30px;
}

.usl-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
}

.usl-logo-wrapper h2 {
  margin: 0;
}

/* Tab Nav */
.usl-tabs,
.usl-tabs:not(.wp-block-gallery) {
  margin: 0px;
  padding: 0px 25px;
  list-style: none;
  background-color: #f7f7f7;
  display: flex;
  height: 52px;
}

.usl-tabs li {
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 7px;
  cursor: pointer;
  margin: 0;
  margin-right: 10px;
}

.usl-tabs li:last-child {
  margin-right: 0;
}

.usl-tabs li.current {
  font-weight: 700;
  border-bottom: 2px solid #262626;
}

/* Tab body */
.usl-tab-body {
  padding: 25px 0 30px;
  overflow-x: hidden;
  max-height: calc(100vh - 147px - 40px);
}

@media only screen and (max-width: 480px) {
  .usl-tab-body {
    height: calc(100% - 150px);
    max-height: none;
  }
}

.usl-tab-body .tab-content {
  padding: 0 30px;
  display: none;
  overflow-y: auto;
}

.usl-tab-body .tab-content.current {
  display: flex;
}

.usl-tab-body .tab-content .rq-userplace-login-form-container {
  width: 100%;
}

/* Login */
@media only screen and (min-width: 767px) and (max-width: 989px) {
  .usl-tab-body .rq-userplace-login-form,
  .usl-tab-body .rq-userplace-register-form {
    max-width: 520px;
  }
}

.rq-userplace-login-form,
.rq-userplace-login-form form,
.rq-userplace-register-form,
.rq-userplace-register-form form {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.rq-userplace-login-form form p,
.rq-userplace-register-form form p {
  margin-top: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
}

.rq-userplace-register-form form p.noted-text {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 13px;
  display: flex;
}

.rq-userplace-login-form form p label,
.rq-userplace-register-form form p label {
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.rq-userplace-login-form form p.login-remember {
  margin-bottom: 25px;
  margin-top: 5px;
}

.rq-userplace-login-form form p.login-remember label {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 13px;
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  position: relative;
  margin-top: -2px;
}

/* Checkbox */
input#rememberme[type="checkbox"] {
  cursor: pointer;
  padding: 0;
  margin-right: 25px;
  margin-top: -5px;
  width: 0;
  height: 0;
}

input#rememberme[type="checkbox"]:before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

input#rememberme[type="checkbox"]:focus:before {
  box-shadow: none;
}

input#rememberme[type="checkbox"]:checked:before {
  background: #f64e54;
  border-color: #f64e54;
}

input#rememberme[type="checkbox"]:disabled {
  color: #b8b8b8;
  cursor: auto;
}

input#rememberme[type="checkbox"]:disabled:before {
  box-shadow: none;
  background: #ddd;
}

input#rememberme[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 11px;
  transform: rotate(45deg);
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

/* Other Logins */
.usl-helper-text {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  position: relative;
}

.usl-helper-text span {
  padding: 0 20px;
  background-color: #fff;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.usl-helper-text:before {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #e6e6e6;
  position: absolute;
  top: 13px;
  left: 0;
}

.usl-other-login-options {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usl-other-login-options a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 35px;
}

.usl-other-login-options a:last-child {
  margin-right: 0;
}

.usl-other-login-options a img {
  width: 100%;
  height: auto;
}

.forgot-password {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  margin-top: 30px;
}

.forgot-password + p {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}

.usl-other-login-options + p {
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
}

.new-account {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 13px;
  display: inline-block;
}
