/* Space out content a bit */

body {
    padding: 0px;
    padding-top: 20px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */

.header, .marketing, .footer {
    padding-right: 15px;
    padding-left: 15px;
}

/* Custom page header */

.header {
    border-bottom: 1px solid #e5e5e5;
}

#result th, #result td,
#selected th, #selected td {
    border: 1px solid #e5e5e5;
    /* padding: 15px !important; */
    text-align: left;
}

#result tr td:last-child {
    text-align: left  !important;
}

#selected th, #selected td {
    text-align: center !important;
}

.jumbotron p {
    font-size: 16px !important;
}

.jumbotron label {
    font-size: 20px !important;
}
/* Make the masthead heading the same height as the navigation */

.header h3 {
    padding-bottom: 19px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
}

/* Custom page footer */

.footer {
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

/* Customize container */

@media (min-width: 768px) {
    .container {
        max-width: 730px;
    }
}

.container-narrow>hr {
    margin: 30px 0;
}

/* Main marketing message and sign up button */

.jumbotron {
    text-align: center;
    /* box-shadow: 5px 10px rgba(75,75,75, 0.6);
    -moz-box-shadow: 5px 5px rgba(75,75,75, 0.6);
    -webkit-box-shadow: 5px 5px rgba(75,75,75, 0.6);*/
    
    border-bottom: 1px solid #e5e5e5;
}

.jumbotron .btnj {
    /* padding: 14px 24px; */
    font-size: 16px;
}

.jumbotron figure {
    padding-top: 10px;
    padding-bottom: 10px;
}

.jumbotron blockquote {
    border-left: 5px solid gray;
    text-align: left;
}

/* Supporting marketing content */

.marketing {
    margin: 40px 0;
}

.marketing p+h4 {
    margin-top: 28px;
}

/* Responsive: Portrait tablets and up */

@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .header, .marketing, .footer {
        padding-right: 0;
        padding-left: 0;
    }
    /* Space out the masthead */
    .header {
        margin-bottom: 30px;
    }
    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
}

body.step0 #step1, body.step0 #step2, body.step0 #step3, body.step0 #step4 {
    display: none;
}

body.step1 #step0, body.step1 #step2, body.step1 #step3, body.step1 #step4 {
    display: none;
}

body.step2 #step0, body.step2 #step1, body.step2 #step3, body.step2 #step4 {
    display: none;
}

body.step3 #step0, body.step3 #step1, body.step3 #step2, body.step3 #step4 {
    display: none;
}

body.step4 #step0, body.step4 #step1, body.step4 #step2, body.step4 #step3 {
    display: none;
}

.alert {
    display: none;
}

.jumbotron #step1 video, .jumbotron #step2 figure>img, .jumbotron #step3 figure>canvas {
    max-width: 100%;
}

.jumbotron .tooltip {
    opacity: 1;
}

.jumbotron .popover {
    width: 272px;
}

.popover img {
    width: 100%;
}

#step1 figure.not-ready video {
    border: solid gray 1px;
    width: 100%;
    height: 300px;
}

#step1 figure.not-ready {
    position: relative;
}

#step1 figure.not-ready:after {
    content: 'Please enable the camera.';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -85px;
    margin-top: -10px;
}

#zoomRange {
    display: none;
    width: 100%;
}

.txtMatchedNumber {
    display: none;
    width: 100%;
}

/* SPINNNER - credit to http://tobiasahlin.com/spinkit/ */

.spinner {
    margin: 10px auto 10px;
    width: 70px;
    text-align: center;
}

.spinner>div {
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}