#vnt-trustvn-gallery{
    max-width: 100%;
    height:100vh;
    overflow: hidden;
    background: #000000;
}
#galleryFor{
    height:-webkit-calc(100vh - 90px);
    height:-moz-calc(100vh - 90px);
    height:-o-calc(100vh - 90px);
    height:calc(100vh - 90px);
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
    background: #ffffff;
}
#galleryFor .item{
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 20px;
    right: 20px;
    -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: rgba(0,0,0,0.6);
    color:#ffffff;
    text-align: center;
    padding: 9px 15px;
}
#galleryFor .slide-arrow{
    width: 50px;
    height: 50px;
    background: #ffffff;
    font-size: 0;
    padding: 0;
    border:none;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    color: #666666;
    border-radius: 100%;
    outline: none;
}
#galleryFor .slide-prev{
    left: -80px;
}
#galleryFor .slide-next{
    right: -80px;
}
#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: 35px;
    line-height: 35px;
}
#galleryFor .slide-prev:before{
    content: "\f104";
}
#galleryFor .slide-next:before{
    content: "\f105";
}
/*===========================================================*/
#galleryNav{
    height: 90px;
    background: #222222;
}
#galleryNav .mCSB_container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 10px;
}
#galleryNav .item{
    margin-right: 10px;
    width: 60px;
    flex-basis: 60px;
    flex-shrink: 0;
}
#galleryNav .item.active .img:before{
    opacity: 1;
}
#galleryNav .img:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border:solid 2px #a46d28;
    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%;
}
/*===============================================================*/
#vnt-trustvn-gallery.v2 #galleryFor{
    max-width: 100%;
    background: #333333;
}
#vnt-trustvn-gallery.v2 #galleryFor .item{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#vnt-trustvn-gallery.v2 #galleryFor .slide-prev{
    left: 10px;
}
#vnt-trustvn-gallery.v2 #galleryFor .slide-next{
    right: 10px;
}