html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.body-container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    position: fixed;
}

.main-wrapper {
    
}

#result-container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    background-color: lightgreen;
    opacity: 0.8;
    display: none;
}

#cam-qr-result {
    display: none;
}

#video-container {
    display: none;
}

#button-container {
    display: block;
    background-image: url('/images/mobile-selfie.svg');
    border: solid 2px #000;
    border-radius: 1em;
    background-color: lightgrey;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;

    box-shadow: rgba(60, 64, 67, .6) 0 1px 3px 0, rgba(60, 64, 67, .3) 0 4px 8px 3px;

    padding: 2em;
    width: 90% !important;
    min-height: 300px;
    margin-left: auto;
    margin-right: auto;
}

    #button-container:hover {
        box-shadow: none;
    }



    @media (orientation: landscape) {
        .body-container {
            background-image: url('/images/landscape.jpg');
        }

        #button-container,
        #video-container {
            width: 80%;
            margin: auto;
            height: auto;
        }

        .qrcode-results {
            display: inline-block;
            vertical-align: top;
            margin-left: 2%;
            width: 40%;
        }
    }

    @media (orientation: portrait) {
        .body-container {
            background-image: url('/images/portrait.jpg');
        }

        #button-container,
        #video-container {
            width: 100%;
            height: auto;
        }

        .qrcode-results {
            display: inline-block;
            vertical-align: top;
            margin-left: 2%;
            width: 100%;
        }
    }

    #result-container {
    display: none;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.check-mark {
    display: block;
    text-align: center;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.login-header {
    margin-top: 2em;
}

nav {
    margin-top: 5em;
}






ul.navbar-nav {
    margin-top: 3px !important;
}


    .last-scanned {
        width: 100%;
        text-align: center;
        margin-top: 2em;
        font-size: 1.5em;
    }


.scanned-leads-info {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.scanned-leads-count {
    width: 60%;
}

.scanned-leads-local {
    font-size: 0.85em;
}

.scanned-leads-server {
    font-size: 0.85em;
}

.scanned-leads-download {
    width: 30%;
    text-align: right;
}


.entries-loader {

}

.scroll-instructions {
    height: 100%;
    width: 95%;
    overflow-y: scroll;

}


@media (min-width: 768px) {
    .login-header {
        margin-top: 0;
    }

    #button-container {
        width: 450px !important;
        height: 450px !important;
    }

    nav {
        margin-top: 0em;
    }

    .body-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .scanned-leads-download {
        padding-right: 2em;
    }
}

@media (max-width: 767px) {
    nav.navbar {
        background-color: transparent !important;
        border-bottom-width: 0 !important;
        box-shadow: none !important;
    }

    .navbar-brand {
        font-weight: bold;
    }

    nav > div.container {
        padding-right: 0;
    }

    .nav-link {
        background-color: #ffe171;
        padding-left: 0.5em !important;
    }

    .nav-item {
        border-bottom: solid 1px #fec901;
    }

    .scroll-instructions {
        height: 320px !important;
        width: 100%;
    }
}

@media (orientation: landscape) {
    .container-wrapper {
        padding-left: 150px;
    }
}