/**
 * Style of modal slider
 */

.img-modal {
    z-index: 3;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
}
.img-modal-content {
    background-color: #fff;
    height: 100%;
}
.div_modal_img {
    margin: auto;
    max-height: 96vh;
    max-width: 85vw;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 100;
}
.div_modal_img.height {
    height: 100%;
}
.img-modal img {
    -o-object-fit: contain;
       object-fit: contain;
    display: block;
    margin: 0 auto;
    z-index: 10;
    max-height: 100vh;
}
.img-animate-zoom {
    -webkit-animation: animatezoom 0.6s;
            animation: animatezoom 0.6s
}
/* FULLSCREEN */
.div_modal_img.fullscreen_div_img
{
    max-height: 100vh;
    max-width: 100vw;
}
@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0);
                transform: scale(0)
    }
    to {
       -webkit-transform: scale(1);
               transform: scale(1)
    }
}
@keyframes animatezoom {
    from {
       -webkit-transform: scale(0);
               transform: scale(0)
    }
    to {
       -webkit-transform: scale(1);
               transform: scale(1)
    }
}