/* <=== vhgallerpg ===> */
.vhgallerpg .gapadd{
    padding: 40px 0 47px;
}
.vhgallerpg .vdpadd{
    padding: 30px 0 40px;
}
.tpgallermm{
    margin-bottom: 30px;
}
.slgallermm .slick-list{
    border-radius: 10px;
}
.slgallermm .slick-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    background-image: url('../images/eearow.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 0;
    z-index: 2;
    transition: unset;
}
.slgallermm .slick-disabled{
    opacity: 0;
    pointer-events: none;
}
.slgallermm .slick-prev{
    transform: translateY(-50%) rotate(180deg);
    left: -15px;
}
.slgallermm .slick-next{
    right: -15px;
}
.itgallermm a{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    min-height: 45px;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    padding: 3.5px 5px 5.5px;
    border-radius: 10px;
    background: #278A35;
    background: linear-gradient(0deg, rgba(39, 138, 53, 1) 0%, rgba(47, 164, 63, 1) 5%, rgba(59, 202, 78, 1) 20%, rgba(47, 164, 63, 1) 35%, rgba(38, 134, 52, 1) 50%, rgba(37, 130, 50, 1) 100%);
    color: var(--colorff);
    overflow: hidden;
}
.itgallermm.active a{
    background: #F2921A;
    background: linear-gradient(0deg, rgba(242, 146, 26, 1) 0%, rgba(247, 168, 16, 1) 5%, rgba(254, 200, 2, 1) 20%, rgba(247, 168, 16, 1) 35%, rgba(242, 146, 26, 1) 50%, rgba(240, 139, 29, 1) 100%);
}
.tpgallerha{
    max-width: 630px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.itgallerha .thumb{
    display: block;
    padding-top: 57.302%;
    position: relative;
    overflow: hidden;
}
.itgallerha .thumb img{
    position: absolute;
    top: 0;
    left: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}
.slgallerhb{
    padding: 0 55px;
}
.slgallerhb .slick-list{
    margin: 0 -10px;
}
.slgallerhb .slick-slide{
    padding: 0 10px;
}
.slgallerhb .slick-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    background-image: url('../images/eearow.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 0;
    z-index: 2;
}
.slgallerhb .slick-prev{
    transform: translateY(-50%) rotate(180deg);
    left: 0;
}
.slgallerhb .slick-next{
    right: 0;
}
.itgallerhb .thumb{
    display: block;
    padding-top: 66.82%;
    position: relative;
    overflow: hidden;
}
.itgallerhb .thumb img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tpgallerbb .bbgrip{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    gap: 20px 0;
}
.tpgallerbb .bbgrip > div{
    padding: 0 10px;
}
.tpgallerbb .bbgrip .mcol{
    width: 58.016%;
}
.tpgallerbb .bbgrip .hcol{
    width: calc(100% - 58.016%);
}
.itgallerbm .bmvideo{
    /* padding-top: 63.514%; */
    height: 470px;
    position: relative;
    overflow: hidden;
    display: block;
}
.itgallerbm .bmvideo img, .itgallerbm .bmvideo iframe, .itgallerbm .bmvideo video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
}
.tpgallerbh{
    height: 470px;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 10px;
}
.tpgallerbh::-webkit-scrollbar{
    width: 8px;
    background-color: transparent;
}
.tpgallerbh::-webkit-scrollbar-thumb {
    background-color: var(--colorwn);
    border-radius: 25px;
}
.tpgallerbh .bhlist{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 0;
}
.itgallerbh{
    background-color: var(--colorff);
    cursor: pointer;
}
.itgallerbh.active{
    background-color: var(--colorwh);
}
.itgallerbh.active, .itgallerbh.active a{
    color: var(--colorff);
}
.itgallerbh .vvgrip{
    display: flex;
}
.itgallerbh .vvgrip .xcol{
    width: 190px;
}
.itgallerbh .vvgrip .ycol{
    width: calc(100% - 190px);
}
.itgallerbh .thumb{
    padding-top: 63.16%;
    position: relative;
    overflow: hidden;
    display: block;
}
.itgallerbh .thumb img, .itgallerbh .thumb iframe, .itgallerbh .thumb video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
}
.itgallerbh .decss{
    padding: 20px 12px 20px 20px;
}
.itgallerbh .dstitle{
    font-size: 14px;
    line-height: 25px;
    max-height: 75px;
    font-weight: bold;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
/* <=== vhgallerpg ===> */

/* <=== gallery ===> */
.vstyalbum .fancybox-slide{
    padding: 0!important;
}
.vstyalbum .fancybox-bg{
    background-color: var(--colorws);
    opacity: 1;
}
.vstyalbum .fancybox-is-open .fancybox-bg{
    opacity: 1;
    background-color: var(--colorws);
}
#vntpopalbum{
    width: 100%;
    max-width: 100%;
    height:100%;
    background: transparent;
    padding: 0;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 10px;
}
#vntpopalbum .fancybox-close-small{
    right: -50px;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 0;
    color: var(--colorwh);
    opacity: 1;
    border-radius: 100%;
    background-color: var(--colorff);
}
#vntpopalbum .fancybox-button svg{
    width: 80%;
    color: var(--colorwh);
}
#vhalbumfor{
    height:-webkit-calc(100vh - 80px);
    height:-moz-calc(100vh - 80px);
    height:-o-calc(100vh - 80px);
    height: calc(100% - 80px);
    position: relative;
}
#vhalbumfor .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;
}
#vhalbumfor .item.active{
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}
#vhalbumfor .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;
    margin-bottom: 30px;
}
#vhalbumfor .caption{
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    color: var(--color33);
    text-align: center;
    padding: 9px 15px;
    z-index: 1;
    font-weight: bold;
    text-transform: uppercase;
}
#vhalbumfor .slide-arrow{
    width: 50px;
    height: 50px;
    background: var(--colorff);
    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:var(--colorwh);
    border-radius: 100%;
}
#vhalbumfor .slide-prev{
    left: 20px;
}
#vhalbumfor .slide-next{
    right: 20px;
}
#vhalbumfor .slide-arrow:before{
    font-family: 'icomoon' !important;
    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: 25px;
    line-height: 35px;
}
#vhalbumfor .slide-prev:before{
    content: "\e90c";
}
#vhalbumfor .slide-next:before{
    content: "\e90b";
}
.vflexnav{
    display: flex;
    justify-content: center;
}
#vhalbumnav{
    height: 80px;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0 15px;
    background-color: var(--colorws);
}
#vhalbumnav {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
}
#vhalbumnav::-webkit-scrollbar {
    height: 10px;
    background-color: var(--colorf5);
} 
#vhalbumnav::-webkit-scrollbar-thumb {
    background-color: var(--color00);
}
#vhalbumnav .item{
    margin-right: 10px;
    width: 90px;
    flex-basis: 90px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    opacity: 0.5;
}
#vhalbumnav .item::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    z-index: 1;
}
#vhalbumnav .item.active::after{
    border-color: var(--colorwh);
}
#vhalbumnav .item.active{
    opacity: 1;
}
#vhalbumnav .img{
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
#vhalbumnav .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%;
}
/* <=== gallery ===> */
@media all and (max-width: 1200px){

}
@media all and (max-width: 991px){
    /* <=== vhgallerpg ===> */
    .vhgallerpg .gapadd{
        padding: 30px 0 47px;
    }
    .vhgallerpg .vdpadd{
        padding: 30px 0 60px;
    }
    .itgallermm a{
        font-size: 13px;
    }
    .tpgallerbb .bbgrip .mcol{
        width: 100%;
    }
    .tpgallerbb .bbgrip .hcol{
        width: 100%;
    }
    .tpgallerbh{
        padding-right: 4px;
        margin-right: -12px;
        height: 305px;
    }
    /* <=== vhgallerpg ===> */

    /* <=== gallery ===> */
    #vntpopalbum .fancybox-close-small{
        top: 10px;
        right: 10px;
    }
    #vhalbumfor .slide-arrow{
        top: 42%;
        width: 40px;
        height: 40px;
        display: none!important;
    }
    #vhalbumfor .slide-prev{
        left: 0;
    }
    #vhalbumfor .slide-next{
        right: 0;
    }
    #vhalbumnav{
        justify-content: flex-start;
        padding: 0;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #vhalbumnav::-webkit-scrollbar {
        height: 0px;
    } 
    #vhalbumfor .slide-arrow:before{
        font-size: 30px;
    }
    #vhalbumnav .item{
        width: 60px;
        flex-basis: 60px;
    }
    #vhalbumnav .img{
        padding-top: 40px;
    }
    #vhalbumnav .item::after{
        border-width: 2px;
    }
    /* <=== gallery ===> */
}
@media all and (max-width: 767px){
    /* <=== vhgallerpg ===> */
    .tpgallerha{
        max-width: 100%;
    }
    .slgallerhb{
        padding: 0;
    }
    .slgallerhb .slick-list{
        margin: 0 -2.5px;
    }
    .slgallerhb .slick-slide{
        padding: 0 2.5px;
    }
    .slgallerhb .slick-prev{
        left: -10px;
    }
    .slgallerhb .slick-next{
        right: -10px;
    }
    .itgallerbm .bmvideo{
        padding-top: 63.514%;
        height: 0;
    }
    .itgallerbh .vvgrip{
        align-items: center;
        align-content: center;
    }
    .itgallerbh .vvgrip .xcol{
        width: 150px;
    }
    .itgallerbh .vvgrip .ycol{
        width: calc(100% - 150px);
    }
    .itgallerbh .decss{
        padding: 10px 5px 10px 10px;
    }
    .itgallerbh .dstitle{
        line-height: 18px;
        max-height: calc(18px * 4);
        -webkit-line-clamp: 4;
    }
    /* <=== vhgallerpg ===> */
}