/* Style the Image Used to Trigger the Modal */
.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.myImg:hover {
    opacity: 0.7;
}
/* The Modal (background) */
.modal {
    z-index: 1000; 
    display: none; 
    position: absolute; 
    height: 100%; 
    right: 0px; 
    top: 0px; 
    width: calc(100% - 430px) !important;

}

/* For smaller screens */
/* @media (max-width: 768px) {
    .modal {
        width: calc(100% - 20px);  
        right: 0;  
    }
}
@media only screen 
and (min-device-width : 1270px) 
and (max-device-width : 1290px) {
    .modal {
        width: calc(67% - 2vw)!important; 
        right: calc(-15px + 2vw)!important; 
    }
}

@supports (-webkit-touch-callout: none) {
    @media only screen and (max-width: 1440px) {
        .modal {
            width: calc(71% - 2vw); 
            right: calc(-15px + 2vw); 
        }
    }
} */




/* @media only screen 
and (min-device-width: 2560px) 
and (max-device-width: 2570x) {
    #myModal {
        width:81%;
    }
} */

/* @media screen and (max-width: 1270px) and (min-width: 1260px) {
    
} */
/* For larger screens */
/* @media (min-width: 1200px) {
    .modal {
        width: calc(71% - 2vw); 
        right: calc(-15px + 2vw); 
    }
} */
/* Modal Content (Image) */
/* shubham_18_12_23 */
#modal-header{
    height: 100%;
    padding: 0 60px;
}
.image-clickable-container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    width: 100%; 
    max-height: 50vh;
}
.closeamul {
    margin-top: -10px;
    cursor: pointer;
    margin-left: -14px !important;
}
.newCloseIcon {
    width: 100%;
    max-width: 39px;
    height: 39px;
    cursor: pointer;
    position: absolute;
    top: -23px;
    left: calc(100% - 17px);
  
   
}
/* @media screen and (max-width: 1400px) and (min-width: 900px){
    .modal-content {max-width: 470px!important;}
}
@media screen and (max-width: 899px) {
    .modal-content {max-width: 270px!important;}
} */



/* Override for Firefox */
/* @-moz-document url-prefix() {
    .image-clickable-container img {
        margin-left: -22px !important;
    }
} */
/* @-moz-document url-prefix() {
    .newCloseIcon {
        width: 100%;
  max-width: 40px !important;
  height: 35px !important;
  margin-top: -14px;
  margin-left: -39px;
  cursor: pointer;
    }
} */

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
/* Add Animation - Zoom in the Modal */
/* .modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
} */
@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
/* The Close Button */
.close {
    position: absolute;
    /*color: #f1f1f1;*/
    /*font-size: 40px;*/
    /*font-weight: bold;*/
    /*transition: 0.3s;*/
    /* shubham_18_12_23 */
    /*top: 15px;*/
    /*right: 35px;*/
    top: -35px;
    /* right: -5px; */
    /*padding-top: 5px;*/
    /*width: 35px;*/
    /*border-radius: 50%;*/
    /*height: 30px;*/
    /*text-align: center;*/
    /* shubham_18_12_23 */
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        /* width: 100%; */
    }
}
