@import url("https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css");
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
.fancybox-thumbs {
    top: auto !important;
    width: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 95px;
    padding: 10px 10px 5px 10px !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.3) !important;
    text-align: center;
}
.UIGallery {
    padding: 20px 0 30px 0;
    position: relative;
    z-index: 10;
}
.fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
}
.fancybox-thumbs > ul > li {
    float: none;
    display: inline-block;
}
.fancybox-thumbs-x>ul{
    width:100% !important;
}
/*********************************/
.UIGallery .list-style {
    display: flex;
    margin: 20px auto;
    flex-wrap: wrap;
}
.UIGallery .list-style .item {
    width: 23%;
    vertical-align: top;
    margin: 10px;
}

.UIGallery .container {
    margin: 0 auto;
    text-align: center;
}
.UIGallery .title-block * {
    color: #009342;
    font-size: 28px;
    font-family: 'Lobster', cursive;
    letter-spacing: 2px;
}
.UIGallery .title-block *:after {
    /* content: ''; */
    height: 3px;
    width: 100px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    background: #108dd6;
    transform: translateX(-50%);
}
.UIGallery .item a {
    display: block;
    position: relative;
    cursor: zoom-in;
    width: 100%;
    height: 100%;
}
.UIGallery .item img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
}


.UIGallery .item .name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    opacity: 0;
}


.UIGallery .item a:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: #3636348f;
    opacity: 0;
    transition: all .5s ease;
    border-radius: 50%;
}

.UIGallery .item a:hover:before {
    opacity: 1;
}

.UIGallery .item a:hover .name {
    opacity: 1;
}

.UIGallery .item * {
    transition: all .5s ease;
}
/*owl-custom*/
.UIGallery .paging {
    text-align: center;
    margin:20px 0;
}
.UIGallery span span, .UIGallery .paging a:hover {
    margin: 0 5px;
    color: transparent;
    background: #11984cb0;
    width: 35px;
    height: 6px;
    display: inline-block;
}
.UIGallery .paging a {
    margin: 0 5px;
    color: transparent;
    background: #11984c40;
    width: 35px;
    height: 6px;
    display: inline-block;
}
