﻿/*this styles are for Catalog and Leaflet modals*/


#exampleModal {
    /*padding: 0 !important;*/
    /*// override inline padding-right added from js*/
    color: #c98c65;
    overflow: hidden;
    z-index: 2000000;
    /* Initial state (hidden) */
    opacity: 0;
    transform: scale(0);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

    /* When modal is shown */
    #exampleModal.show {
        opacity: 1;
        transform: scale(1);
    }



    #exampleModal .modal-body, #exampleModal .modal-header, #exampleModal .modal-footer {
        background-color: #264e48;
    }

    #exampleModal .modal-header, #exampleModal .modal-footer {
        border: 1px solid #c98c65;
    }

    #exampleModal .modal-body {
        position: fixed;
        top: 5vh;
        left: 0;
        width: 100%;
        min-width: 100%;
        height: 95vh;
        min-height: 95vh;
        border: 4px solid #c98c65;
        margin: 0 auto;
        text-align: center;       
    }

        #exampleModal .modal-body iframe {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s linear, visibility 0s linear 1.5s;
        }

    #exampleModal.show .modal-body iframe {
        opacity: 1;
        visibility: visible;
    }



    #exampleModal .modal-header button {
        position: fixed;
        top: 0;
        right: 10px;
        background-color: #c98c65;
        font-size: 14px;
    }

    #exampleModal .modal-title {
        position: fixed;
        top: 7px;
        left: 7px;
        font-size: 15px;
    }

@media screen and (max-width: 580px)  {
    #exampleModal .modal-title {
        position: fixed;
        top: 8px;
        left: 4px;
        font-size: 12px;
    }
}

#exampleModal .modal-footer button {
    position: fixed;
    bottom: 8px;
    right: 10px;
}

#exampleModal .modal-header, #exampleModal .modal-footer {
    width: 100%;
    min-width: 100%;
    height: 3vh;
    max-height: 3vh;
}





#exampleModal .btnclose:hover {
    color: #264e48;
}

/*********************************************************************************************************************************************/
.modal-backdrop {
    opacity: 0.8 !important;
}

/********************************************************************************************************************************************/


.modalimage {
    width: 94%;
    max-width: 94%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    user-drag: none;
    user-select: none;
}

.image-container {
    width: 100%;
    height: 85vh; /* Adjust as needed */
    overflow: auto; /* Allows scrolling when zoomed */
    text-align: center;
    position: relative;
    cursor: grab; /* Indicates draggable area */
    border: 1px solid #ddd; /* Optional border */
}



.modalicons {
    font-size:24px;
}
    .modalicons i {
        cursor: pointer;
        font-size: 28px; /* Bigger size */
        margin: 0 15px; /* Increased horizontal spacing */
    }


.reset-btn {
    color: red;
}

    .reset-btn:hover {
        color: darkred;
    }

.zoom-btn:hover {
    color: darkgoldenrod;
}

@media (max-width: 998px) {
    /*.divmodaloverlay {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        background-color: white;
        opacity: 0.7;
        font-size: 16px;
    }

    .divmodaloverlay1top {
        height: 10px;
        width: 100%;
    }

    .modalimageoverlay1 {
        margin-left: 10px;
        height: 50px;
        width: auto;
    }

    .divmodaloverlay1 {
        padding-top: 12px;
        padding-bottom: 12px;
        display: none;
    }*/
}


@media (max-width: 750px) {
    /*.divmodaloverlay {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        background-color: white;
        opacity: 0.7;
        font-size: 16px;
    }

    .divmodaloverlay1top {
        height: 2px;
        width: 100%;
    }

    .modalimageoverlay1 {
        margin-left: 10px;
        height: 30px;
        width: auto;
    }

    .divmodaloverlay1 {
        padding-top: 8px;
        padding-bottom: 8px;
        display: none;
    }*/
}

@media (max-width: 500px) {
    /*.divmodaloverlay {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        background-color: white;
        opacity: 0.7;
        font-size: 14px;
    }

    .divmodaloverlay1top {
        height: 2px;
        width: 100%;
    }

    .modalimageoverlay1 {
        margin-left: 10px;
        height: 20px;
        width: auto;
    }

    .divmodaloverlay1 {
        padding-top: 4px;
        padding-bottom: 4px;
        display: none;
    }
}*/


/*#FirstModalVideo {
    overflow:hidden;
}*/

@media screen and (max-width: 100000px) and (max-height: 650px) {
    #videoModal .btnclose, #videoModal .btncloseoverlays, #FirstModalVideo .btncloseFirstModal {
        padding: 2px 10px;
        font-size: 12px;
        /*border-radius: 10px;*/
    }

   
}

@media screen and (max-width: 100000px) and (max-height: 550px) {
    /*.divmodaloverlay {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        background-color: white;
        opacity: 0.7;
        font-size: 22px;
    }

    .divmodaloverlay1top {
        height: 12px;
        width: 100%;
    }

    .modalimageoverlay1 {
        margin-left: 10px;
        height: 30px;
        width: auto;
    }

    .divmodaloverlay1 {
        padding-top: 18px;
        padding-bottom: 18px;
        display: none;
    }*/
}

@media screen and (max-width: 100000px) and (max-height: 370px) {
    /*.divmodaloverlay {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        background-color: white;
        opacity: 0.7;
        font-size: 14px;
    }

    .divmodaloverlay1top {
        height: 2px;
        width: 100%;
    }

    .modalimageoverlay1 {
        margin-left: 10px;
        height: 20px;
        width: auto;
    }

    .divmodaloverlay1 {
        padding-top: 4px;
        padding-bottom: 4px;
        display: none;
    }*/
}


/*************************************************************************************************************************************************************************/



