html {
    overflow-y: scroll;
    background-color: #fff;
    touch-action: manipulation;
    color: black;
    font-size: 100%;
    /*font-family: "SerranoWeb", "Arial Unicode MS", sans-serif;*/
    font-family: SourceSansRegular,Helvetica,Arial,sans-serif;
    line-height: 1.5625
}

header {
/*    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;*/
    margin-left: -8px;
    margin-top: -8px;
}

button {
    -webkit-appearance: button;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    background-color: #e2e2e2;
    /*background-color: green;*/
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    /*background-color: buttonface;*/
    box-sizing: border-box;
    margin: 0em;
    font: 400 13.3333px Arial;
    padding: 1px 6px;
    border-width: 1px;
    border-style: outset;
    border-color: #aaaaaa;
    border-image: initial;
    border-radius: 2px;
}

/* #headerFiller {
    display: inline-block; 
    width: calc(100% - 200px); 
    height: 100px; 
    background-color: black; 
    position: absolute
}

#instructionFaceCaptureHeader1 {
    background-color: black;
    width: 100%;
    height: 100px;
    display: block;
    overflow: auto;
}

#instructionFaceCaptureHeader1 h2 {
    text-align: center;
    color: white;
    font-size: 2em;
}

#instructionFaceCaptureHeader2 {
    background-color: #be0d00;
    width: 100%;
    height: 10px;
    display: block;
}

#identificationHorizontalDivider {
    border-color: #ffabab;
} */

#wrapperLabel {
    text-align: center; 
    font-weight: bold;
    display:block;
    width: 100%;
    font-size: 72px;
}

#logo {
    display:inline-block;
    margin-left: unset;
}

.description {
    display: block;
    font-size: 30px;
    text-align: center;
    margin: auto;
    padding-left: 90px;
    width: 800px;
    height: 105px;
    border-radius: 5px 5px 0px 0px;
    margin-top: 0px;
    padding-left: 0px;
}

#stream0 {
    width: 800px;
    height: 1066px;
    background-color: #666;
    position: absolute;
    transform: scaleX(-1);
    margin-left: 70px;
    margin-left: 0px;
}

#stream1 {
    width: 800px;
    height: 600px;
    background-color: #666;
    position: absolute;
    margin-left: 90px;
    margin-left: 0px;
}

#canvas0 {
    background-color: #666;
    visibility: hidden;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    margin-left: 90px;
    margin-left: 0px;
}

#canvas2 {
    background-color: #666;
    visibility: hidden;
    margin-left: 90px;
    display: none;
    margin-left: 0px;
}

.wrapper {
    margin: auto;
    width: 800px;
    min-height: 600px;
    margin-left: calc(50% - 400px);
}

.container {
    position: relative;
}

.banner {
    z-index: 4;
    position: relative;
    top: 0px;
    width: 800px;
    height: 40px;
    background-color: white;
    visibility: hidden;
}

.controls {
    z-index: 5;
    /*position: absolute;*/
    background-color: white;
    display: inline-block;
    width: 800px;
    /*top: 1066px;*/
    height: unset;
    left: 0px;
    padding-top: 5px;
}

.control-buttons {
    color: inherit;
    width: 194px;
    height: 100px !important;
    font-size: 30px;
    vertical-align: top;
}

#btnCapture {
    visibility: hidden;
    margin-top: 0px !important;
    top: 0px;
}

#btnReset {
    margin-top: 0px !important;
    top: 0px;
    margin-left: 10px;
}

#btnSwitchCamera {
    margin-top: 0px !important;
    top: 0px;
}

#btnDocumentInfo {
    margin-top: 160px;
    height: 60px;
    visibility: hidden;
    margin-top: 0px !important;
    top: 0px;
}

#btnResetDocument {
    margin-top: 5px;
    height: 60px;
    margin-top: 0px !important;
    top: 0px;
}

#btnSwitchCameraStreamDocument {
    margin-top: 5px;
    height: 60px;
    margin-top: 0px !important;
    top: 0px;
}

#btnAcceptDocument {
    margin-top: 190px;
    height: 60px;
    visibility: hidden;
    margin-top: 0px !important;
    top: 0px;
}

#btnSettings {
    margin-top: 5px;
    height: 60px;
    margin-top: 0px !important;
    top: 0px;
}

#settings td {
    font-size: 25px;
}

#settings th {
    font-size: 25px;
}

#settings input {
    font-size: 25px;
    max-width: 200px;
}

#settings button {
    font-size: 25px;
}

#btnNewApplication {
    width: 200px;
    /*height: 50px;*/
    margin-top: 8px;
    float: right;
}

#inputUploadDocument {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

/*#inputUploadDocument + label {
    font-size: 30px;
    display: inline-block;
    text-align: center;
    background-color: #e2e2e2;
    height: 90px !important;
    padding-top: 8px;
    -webkit-appearance: button;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    background-color: #e2e2e2;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    margin: 0em;
    border-width: 1px;
    border-style: outset;
    border-color: #aaaaaa;
    border-image: initial;
    border-radius: 2px;

}*/

#inputUploadDocument + label {
    font-size: 30px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    /* background-color: white;
    color: #be0d00;
    border: 4px solid #be0d00; */
    border-radius: 4px;
    height: 90px !important;
    padding-top: 4px;
    padding-bottom: 4px;

    /*-webkit-appearance: button;*/
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    /*box-sizing: border-box;*/
    margin: 0em;
    
    /*border-style: outset;*/
    /*border-color: #aaaaaa;*/
    border-image: initial;

}

/*For results at bottom of page*/
/*.results {
    z-index: 4;
    position: relative;
    margin-left: 910px;
    margin-top: -600px;
    min-height: 93px;
    font-size: 40px;
    top: 740px;
    margin-left: 0px;
}*/

/*For results at top of page*/
.results {
    z-index: 4;
    /*position: fixed;*/
    margin-left: 150px;
    min-height: 200px;
    font-size: 21.5px;
    /*top: 0px;*/
    background-color: white;
    width: 650px;
    /*visibility: hidden;*/
    display: none;
    /*margin-top: 100px;*/
    margin-top: -220px;
}

.results table {
    border-spacing: 10px; 
    border-collapse: separate; 
    display: inline-block
}

.results td {
    max-width: 150px;

}

.resultsDocument {
    /*margin-left: 90px;*/
    font-size: 30px;
    margin-top: 0px !important;
    top: 0px;
}

.resultsDocument table {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    width: 800px;
}

.resultsDocument tr td {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    padding: 0px 5px 0px 25px; 
    text-align: right;
}

.resultsDocument input {
    font-size: 22px;
    width: 98%;
}

#modalDocumentResult {
    font-size: 24px;
}

#modalDocumentDataFieldsContent {
    width: 800px;
    text-align: center;
    margin: auto;
}

#modalDocumentDataFieldsContent table {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    width: 800px;
}

#modalDocumentDataFieldsContent tr td {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    padding: 0px 5px 0px 25px; 
    text-align: right;
}

#modalDocumentAlertsContent {
    width: 800px;
    text-align: center;
    margin: auto;
}

#modalDocumentAlertsContent table {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    width: 800px;
}

#modalDocumentAlertsContent tr td {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    padding: 0px 5px 0px 25px; 
    text-align: right;
}

#modalImageMetricsContent {
    width: 800px;
    text-align: center;
    margin: auto;
}

#modalImageMetricsContent table {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    width: 800px;
}

#modalImageMetricsContent tr td {
    border: 1px solid #ccc; 
    border-collapse: collapse; 
    padding: 0px 5px 0px 25px; 
}

/* Hide capture metrics */
/* #documentImageMetricsCaptureFrontGlare {
    display: none;
}

#documentImageMetricsCaptureRearGlare {
    display: none;
}

#documentImageMetricsCaptureFrontSharpness {
    display: none;
}

#documentImageMetricsCaptureRearSharpness {
    display: none;
} */

/* End Hide capture metrics */

#resultDivDocument {
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0px;
}

#resultDivDocument td {
    padding-left: 10px;
}

.resultVerificationImages {
    display: inline-block;
    width: 49%;
}

.resultVerification {
    font-size: 40px;
    margin-top: 65px;
}

.overlay {
    position: absolute;
}

#overlay-silhouette {
    margin-left: 110px;
    margin-top: -950px;
    z-index: 2;
}

#overlay-head {
    margin-left: 267px;
    margin-top: -794px;
    z-index: 3;
}

#overlay-facebox {
    visibility: hidden;
    border: 5px solid #339846;
    z-index: 3;
}

#wrapperFaceCapture {
    /*display:none;*/
}

#wrapperDocumentCapture {
    display: none;
    /*display: block;*/
}

#wrapperVerificationResult {
    display: none;
    margin-left: unset;
    margin: auto;
    text-align: center;
}

#wrapperIdentification {
    display: none;
    margin-left: unset;
    margin: auto;
}

#identificationResult {
    font-size: 34px;
    text-align: center;
    margin-top: 25px;
}

#resultIdentificationMatches {
    width: 625px;
    display: none;
    margin-left:calc((100% - 625px)/2);
    height: 775px;
    /*margin-top: 10px;*/
/*    overflow: scroll;
    moz-box-shadow: inset 0 10px 10px -10px grey, inset 0 -10px 10px -10px grey;
    -webkit-box-shadow: inset 0 10px 10px -10px grey, inset 0 -10px 10px -10px grey;
    box-shadow: inset 0 15px 10px -10px grey, inset 0 -15px 10px -10px grey;*/
}


.identificationMatchResult {
    height: 355px;
    display: none; 
    text-align: center;
    /*padding-left: 10px;*/
    /*padding-right: 10px;*/
    padding-top: 10px;
    /*max-width: 230px;*/
    border: 5px solid black;
    border-radius: 20px;
    margin-top: 10px;
    width: 300px;
}

#identifyPortrait {
    width: 250px;
    margin-top: 65px;
}

#privacyNotice {
        text-align: center;
        margin-top: 10px;
}

/*Modal Box - Settings*/
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

input {
    font-feature-settings: normal;
    text-align: right;
}

.scrollIndicatorDown {
    width: 320px;
    height: 55px;
    font-size: 40px;
    margin: auto;
    text-align: center;
    background: #dedede;
    border-radius: 0px 0px 10px 10px;
    display: none;
}

.scrollIndicatorUp {
    width: 320px;
    height: 55px;
    font-size: 51px;
    margin: auto;
    text-align: center;
    background: #dedede;
    border-radius: 10px 10px 0px 0px;
    display: none;
}
/* 
.custom-button-1 {
    border: 4px solid #be0d00;
    border-radius: 4px;
    background-color: white;
    color: #be0d00;
    font-weight: bold;
}

.custom-button-2 {
    border: 4px solid #be0d00;
    border-radius: 4px;
    background-color: #be0d00;
    color: white;
    font-weight: bold;
} */

.custom-container-1 {
    margin-bottom: 20px;
    width: 100%;
    border: 4px solid #dedede;
    border-radius: 10px;
    padding: 10px 5px 10px 5px;
}

.custom-header-1 {
    margin: auto;
    font-size: 36px;
    padding: 5px 0px 0px 5px;
    background-color: #eff1f3;
    margin-top: -10px;
    margin-left: -5px;
    margin-bottom: 10px;
    border-radius: 10px 10px 0px 0px;
    width: calc(100% + 4px);
}

.custom-container-2 {
    display: inline-block; 
    width: calc(800px - 250px); 
    /*margin-top: -10px;*/
    /*visibility: hidden;*/
}

#finishing-block {
    margin-top: 50px; 
    margin-bottom: 50px; 
    background: #eff1f3; 
    padding: 20px;
    visibility: hidden;
}


/* .demo-buttons {
    background-color: #ffabab;
} */