html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    height: 100%;
}

    body.camera-open {
        overflow: hidden;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

#fnp_title {
    background-color: #231f20;
    overflow: auto;
    margin-top: 5px;
}

    #fnp_title h5 {
        color: white;
        margin: .4rem 0 .5rem;
        font-size: 1.4rem;
    }

#main {
    width: 90%;
}


.splash {
    text-align: center;
    padding: 80px 40px;
}

    .splash h3 {
        color: white;
        margin: 0;
    }

    .splash h6 {
        color: white;
        padding: 0;
    }

#submission_banner {
    border-radius: 12px;
    padding: 6px 0 4px 10px;
}

    #submission_banner .btn {
        border-radius: 8px;
    }

h6 #submission_result {
    font-size: 20px;
}

#submission_banner dl {
    margin: 0 0 10px;
}

dt {
    margin-top: 8px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: Raleway;
}

dd {
    font-size: 16px;
}

.error-label {
    margin-top: -2px;
    /*position: absolute;*/
    right: 10px;
}

#vin_scan_btn .material-icons {
    vertical-align: text-bottom;
}

.inactive-page-cover {
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    padding: 80px 40px;
    width: 100%;
    z-index: 1001;
    background-color: #222222e5;
    text-shadow: 0 0 10px #000;
    text-align: center;
}

    .inactive-page-cover h3 {
        color: white;
        margin: 0;
    }

    .inactive-page-cover h6 {
        color: white;
        padding: 0;
    }

#vehicle_vin {
    letter-spacing: 1.5px;
}

#camera_frame {
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1001;
    transition: ease-in-out;
    border-width: 0;
    text-align: center;
}

.photo-container {
    width: 100%;
    margin: 10px 0;
    padding-bottom: 90%;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
}

    .photo-container .photo-button {
        display: unset;
        background: linear-gradient(to bottom right, rgba(44,44,44,0.5), rgba(44,44,44,0.2));
        /*background: rgba(144,144,144,0.5);*/
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 10px;
        /* equivalent to class z-depth-2 */
        -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
        box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    }

        .photo-container .photo-button h6 {
            position: absolute;
            bottom: 0;
            margin-bottom: 0;
            padding: 2px 0 3px 5px;
            width: 100%;
            color: white;
            background-color: rgba(33,33,33,.5);
            text-shadow: 0 0 10px #000000;
            border-radius: 10px;
        }

#add {
    border-radius: 10px;
}

    #add.photo-button {
        background: unset;
        justify-content: center;
        text-align: center;
    }

        #add.photo-button h6 {
            position: relative;
            color: white;
            background-color: unset;
            padding: 10px;
            text-align: center;
            font-size: 18px;
            margin: unset;
        }

        #add.photo-button p {
            color: white;
            background-color: rgba(33,33,33,.5);
            position: absolute;
            bottom: 0;
            margin-bottom: 0;
            border-radius: 10px;
            font-size: 13px;
            line-height: 20px;
            padding: 2px 1px 3px;
        }

.photo-button img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.photo-button .thumbnail-icon {
    position: absolute;
    color: rgb(64,255,64);
    color: rgba(64,255,64,0.8);
    top: 2px;
    right: 5px;
    width: unset;
    height: unset;
    font-size: 30px;
    text-shadow: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, .9);
}

.photo-button .error-label {
    display: none;
}

.photo-button.invalid .error-label {
    display: unset;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0;
    padding: 2px 0 3px 5px;
    width: 100%;
    color: white;
    text-transform: uppercase;
    text-align: left;
    font-size: 16px;
    background-color: #800a;
    text-shadow: 0 0 10px #000000;
    border-radius: 10px;
}

#divFiles {
    padding-top: 10px;
    display: table;
}

.attachment {
    border: solid #333 1px;
    padding: 10px;
    margin: 10px;
    font-size: 14px;
}

    .attachment .col {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .attachment img {
        max-height: 70px;
        object-fit: cover;
    }

@media only screen and (max-width: 500px) {  
    .attachment img {
        max-height: 30px;
    }
}

@media only screen and (max-width: 1000px) {  
    .attachment img {
        max-height: 50px;
    }
}

#upload_button .material-icons {
    vertical-align: inherit;
    margin-right: 10px;
    font-size: 30px;
    text-shadow: 0 0 10px rgba(255, 255, 255, .9);
}

#upload_button {
    border-radius: 10px;
}
/*#upload_button {
    position: fixed;
    bottom: 10px;
    right:0px;
    left:0px; 
}

#upload_button.disabled {
    position: unset; 
}*/

.collapsible {
    border: none;
    box-shadow: none;
}

.row .collapsible .collapsible-body {
    padding: .0;
    border-bottom: none;
}

.row .collapsible li {
    overflow: auto;
}

/*.row .collapsible li {
    margin: -14px 0 0;
}*/

.collapsible.col {
    padding: 0;
    margin: 0;
}
