/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 /*login switcher*/
.login-switcher-container {
  display: flex;
  align-items: center;

  line-height: 0;
  .icon-container {
    line-height: 0;
    a.login-btn {
      display: flex;
      align-items: center;
      svg {
        height: 16px;
        margin-right: 10px;
      }
    }
  }
  a {
    color: #a4a4a4;
    font-size: 14px;
    &:visited {
      color: #a4a4a4;
    }
  }
  > a {
    margin-left: 10px;
  }
  @media screen and (max-width: 991px) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 60px;
    .icon-container {
      a.login-btn {
        span {
          display: none;
        }
      }
    }
  }
  @media screen and (max-width: 575px) {
    padding: 0 !important;
    right: 45px;
  }
}

/*form login*/

.modal-backdrop.show {
  opacity: 0.7 !important;
}

.modal .modal-dialog {
  max-width: 430px;
}

.login-container {
  margin: 100px auto auto auto;
}
.login-container > div {
  max-width: 430px;
}
.login-container .login-header {
  margin: 0 auto;
}
.login-container .login-header h3 {
  display: none;
}
.ns-form-login {
  width: 100%;
  max-width: 420px;
  padding: 15px 0;
  margin: auto;
}

.ns-form-login .form-label-group input,
.ns-form-login .form-label-group label {
  height: 3.125rem;
  padding: 0.75rem;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group input,
.form-label-group label {
  height: 3.125rem;
  padding: 0.75rem;
}
.form-label-group input:focus {
  outline: none;
  box-shadow: none;
}
.form-label-group button:focus {
  outline: none;
  box-shadow: none;
  border: none;
}
.form-label-group label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:-moz-placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-label-group input:not(:-ms-input-placeholder) {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-label-group input:not(:-moz-placeholder-shown) ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:not(:-ms-input-placeholder) ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

.form-label-group input:-webkit-autofill ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

.wpcf7-form-control.wpcf7-file {
  width: auto;
  border: none !important;
  padding: 0 !important;
}

/*login tabs*/

.login-container .tabbed {
  overflow-x: hidden; /* so we could easily hide the radio inputs */
  margin: 32px auto;
  padding-bottom: 16px;
}

.login-container .tabbed [type="radio"] {
  /* hiding the inputs */
  display: none;
}
.login-container h4.tab-heading {
  font-size: 1.3em;
  margin: 1em 0;
  color: #1d2327;
}
.login-container .tabs {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 420px;
  border-bottom: 1px solid #ccc;
}
.login-container .tabs > li {
  margin-bottom: 0;
  margin-right: -1px;
  width: 50%;
}
.login-container .tabs > li:last-child {
  width: calc(50% + 1px);
}
.login-container .tab > label {
  display: block;
  margin-bottom: -1px;
  padding: 12px 15px;
  border: 1px solid #ccc;
  background: #eee;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}
.login-container .tab:hover label {
  border-top-color: #333;
  color: #333;
}

.login-container .tab-content {
  display: none;
  color: #777;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.login-container
  .tabbed
  [type="radio"]:nth-of-type(1):checked
  ~ .tabs
  .tab:nth-of-type(1)
  label,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(2):checked
  ~ .tabs
  .tab:nth-of-type(2)
  label,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(3):checked
  ~ .tabs
  .tab:nth-of-type(3)
  label,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(4):checked
  ~ .tabs
  .tab:nth-of-type(4)
  label,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(5):checked
  ~ .tabs
  .tab:nth-of-type(5)
  label {
  border-bottom-color: #fff;
  border-top-color: #fe0000;
  background: #fff;
  color: #222;
}
.login-container
  .tabbed
  [type="radio"]:nth-of-type(1)
  ~ .tabs
  .tab:nth-of-type(1)
  label:hover,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(2)
  ~ .tabs
  .tab:nth-of-type(2)
  label:hover,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(3)
  ~ .tabs
  .tab:nth-of-type(3)
  label:hover,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(4)
  ~ .tabs
  .tab:nth-of-type(4)
  label:hover,
.login-container
  .tabbed
  [type="radio"]:nth-of-type(5)
  ~ .tabs
  .tab:nth-of-type(5)
  label:hover {
  border-bottom-color: #fff;
  border-top-color: #fe0000;
  background: #fff;
  color: #222;
}

.login-container
  .tabbed
  [type="radio"]:nth-of-type(1):checked
  ~ .tab-content:nth-of-type(1),
.login-container
  .tabbed
  [type="radio"]:nth-of-type(2):checked
  ~ .tab-content:nth-of-type(2),
.login-container
  .tabbed
  [type="radio"]:nth-of-type(3):checked
  ~ .tab-content:nth-of-type(3),
.login-container
  .tabbed
  [type="radio"]:nth-of-type(4):checked
  ~ .tab-content:nth-of-type(4) {
  display: block;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .form-label-group label {
    position: static;
  }

  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}