﻿/*
    1. LAYOUT
    2. PAYMENT
    3. FORM / SIGNATURES
    4. COOKIES
    5. GALLERY (Blueimp)
    6. COLLABORATION ROOM
    7. READ ONLY MODE
    8. FEATURES
    9. MEDIA (viewport)
*/
/******************************************/
/*                LAYOUT                  */
/******************************************/
.line {
  display: flex;
  text-align: left;
  margin-bottom: 4px;
}

.instruction-block .line {
    column-gap: 16px;
}

.instruction-block .line {
    column-gap: 16px;
}

.line .icon {
  height: 30px;
  min-width: 70px;
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: top;
  margin-left: 0;
  margin-right: 15px;
}

.rtl .line {
  text-align: right;
}

.seperator-container {
  display: flex;
  width: 100%;
  height: 30px;
  align-items: center;
}

.seperator-container span {
  height: 1px;
  width: 100%;
  background-image: linear-gradient(
    90deg,
    #4b515f,
    #4b515f 75%,
    transparent 75%,
    transparent 100%
  );
  background-size: 4px 1px;
  border: none;
}

.rotate-screen {
  display: none;
  z-index: -1;
  opacity: 0;
}

.conversations .compose {
  padding: 10px 80px 10px 40px;
}

.rtl .conversations .compose {
  padding: 10px 40px 10px 80px;
}

.btn-download-draft {
  margin: 8px 0px;
}

/* make the native arrow invisible and stretch it over the whole field so you can click anywhere in the input field to trigger the native datepicker*/
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
}

.lightico-loading {
  position: fixed;
  z-index: 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

.lightico-loading > .progress {
  position: absolute;
  bottom: 0px;
  width: 100%;
  margin: 0px;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#muteButton {
  width: 48px;
  height: 48px;
}

#hangupButton {
  width: 48px;
  height: 48px;
}

#attachButton {
  width: 48px;
  height: 48px;
}

.fit {
  max-height: 100%;
  max-width: 100%;
}

/* End moved from the page */

.loader-target {
  -webkit-transition-duration: 0.5s !important;
  transition-duration: 0.5s !important;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  opacity: 0;
}

.loader-target.loader-target-loaded {
  -webkit-transform: scale(1) translateY(0px);
  transform: scale(1) translateY(0px);
  opacity: 1;
}

.spinner {
  margin: 100px auto;
}

.spinner-mask {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: table;
  background: #3e4554;
  position: fixed;
  z-index: 999;
  opacity: 1;
}

.spinner-mask.fade {
  opacity: 0;
  z-index: -1;
}

.spinner-mask.hide {
  display: none;
}

.spinner-mask .spinner-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.client-page {
  padding: 0;
  margin: 0;
  height: 100%;
}

.commands-panel {
  position: relative;
  height: 52px;
  width: 100%;
  padding-right: 5px;
  padding-left: 5px;
  clear: both;
  display: flex;
  flex-direction: column;
  flex-wrap: initial;
}

.commands-panel.panel-with-download-draft-btn,
.commands-panel.panel-with-payment-btn {
  height: 96px;
}

.commands-panel .commands {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 100%;
}

.commands-panel button,
.commands-panel a {
  min-height: 30px;
  min-width: 100px;
  max-width: 60%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 25px;
  font-size: 11px;
  text-decoration: none;
  width: calc(50% - 2px);
  height: 30px;
}

.commands-panel .rounded-btn {
  cursor: pointer;
}

.commands-panel button.payment-cancel,
.commands-panel .btn-download-draft {
  line-height: 1;
  border-radius: 17.5px;
  text-align: center;
}

.commands-panel .commands.flex-two-col {
  justify-content: space-around;
}

/*.flex-two-col a, .flex-two-col button {
    max-width: 40% !important;
}*/

/******************************************/
/*                PAYMENT                 */
/******************************************/
.payment-confirmation label {
  display: block;
  width: 100%;
  padding-bottom: 15px;
}

.payment-confirmation label span:first-child {
  padding-right: 25px;
}

.attachment.message-payment-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.message-payment-button i.fa.fa-credit-card {
  font-size: 3em;
}

.payment-confirmation-modal .title {
  font-size: 16px;
  display: block;
  width: 100%;
}

.rtl .payment-confirmation-modal p {
  margin-right: 15px;
  text-align: right;
}

.payment-confirmation-modal p {
  padding: 0;
  text-align: left;
}

.rtl .payment-confirmation label span:first-child {
  padding-left: 25px;
  padding-right: 0;
}

.document-item.commands {
  margin-top: 1.7em;
  width: 100%;
}

.cc-cvv.input-placeholder {
  padding-left: 50px;
  max-width: 100%;
}

.rtl .cc-number {
  width: 94% !important;
}

.cc-number.input-placeholder {
  padding-left: 110px;
  max-width: 100%;
}

/******************************************/
/*            FORM / SIGNATURES           */
/******************************************/
.lock-form > div > .title {
  text-transform: capitalize;
}

.lock-form > div > .description {
  text-align: left;
}

.lock-form > div > .controls {
  text-align: left;
}

.lock-form .btn-field:not(.b1) {
  height: 40px;
  line-height: 40px;
  padding: 0 30px;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0px;
  /*float: none;*/
  color: #116fc6;
  background: #fff;
  border-color: #fff;
}

.confirm-modal .controls {
  margin-bottom: 30px;
  text-align: left;
  overflow-y: auto;
  max-height: 250px;
}

.rtl .confirm-modal .controls {
  text-align: right;
}

.rtl .confirm-modal .title {
  text-align: right;
}

/******************************************/
/*               COOKIES                  */
/******************************************/
div#cookie-confirmation.can-use-gradients {
  background-color: rgba(0, 0, 0, 0);
  background-image: -webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    color-stop(0%, rgba(0, 0, 0, 0.9)),
    color-stop(100%, rgba(0, 0, 0, 0.75))
  );
  background-image: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.75)
  );
  background-image: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.75)
  );
  background-image: -o-linear-gradient(
    top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.75)
  );
  background-image: linear-gradient(
    top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.75)
  );
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.75)
  );
}

div#cookie-confirmation {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    display: none;
    color: var(--lds-color-font-inverse-base);
    padding: 16px;
}

    div#cookie-confirmation.active {
        z-index: 100000000 !important;
        background-color: var(--lds-color-neutral-900);
        display: block;
    }

    div#cookie-confirmation div#cookie-confirmation-inner {
        display: flex;
        gap: 16px;
        justify-content: flex-start;
        align-items: center;
    }

    div#cookie-confirmation div#cookie-confirmation-inner p {
        font-weight: 400 !important;
        font-size: 0.875rem !important;
        line-height: 1.375rem !important;
        letter-spacing: 0.015625rem !important;
        margin: 0;
    }

        div#cookie-confirmation div#cookie-confirmation-inner confirmation-button {
            min-height: 36px !important;
            text-decoration: none;
        }

        div#cookie-confirmation div#cookie-confirmation-inner #cookie_message a {
            color: var(--lds-brand-color-font-primary-base);
        }

.rtl div#cookie-confirmation {
  /*text-align: right;*/
}

.rtl div#cookie-confirmation div#cookie-confirmation-inner p {
/*  float: right;
  text-align: right;*/
}

.rtl
  div#cookie-confirmation
  div#cookie-confirmation-inner
  div#cookie-confirmation-buttons-area {
  float: right;
}

/******************************************/
/*            GALLERY (Blueimp)           */
/******************************************/
.blueimp-gallery > .editor .sign-form {
  display: none;
}

.blueimp-gallery > .editor .controls .control {
  color: rgba(47, 59, 91, 0.54);
}

.blueimp-gallery .header-container {
  display: none;
}

.blueimp-gallery.share-view {
  background-color: #ccc;
}

.blueimp-gallery.share-view .slides {
  bottom: 60px;
}

.blueimp-gallery.share-view .close-btn {
  display: none;
}

.blueimp-gallery.share-view .header-container {
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #0099f0;
}

.blueimp-gallery.share-view .header-container h2 {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

.blueimp-gallery.share-view .header-container .sub-title {
  margin: 0;
}

.blueimp-gallery.share-view .header-container .sub-title p {
  color: #fff;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

.blueimp-gallery.share-view > .editor {
  bottom: 0;
  top: auto !important;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.blueimp-gallery.share-view > .editor .sign-form {
  display: block;
}

.blueimp-gallery.share-view .title {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

/******************************************/
/*          COLLABORATION ROOM            */
/******************************************/
.thumb-seperator {
  width: 100%;
  height: 1px;
  display: block;
  float: left;
  transition: width ease-in-out 0.4s;
  -moz-transition: width ease-in-out 0.4s;
  -webkit-transition: width ease-in-out 0.4s;
  -o-transition: width ease-in-out 0.4s;
  -ms-transition: width ease-in-out 0.4s;
  background-color: rgba(47, 59, 91, 0.12);
}

.thumb-seperator.with-download-draft {
  margin-bottom: 5px;
}

.attachment a.download {
  height: 110px;
}

.img-received {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  border: none;
}

/******************************************/
/*            READ ONLY MODE              */
/******************************************/
.read-only .client-side-view {
  top: 0;
  height: 100%;
}

.read-only .conversations.client-side .messages {
  bottom: 0;
  top: 60px;
}

/******************************************/
/*                FEATURES                */
/******************************************/
.inner-modal {
  display: none;
  width: 100%;
  height: calc(100% - 130px);
  position: relative;
  top: 0;
  z-index: -1;
  pointer-events: none;
  flex-direction: column;
  overflow-y: scroll;
  background-color: #ffffff;
  text-align: center;
}

.inner-modal.active {
  display: block;
  bottom: 0;
  top: 60px;
  padding: 15px;
  height: 100%;
  pointer-events: auto;
  z-index: 9999999;
}

.bottom.active,
.continue-button.active,
.readability.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 9999999;
}

.resend {
  height: 30px;
  height: 30px;
  display: inline-block;
  background-color: white;
  margin-top: 16px;
}

.readability {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100% - 138px);
    overflow: hidden;
}

.readability-title {
    margin-bottom: 4px;
}

.readability-title h2 {
    margin: 0;
}

.readability-txt {
    font-weight: 400 !important;
    font-size: 0.75rem !important;
    line-height: 1.125rem !important;
    letter-spacing: 0.025rem !important;
    margin-bottom: 16px;
}

.readability-txt p {
    margin: 0;
}

.readability-buttons {
    position: fixed;
    bottom: 32px;
    height: 84px;
    padding: 0 32px;
    margin: 0 auto;
    max-width: 780px;
    display: flex;
    border-top: 1px solid var(--lds-color-border-light);
    left: 0;
    right: 0;
    align-items: center;
}

.continue-button {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    justify-content: space-between;
}

.custom-page .msg,
.last-page .msg {
    vertical-align: middle;
}

.last-page .msg {
    overflow: hidden;
}

.client-page.new-ui .payment-confirmation-modal .title {
    font-weight: 400 !important;
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    letter-spacing: 0.015625rem !important;
    margin-bottom: 8px;
    padding-right: 44px;
}

.client-page.new-ui .payment-confirmation-modal p {
    font-weight: 400 !important;
    font-size: 0.8125rem !important;
    line-height: 1.25rem !important;
    letter-spacing: 0.009375rem !important;
    margin-top: 0;
    margin-bottom: 16px;
    padding-right: 20px;
}

.client-page.new-ui .modal-form.payment-confirmation-modal .submit {
    margin-top: 0;
}

.client-page.new-ui .inner-modal.active {
    display: block;
    bottom: 0;
    top: 0;
    padding: 56px 64px;
    height: 100%;
    pointer-events: auto;
    z-index: 9999999;
}

.client-page.new-ui .msg h2.title,
.client-page.new-ui .msg .txt,
.client-page.new-ui #idv_selfie h2,
.client-page.new-ui #idv_selfie p,
.client-page.new-ui #idv_back h2,
.client-page.new-ui #idv_back p,
.client-page.new-ui #intro_idv h2,
.client-page.new-ui #intro_idv p,
.client-page.new-ui .form-content .link_sent h2,
.client-page.new-ui #resend_link .reason-txt,
.client-page.new-ui .last-page h2.title,
.client-page.new-ui .last-page .txt,
.client-page.new-ui .custom-page h2.title,
.client-page.new-ui .custom-page p.txt,
.client-page.new-ui #idv_result h2.result-title,
.client-page.new-ui #idv_result .txt,
.client-page.new-ui .idv_msg .idv-title,
.client-page.new-ui .idv_msg .idv-txt,
.client-page.new-ui .custom-idv-page .idv-title,
.client-page.new-ui .custom-idv-page .idv-txt,
.client-page.new-ui .custom-page .idv-txt,
.client-page.new-ui .idv-upload-files .idv-title,
.client-page.new-ui .idv-upload-files .idv-txt,
.client-page.new-ui .idv_msg .consent-idv-title,
.client-page.new-ui .idv_msg .consent-idv-subtitle,
.client-page.new-ui #err-page .err-title,
.client-page.new-ui #err-page .reason-txt,
.client-page.new-ui #idv_result .helper-txt,
.client-page.new-ui #err-page .err-txt {
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.client-page.new-ui #idv_result .helper-txt {
  max-width: 290px !important;
}

.client-page.new-ui #idv_result .result-bottom-container .result-buttons {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    align-items: center;
}

.client-page.new-ui #idv_result .result-bottom-container .txt {
    margin-bottom: 32px;
}

.client-page.new-ui .custom-page h2.title,
.client-page.new-ui #idv_result h2.result-title,
.client-page.new-ui #idv_selfie h2,
.client-page.new-ui #idv_result .helper-txt
{
    margin: 0 auto 8px !important;
    text-align: center;
}

.client-page.new-ui .custom-page h2.title:empty {
    display: none;
}

.client-page.new-ui .custom-page p.txt,
.client-page.new-ui #idv_selfie p,
.client-page.new-ui #idv_back p {
    margin: 0 auto;
}

.client-page.new-ui #idv_selfie p {
    text-align: center;
    margin-bottom: 32px;
}

.client-page.new-ui #idv_back p,
.client-page.new-ui #idv_result p.txt {
    text-align: center;
}

.custom-page .btn-continue,
#idv_selfie .idv-btn-continue {
    margin-top: 32px;
}

.idv-skip {
    margin-top: var(--lds-space-8);
    color: var(--font-primary-base, #1565CF);
    border: 0px;
    background: white;
}

.photo-frame {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-radius: var(--lds-radius-md);
    border: 1px solid var(--lds-color-border-light);
    overflow: auto;
}

/* new spinner css */

@keyframes svg-animation {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

/* IDV .spinner */

#manualCaptureBtn {
  background: url("../img/icons/capture_button.svg");
  background-color: #ffffff;
  border-radius: 100px;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 1px solid transparent;
  background-position: center;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#transition {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

#img-result {
  height: 40px;
  width: 40px;
  animation: 2.5s ease-out 0s 1 slideInFromLeft;
}

#loader-container {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#final_loader {
  position: absolute;
  top: 50%;
  left: 44%;
  width: initial;
  max-width: 100%;
  background: white;
  border-radius: 100px;
  display: flex;
  width: 56px;
  height: 56px;
  z-index: 100;
}

.idv-consent .custom-idv-page {
  height: 100%;
}

.consent-content {
    letter-spacing: normal;
}
.upload-files .blue-button {
  padding: 10px 10px 10px 70px;
  border-radius: 15px;
}

.upload-files .capture_doc .upload-indicator {
  left: 0;
  right: auto;
}

.upload-text {
  text-align: start;
}

.intro-drivers_license,
.intro-identification_card,
.intro-passport {
  width: 100%;
  background-repeat: no-repeat;
  background-blend-mode: color, normal;
  border-radius: 4px;
  filter: drop-shadow(0px 1px 2px rgba(0, 153, 240, 0.3));
}

.selfie-intro {
  display: flex;
}
.selfie-intro > img {
  height: 213px;
  width: 164px;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px
}


.idv-intro-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

#intro_idv,
#idv_back {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    row-gap: 32px;
}

    #intro_idv .top-container {
        row-gap: 8px;
    }

    #intro_idv .top-container p, #intro_idv .helper-txt {
        text-align: center;
    }

    #intro_idv .bottom-container {
        position: fixed;
        bottom: 0;
        padding: 16px;
        column-gap: 8px;
        width: 100%;
        box-shadow: 0px -2px 10px 0px rgba(33, 46, 62, 0.08);
    }

    #intro_idv .bottom-container button {
        width: 100%;
    }

#idv_verify {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#err-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

    #err-page .text {
        text-align: start;
        font-weight: 400 !important;
        font-size: 1rem !important;
        line-height: 1.5rem !important;
        letter-spacing: 0.009375rem !important;
    }

#err-page .icon.bullet {
  display: none;
}

.inner-btn {
  height: 35px;
  width: 35px;
  background: url();
}

.err-title {
  display: flex;
  align-items: center;
  text-align: center;
  color: #2f3b5b !important;
  font-size: 16px;
  max-width: 272px;
  line-height: 28px;
}

.err-txt,
.reason-txt {
    text-align: center;
}

.err-bottom-container .reason-txt {
    margin-top: 32px;
}

.err-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

  .err-bottom-container .idv-result-button {
      margin-top: 32px;
  }
.mobile-only-step{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.mobile-only-step .mobile-only-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--lds-space-12);
}
.mobile-only-step .mobile-only-content .image-and-title{
  display: flex;
  flex-direction: column;
  margin-top: 76px;
}
.mobile-only-step .mobile-only-content .image-and-title .titles-container{
  display: flex;
  flex-direction: column;
  gap: var(--lds-space-6);
  align-items: center;
  max-width: 336px;
}
.mobile-only-step .mobile-only-content .image-and-title .titles-container .mobile-only-title{
    color: #2f3b5b !important;
}
.mobile-only-step .mobile-only-content .image-and-title .titles-container .mobile-only-sub-title{
  color: var(--lds-color-font-weak) !important;
  text-align: center;
}
.mobile-only-step .mobile-only-content .actions-container{
  display: flex;
  flex-direction: column;
}
#idv_verify > #main-spinner {
    display: block;
}

#main-spinner {
  position: inherit;
  top: 45%;
  text-align: center;
}

.idv_bottom {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
}

.intro-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  position: static;
  width: 322px;
  height: 110px;
  left: 24px;
  top: 212px;
  justify-content: space-between;
}

.upload-files .completed {
  pointer-events: none;
  opacity: 0.5;
}

.pin-options-button {
    width: 282px;
    height: 36px;
    background-color: rgba(47, 59, 91, 0.12);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    margin-top: 40px;
}

.idv-upload-files {
  display: flex;
  flex-direction: column;
  align-items: inherit;
}

.idv-upload-files-container {
  margin-top: 32px;
  width: 100%;
}

#uiContainer {
  top: 0;
  position: absolute;
  padding: 0px !important;
}

.inner-img-top-container > .blue-button {
  width: 272px;
  padding: 20px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px;
  border: 1px solid var(--lds-color-border-light);
  box-sizing: border-box;
  border-radius: 8px;
  margin-bottom: 12px;
  height: 101px !important;
  background-color: transparent;
}

.inner-img-bottom-container {
  display: flex;
  justify-content: space-between;
  width: 272px;
  flex-wrap: wrap;
}

    .inner-img-bottom-container > .blue-button {
        width: 130px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 12px 16px;
        height: 101px !important;
        left: 142px;
        top: 0px;
        border: 1px solid rgba(47, 59, 91, 0.12);
        box-sizing: border-box;
        border-radius: 8px;
        margin-bottom: 12px;
        background-color: transparent;
    }

#idv_processing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px;
  height: 100%;
  row-gap: 16px;
}

.result-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.result-bottom-container.gap-items {
 gap: 56px;
}
.result-bottom-container.gap-items .insturctions {
  text-align: center;
 }

.retake-idv {
  background-image: url(../img/icons/too_quick.svg) !important;
  width: 110px;
  height: 167px;
  background-repeat: no-repeat;
}

.upload-files .completed .upload-indicator {
  background-image: url(../img/icons/checkmark.svg);
  background-repeat: no-repeat;
  background-position: center center;
}

.verifying {
  width: 227px;
  /* height: 30vh; */
  left: 10px;
  top: 10px;
  display: flex;
  flex-direction: column-reverse;
  row-gap: 24px;
}

.PDF417_BARCODE-back-icon {
  width: 272px;
  height: 180px;
  left: 0px;
  top: 34px;
  background-blend-mode: color, normal;
  border-radius: 16px;
  background-repeat: no-repeat !important;
  background-position: center center;
}

.SELFIE-icon {
  /* width: 208px;
    height: 200px; */
  left: 32px;
  top: 0px;
  background-repeat: no-repeat !important;
  background-position: center center;
}

.center-icon {
  display: flex;
  justify-content: center;
}
.link_sent {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
}

.readability-title h2,
.top-container > h2,
.self-service-last-page .well-done .title,
.client-page.new-ui .custom-page h2.title,
.client-page.new-ui #idv_result h2.result-title,
.client-page.new-ui #idv_selfie h2,
.client-page.new-ui #idv_back h2,
.client-page.new-ui .form-content #idv_verify h2,
.client-page.new-ui .form-content .link_sent h2 {
    font-weight: 400 !important;
    font-size: 1.5rem !important;
    line-height: 2rem !important;
    letter-spacing: 0 !important;
}

#resend_link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.idv_verify {
  display: flex;
  justify-content: center;
}

#idv_retake {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

#retake {
  cursor: pointer;
  background: #0099f0;
  border-radius: 100px;
  color: white;
  width: 82px;
  height: 34px;
  border: none;
}

.btn-continue-footer {
  position: absolute;
  bottom: 15px;
}

.msg-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blue-button {
  cursor: pointer;
}

.photo-frame img {
    width: max-content;
    margin: 0;
    border-radius: var(--lds-radius-md);
}

.centered-form {
  max-width: 300px;
  margin: 0 auto;
}

.align {
  text-align: left;
  align-items: flex-start;
}

.rtl .align {
  text-align: right;
  align-items: flex-start;
}

.align-center {
  text-align: center;
}

.session-pin-form,
.otp-pincode {
  display: flex;
  direction: ltr;
  justify-content: center;
  column-gap: 8px;
}

.resend-sub-title {
    margin-top: 8px;
    margin-bottom: 32px;
}

.resend-pin {
    transform: translateY(84px);
}

.resend-pin-button {
    transform: translateY(32px);
}

.session-pin-form .input-placeholder,
.otp-pincode .input-placeholder {
    max-width: 40px;
    padding: 0 !important;
}

    .session-pin-form .input-placeholder input,
    .otp-pincode .input-placeholder input {
        border-bottom-width: 2px;
        font-size: 24px;
        text-align: center;
        padding: 0 !important;
        height: 48px !important;
    }

.resend-otp-container.resend{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.resend-otp-container.resend .resend-pin{
  width: fit-content !important;
  transform: inherit !important;

}

.preloader {
    height: 10px;
    width: 200px;
    background-color: #ccc;
    border-radius: 15px;
    margin-top: 20px;
    margin: 32px auto 0;
}

    .preloader .bar {
        width: 100px;
        position: absolute;
        height: 10px;
        animation-name: loader-animation;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
        margin: 0 auto;
        right: 0;
        left: 0;
        border-radius: 25px;
        background-color: var(--lds-brand-color-primary);
    }

.rtl i.yale {
  right: 10px;
  left: auto;
}

/********************************/
/*        CIRCLE LOADER         */
/********************************/
.circle-loader {
  margin-bottom: 3.5em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-left-color: #5cb85c;
  animation: loader-spin 1.2s infinite linear;
  position: relative;
  display: inline-block;
  vertical-align: top;
  border-radius: 50%;
  width: 7em;
  height: 7em;
}

.load-complete {
  -webkit-animation: none;
  animation: none;
  border-color: #5cb85c;
  transition: border 500ms ease-out;
}

.checkmark {
  display: none;
}

.checkmark.draw:after {
  animation-duration: 800ms;
  animation-timing-function: ease;
  animation-name: checkmark;
  transform: scaleX(-1) rotate(135deg);
}

.checkmark:after {
  opacity: 1;
  height: 3.5em;
  width: 1.75em;
  transform-origin: left top;
  border-right: 3px solid #5cb85c;
  border-top: 3px solid #5cb85c;
  content: "";
  left: 1.75em;
  top: 3.5em;
  position: absolute;
}

/********************************/
/*           ANIMATION          */
/********************************/

@keyframes loader-animation {
  0% {
    left: -100px;
  }

  49% {
    left: 100px;
  }

  50% {
    left: 100px;
  }

  100% {
    left: -100px;
  }
}

@-webkit-keyframes loader-animation {
  0% {
    left: -100px;
  }

  49% {
    left: 100px;
  }

  50% {
    left: 100px;
  }

  100% {
    left: -100px;
  }
}

@keyframes loader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes checkmark {
  0% {
    height: 0;
    width: 0;
    opacity: 1;
  }

  20% {
    height: 0;
    width: 1.75em;
    opacity: 1;
  }

  40% {
    height: 3.5em;
    width: 1.75em;
    opacity: 1;
  }

  100% {
    height: 3.5em;
    width: 1.75em;
    opacity: 1;
  }
}

/******************************************/
/*                FEATURES                */
/******************************************/
.limited-ribbon {
  display: none;
  transform: rotate(90deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(-45deg);
  padding: 0 85px;
  text-align: center;
  height: 50px;
  z-index: 1000000;
  position: absolute;
  left: -95px;
  right: auto;
  top: 20px;
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  background-color: #0099f0;
}

.limited-ribbon p.text {
  color: #fff;
}

.client-page.new-ui.limited .limited-ribbon {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    box-shadow: none;
    background-color: var(--lds-brand-color-primary);
    height: 24px !important;
    min-height: 24px !important;
    border-radius: 0 !important;
    display: flex;
    width: 100%;
}

.client-page.new-ui .limited-ribbon p.text {
    margin: 0;
    /*lds-caption-1*/
    font-weight: 400 !important;
    font-size: 0.75rem !important;
    line-height: 1.125rem !important;
    font-family: Heebo !important;
    letter-spacing: 0.025rem !important;
    color: var(--lds-brand-color-on-primary);
}


.flex-center {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
}

/******************************************/
/*            MEDIA (viewport)            */
/******************************************/
@media (orientation: landscape) and (min-aspect-ratio: 13/9) and (max-device-width: 900px) and (min-device-width: 420px) {
  html {
    -webkit-text-size-adjust: none !important;
  }

  .rotate-screen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    position: fixed;
    align-items: center;
    opacity: 1 !important;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    z-index: 9999999999 !important;
  }
  .form-content {
    height: 100% !important;
  }

  .form-header-classic {
    display: none;
  }
}

/* Landscape mode that suppose to handle all IOS devices */
@media (orientation: landscape) and (min-aspect-ratio: 4/3) and (max-device-width: 1020px) {
  html {
    -webkit-text-size-adjust: none !important;
  }

  .rotate-screen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    position: fixed;
    align-items: center;
    opacity: 1 !important;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    z-index: 9999999999 !important;
  }
  .form-content {
    height: 100% !important;
  }
  .form-header-classic {
    display: none;
  }
}

.powered-by-lightico {
  width: 200px;
  position: absolute;
  margin-left: -100px;
  left: 50%;
  bottom: 32px;
}

.powered-by-lightico a {
  color: rgba(0, 153, 240, 0.54);
  font-size: 13px; 
}

/* Need to be refactored like in agent side! */
.blueimp-gallery .editor .editor-container .controls {
  margin: 0;
} 

.blueimp-gallery > .editor li#buttonCloseGallery {
  background-color: #fff;
  border-color: #7f7a80;
  color: #7f7a80;
}

.signature-z-index {
  z-index: 99999999999 !important;
}

.model-change-event {
    z-index: 99999999999 !important;
}

.upload-files-container .msg-attachment-panel span.preview-file {
  left: 0;
}

.idv_msg {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.phone_verification_msg {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.idv-title,
.err-bottom-container .err-title,
.client-page.new-ui .form-content .link_sent h2,
.client-page.new-ui .form-content p.consent-idv-title {
    margin-bottom: 8px;
}

.idv-txt {
    text-align: center;
}

.err-txt,
.reason-txt,
.readability-txt,
.consent-idv-subtitle,
.idv-consent-body p,
#idv_result .txt,
.idv-txt {
    color: var(--lds-color-font-weak) !important;
}

.idv-consent-body a {
    color: var(--lds-brand-color-font-primary-base);
    text-decoration-line: none;
}

    .idv-consent-body a:hover {
        text-decoration-line: underline;
    }

.idv-consent,
.custom-idv-page,
#err-page,
#resend_link {
    padding: var(--customer-inner-form-padding);
}

    .idv-consent .consent-decline-txt,
    .client-page.new-ui #idv_result .result-bottom-container .txt,
    .idv-consent-body {
        font-weight: 400 !important;
        font-size: 0.875rem !important;
        line-height: 1.375rem !important;
        letter-spacing: 0.015625rem !important;
    }

.idv-consent .idv_msg {
  height: 100%
}

.idv-consent-body {
    margin-top: 32px;
}

.consent-idv-subtitle,
.client-page.new-ui .custom-page p.txt,
.client-page.new-ui #idv_selfie p,
#intro_idv .top-container p,
.err-txt,
.reason-txt,
.resend-sub-title,
.idv-txt {
    font-weight: 400 !important;
    font-size: 0.8125rem !important;
    line-height: 1.25rem !important;
    letter-spacing: 0.009375rem !important;
}

.consent-idv-subtitle {
    text-align: center;
}

.consent-idv-top-container {
  display: flex;
  flex-direction: column; 
  align-self: center;
  align-items: center;
}

.consent-button-container {
    display: flex;
    align-items: flex-start;
    column-gap: 8px;
    margin-top: 32px;
}

.pv-txt,
.pv-title {
  color: #2f3b5b !important;
  line-height: 22px;
  text-align: center;
}

.icon-idv_group {
  background-repeat: no-repeat;
  width: 110px;
  height: 110px;
  margin: auto;
}

.top-container {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
}


.pv_top-container {
  display: flex;
  flex-direction: column;
  align-self: center;
}

.pv_img-container {
  display: flex;
  justify-content: center;
  width: 282px;
}

.top-container > h2 {
    color: var(--lds-color-font-base) !important;
}

.img-container {
  display: flex;
  justify-content: center;
}
.consent-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pv_img-container {
  display: flex;
  justify-content: center;
  width: 282px;
}

.bottom-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  column-gap: 12px;
}

[id^="autoCompleteSuggestions"] {
    position: absolute;
    top: 85%;
    width: 100%;
    z-index: 100;
    flex-direction: column;
    display: flex;
    border: 1px solid black;
    visibility: hidden;
    background: white;
    border: 2px solid #7795b7;
    border-radius: 4px;
    z-index: 999999999;
}

[id^="autoCompleteSuggestions"] div {
  height: 28px;
  padding: 5px;
  display: flex;
  flex-direction: row;
  max-height: 25px;
  overflow: hidden;
  background: white;
  opacity: 1;
  z-index: 999999999;
}

[id^="autoCompleteSuggestions"] div:hover {
  cursor: pointer;
  background-color: aliceblue;
}

[id^="autoCompleteSuggestions"] div span.address-description {
  padding-left: 12px;
  color: grey;
  font-size: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

[id^="autoCompleteSuggestions"] div span.address-addr {
  font-size: 12px;
  max-width: 80%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.connection-fail-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 250px;
  background-image: url(../img/icons/warning.png);
  background-repeat: no-repeat;
  background-position: 50% 70px;
}
.external-html-error{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.external-html-fail-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 150px;
  background-image: url(../img/icons/external_html.png);
  background-repeat: no-repeat;
  background-position: 50% 70px;
}

.connection-fail-page .connection-fail-title {
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 10px;
}

.connection-fail-page .connection-fail-text {
  color: grey;
  margin-bottom: 20px;
}

.otp-selection {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 24px;
    gap: 16px;
    width: 282px;
    height: 56px;
    border: 1px solid var(--lds-color-border-light);
    border-radius: 8px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.otp-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 272px;
    height: 34px;
    background: #0099F0;
    border-radius: 4px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.otp-label {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 24px;
    gap: 16px;
    width: 282px;
    height: 56px;
    border: 1px solid var(--lds-color-border-light);
    border-radius: 8px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    text-align: left;
    font-size: 14px;
}

.invisible-checkboxes input[type=radio] {
    display: none;
    margin-top: 64px;
}

    .invisible-checkboxes input[type=radio]:checked + .otp-label {
        background-color: #EDF4FD;
        color: #2f3b5b !important;
    }

@media only screen and (max-width: 780px) {
    .continue-button {
        flex-direction: column;
    }

    .readability-buttons {
        bottom: 0;
        flex-direction: column;
        box-shadow: 0px -6px 16px -5px rgba(0, 0, 0, 0.16);
        border-top: none;
        height: unset;
        padding: 16px;
    }

    .re-take-photo {
        position: relative;
        margin-bottom: -4px;
        margin-top: 12px;
        top: 0;
    }

    .idv-consent-body,
    .idv-consent .consent-decline-txt,
    .reason-txt {
        font-weight: 400 !important;
        font-size: 1rem !important;
        line-height: 1.5rem !important;
        letter-spacing: 0.009375rem !important;
    }

    .client-page.new-ui .custom-page p.txt,
    .client-page.new-ui #idv_selfie p,
    .idv-txt,
    #intro_idv .top-container p,
    .resend-sub-title,
    .err-txt,
    .consent-idv-subtitle {
        font-weight: 400 !important;
        font-size: 0.875rem !important;
        line-height: 1.375rem !important;
        letter-spacing: 0.015625rem !important;
    }

    .idv-consent {
        padding: 0;
    }

    div#cookie-confirmation div#cookie-confirmation-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-page.new-ui .payment-confirmation-modal .title {
        font-weight: 400 !important;
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
        letter-spacing: 0.015625rem !important;
    }

    .client-page.new-ui .payment-confirmation-modal p {
        font-weight: 400 !important;
        font-size: 0.875rem !important;
        line-height: 1.375rem !important;
        letter-spacing: 0.015625rem !important;
        padding-right: 24px;
    }

    .client-page.new-ui .inner-modal.active {
        padding: 32px 16px;
    }

    .client-page.new-ui .msg h2.title,
    .client-page.new-ui .msg .txt,
    .client-page.new-ui #idv_selfie h2,
    .client-page.new-ui #idv_selfie p,
    .client-page.new-ui #idv_back h2,
    .client-page.new-ui #idv_back p,
    .client-page.new-ui #intro_idv h2,
    .client-page.new-ui #intro_idv p,
    .client-page.new-ui .form-content .link_sent h2,
    .client-page.new-ui #resend_link .reason-txt,
    .client-page.new-ui .last-page h2.title,
    .client-page.new-ui .last-page .txt,
    .client-page.new-ui .custom-page h2.title,
    .client-page.new-ui .custom-page p.txt,
    .client-page.new-ui #idv_result h2.result-title,
    .client-page.new-ui #idv_result .txt,
    .client-page.new-ui .idv_msg .idv-title,
    .client-page.new-ui .idv_msg .idv-txt,
    .client-page.new-ui .custom-idv-page .idv-title,
    .client-page.new-ui .custom-idv-page .idv-txt,
    .client-page.new-ui .idv-upload-files .idv-title,
    .client-page.new-ui .idv-upload-files .idv-txt,
    .client-page.new-ui .idv_msg .consent-idv-title,
    .client-page.new-ui .idv_msg .consent-idv-subtitle,
    .client-page.new-ui #err-page .err-title,
    .client-page.new-ui #err-page .reason-txt,
    .client-page.new-ui #err-page .err-txt {
        max-width: 320px;
    }
}