#vnt-trustvn-gallery{
    width: 100%;
    max-width: 100%;
    height:100%;
    /* overflow: hidden; */
    background: #000;
    padding: 50px 0px;
    padding-bottom: 10px;
    margin: 0 auto;
    max-width: 1200px;
}
#vnt-trustvn-gallery .fancybox-close-small{
    right: -50px;
    position: fixed;
    top: 20px;
    right: 30px;
    padding: 0;
    color: #fff;
    opacity: 1;
}
.fancybox-slide{
    padding: 0!important;
}
.fancybox-bg{
    background-color: #000;
}
.fancybox-is-open .fancybox-bg{
    opacity: 1;
}
#galleryFor{
    height:-webkit-calc(100vh - 90px);
    height:-moz-calc(100vh - 90px);
    height:-o-calc(100vh - 90px);
    height: calc(100% - 90px);
    position: relative;
}
#galleryFor .item{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#galleryFor .item.active{
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}
#galleryFor .img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    text-align: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
#galleryFor .caption{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0, 0.6);
    color:#ffffff;
    text-align: center;
    padding: 9px 15px;
}
#galleryFor .slide-arrow{
    width: 50px;
    height: 50px;
    background: transparent;
    font-size: 0;
    padding: 0;
    border:none;
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    color:#ffffff;
    border-radius: 100%;
    background: rgb(0, 0, 0, 0.4);
}
#galleryFor .slide-prev{
    left: 30px;
}
#galleryFor .slide-next{
    right: 30px;
}
#galleryFor .slide-arrow:before{
    font-family: fontAwesome;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size: 30px;
    line-height: 30px;
}
#galleryFor .slide-prev:before{
    content: "\f104";
}
#galleryFor .slide-next:before{
    content: "\f105";
}
/*===========================================================*/
#galleryNav{
    height: 90px;
    position: fixed;
    top: right;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #333333;
    padding: 0 20px;
}
#galleryNav {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
}
#galleryNav .item{
    margin-right: 10px;
    width: 60px;
    flex-basis: 60px;
    flex-shrink: 0;
    position: relative;
}
#galleryNav .item::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 1;
}
#galleryNav .item.active .img:before{
    opacity: 1;
}
#galleryNav .item.active::before{
    opacity: 0;
}
#galleryNav .img:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border:solid 2px #00a9e8;
    opacity: 0;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    z-index: 1;
}
#galleryNav .img{
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
#galleryNav .img img{
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    height:100%;
}
/*================================================================*/
/*=========================RESPONSIVE=============================*/
/*================================================================*/
@media all and (max-width: 991px){
    #galleryNav{
        justify-content: flex-start;
    }
    #galleryFor .slide-arrow{
        top: 47%;
    }
    /* #galleryFor .caption{
        bottom: 90px;
    } */
    #vnt-trustvn-gallery .fancybox-close-small{
        right: 20px;
    }
    #galleryFor .slide-next{
        right: 20px;
    }
    #galleryFor .slide-prev{
        left: 20px;
    }
}

@media all and (max-width: 640px){

}

@media all and (max-width: 480px){
.vnt-gallery .row .col-xs-6{
    width: 100%;
}
}

@media all and (max-width: 420px){
    
}