﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.body-container {
    padding-top: 10px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 10px;
    font-size: 16px;
}

.navbar{
    background: var(--main-color);
    color: #efefef;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
    color: white;
    /*font-weight: bold;*/
}
    
a .navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: var(--main-color);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.btn-default {
    background-color: var(--main-color);
    color: white;
    border-width: 3px;
}

.btn.btn-default:hover, .btn.btn-default:focus, .btn.btn-default.focus, .btn.btn-default:active, .btn.btn-default.active, .open > .btn.btn-default.dropdown-toggle {
    filter: brightness(70%);
    /*background: var(--main-color);
    border-color: var(--main-color);*/
    color: white;
}

.btn-outline-default {
    background-color: white;
    color: var(--main-color);
    border-color: var(--main-color)
}

.btn.btn-outline-default:hover, .btn.btn-outline-default:focus, .btn.btn-outline-default.focus, .btn.btn-outline-default:active, .btn.btn-outline-default.active, .open > .btn.btn-outline-default.dropdown-toggle {
    filter: brightness(70%);
    background: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

.btn-primary {
    color: var(--button-text-color);
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-secondary {
    color: var(--button-text-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Sticky footer styles
-------------------------------------------------- */
html, body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
}

.footer,
.push {
    /*position: fixed;
    bottom: 0;
    width: 100%;*/
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
    padding-right: 10px;
    padding-left: 10px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}


/* Tabs
-------------------------------------------------- */
.tabs-left > .nav-tabs {
    border-bottom: 0;
}
.tab-content{
    text-align:center;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
}

.tabs-left > .nav-tabs {
    margin-top: 6px;
    margin-right: -2px;
}

.tabs-left > .nav-tabs > li {
    float: none;
}

    .tabs-left > .nav-tabs > li > a {
        min-width: 74px;
        margin-right: 0;
        margin-bottom: 3px;
        text-decoration: none;
        color: var(--main-color);
    }

.tabs-left > .nav-tabs {
    float: left;
    border-right: 1px solid #ffffff;
}

    .tabs-left > .nav-tabs > li > a {
        margin-right: -1px;
        -webkit-border-radius: 4px 0 0 4px;
        -moz-border-radius: 4px 0 0 4px;
        border-radius: 4px 0 0 4px;
/*        border: 1px solid #ddd;*/
    }

        .tabs-left > .nav-tabs > li > a:hover,
        .tabs-left > .nav-tabs > li > a:focus {
            border-color: #eeeeee #dddddd #eeeeee #eeeeee;
        }

        .tabs-left > .nav-tabs > li > a {
            border-color: #ddd;
        }
            .tabs-left > .nav-tabs > li > a:hover,
            .tabs-left > .nav-tabs > li > a:focus,
            .tabs-left > .nav-tabs > li > a:active,
            .tabs-left > .nav-tabs > li > .active {
                border-color: #ddd transparent #ddd #ddd;
                border-right-color: #ffffff;
                font-weight: bold;
                z-index: 900;
                -webkit-transform: translate3d(0,0,0);
            }

.tab-below {
    margin-top:14px !important;
}

.border-primary {
    border-color: var(--main-color) !important;
}


/* Tabs 2
-------------------------------------------------- */
/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        /*font-size: 17px;*/
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ccc;
            font-weight: bold !important;
        }

        .tab button.tablinks,
        .tab button.modeltablinks {
            font-family: 'Palanquin';
            font-weight: 500;
            color: var(--main-color);
        }

/* Style the tab content */
.tabcontent,
.modeltabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    text-align: center;
}

.tabcomparison {
    height: 860px;
}

@media (max-width: 1300px) {
    .tabcomparison {
        height: 460px;
    }
}

@media (max-width: 1550px) {
    .tabcomparison {
        height: 560px;
    }
}

.form-field {
    margin-bottom: 0px;
}


.text-maincolor,
a.text-maincolor:hover,
.icon.text-maincolor {
    color: var(--main-color);
}

.mobile-resize {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover; /* Using 'fill' distorts the image */
}

.timeout-index {
    font-size: 100px;
    color: white;
    opacity: 0.8;
    text-align: right;
    position: absolute;
    top: 0px;
    right: 80px;
    z-index: 1001;
    width: 100px;
    right: 7%;
    -webkit-transform: translate3d(0,0,0);
}

.timeout-index-mobile {
    font-size: 55px;
    color: white;
    opacity: 0.8;
    position: absolute;
    z-index: 1001;
    top: 7%;
    right: 5%;
    -webkit-transform: translate3d(0,0,0);
}

.svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.svg-element {
    width: 100%;
    height: 100%;
}

.placeholder-stroke {
    stroke-width: 3;
    fill: none;
}

.stroke-valid {
    stroke: green;
}

.stroke-invalid {
    stroke: red;
}

.stroke-neutral {
    stroke: white;
}

.stroke-warning {
    stroke: var(--warning-color);
}

.instructions-container {
    position: absolute;
    bottom: 1px;
    padding: 30px 55px 0 55px;
    width: 100%;
    z-index: 1001;
}

.instructions-title {
    font-weight: bold;
}

.doc-instructions {
    position: absolute;
    /*bottom: 50%;*/
    /*top: 750px;*/
    background-color: #fff;
}

.selfie-instructions {
    position: absolute;
    bottom: 50%;
    background-color: #fff;
    opacity: 0.8;
}

.btn-label {
    padding: 50px;
    border-radius: 25px !important;
}

@media only screen and (orientation:landscape) {
    #orientationMsg {
        display: block;
    }

    #mainContainer {
        display: none;
    }
}

@media only screen and (orientation:portrait) {
    #orientationMsg {
        display: none;
    }

    #mainContainer {
        display: block;
    }
}

.btn-mobile {
    border-radius: 5px;
    padding: 4%;
    font-size: 24px;
}

.container-fluid {
    padding-left: 25px;
    padding-right: 25px;
}

@media (min-width: 576px) and (orientation:landscape) {
    .btn-mobile {
        font-size: 38px !important;
    }

    .btn-label-text {
        font-size: 20px !important;
        text-align: center;
        line-height: 1.1;
    }

    .instructions-title {
        font-size: 28px !important;
    }

    .instructions-text {
        font-size: 24px !important;
    }

    .title-mobile {
        font-size: 38px !important;
    }

    .text-mobile {
        font-size: 28px !important;
    }

    .disclaimer-adv {
        font-size: 18px !important;
    }
}

@media (min-width: 576px) and (orientation:portrait) {
    .btn-mobile {
        font-size: 56px !important;
    }

    .btn-label-text {
        font-size: 38px !important;
        text-align: center;
        line-height: 1.1;
    }

    .instructions-title {
        font-size: 48px !important;
    }

    .instructions-text {
        font-size: 44px !important;
    }

    .title-mobile {
        font-size: 50px !important;
    }

    .text-mobile {
        font-size: 48px !important;
    }

    .disclaimer-adv {
        font-size: 24px !important;
    }
}

.welcome-instructions-container {
    padding: 20px 50px;
    display: block;
}

.instructions-item {
    padding: 10px 10px;
    float: left;
}

.instructions-btn {
    text-align: center;
    margin-top: 10px;
}

.clr {
    clear: both;
}

.disclaimer-text {
    padding-top: 80px;
    padding-bottom: 20px;
}

.instructions-list-item {
    padding-top: 10px;
    padding-bottom: 10px;
    float: left;
}

.button-row {
    padding-top: 20px;
}

.record-icon {
    position: absolute;
/*    left: 10px;
    top: 10px;*/
    z-index: 1004;
    -webkit-transform: translate3d(0,0,0);
}

.instructions-container-desktop {
    position: absolute;
    bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 1001;
    -webkit-transform: translate3d(0,0,0);
}

.instructions-div {
    padding: 5px;
    background-color: #ffffff;
    opacity: 1;
    color: #3a3a3a;
    text-align: center;
    font-size: 18px;
}

.messages-div {
    padding: 10px;
    border-radius: 25px;
    background-color: #ffffff;
    opacity: 0.8;
    color: #3a3a3a;
    text-align: center;
}

.edit-button {
    margin-right: 1.25em;
}

.progress-bar {
    background-color: var(--main-color);
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    /*left: 0;*/
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}


select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* Images */
.document-animated-desktop {
    width: 800px;
    position: absolute;
    opacity: 0.85;
    transition: transform 1s linear;
    z-index: 1000;
    -webkit-transform: translate3d(0,0,0);
}

.document-animated {
    width: 600px;
    position: absolute;
    opacity: 0.85;
    transition: transform 1s linear;
    z-index: 1000;
    -webkit-transform: translate3d(0,0,0);
}

.face-animated-desktop {
    width: 400px;
    position: absolute;
    opacity: 0.85;
    transition: transform 1s linear;
    z-index: 1000;
    -webkit-transform: translate3d(0,0,0);
}

.face-animated {
    width: 600px;
    position: absolute;
    opacity: 0.85;
    transition: transform 1s linear;
    z-index: 1000;
    -webkit-transform: translate3d(0,0,0);
}

.image-cell {
    padding: 60px 0px;
}

.container-scroll {
    overflow-y: auto;
    overflow-x:hidden;
}

.btn-botton {
    margin-top: 40px;
    margin-bottom: 10px;
}

.validation-msg{
    color: black;
}

.upper-layer-container {
    opacity: 0.7;
    height: 100%;
    width: 100%;
    z-index: 1001;
}

.play-button {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.detection-container {
    opacity: 0.7;
    height: 100%;
    width: 100%;
    z-index: 1001;
}

.detection-msg {
    position: absolute;
    width: 50%;
    top: 40%;
    left: 50%;
    -ms-transform: translate(-40%, -40%);
    transform: translate(-45%, -45%);
}

.detection-msg-mobile {
    position: absolute;
    width: 80%;
    top: 40%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.detection-msg-mobile-top {
    position: absolute;
    width: 80%;
    top: 36%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.top-img {
    width: 100%;
    height: auto;
}


/* ShutterClick animation
 * adds a camera flash effect using an animated inset box shadow
 */
.shutterClick {
    animation: cameraFlash .3s .3s alternate-reverse 1;
}

@keyframes cameraFlash {
    from {
        box-shadow: 0;
    }

    to {
        box-shadow: inset 0 0 0 100px #fff;
    }
}

.imageWrap {
    /*display: inline-block;*/
    position: relative;
}

    .imageWrap:before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .imageWrap.shutterClick:before {
        content: '';
        animation: cameraFlash .3s .3s alternate-reverse 1;
    }

.required {
    font-size: 16px;
}