﻿.html-login-page {
}

  .html-login-page .page-body {
    display: flex;
    margin: auto;
  }

    .html-login-page .page-body.login-layout {
      height: 100vh;
    }

    .html-login-page .page-body.main-layout {
      margin: 40px auto;
    }

  .html-login-page .row-username {
    margin: 0 0 25px 0;
    text-align: center;
    color: #34495e;
    font-size: 15px;
  }

  .html-login-page .row-otp-counter {
    text-align: center;
  }

  .html-login-page .row-submit {
    /*margin-top: 50px;*/
  }

  .html-login-page .title {
    /*margin-bottom: 5px;*/
    text-align: center;
  }

  .html-login-page[dir=rtl] .otp-title,
  .html-login-page[dir=rtl] .row-btn-otp,
  .html-login-page[dir=rtl] .row-btn-forget {
    text-align: right;
  }

  .html-login-page[dir=rtl] .otp-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

    .html-login-page[dir=rtl] .otp-title > i {
      font-family: 'Atrin-Food' !important;
      font-size: 22px;
      color: gray;
      cursor: pointer;
      transition: all .2s ease-in-out;
    }

      .html-login-page[dir=rtl] .otp-title > i:hover {
        color: #000;
        color: var(--main-color);
      }

  .html-login-page .row-btn-otp,
  .html-login-page .row-btn-forget {
    margin: 5px 0;
  }

    .html-login-page .row-btn-otp > a,
    .html-login-page .row-btn-forget > a {
      transition: all .2s ease-in-out;
    }

    .html-login-page .row-btn-otp:hover > a.login-otp-button,
    .html-login-page .row-btn-forget:hover > a.login-forget-button {
      color: var(--otp-color-2);
    }

  .html-login-page .fieldset.login-password,
  .html-login-page .center-1 {
    margin: 0;
  }

  .html-login-page #Password {
    padding-right: 35px;
  }

  .html-login-page #password-see-toggle {
    font-size: 16px;
    height: 32px;
    position: absolute;
    right: 0;
    line-height: 32px;
    cursor: pointer;
    padding: 0 8px;
    color: #888;
    transition: all .2s ease-in-out;
  }

    .html-login-page #password-see-toggle:hover {
      color: #bdbdbd;
      color: var(--otp-color-2);
    }

  .html-login-page .customer-blocks {
    width: 100vw;
    /* height: 100vh; */
    display: flex;
    margin: auto;
    flex-direction: column;
    text-align: right;
    max-width: 100%;
  }

    .html-login-page .customer-blocks.step-first.has-external > form {
      padding-bottom: 60px;
    }

    .html-login-page .customer-blocks > form {
      max-width: 100%;
      width: 380px;
      margin: auto;
      padding-bottom: 70px;
      position: relative;
      padding: 0;
    }

    .html-login-page .customer-blocks > .rules {
      padding: 18px 14px;
      text-align: center;
      max-width: 100%;
      font-size: 14px;
      line-height: 2;
      width: 380px;
      margin: auto;
      display: none;
    }

    .html-login-page .customer-blocks.step-first > .rules {
      display: block;
    }

  .html-login-page .buttons.row-submit {
    padding: 10px 0;
    text-align: center;
  }

  .html-login-page .external-login.buttons {
    display: none;
  }

  .html-login-page .step-first.has-external .external-login.buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    background-color: rgba(0, 0, 0,.05) !important;
    margin: 0;
    padding: 10px 0 !important;
    display: grid;
    grid-gap: 10px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 35px);
  }

  .html-login-page .has-external .external-login.buttons > .external-login-button {
    z-index: 0;
    font-size: 0;
    min-width: initial;
    border-radius: 22px;
    display: inline-flex;
    vertical-align: bottom;
    min-width: 35px;
    height: 35px;
    position: relative;
    /* margin: auto; */
    /*padding: 0 10px;*/
    line-height: 35px;
    background: #808080;
    transition: all .5s ease-in-out;
    border-radius: 0;
    color: #fff;
    padding: 0;
    width: initial;
  }

    .html-login-page .has-external .external-login.buttons > .external-login-button:hover {
      z-index: 10;
      font-size: 11px;
      color: #fff;
      padding: 0 5px;
      background: #212121;
      /*transition: z-index .1s ease-in-out .5s;*/
    }

    .html-login-page .has-external .external-login.buttons > .external-login-button > p {
      margin: auto;
      color: #fff;
    }

    .html-login-page .has-external .external-login.buttons > .external-login-button > i {
      right: 0;
      margin: auto;
      color: #fff;
      font-size: 20px;
      padding: 0 6px;
      vertical-align: bottom;
      transition: all .5s ease-in-out;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .html-login-page .has-external .external-login.buttons > .external-login-button:hover > i {
      font-size: 0;
      padding: 0;
      /*margin: auto 0;*/
    }


    /*2 to 5 External Authentication*/
    .html-login-page .has-external .external-login.buttons > .external-login-button:hover {
      margin-left: calc(-100% - 10px);
      margin-right: calc(-100% - 10px);
    }

    .html-login-page .has-external .external-login.buttons > .external-login-button:first-child:hover {
      margin-left: calc(-200% - 20px);
      margin-right: 0;
    }

    .html-login-page .has-external .external-login.buttons > .external-login-button:last-child:hover {
      margin-right: calc(-200% - 20px);
      margin-left: 0;
    }

  /*Just 1 External Authentication*/
  .html-login-page .has-external.one-external .external-login.buttons > .external-login-button {
    margin-left: calc(-100% - 10px);
    margin-right: calc(-100% - 10px);
    z-index: 10;
    font-size: 11px;
    color: #fff;
    padding: 0 5px;
  }


    .html-login-page .has-external.one-external .external-login.buttons > .external-login-button > i {
      position: initial;
      font-size: initial;
      padding: initial;
    }

    .html-login-page .has-external.one-external .external-login.buttons > .external-login-button:hover {
      margin-left: calc(-100% - 10px);
      margin-right: calc(-100% - 10px);
    }

  .html-login-page .returning-wrapper.fieldset.login-password,
  .html-login-page .form-fields {
    position: initial;
  }

  .html-login-page .returning-wrapper.fieldset.login-password {
  }

  .html-login-page form .title {
    font-size: 25px;
    border: none;
    border-bottom: 1px solid #ededed !important;
    padding: 18px 25px;
    position: relative;
    display: block;
    min-width: initial;
    margin: initial;
  }

    .html-login-page form .title > *,
    .html-login-page form .title > strong {
      color: crimson;
      color: var(--otp-color-1);
    }

    .html-login-page form .title > .login-back-button {
      transform: translateY(-50%);
      position: absolute;
      font-size: 20px;
      top: 50%;
      right: 20px;
      color: #83909c;
      color: rgba(52, 73, 94, 0.6);
    }

      .html-login-page form .title > .login-back-button > i {
        vertical-align: middle;
        transition: all .2s ease-in-out;
      }

      .html-login-page form .title > .login-back-button:hover > i {
        color: #34495e;
        font-size: 22px;
      }


  .html-login-page form .form-fields {
    padding: 15px 25px !important;
    border: 0;
  }

  .html-login-page .step-first form .form-fields > .login-title {
    display: block;
  }

  .html-login-page form .form-fields > .login-title {
    padding: 0 0 15px 0;
    position: initial;
    color: #000;
    font-size: 16px;
    display: none;
  }

  .html-login-page form .form-fields .inputs > label,
  .otp-title {
    color: #9a9a9a;
    font-size: 14px;
    padding-bottom: 8px;
    font-weight: 300;
    margin: 0;
  }


  .html-login-page #login-btn-resend {
    text-align: center;
    font-size: 0;
    color: #34495e;
    margin-bottom: 10px;
  }

    .html-login-page #login-btn-resend > .code-not-received {
      font-size: 16px;
      cursor: pointer;
      margin-bottom: 10px;
    }

    .html-login-page #login-btn-resend > .resend-button-container {
      display: none;
    }

      .html-login-page #login-btn-resend > .resend-button-container > .resend-button {
        display: inline-block;
      }

    .html-login-page #login-btn-resend a.resend-button > i {
      text-align: center;
      font-size: 35px;
      color: #bdc3c7;
      padding: 0 6px;
      vertical-align: middle;
      transition: all .2s ease-in-out;
    }

    .html-login-page #login-btn-resend a.resend-button:hover > i {
      color: #34495e;
    }

  .html-login-page #OtpCode {
    letter-spacing: 20px !important;
    text-align: center;
    min-height: 40px;
    max-width: 100%;
    direction: ltr;
    width: 100%;
    height: 36px;
    padding: 8px;
    padding-left: 28px;
    vertical-align: middle;
    background-color: #fff;
  }

  .html-login-page .captcha-box > label {
    line-height: normal;
  }

  .html-login-page .gender {
    width: 100%;
    max-width: 100%;
  }

    .html-login-page .gender > span {
      margin: 0;
      width: calc(50% - 5px);
    }

      .html-login-page .gender > span:nth-child(2n+1) {
        margin-left: 5px;
      }

      .html-login-page .gender > span:nth-child(2n+2) {
        margin-right: 5px;
      }

      .html-login-page .gender > span > label {
        width: 100%;
        margin: 0;
        display: inline;
      }

  .html-login-page form button[disabled],
  .html-login-page form input[disabled] {
    color: gray !important;
    opacity: .5 !important;
    cursor: not-allowed !important;
    background: #e8e8e8 !important;
  }

  /**/
  .html-login-page form .form-fields .inputs > input::-webkit-input-placeholder {
    font-weight: 300;
    font-size: 11px;
    text-align: right;
    letter-spacing: normal;
  }

  .html-login-page form .form-fields .inputs > input::-moz-placeholder {
    font-weight: 300;
    font-size: 11px;
    text-align: right;
    opacity: 1;
    letter-spacing: normal;
  }

  .html-login-page form .form-fields .inputs > input:-ms-input-placeholder {
    font-weight: 300;
    font-size: 11px;
    text-align: right;
    letter-spacing: normal;
  }

  .html-login-page form .form-fields .inputs > input:-moz-placeholder {
    font-weight: 300;
    font-size: 11px;
    text-align: right;
    letter-spacing: normal;
  }

  .html-login-page form .form-fields .inputs > input::placeholder {
    font-weight: 300;
    font-size: 11px;
    text-align: right;
    letter-spacing: normal;
  }

  .html-login-page input::-webkit-outer-spin-button,
  .html-login-page input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }


  .html-login-page input[type=number] {
    -moz-appearance: textfield;
  }

  .html-login-page .text-boxes-holder {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(15px,1fr));
    justify-content: center;
    direction: ltr;
    max-width: 250px;
    margin: auto;
    padding: 5px 0;
  }

    .html-login-page .text-boxes-holder > .text-boxes {
      background: transparent;
      text-align: center;
      border: none;
      height: 35px;
      border-radius: 0;
      border-bottom: 2px solid #c3c3c3;
      transition: all .2s ease-in-out;
    }

      .html-login-page .text-boxes-holder > .text-boxes:-moz-selection { /* Code for Firefox */
        color: var(--main-text-color);
        background: var(--main-color);
      }

      .html-login-page .text-boxes-holder > .text-boxes::selection {
        color: var(--main-text-color);
        background: var(--main-color);
      }

      .html-login-page .text-boxes-holder > .text-boxes:focus,
      .html-login-page .text-boxes-holder > .text-boxes.has-data {
        border-bottom-color: var(--main-color);
      }
