/*loader start*/
.PageLoader {
    position: fixed;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/Images/preloaders.gif') 50% 50% no-repeat rgba(0, 255, 0, 0.3);
}
/*loader end*/

/* Start Model */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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 */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    background-color: #E6E6E6;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #E6E6E6;
    color: white;
}

/* End Model */

/* Start scroll-container */

div.scroll-container {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
}

div.scroll-container img {
    padding: 10px;
}

/* End scroll-container */

/* START IMAGE DOCUMENT FILE */

.document-selected-image-file {
    height: 80px;
    border: 5px solid #FFC91B;
}

.document-image-file {
    height: 80px;
}


/* END IMAGE DOCUMENT FILE */

/* START MODAL WORK IMAGE */

/* Stile per il modal */
.modalWorkImage {
    display: none; /* Il modal è inizialmente nascosto */
    position: fixed; /* Posizionamento fisso rispetto alla finestra */
    z-index: 1; /* Mostra il modal sopra tutto il resto */
    left: 0;
    top: 0;
    width: 100%; /* Occupa l'intera larghezza della finestra */
    height: 100%; /* Occupa l'intera altezza della finestra */
    background-color: rgba(0, 0, 0, 0.8); /* Sfondo semi-trasparente */
    overflow: auto; /* Abilita lo scrolling se il contenuto è più grande della finestra */
}

/* Stile per l'immagine nel modal */
.modalWorkImage-content {
    display: block;
    margin: 0 auto; /* Centra l'immagine orizzontalmente */
    max-width: 80%; /* Massima larghezza dell'immagine */
    max-height: 80%; /* Massima altezza dell'immagine */
}

/* Stile per l'elemento di chiusura */
.closeWorkImage {
    color: white;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 120px;
    left: 30px;
    cursor: pointer;
}

/* END MODAL WORK IMAGE */

/* START MODAL SELECT */

.modalSelect {
    display: none; /* La modale è nascosta per default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Sfondo semi-trasparente */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modalSelect-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.modalSelect-button {
    width: 200px;
}

/* END MODAL SELECT */