@font-face {
    font-family: SanaSansAlt-Black;
    src: url(../font/SanaSansAlt-Black.woff2);
  }
  
  @font-face {
    font-family: SanaSansAlt-Medium;
    src: url(../font/SanaSansAlt-Medium.woff2);
  }
  
  @font-face {
    font-family: SanaSansAlt-Book;
    src: url(../font/SanaSansAlt-Book.woff2);
  }
  
  body, ul, li, nav, html, h1, h2, h3, h4, h5, h6, p, a, input, textarea, button {
    font-family: SanaSansAlt-Medium;
  }
  
  input::-webkit-input-placeholder {
    font-family: SanaSansAlt-Book;
  }
  
  input:-ms-input-placeholder {
    font-family: SanaSansAlt-Book;
  }
  
  input::-ms-input-placeholder {
    font-family: SanaSansAlt-Book;
  }
  
  input::placeholder {
    font-family: SanaSansAlt-Book;
  }

  
  span + div.w-100,
  header + div.w-100 {
    background-image: url(../images/Bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 0;
  }
  
  @media (min-width: 1000px) {
    span + div.w-100,
    header + div.w-100 {
      padding: 30px 0 40px;
    }
  }

  @media (min-width: 1200px) {
    span + div.w-100,
    header + div.w-100 {
      min-height: calc(100% - 153px);
    }
  }
  
  header .navbar {
    background-color: #fff !important;
    -webkit-box-shadow: 0px 0px 3px #d2d2d2b3 !important;
            box-shadow: 0px 0px 3px #d2d2d2b3 !important;
    padding: 2% 10px 2% 5px;
  }
  
  @media (min-width: 992px) {
    header .navbar {
      height: 77px;
    }
  }
  
  header .navbar .navbar-brand {
    padding: 0;
  }
  
  header .navbar button {
    display: none;
  }
  
  header .navbar img {
    max-height: 100%;
    padding: 0px 15px 0px 20px;
  }
  
  #login .invalid-feedback,
  #forgotPassword .invalid-feedback,
  #registration .invalid-feedback,
  #forgotPasswordSent .invalid-feedback,
  #resetPassword .invalid-feedback,
  #registrationSent .invalid-feedback,
  #confirmRegistration .invalid-feedback,
  #changeUserLogin .invalid-feedback,
  #confirmRegistrationMobile .invalid-feedback,
  #socialLogin .invalid-feedback{
    font-size: 12px;
    text-align: left !important;
  }
  
  #login .card-body input,
  #forgotPassword .card-body input,
  #registration .card-body input,
  #forgotPasswordSent .card-body input,
  #resetPassword .card-body input,
  #registrationSent .card-body input,
  #confirmRegistration .card-body input,
  #changeUserLogin .card-body input,
  #confirmRegistrationMobile .card-body input,
  #socialLogin  .card-body input{
    border-radius: 50px;
    height: 45px !important;
    max-width: 400px;
    width: 100%;
    font-size: 0.86rem !important;
    margin: 0 auto;
  }

  #login .card-body{
    padding-bottom: 0!important;
  }

  #login .form-control{
    padding: .375rem .75rem;
  }
  
  #login .card-body input:focus,
  #forgotPassword .card-body input:focus,
  #registration .card-body input:focus,
  #forgotPasswordSent .card-body input:focus,
  #resetPassword .card-body input:focus,
  #registrationSent .card-body input:focus,
  #confirmRegistration .card-body input:focus,
  #changeUserLogin .card-body input:focus,
  #confirmRegistrationMobile .card-body input:focus,
  #socialLogin .card-body input:focus{
    border: 1px solid #ced4da;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  
  #login .card-body .input-group-append,
  #forgotPassword .card-body .input-group-append,
  #registration .card-body .input-group-append,
  #forgotPasswordSent .card-body .input-group-append,
  #resetPassword .card-body .input-group-append,
  #registrationSent .card-body .input-group-append,
  #confirmRegistration .card-body .input-group-append,
  #confirmRegistrationMobile .card-body .input-group-append,
  #socialLogin .card-body .input-group-append{
    margin: 0;
  }
  
  #login .card-body .input-group-append div,
  #forgotPassword .card-body .input-group-append div,
  #registration .card-body .input-group-append div,
  #forgotPasswordSent .card-body .input-group-append div,
  #resetPassword .card-body .input-group-append div,
  #registrationSent .card-body .input-group-append div,
  #confirmRegistration .card-body .input-group-append div,
  #confirmRegistrationMobile .card-body .input-group-append div,
  #socialLogin .card-body .input-group-append div {
    position: absolute;
    top: 50%;
    right: 2px;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    z-index: 10;
    border: 0;
    height: 38px;
    width: 30px;
    background-color: #ffffff;
    padding: 0;
    color: #363636;
    border-radius: 0 50px 50px 0;
  }
  
  #login,
  #forgotPassword,
  #forgotPasswordSent,
  #resetPassword,
  #confirmRegistration,
  #registrationSent {
    max-width: 600px;
  }
  
  @media (min-width: 1000px) {
    #login,
    #forgotPassword,
    #forgotPasswordSent,
    #resetPassword,
    #confirmRegistration,
    #registrationSent {
      padding: 0;
    }
  }
  
  #login .card-body,
  #forgotPassword .card-body,
  #forgotPasswordSent .card-body,
  #resetPassword .card-body,
  #confirmRegistration .card-body,
  #registrationSent .card-body {
    padding: 0 5% 30px;
  }

  #login .card-body{
    margin-top: 30px;
  }
  
  @media (min-width: 600px) {
    #login .card-body form,
    #forgotPassword .card-body form,
    #forgotPasswordSent .card-body form,
    #resetPassword .card-body form,
    #confirmRegistration .card-body form,
    #registrationSent .card-body form,
    #confirmRegistrationMobile form {
      margin: 0;
    }
  }
  
  #login .card-body .form-group,
  #forgotPassword .card-body .form-group,
  #forgotPasswordSent .card-body .form-group,
  #resetPassword .card-body .form-group,
  #confirmRegistration .card-body .form-group,
  #registrationSent .card-body .form-group,
  #changeUserLogin .card-body .form-group,
  #confirmRegistrationMobile .card-body .form-group {
    max-width: 400px;
    margin: 0 auto 1rem;
  }
  
  #login .card-body label,
  #changeUserLogin label,
  #forgotPassword .card-body label,
  #forgotPasswordSent .card-body label,
  #resetPassword .card-body label,
  #confirmRegistration .card-body label,
  #registrationSent .card-body label {
    /*display: none;*/
    width     : 100%;
    text-align: left;
  }
  
  #login .card-body .form-control.is-invalid,
  #forgotPassword .card-body .form-control.is-invalid,
  #forgotPasswordSent .card-body .form-control.is-invalid,
  #resetPassword .card-body .form-control.is-invalid,
  #confirmRegistration .card-body .form-control.is-invalid,
  #registrationSent .card-body .form-control.is-invalid {
    background-image: none;
  }
  
  #login .col-xl-7.col-lg-8.col-md-10.mx-auto,
  #forgotPassword .col-xl-7.col-lg-8.col-md-10.mx-auto,
  #forgotPasswordSent .col-xl-7.col-lg-8.col-md-10.mx-auto,
  #resetPassword .col-xl-7.col-lg-8.col-md-10.mx-auto,
  #confirmRegistration .col-xl-7.col-lg-8.col-md-10.mx-auto,
  #registrationSent .col-xl-7.col-lg-8.col-md-10.mx-auto {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    max-width: 100%;
  }

  .alert-warning{ display: none; }
  
  #login #errorBlock h3,
  #forgotPassword #errorBlock h3,
  #forgotPasswordSent #errorBlock h3,
  #resetPassword #errorBlock h3,
  #confirmRegistration #errorBlock h3,
  #registrationSent #errorBlock h3 {
    display: block;
  }
  
  /*****Login Page*****/
  #login {
    max-width: 600px;
  }
  
  @media (min-width: 1000px) {
    #login {
      padding: 0;
    }
  }
  
   #login .card.rounded:first-of-type {
    padding-bottom: 150px;
    margin-bottom: -1px;
  }
  
  @media (min-width: 600px) {
    #login .card.rounded:first-of-type {
      padding-bottom: 100px;
    }
  }
  
  #login .card.rounded,
  #login .card-header {
    border-radius: .25rem!important;
    border: 0;
  }
  
  #login .card-header {
    background: #ffffff;
    padding: 30px 9% 0;
  }
  
  @media (min-width: 600px) {
    #login .card-header {
      padding-top: 40px;
    }
  }
  
  #login .card-header h3 {
    font-size: 1.6rem !important;
    font-family: SanaSansAlt-Medium;
  }
  
  #login .card-header p {
    margin: 10px 0 20px;
    font-size: 0.9rem;
    font-family: SanaSansAlt-Book;
  }
  
  @media (min-width: 600px) {
    #login .card-header p {
      margin-bottom: 30px;
    }
  }
  
  #login .card-header p br {
    display: none;
  }
  
  @media (min-width: 600px) {
    #login .card-header p br {
      display: block;
    }
  }
  
  #login .card-body #btnSubmit_login,
  #login .card-body #spinner {
    font-family : SanaSansAlt-Medium;
    margin-top  : 20px;
    height      : 40px!important;
  }
  
  @media (min-width: 600px) {
    #login .card-body #btnSubmit_login,
    #login .card-body #spinner {
      margin-top: 10px;
    }
  }
  
  @media (min-width: 600px) {
    #passwordBlock + .form-group + .form-group {
      text-align: left !important;
      margin-bottom: 0;
    }
  }

  /*Social Block*/
  #socialBlock .input-group div:nth-child(2){
    display: none;
  }

  #socialBlock .input-group div a{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: grid;
    place-content: center;
  }

  #socialBlock .input-group div a i{
    font-size: 22px;
  }

  #login .card-body #signInSeparator{
    margin-top: 90px;
    font-size: 0.9rem;
  }

  @media(min-width: 600px){
    #login .card-body #signInSeparator{
      margin-top: 20px;
    }
  }
  
  #forgotPasswordLink {
    text-align: left;
    max-width: 400px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: block;
    color: #333;
    text-decoration: underline;
    font-size: 0.8rem;
    margin-left: 14px;
    margin-top: -10px;
  }
  
  #forgotPassword #btnSubmit_forgotPassword,
  #login #btnSubmit_login,
  #spinner,
  #toLogin,
  #registration #btnSubmit_registration,
  #confirmRegistration #btnSubmit,
  #resetPassword #btnSubmit_resetPassword,
  #changeUserLogin #btnSubmit_clConfirm,
  #changeUserLogin #btnSubmit_clSubmit,
  #forgotPassword #btnSubmit_clSubmit,
  #forgotPassword #btnSubmit_clRequest,
  #confirmRegistrationMobile #btnSubmit_confirmRegistrationMobile,
  #socialLogin #btnSubmit_socialLogin{
    background-color: #e0001a;
    border-radius: 50px;
    border: 0;
    width: 190px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
    transition: 0.34s all;
  }

  #changeUserLogin #btnSubmit_clSubmit{
    width: 250px!important;
  }

  #forgotPassword #btnSubmit_forgotPassword:hover,
  #login #btnSubmit_login:hover,
  #spinner:hover,
  #toLogin:hover,
  #registration #btnSubmit_registration:hover,
  #confirmRegistration #btnSubmit:hover,
  #resetPassword #btnSubmit_resetPassword:hover,
  #changeUserLogin #btnSubmit_clConfirm:hover,
  #changeUserLogin #btnSubmit_clSubmit:hover,
  #forgotPassword #btnSubmit_clSubmit:hover,
  #forgotPassword #btnSubmit_clRequest:hover,
  #confirmRegistrationMobile #btnSubmit_confirmRegistrationMobile:hover{
    background-color: #af272f;
    transition: 0.34s all;
  }
  
  #btnSubmit_forgotPassword:focus
  #btnSubmit_login:focus,
  #spinner:focus,
  #toLogin:focus,
  #registration #btnSubmit_registration:focus,
  #confirmRegistration #btnSubmit:focus,
  #resetPassword #btnSubmit_resetPassword:focus,
  #changeUserLogin #btnSubmit_clConfirm:focus,
  #confirmRegistrationMobile #btnSubmit_confirmRegistrationMobile:focus{
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  
  #spinner span {
    pointer-events: none;
    background-size: initial;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    background-image: url(../images/loadingNew.gif);
    border-radius: 0;
    border: 0;
    -webkit-animation: none;
            animation: none;
    width: 5rem;
    height: 1rem;
  }
  
  #toRegistrationBox,
  #toRegistrationBox .card-header {
    background: transparent;
  }
  
  #toRegistrationBox {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    bottom: 125px;
    width: 100%;
    padding: 0 15px;
  }
  
  @media (min-width: 600px) {
    #toRegistrationBox {
      width: 190px;
      height: 60px;
      left: initial;
      right: 101px;
      -webkit-transform: none;
              transform: none;
      bottom: 128px;
      padding: 0;
      margin: 0 !important;
    }
  }
  
  #toRegistrationBox .card-header {
    padding: 0;
  }
  
  #toRegistrationBox .card-header h3 {
    font-size: 0.8rem !important;
    font-family: SanaSansAlt-Book;
  }
  
  #toRegistrationBox .card-body {
    margin-top: 4px;
  }
  
  @media (min-width: 600px) {
    #toRegistrationBox .card-body {
      padding: 0;
    }
  }
  
  #toRegistrationBox .card-body button,
  #changeUserLogin #btnResendCode {
    background-color: #ffffff;
    color: #000;
    border-radius: 50px;
    border: 1px #ABB1BF solid;
    width: 190px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
    -webkit-transition: 0.34s all;
    transition: 0.34s all;
  }
  
  #toRegistrationBox .card-body button:focus, #toRegistrationBox .card-body button:hover,
  #changeUserLogin #btnResendCode:focus, #changeUserLogin #btnResendCode:hover {
    border: 1px #ABB1BF solid;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  
  #toRegistrationBox .card-body button:hover,
  #changeUserLogin #btnResendCode:hover  {
    background-color: #363636;
    color: #ffffff;
    border: 0;
    text-decoration: none;
    -webkit-transition: 0.34s all;
    transition: 0.34s all;
  }
  
  #lastBlock {
    background-color: #f0f0f0;
    padding: 20px 5% 20px;
    position: relative;
    margin-top: -20px;
    z-index: 1;
    border-radius: 0 0 0.25rem 0.25rem;
  }
  
  @media (min-width: 600px) {
    #lastBlock {
      padding-bottom: 30px;
    }
  }
  
  #lastBlock .blockTitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  @media (min-width: 412px) {
    #lastBlock .blockTitle {
      font-size: 1.4rem;
    }
  }
  
  @media (min-width: 768px) {
    #lastBlock .blockTitle {
      font-size: 1.6rem;
    }
  }
  
  #lastBlock .lastBlockWrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 24px;
  }
  
  @media (min-width: 412px) {
    #lastBlock .lastBlockWrapper {
      -ms-grid-columns: (1fr)[4];
          grid-template-columns: repeat(4, 1fr);
    }
  }
  
  #lastBlock .lastBlockWrapper .lastBlockItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  
  #lastBlock .lastBlockWrapper .lastBlockItem img {
    max-width: 40px;
  }
  
  @media (min-width: 600px) {
    #lastBlock .lastBlockWrapper .lastBlockItem img {
      max-width: 100%;
    }
  }
  
  #lastBlock .lastBlockWrapper .lastBlockItem p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 14px 0 0;
  }
  
  /*****Forgot Password Pages*****/
  #forgotPassword .card.rounded,
  #forgotPasswordSent .card.rounded,
  #resetPassword .card.rounded,
  #confirmRegistration .card.rounded,
  #registrationSent .card.rounded,
  #blockedEmail .card.rounded,
  #changeUserLogin .card.rounded,
  #confirmRegistrationMobile .card.rounded {
    border: 0;
  }
  
  #forgotPassword .card-header,
  #forgotPasswordSent .card-header,
  #resetPassword .card-header,
  #confirmRegistration .card-header,
  #registrationSent .card-header,
  #blockedEmail .card-body h3,
  #changeUserLogin .card-header,
  #confirmRegistrationMobile .card-header  {
    border: 0;
    border-radius: 0.25rem;
    background-color: #ffffff;
    padding: 50px 0 30px;
  }
  
  @media (min-width: 600px) {
    #forgotPassword .card-header,
    #forgotPasswordSent .card-header,
    #resetPassword .card-header,
    #confirmRegistration .card-header,
    #registrationSent .card-header,
    #blockedEmail .card-body h3,
    #changeUserLogin .card-header,
    #confirmRegistrationMobile .card-header   {
      padding: 70px 0 30px;
    }
  }
  
  #forgotPassword .card-header h3,
  #forgotPasswordSent .card-header h3,
  #resetPassword .card-header h3,
  #confirmRegistration .card-header h3,
  #registrationSent .card-header h3,
  #blockedEmail .card-body h3,
  #changeUserLogin .card-header h3,
  #confirmRegistrationMobile .card-header h3{
    font-size: 1.562rem;
  }
  
  #forgotPassword .card-body,
  #forgotPasswordSent .card-body,
  #resetPassword .card-body,
  #confirmRegistration .card-body,
  #registrationSent .card-body,
  #blockedEmail .card-body,
  #changeUserLogin .card-body
  #confirmRegistrationMobile .card-body {
    padding: 0 12.5% 45px;
  }
  
  @media (min-width: 600px) {
    #forgotPassword .card-body,
    #forgotPasswordSent .card-body,
    #resetPassword .card-body,
    #confirmRegistration .card-body,
    #registrationSent .card-body,
    #blockedEmail .card-body,
    #changeUserLogin .card-body,
    #confirmRegistrationMobile .card-body {
      padding: 0 12.5% 80px;
    }
  }
  
  #forgotPassword .card-body .form-text,
  #forgotPassword .card-body .form-group.mb-0,
  #forgotPasswordSent .card-body .form-text,
  #forgotPasswordSent .card-body .form-group.mb-0,
  #resetPassword .card-body .form-text,
  #resetPassword .card-body .form-group.mb-0,
  #registrationSent .card-body .form-text,
  #registrationSent .card-body .form-group.mb-0 {
    display: none;
  }
  
  #forgotPassword .card-body .form-group:nth-child(3),
  #forgotPasswordSent .card-body .form-group:nth-child(3),
  #resetPassword .card-body .form-group:nth-child(3),
  #confirmRegistration .card-body .form-group:nth-child(3),
  #registrationSent .card-body .form-group:nth-child(3) {
    margin: 0 auto;
  }
  
  #forgotPasswordSent .card.rounded .card-body h3 + p,
  #confirmRegistration .card.rounded .card-body h3 + p,
  #registrationSent .card.rounded .card-body h3 + p {
    display: block;
    text-align: center;
  }
  
  #forgotPasswordSent .card.rounded .card-body h3,
  #confirmRegistration .card.rounded .card-body h3,
  #registrationSent .card.rounded .card-body h3 {
    display: none;
  }
  
  #forgotPasswordSent .card-body img,
  #confirmRegistration .card-body img,
  #registrationSent .card-body img {
    display: none;
  }
  
  /*****Registration Confirmed*****/
  #confirmRegistration #successBlock div .form-text.mb-5,
  #confirmRegistration #successBlock h3,
  #confirmRegistration #errorBlock .form-text.mb-5,
  #confirmRegistration #errorBlock h3  {
    display   : block;
    font-size : 1rem;
  }
  
  #registrationSent .card.rounded .card-body h3 {
    display: block;
    padding: 50px 0 30px;
  }
  
  @media (min-width: 600px) {
    #registrationSent .card.rounded .card-body h3 {
      padding: 70px 0 30px;
    }
  }
  
  /*****Reset Password Page*****/
  #resetPassword #passwordBlock .form-text,
  #confirmRegistration #passwordBlock .form-text,
  #instructionText + .form-group label,
  #confirmRegistrationMobile #instructionText {
    display: block;
    text-align: left;
  }

  #instructionText + .form-group label{
    margin: .25rem 0 1rem;
  }
  
  #resetPassword #passwordBlock .form-group:nth-child(2) label,
  #resetPassword #passwordBlock .form-group:nth-child(3) label,
  #confirmRegistration #passwordBlock .form-group:nth-child(2) label,
  #confirmRegistration #passwordBlock .form-group:nth-child(3) label,
  #confirmRegistrationMobile #passwordBlock label{
    /*display: none;*/
    width     : 100%;
    text-align: left;
  }
  
  #resetPassword #passwordBlock .form-group.mb-0,
  #confirmRegistration #passwordBlock .form-group.mb-0 {
    display: block;
  }
  
  #resetPassword #passwordBlock .custom-control-label,
  #confirmRegistration #passwordBlock .custom-control-label {
    display: block;
    text-align: left;
    padding: 10px 0 0 10px;
  }
  
  #resetPassword #passwordBlock .custom-control-label:before,
  #confirmRegistration #passwordBlock .custom-control-label:before {
    content: "";
    position: absolute;
    left: -18px;
    top: 9px;
    width: 20px;
    height: 20px;
    border: 1px solid #333;
    border-radius: 50%;
    background-color: transparent;
    outline: 0;
  }
  
  @media (min-width: 600px) {
    #resetPassword #passwordBlock .custom-control-label:before,
    #confirmRegistration #passwordBlock .custom-control-label:before {
      top: 12px;
    }
  }
  
  #resetPassword #passwordBlock .custom-control-label:after,
  #confirmRegistration #passwordBlock .custom-control-label:after {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    left: -18px;
    top: 9px;
  }
  
  #resetPassword #passwordBlock .custom-control-input:focus ~ .custom-control-label:before,
  #confirmRegistration #passwordBlock .custom-control-input:focus ~ .custom-control-label:before{
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  
  #resetPassword #passwordBlock .custom-control-input:checked,
  #resetPassword #passwordBlock .custom-control-input:checked + .custom-control-label:before,
  #confirmRegistration #passwordBlock .custom-control-input:checked,
  #confirmRegistration #passwordBlock .custom-control-input:checked + .custom-control-label:before {
    border: 0;
  }
  
  #resetPassword #passwordBlock .custom-control-input:checked + .custom-control-label:after,
  #confirmRegistration #passwordBlock .custom-control-input:checked + .custom-control-label:after {
    content: "";
    display: block;
    position: absolute;
    left: -18px;
    top: 9px;
    width: 20px;
    height: 20px;
    outline: 0;
    background: url(../images/checkbox.png) center transparent;
  }
  
  @media (min-width: 600px) {
    #resetPassword #passwordBlock .custom-control-input:checked + .custom-control-label:after,
    #confirmRegistration #passwordBlock .custom-control-input:checked + .custom-control-label:after {
      top: 12px;
    }
  }
  
  footer .navbar {
    background-color: #333 !important;
  }
  
  footer .navbar .navbar-nav.ml-auto {
    border-bottom: 1px solid #fff;
    width: 100%;
    min-height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
  @media (min-width: 992px) {
    footer .navbar .navbar-nav.ml-auto {
      border-bottom: none;
      width: 20%;
      -webkit-box-pack: start;
          -ms-flex-pack: start;
              justify-content: flex-start;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      min-height: 40px;
      max-width: 190px;
    }
  }
  
  footer .navbar .navbar-nav.ml-auto .nav-item .active > .nav-link {
    color: #fff;
  }
  
  footer .navbar .navbar-nav .nav-item .nav-link {
    color: #b2b2b2;
    -webkit-transition: 0.34s all;
    transition: 0.34s all;
    font-size: 1rem;
  }
  
  footer .navbar .navbar-nav .nav-item .nav-link:hover, footer .navbar .navbar-nav .nav-item .nav-link:focus, footer .navbar .navbar-nav .nav-item .nav-link:active {
    color: #ffffff;
    text-decoration: underline;
    -webkit-transition: 0.34s all;
    transition: 0.34s all;
  }
  
  footer .navbar .navbar-collapse {
    padding: 10px 0;
  }
  
  /*****Register Page*****/
  #loyaltyBox,
  #signInTypeBox,
  #signInTypeBox + .form-group + .form-group + .form-group,
  #companyBox + .form-group,
  /*#companyBox .form-group + .form-group,*/
  #registrationDataBox .form-group:nth-child(5),
  #registrationDataBox .form-group:nth-child(8),
  #registrationDataBox .form-group:nth-child(10),
  #registrationDataBox .form-group:nth-child(11),
  #registrationDataBox .form-group:nth-child(12),
  #registrationDataBox .form-group:nth-child(13),
  #registrationDataBox .form-group:nth-child(15),
  #registrationDataBox .form-group:nth-child(16),
  #registrationDataBox .form-group:nth-child(17),
  #registrationDataBox .form-group:nth-child(18){
    display: none;
  }

  #registration .card.rounded .card-body:last-child .pb-4:nth-child(1){
    display: none;
  }

  #legalAreaBox{
    /*display: block!important;*/
    margin-top: 30px;
  }
  
  #legalAreaText{
    font-family: SanaSansAlt-Book;
    line-height: 25px;
    margin-top: 40px;
    margin: 30px 0 0;
    text-align: left;
  }
  
  #registration,
  #socialLogin {
    padding: 0 30px 0;
  }
  
  #registration label, #registration p, #registration input, #registration select,
  #socialLogin label, #socialLogin p,  #socialLogin input, #socialLogin select {
    font-size: 4.27vw !important;
  }
  
  @media (min-width: 465px) {
    #registration label, #registration p, #registration input, #registration select,
    #socialLogin label, #socialLogin p,  #socialLogin input, #socialLogin select{
      font-size: 16px !important;
    }
  }

  #registration .password-rules{
    bottom: -43px;
  }

  @media (max-width: 1060px){
    #registration .password-rules{
      bottom: 112%;
    }
  
  }

  #registration .password-rules:before{
    left      : -12px;
    transform : translate(0, -50%);
  }

  @media(max-width: 1060px){
    #registration .password-rules:before{
      transform : none;
      left      : 16px;
    }
  }
 
  #password-rules-title,
  #password-rules-secondaryTitle{
    color: #343a40;
  }
  
  #registration .card.rounded,
  #socialLogin .card.rounded {
    border: 0;
  }
  
  #registration .card.rounded .card-header,
  #socialLogin .card.rounded .card-header{
    background: none;
    border: 0;
    padding-top: 0;
  }
  
  #registration .card.rounded .card-header h3,
  #socialLogin .card.rounded .card-header h3 {
    font-size: 1.564rem !important;
  }
  
  @media (min-width: 465px) {
    #registration .row .col-md-12.py-3,
    #socialLogin .row .col-md-12.py-3 {
      padding: 0;
    }
  }
  
  #country-listbox {
    z-index: 100;
  }
  
  @media (min-width: 1200px) {
    #country-listbox {
      width: 525px;
    }
  }
  
  #companySelectorbox {
    width: 100%;
  }
  
  @media (min-width: 768px) {
    #companySelectorbox {
      width: calc(100% / 2 - 10px);
      margin-right: 2%;
    }
  }
  
  #registrationDataBox #companySelectorbox .form-group,
  #socialLogin #companySelectorbox .form-group{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
            padding: 0;
  }
  
  #companySelectorbox .form-group p {
    margin: 0;
  }
  
  #companySelectorbox .form-inline {
    position: relative;
    width: 40%;
    height: 30px;
    border-radius: 20px;
    background: #f0f0f0;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
            flex-flow: row-reverse;
    max-width: 149.8px;
  }
  
  @media (min-width: 768px) {
    #companySelectorbox .form-inline {
      height: 35px;
    }
  }
  
  #companySelectorbox .form-inline .switch-selection {
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 50%;
    height: 100%;
    border-radius: 20px;
    background-color: green;
    -webkit-transition: left 0.15s ease-out;
    transition: left 0.15s ease-out;
  }
  
  #companySelectorbox .form-inline .switch-selection-on {
    color: #fff;
    -webkit-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
    left: 50%;
    background-color: #7c898c;
    display: block;
  }
  
  #companySelectorbox .custom-control {
    margin: 0 !important;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 50%;
  }
  
  #companySelectorbox .custom-control .custom-control-label {
    position: absolute;
    z-index: 11;
    width: 100%;
    text-align: center;
  }
  
  #companySelectorbox .custom-control .custom-control-label:after, #companySelectorbox .custom-control .custom-control-label:before {
    content: none !important;
  }
  
  #registrationDataBox div:nth-child(7) .row.form-group {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-flow: nowrap row-reverse;
            flex-flow: nowrap row-reverse;
    margin-left: 0;
    margin-right: 0;
  }
  
  #registrationDataBox div:nth-child(7) .row.form-group .col-md-4 {
    padding: 0;
    width: 40%;
  }
  
  @media (min-width: 768px) {
    #registrationDataBox div:nth-child(7) .row.form-group .col-md-4 {
      -webkit-box-flex: 0;
          -ms-flex: none;
              flex: none;
      width: 60%;
    }
  }
  
  #registrationDataBox div:nth-child(7) .row.form-group .col-md-4 select {
    height: 45px !important;
    border-radius: 50px;
    height: 45px !important;
    max-width: 400px;
    font-size: 0.86rem !important;
    margin: 0 auto;
  }
  
  #registrationDataBox div:nth-child(7) .row.form-group .col-md-4:nth-child(1), #registrationDataBox div:nth-child(7) .row.form-group .col-md-4:nth-child(2) {
    width: 28%;
  }
  
  @media (min-width: 768px) {
    #registrationDataBox div:nth-child(7) .row.form-group .col-md-4:nth-child(1), #registrationDataBox div:nth-child(7) .row.form-group .col-md-4:nth-child(2) {
      width: 30%;
    }
  }
  
  #registrationDataBox .form-group:last-child {
    padding-left: 10px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control-label,
  #registrationDataBox .form-group:last-child .custom-control-input {
    cursor: pointer;
    margin-left: -10px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control {
    margin-top: 10px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) {
    padding: 0;
    display : grid;
    grid-template-columns: 45px 80px 1fr;
    column-gap: 60px;
  }

  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:nth-last-child(2){
    margin-top: 30px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .custom-control-label {
    cursor: default;
    grid-column: 1/4;
    grid-row: 1;
    padding: 0;
    margin-left: -10px;
    margin-bottom: 4px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .custom-control-label:after, #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .custom-control-label:before {
    content: none;
  }
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_yes, #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_no {
    font-size: 4.27vw !important;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    margin-left: -10px;
  }

  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_no{
    margin-left: -30px;
  }
  
  @media (min-width: 465px) {
    #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_yes, #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_no {
      font-size: 16px !important;
    }
  }
  
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_no {
    /*margin-left: 60px;*/
  }
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_no:before {
    left: 76px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control.custom-checkbox:not(:last-child) .input_checked::before {
    background-image: url(../images/checkbox.png);
    border: none;
  }
  
  #registrationDataBox .form-group:last-child .custom-control-label:before, #registrationDataBox .form-group:last-child .input_yes:before, #registrationDataBox .form-group:last-child .input_no:before {
    content: "";
    min-width: 20px;
    height: 20px;
    border: 1px solid #333;
    border-radius: 50%;
    background-color: transparent;
    outline: 0;
    display: block;
    margin-right: 10px;
  }
  
  #registrationDataBox .form-group:last-child .custom-control-input:focus, #registrationDataBox .form-group:last-child .custom-control-input:active {
    border: 0;
  }
  
  #registrationDataBox .form-group:last-child .custom-control-input:focus ~ .custom-control-label:before {
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  
  #registrationDataBox .form-group:last-child .custom-control-input:checked,
  #registrationDataBox .form-group:last-child .custom-control-input:checked + .custom-control-label:before {
    border: 0;
  }
  
  #registrationDataBox .form-group:last-child .custom-control-input:checked + .custom-control-label:after {
    content: "";
    display: block;
    position: absolute;
    left: -24px;
    top: 3px;
    width: 20px;
    height: 20px;
    outline: 0;
    background: url(../images/checkbox.png) center transparent;
  }

  #registrationDataBox .custom-control .custom-control-label a{
    color           : #212529;
    transition      : 0.34s all;
    text-decoration : underline;
  }

  #registrationDataBox .custom-control .custom-control-label a:hover{
    color       : #E0001A;
    transition  : 0.34s all;
  }
  
  #submitBox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
            max-width: 190px;
            margin: 20px auto 0;
  }
  
  @media (min-width: 465px) {
    #signBox {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-flow: wrap;
          flex-flow: wrap;
    }
  }
  
  @media (min-width: 465px) and (min-width: 465px) {
    #signBox .form-group:nth-child(2), #signBox .form-group:nth-child(3) {
      width: calc(100% / 2 - 10px);
    }
  }
  
  @media (min-width: 465px) and (min-width: 465px) {
    #signBox .form-group:nth-child(2) {
      margin-right: 10px;
    }
  }
  
  @media (min-width: 465px) and (min-width: 465px) {
    #signBox .form-group:nth-child(3) {
      margin-left: 10px;
    }
  }
  
  @media (min-width: 992px) {
    #signBox .form-group input {
      max-width: 100%;
    }
  }
  
  @media (min-width: 465px) {
    #signBox #passwordBlock {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      width: 100%;
    }
  }
  
  @media (min-width: 465px) {
    #signBox #passwordBlock .form-group:nth-child(1) {
      width: calc(100% / 2 - 10px);
      margin-right: 10px;
    }
  }
  
  @media (min-width: 465px) {
    #signBox #passwordBlock .form-group:nth-child(2) {
      margin-right: 0;
      margin-left: 10px;
    }
  }
  
  #registrationDataBox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  
  #registrationDataBox #companySelectorbox {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  
  #registrationDataBox .form-group:nth-child(4) {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
  
  #registrationDataBox .form-group:nth-child(6) {
    -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
            order: 5;
  }
  
  #registrationDataBox .form-group:nth-child(9) {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  
  #registrationDataBox .form-group:nth-child(14) {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  
  #registrationDataBox .form-group:nth-child(19) {
    -webkit-box-ordinal-group: 7;
        -ms-flex-order: 6;
            order: 6;
            margin-top: 20px;
  }

  #registrationDataBox .form-group:nth-child(19) .custom-control .is-invalid + label{
    color: #212529;
  }

  #registrationDataBox .form-group:nth-child(19) .custom-control .invalid-input.input_yes_no::before{
    border: 1px solid #dc3545;
  }

  #registrationDataBox .form-group:nth-child(19) .custom-control:last-child .is-invalid + label::before{
    border: 1px solid #dc3545;
  }

  #registrationDataBox .form-group:nth-child(19) .checkbox-informativeText{
    margin-left: -7px;
  }

  #registration .important-note{
    margin: 20px 0 0;
  }
  
  #registrationDataBox #companyBox + .form-group + .form-group + .form-group + .form-group + div {
    -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
            order: 5;
  }
  
  #registrationDataBox #companyBox + .form-group + .form-group + .form-group + .form-group + div input{
    width: 100%;
    max-width: 100%;
  }

  .form-group .intl-tel-input.allow-dropdown .flag-container .selected-flag{
    cursor: default;
    display: none;
  }

  .form-group .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag{
    background-color: transparent;
  }

 
  .form-group .intl-tel-input.allow-dropdown .flag-container + input{
    padding: .375rem calc(1.5em + .75rem) .375rem .75rem;
  }
 
  #country-listbox{
    display: none!important;
  }

  .selected-flag .iti-arrow{
    display: none;
  }
  
  #registrationDataBox #companyBox {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    width: 100%;
  }

  #registrationDataBox #companyBox .form-group:nth-child(2){
    padding-left: 0;
  }

  #registrationDataBox #companyBox .form-group input{
    width     : 100%;
    max-width : 100%;
  }
  
  @media(min-width: 768px){
    #registrationDataBox #companyBox{
      display : flex;
    }

    #registrationDataBox #companyBox .form-group {
      width: calc(100% / 2 - 10px);
    }
  
    #registrationDataBox #companyBox .form-group:nth-child(2){
      margin-left : 10px;
      padding-left: 10px;
    }
  }

  .company-nif--active{
    order: 4!important;
  }
  
  
  @media (min-width: 465px) {
    #registrationDataBox {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-flow: row wrap;
              flex-flow: row wrap;
    }
  }
  
  @media (min-width: 465px) {
    #registrationDataBox .form-group:nth-child(4), #registrationDataBox .form-group:nth-child(9) {
      margin-right: 10px;
    }
  }
  
  @media (min-width: 465px) {
    #registrationDataBox .form-group:nth-child(6), #registrationDataBox .form-group:nth-child(14) {
      margin-left: 10px;
    }
  }
  
  @media (min-width: 465px) {
    #registrationDataBox .form-group:nth-child(4), #registrationDataBox .form-group:nth-child(6), #registrationDataBox .form-group:nth-child(9), #registrationDataBox .form-group:nth-child(14) {
      width: calc(100% / 2 - 10px);
    }
  }
  
  @media (min-width: 992px) {
    #registrationDataBox .form-group input {
      max-width: 100%;
    }
  }
  
  @media (min-width: 465px) {
    #registrationDataBox div:nth-child(7) {
      width: 100%;
    }
  }
  
  @media (min-width: 465px) {
    #registration .row .col-md-10.mx-auto,
    #socialLogin .row .col-md-10.mx-auto {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      max-width: 100%;
    }
  }

#errorModal .modal-content,
#errorModal .modal-header,
#errorModal .modal-footer{
  border: 0;
}

#errorModal .modal-content{
  border-radius: .25rem;
}

#errorModal .modal-header{
  padding: 20px 1rem 0 30px;
}

#errorModal .modal-header .close{
  outline: 0;
}

#errorModal .modal-body{
  padding: 20px 30px;
}

#errorModal .modal-footer{
  padding-bottom: 35px;
}

#errorModal .modal-footer .btn-primary{
  background-color: #00985f;
  border: 0;
  color: #fff;
  margin: 0 auto;
  width: 190px;
  height: 40px !important;
  border-radius: 50px;
  transition: 0.34s all;
}

#errorModal .modal-footer .btn-primary:hover{
  background-color: #027b4e;
  transition: 0.34s all;
}

#blockedEmail .card-body img{
  display: none;
}

#changeUserLogin .card-body form{
  margin: 0;
}

/**Change User Login**/
@media(min-width: 768px){
  #changeUserLogin .card-body form{
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }

  #changeUserLogin .card-body form #instructionText,
  #changeUserLogin .card-body form #instructionText + .form-group{
    width: 100%;
  }

  #changeUserLogin .card-body form #passwordBlock{
    margin-left: 20px;
  }
}

/***Change Login***/
#forgotPassword .card-body form img{
  display: none;
}

#forgotPassword .card-body form .form-text,
#changeUserLogin .card-body form .form-group + .form-text{
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

#forgotPassword .card-body form .form-group + .form-text,
#changeUserLogin #instructionTextEmail + .form-group + #passwordBlock .form-text{
  margin-bottom: 0;
}

#forgotPassword .card-body form .form-group + .form-text,
#changeUserLogin #instructionTextEmail + .form-group + #passwordBlock .form-text{
  margin-top: 20px;
}

#changeUserLogin #instructionTextEmail + .form-group + #passwordBlock{
  width: 100%;
}

#forgotPassword .card-body form .form-group + .form-text a,
#changeUserLogin #instructionTextEmail + .form-group + #passwordBlock .form-text a{
  color: #212529;
}


/**Submit Login***/
#changeUserLogin #instructionTextEmail + .form-group + #passwordBlock{
  margin-left: 0;
}

#btnSubmit_confirmRegistrationMobile{
  margin-top: 1rem;
}

#emailLabelDiv p,
#instructionText{
  text-align: center!important;
}

/*****/
#captchaBox{
  margin: 20px 0;
}