/*---------------------------------------
 JQuery pop up gallery css v.1 17.11.2017
----------------------------------------*/
.popup-box{
    position:fixed;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 999;
    top:0;
    left: 0;
}
.display-box{
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    width: 80%;
    height: auto;
    /*top: 10%;*/
    overflow: hidden;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}



/* .framebg{
    position: absolute;
    z-index: 5;
    width:100%;
    height: 100%;
} */
/* .display-box.act-view > .frame{
    margin-left:0;
} */
.img-nav{
    display: inline-block;
    position:absolute;
    z-index: 1000;
    color:#fff;
}
.img-nav > span{
    font-size: 42px;
    font-size: 4.2rem;
}
.img-nav:hover,.img-nav:active{
    color:#fff;
}
.img-nav.prev-btn{
    left: 30px;
    transform: translateY(-45%) !important;
    top: 45% !important;
}
.img-nav.next-btn{
    right: 30px;
    transform: translateY(-45%) !important;
    top: 45% !important;
}
.img-nav.close-btn{
    top:40px !important;
    right: 40px !important;
}
.img-nav.close-btn>span{
    font-size: 24px;
    font-size: 2.4rem;
}
.img-ttl{
    /* background:#fff; */
    color: #fff;
    font-size: 24px;
    font-size: 2.4rem;
    padding:20px 0px;
    width: 80%;
    margin: 0 auto;
}
@media only screen and (max-width:1200px){
    .display-box{
        width: 65%;
        /*top: 20% !important;*/
    }
}
@media only screen and (max-width:991px){
    .display-box{
        /*top: 18% !important;*/
    }
}
@media only screen and (max-width:767px){
    .img-nav.prev-btn{
        left: 0;
    }
    .img-nav.next-btn{
        right: 0;
    }
    .img-nav > span{
        font-size: 32px;
        font-size: 3.2rem;
    }
    .display-box{
        /*top: 16% !important;*/
    }
    .img-ttl {
        font-size: 18px;
        font-size: 1.8rem;
    }
    .img-fluid {
        width: 100%;
        height: 100%;
    }
}

@media only screen and (max-width:480px){
    .display-box{
        /*top: 10% !important;*/
    }
}
@media only screen and (max-width:320px){
    .display-box{
        width: 65%;
    }
}