* {
    font-size: 100%;
    color: white;
}

*, html, body {
    font-family: 'Roboto', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: white;
    margin: 0;
    padding: 0;
    text-align: center;
    width: inherit;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    touch-action: manipulation;
    /*zoom:200%;*/
}



body {
    opacity: 0;
}

button {
    border: none;
    -webkit-tap-highlight-color: transparent;
}

/* start of styles for overlay rect that is placed on top of the Browser SDK, button and checkbox, and fancy background fade container */
#theme-transition-overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    pointer-events: none;
}

#theme-transition-overlay-img {
    display: block;
    position: absolute;
}

.theme-transition-overlay__default__mobile > img,
.theme-transition-overlay__well-rounded__mobile > img,
.theme-transition-overlay__bitcoin-exchange__mobile > img,
.theme-transition-overlay__ekyc__mobile > img,
.theme-transition-overlay__sample-bank__mobile > img {
    height: 100% !important;
    width: 100% !important;
    top: 50%;
    left: 50%;
}

.theme-transition-overlay__well-rounded__desktop > img,
.theme-transition-overlay__bitcoin-exchange__desktop > img,
.theme-transition-overlay__ekyc__desktop > img,
.theme-transition-overlay__sample-bank__desktop > img {
    height: inherit;
}

.theme-transition-overlay__default__desktop,
.theme-transition-overlay__default__mobile {
    background-color: transparent;
    transform: translate(-50%, -50%);
}

.theme-transition-overlay__well-rounded__desktop,
.theme-transition-overlay__well-rounded__mobile {
    background-color: rgb(3, 199, 178);
}

.theme-transition-overlay__bitcoin-exchange__desktop,
.theme-transition-overlay__ekyc__desktop,
.theme-transition-overlay__sample-bank__desktop,
.theme-transition-overlay__bitcoin-exchange__mobile,
.theme-transition-overlay__ekyc__mobile,
.theme-transition-overlay__sample-bank__mobile {
    background-color: white;
}

.theme-transition-overlay__well-rounded__mobile > img {
    transform: translate(-50%, -25%) scale(-1,1);
}

.theme-transition-overlay__bitcoin-exchange__mobile > img {
    transform: translate(-50%, -75%) scale(1,-1);
}

.theme-transition-overlay__ekyc__mobile > img {
    transform: translate(-50%, -55%) scale(1,-1);
}

.theme-transition-overlay__sample-bank__mobile > img {
    transform: translate(-50%, -55%) scale(-1,-1);
}

.theme-transition-overlay__well-rounded__desktop > img {
    transform: translate(-25%, 0) scale(1,-1);
    left: 0;
}

.theme-transition-overlay__bitcoin-exchange__desktop > img {
    transform: translate(-25%, 0) scale(1,1);
    left: 0;
}

.theme-transition-overlay__ekyc__desktop > img {
    transform: translate(25%, 0) scale(-1,-1);
    right: 0
}

.theme-transition-overlay__sample-bank__desktop > img {
    transform: translate(25%, 0) scale(-1,1);
    right: 0;
}

#main-interface {
    width: 640px;
    height: 430px;
    margin: 0 auto;
    border: 2px solid rgb(65, 127, 178);
    border-radius: 20px;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    background-color: white;
}

#controls {
    height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 0;
    background-color: white;
}

#liveness-button {
    margin-top: 60px;
}

#design-showcase-button {
    margin-top: 5px;
    margin-bottom: 75px;
}

.big-button {
    width: 50%;
    max-width: 320px;
    height: 50px;
    margin: 5px auto 0;
    color: white;
    background: rgb(65, 127, 178);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.medium-button {
    width: 50%;
    max-width: 320px;
    height: 40px;
    margin: 10px auto 0;
    color: white;
    background: rgb(65, 127, 178);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.button-transitions {
    transition: all 0.3s ease-out;
}

.big-button:disabled, .big-button[disabled],
.medium-button:disabled, .medium-button[disabled] {
    cursor: not-allowed;
    background: rgba(65, 127, 178, 0.4) !important;
    color: white !important;
}

@media (hover: hover) {
    .big-button:hover:enabled,
    .medium-button:hover:enabled {
        background-color: rgb(57, 110, 153);
        color: white !important;
    }
}

.vocal-icon:disabled, .vocal-icon[disabled] {
    transition: all 0.5s ease 0s;
    opacity: 0.5;
    cursor: not-allowed;
}

#status {
    display: block;
    position: sticky;
    width: auto;
    min-width: 60%;
    max-width: 90%;
    bottom: 15px;
    margin: 0px auto;
    padding: 8px;
    color: rgb(64, 127, 178);
    font-size: 18px;
    background-color: rgba(65, 127, 178, 0.15);
    border-radius: 5px;
}

.wrapping-box-container {
    position: fixed;
    margin: 0 auto;
    width: calc(100% - 20px);
    height: auto;
    color: #fff;
    padding: 10px;
    z-index: 1;
}

#custom-logo-container {
    margin: 20px auto;
}

    #custom-logo-container img {
        max-height: 50px;
        width: auto;
        height: auto;
        text-align: center;
        position: relative;
        padding-right: 4px;
    }

button:disabled {
    cursor: not-allowed;
    color: #ddd;
    border-color: #ddd;
}

button::-moz-focus-inner {
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/** Pseudo-Fullscreen Custom Activity Indicator Styles **/

.pseudo-fullscreen-activity-indicator-svg {
    animation: rotate 2s linear infinite;
}

    .pseudo-fullscreen-activity-indicator-svg .path {
        stroke: rgb(43, 43, 43);
        stroke-width: 4;
        stroke-linecap: round;
        fill: none;
        animation: stretch-stroke 1.5s ease-in-out infinite;
    }

.pseudo-fullscreen-activity-indicator-svg__offwhite {
    animation: rotate 2s linear infinite;
}

    .pseudo-fullscreen-activity-indicator-svg__offwhite .path {
        stroke: rgb(238, 246, 248);
        stroke-width: 4;
        stroke-linecap: round;
        fill: none;
        animation: stretch-stroke 1.5s ease-in-out infinite;
    }

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes stretch-stroke {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -135;
    }
}

/** Pseudo-Fullscreen Custom Result Animation Styles */

.pseudo-fullscreen-success-svg,
.pseudo-fullscreen-unsuccess-svg,
.pseudo-fullscreen-success-svg__offwhite,
.pseudo-fullscreen-unsuccess-svg__offwhite {
    border-radius: 50%;
    transform: translateZ(0);
}

    .pseudo-fullscreen-success-svg .circlePath,
    .pseudo-fullscreen-unsuccess-svg .circlePath,
    .pseudo-fullscreen-success-svg__offwhite .circlePath,
    .pseudo-fullscreen-unsuccess-svg__offwhite .circlePath {
        stroke-dasharray: 166;
        stroke-dashoffset: 166;
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
        animation: reveal-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards, pseudo-fullscreen-circle-fill .3s ease-in-out .3s forwards;
    }

    .pseudo-fullscreen-success-svg .circlePath,
    .pseudo-fullscreen-unsuccess-svg .circlePath {
        stroke: rgb(43, 43, 43);
    }

    .pseudo-fullscreen-success-svg__offwhite .circlePath,
    .pseudo-fullscreen-unsuccess-svg__offwhite .circlePath {
        stroke: rgb(238, 246, 248);
    }

    .pseudo-fullscreen-success-svg .checkmarkPath,
    .pseudo-fullscreen-unsuccess-svg .crossPath1,
    .pseudo-fullscreen-unsuccess-svg .crossPath2,
    .pseudo-fullscreen-success-svg__offwhite .checkmarkPath,
    .pseudo-fullscreen-unsuccess-svg__offwhite .crossPath1,
    .pseudo-fullscreen-unsuccess-svg__offwhite .crossPath2 {
        transform-origin: 50% 50%;
        stroke-dasharray: 48;
        stroke-dashoffset: 48;
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }

    .pseudo-fullscreen-success-svg .checkmarkPath,
    .pseudo-fullscreen-success-svg__offwhite .checkmarkPath {
        stroke: rgb(59, 195, 113);
    }

    .pseudo-fullscreen-unsuccess-svg .crossPath1,
    .pseudo-fullscreen-unsuccess-svg .crossPath2,
    .pseudo-fullscreen-unsuccess-svg__offwhite .crossPath1,
    .pseudo-fullscreen-unsuccess-svg__offwhite .crossPath2 {
        stroke: rgb(195, 72, 59);
    }

    .pseudo-fullscreen-success-svg .checkmarkPath,
    .pseudo-fullscreen-success-svg__offwhite .checkmarkPath {
        animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    }

    .pseudo-fullscreen-unsuccess-svg .crossPath1,
    .pseudo-fullscreen-unsuccess-svg__offwhite .crossPath1 {
        animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    }

    .pseudo-fullscreen-unsuccess-svg .crossPath2,
    .pseudo-fullscreen-unsuccess-svg__offwhite .crossPath2 {
        animation: reveal-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    }

@keyframes reveal-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes pseudo-fullscreen-circle-fill {
    100% {
        stroke-width: 52;
    }
}


/** Well-Rounded Custom Activity Indicator Styles */

.well-rounded-activity-indicator-svg .circleTrackPath {
    stroke: rgb(230, 230, 230);
    stroke-width: 6;
    fill: none;
}

.well-rounded-activity-indicator-svg .circleFillPath {
    stroke: transparent;
    stroke-width: 1;
    fill: rgb(9, 181, 163);
}


/** Well-Rounded Custom Result Animation Styles */

.well-rounded-success-svg,
.well-rounded-unsuccess-svg {
    border-radius: 50%;
    transform: translateZ(0);
}

    .well-rounded-success-svg .circlePath,
    .well-rounded-unsuccess-svg .circlePath {
        stroke: rgb(230, 230, 230);
        stroke-width: 6;
        fill: none;
    }

    .well-rounded-success-svg .checkmarkPath,
    .well-rounded-unsuccess-svg .crossPath1,
    .well-rounded-unsuccess-svg .crossPath2 {
        transform-origin: 50% 50%;
        stroke-dasharray: 48;
        stroke-dashoffset: 48;
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }

    .well-rounded-success-svg .checkmarkPath {
        stroke: rgb(9, 181, 163);
        animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    }

    .well-rounded-unsuccess-svg .crossPath1,
    .well-rounded-unsuccess-svg .crossPath2 {
        stroke: rgb(230, 230, 230);
    }

    .well-rounded-unsuccess-svg .crossPath1 {
        animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    }

    .well-rounded-unsuccess-svg .crossPath2 {
        animation: reveal-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
    }


/** eKYC Custom Activity Indicator Animation Styles */

.ekyc-activity-indicator-svg .circlePath1 {
    fill: #c77174;
}

.ekyc-activity-indicator-svg .circlePath2 {
    fill: #d4595d;
}

.ekyc-activity-indicator-svg .circlePath3 {
    fill: #e03c41;
}

.ekyc-activity-indicator-svg .circlePath4 {
    fill: #ed1c24;
}


/** eKYC Custom Result Animation Styles */

.ekyc-success-svg,
.ekyc-unsuccess-svg,
.ekyc-success-svg__white,
.ekyc-unsuccess-svg__white {
    border-radius: 50%;
    transform: translateZ(0) scale(0,0);
    transform-origin: 50% 50%;
    animation: ekyc-scale-to-default 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}

    .ekyc-success-svg .checkmarkPath__back,
    .ekyc-success-svg__white .checkmarkPath__back {
        animation: ekyc-scale-and-fade-out-success 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
    }

    .ekyc-unsuccess-svg .crossPath1__back,
    .ekyc-unsuccess-svg .crossPath2__back,
    .ekyc-unsuccess-svg__white .crossPath1__back,
    .ekyc-unsuccess-svg__white .crossPath2__back {
        animation: ekyc-scale-and-fade-out-unsuccess 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
    }

    .ekyc-success-svg .checkmarkPath__back,
    .ekyc-success-svg .checkmarkPath__front,
    .ekyc-unsuccess-svg .crossPath1__back,
    .ekyc-unsuccess-svg .crossPath2__back,
    .ekyc-unsuccess-svg .crossPath1__front,
    .ekyc-unsuccess-svg .crossPath2__front,
    .ekyc-success-svg__white .checkmarkPath__back,
    .ekyc-success-svg__white .checkmarkPath__front,
    .ekyc-unsuccess-svg__white .crossPath1__back,
    .ekyc-unsuccess-svg__white .crossPath2__back,
    .ekyc-unsuccess-svg__white .crossPath1__front,
    .ekyc-unsuccess-svg__white .crossPath2__front {
        transform-origin: 50% 50%;
        stroke-width: 8;
        stroke-linecap: square;
        fill: none;
    }

    .ekyc-success-svg .checkmarkPath__back,
    .ekyc-success-svg .checkmarkPath__front,
    .ekyc-unsuccess-svg .crossPath1__back,
    .ekyc-unsuccess-svg .crossPath2__back,
    .ekyc-unsuccess-svg .crossPath1__front,
    .ekyc-unsuccess-svg .crossPath2__front {
        stroke: black;
    }

    .ekyc-success-svg__white .checkmarkPath__back,
    .ekyc-success-svg__white .checkmarkPath__front,
    .ekyc-unsuccess-svg__white .crossPath1__back,
    .ekyc-unsuccess-svg__white .crossPath2__back,
    .ekyc-unsuccess-svg__white .crossPath1__front,
    .ekyc-unsuccess-svg__white .crossPath2__front {
        stroke: white;
    }

@keyframes ekyc-scale-to-default {
    100% {
        transform: translateZ(0) scale(1,1);
    }
}

@keyframes ekyc-scale-and-fade-out-success {
    100% {
        transform: scale(1.5, 1.5);
        opacity: 0;
        stroke: rgb(28, 237, 125);
    }
}

@keyframes ekyc-scale-and-fade-out-unsuccess {
    100% {
        transform: scale(1.5, 1.5);
        opacity: 0;
        stroke: rgb(237, 28, 36);
    }
}

.loading-session-token-container {
    position: absolute;
    top: 185px;
    width: 100%;
    display: none;
    z-index: 1;
}

@media screen and (max-width: 800px) {
    .loading-session-token-container {
        top: 52%;
        transform: translateY(-50%);
    }
}

#loading-session-token-text {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(64, 127, 178);
}

.display-none {
    display: none;
}

#vocal-icon-container {
    display: flex;
    justify-content: flex-end;
}

.vocal-icon {
    transition: all 0.5s ease 0s;
    position: absolute;
    height: 40px;
    cursor: pointer;
    margin: 10px;
    z-index: 2;
    transform: translateX(calc(-100% - 20px));
}

.audit-trail-overlay {
    position: fixed;
    width: inherit;
    height: inherit;
    z-index: 1000;
    align-self: center;
}

.audit-trail-image {
    max-width: 200px;
    max-height: auto;
}

#additional-screen {
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

    #additional-screen button {
        min-height: 50px;
        height: 50px;
        width: 320px;
        border: unset;
        margin: 0 auto -75px;
    }

#additional-screen-logo {
    height: 70px;
}

#additional-screen-image-and-text > h2 {
    font-size: 24px;
    color: rgb(64, 127, 178);
}

#additional-screen-text {
    color: rgb(64, 127, 178);
    font-size: 16px;
}

/* FOOTER STYLING */

footer {
    position: absolute;
    bottom: 4px;
    width: 100%;
    font-size: 15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

    footer span p {
        margin: 0;
        color: grey;
    }

.footer-element-margin {
    margin: 5px 0 5px;
}

footer span p a:hover {
    color: rgb(65, 127, 178);
    text-decoration: underline;
}

.hr {
    margin: 5px auto;
    width: 250px;
    border: none;
    height: 2px;
    background: #eee;
}

#copy-right-section {
    height: auto;
    display: block;
}

#copy-right-length {
    position: absolute;
    visibility: hidden;
    height: auto;
    width: auto;
    white-space: nowrap;
    font-size: 7px;
}
