/*

* lightbox jquery plugin.
* created by mohamed faisal.
* url: https://www.facebook.com/Iam.MohammedFaisal

*/


.img-popup {
  display: flex!important;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    text-align: center;
    display: none;
    z-index: 9999;
    animation: pop-in;
    animation-duration: 0.5s;
    -webkit-animation: pop-in 0.5s;
    -moz-animation: pop-in 0.5s;
    -ms-animation: pop-in 0.5s;

}

.img-popup img {
 
}
   


.close-lightbox {
    position: absolute;
        width: 25px;
    height: 25px;
    padding: 0;
    z-index: 999;
    right: 20px;
    top: 20px;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.5);
    border-radius: 2px;
}
.close-lightbox:hover{
 background: rgba(0,0,0);
    color: rgba(255,255,255);
}
.lightboxfadeout{
    animation: fadeout;
    animation-duration: 0.5s;
    -webkit-animation: fadeout 0.5s;
    -moz-animation: fadeout 0.5s;
    -ms-animation: fadeout 0.5s;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes pop-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.1);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes pop-in {
    0% {
        opacity: 0;
        -moz-transform: scale(0.1);
    }
    100% {
        opacity: 1;
        -moz-transform: scale(1);
    }
}


@keyframes fadeout {
    100% {
        opacity: 0;
        transform: scale(0.1);
    }
    0% {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes fadeout {
    100% {
        opacity: 0;
        -webkit-transform: scale(0.1);
    }
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes fadeout {
    100% {
        opacity: 0;
        -moz-transform: scale(0.1);
    }
    0% {
        opacity: 1;
        -moz-transform: scale(1);
    }
}
span.caption_text {
       display: block;
    position: unset;
        text-align: left;
        margin-top:4px;

}
.img_container {
    box-shadow: 0 0 64px -40px #fcfcfc;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    background-color: #fff;
    margin: 0 auto;
    padding: 16px;
        width: 85%;
    max-height: 503px;
    max-width:744px;
    overflow:auto;

}
.caption{
display:none;
}
@media (max-width:767px){
.img_container{
min-height: auto;
}
}