html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    min-width: 400px;
    height: 308px;
    display: inline-grid;
    border-radius: 6px;
    background-color: #bbb;
    padding: 4px 4px 4px 4px;
    margin: 2px 2px 2px 2px;
    vertical-align: top;
    text-align: center;
}

.imagetext {
    position: absolute;
    top: 260px;
    left: 0px;
    height: 44px;
    width: 100%;
    font-size: 30px;
    font-weight: 900;
    opacity: 0.6;
    z-index: 100;
    color: darkcyan;
    margin: 0 auto;
    text-align: center;
    background-color: #333;
    border-radius: 4px;
}

.deletetext {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 44px;
    width: 100px;
    font-size: 28px;
    font-weight: 900;
    opacity: 0.7;
    z-index: 1000;
    color: red;
    margin: 0 auto;
    text-align: center;
    background-color: #333;
    border-radius: 4px;
}

.enabletext {
    position: absolute;
    top: 0px;
    left: 300px;
    height: 44px;
    width: 100px;
    font-size: 26px;
    font-weight: 800;
    opacity: 0.7;
    z-index: 1000;
    color: darkgreen;
    margin: 0 auto;
    text-align: center;
    background-color: #333;
    border-radius: 4px;
}

.disabletext {
    position: absolute;
    top: 0px;
    left: 300px;
    height: 44px;
    width: 100px;
    font-size: 26px;
    font-weight: 800;
    opacity: 0.7;
    z-index: 1000;
    color: darkgreen;
    margin: 0 auto;
    text-align: center;
    background-color: #333;
    border-radius: 4px;
}

.photo {
    width: 100%;
    max-width: 400px;
    max-height: 300px;
}

.photo-adjust {
    filter: contrast(1.25);
    filter: brightness(1.40);
    filter: saturate(1.05);

}


/***************************************************/

.upload-button {
    background-color: #A4352C;
    color: aliceblue;
    margin: 4px 4px 4px 4px;
    opacity: 85%;
    vertical-align: middle;
    padding: 6px 6px 6px 6px;
    border-radius: 6px;
    font-family: Calibri;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
    .upload-button:hover {
        color: #fff;
        background-color: #0B5599;
        border-color: #0a58ca;
    }

/***************************************************/

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: black;
    z-index: 99;
    opacity: 0.8;
    min-height: 100%;
    width: 100%;
    border-radius: 20px;
}

.loading {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 1000;
}

#loadingcontent {
    display: table;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#loadingtext {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
    font-size: larger;
    padding-top: 80px;
}

#loadingspinner {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
    font-size: larger;
    padding-top: 80px;
}

#loading2 {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,0.5);
    z-index: 1000;
    border-radius: 10px;
}



.progress {
    height: 30px;
    width: 98vw;
    max-width: 400px;
    border-radius: 4px;
    margin: 10px 0;
    /*background-color: #e6e8ec;*/
    background-color: #fff;
}

.fileinfo-div {
    color: black;
    width: 98vw;
    max-width: 400px;
    background-color: #aaa;
    border-radius: 8px;

}

/************************************************************/

.main-body {
    background-color: #fff;
    border-radius: 4px;
    opacity: 85%;
    width: 98vw;
    /*max-width: 1200px;*/
    /*min-height: 200px;*/
    margin: 0 auto;
    padding: 6px 6px 6px 6px;
}

/***********************************************************/


.video {
    width: 98vw;
    max-width:500px;
    aspect-ratio: 16/9;
}


viewport-img {
    height: 100vh; /* Sets the image height to 100% of the viewport height */
    width: 100%; /* Allows the width to adjust to the container/viewport width */
    object-fit: contain; /* Scales the image to fit inside the element's content box while maintaining aspect ratio */
}


/****************************************************/

/* Dropdown hover *******************************************************************************/

.dropdown-main {
    height: 36px;
    background-color: #3c77ad;
    border-radius: 4px;
    vertical-align: middle;
}

    .dropdown-main:hover {
        background-color: #325e87;
    }


.dropdown-item-color {
    height: 36px;
    border-radius: 6px;
    background-color: #eeeeff;
    font-weight: 500;
}

    .dropdown-item-color:hover {
        background-color: #ccccff;
    }