@import url("https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css");
.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;
}

.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 .item {
    width: 25%;
    float: left;
}

.UIGallery .container {
    margin: 30px 0;
    padding: 0;
}

.UIGallery .item a {
    display: block;
    position: relative;
    cursor: zoom-in;
}

.UIGallery .item img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}
.UIGallery .item .name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #faa21a;
    font-size: 20px;
    opacity: 0;
}

.UIGallery .item a:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all .5s ease;
}

.UIGallery .item a:hover:before {
    opacity: 1;
}

.UIGallery .item a:hover .name {
    opacity: 1;
}

.UIGallery .item * {
    transition: all .5s ease;
}
/*owl-custom*/
.UIGallery .owl-item .item {
    width: 100% !important;
}
.UIGallery .title-block{
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
.UIGallery .title-block h2 {
    font-size: 20px;
    color: #e0120e;
    text-transform: uppercase;
    padding: 20px 0;
    font-family: Roboto;
    font-weight: 700;
    display: inherit;
    margin: 0;
}
.UIGallery .title-block h3 {
    font-size: 20px;
    color: #faa21a;
    text-transform: uppercase;
    font-family: Roboto;
    font-weight: 700;
    display: inline-block;
    margin: 0 0 0 5px;
}
.UIGallery .title-block:after {
    content: '';
    height: 3px;
    width: 100px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    background: #905324;
    transform: translateX(-50%);
}
/*owl-custom*/
.UIGallery .custom-nav .owl-nav {
    margin: 0 !important;
}

.UIGallery .custom-nav .owl-nav button {
        position: absolute;
        color: #999 !important;
        top: 50%;
        transition: all 0.2s ease;
        outline: none;
        z-index: 99999;
        opacity: .5;
        transform: translate(0, -50%);
    }

.UIGallery .custom-nav .owl-nav button i {
            font-size: 50px;
        }

.UIGallery .custom-nav .owl-nav .owl-prev {
        left: 0;
        border-radius: 0 4px 4px 0;
    }

.UIGallery .custom-nav .owl-nav .owl-next {
        right: 0;
    }

.UIGallery .custom-nav .owl-nav button:hover {
        opacity: 1;
        background: none !important;
    }

.UIGallery .custom-dots .owl-dots {
    position: relative;
    text-align: center;
    width: 100%;
    bottom: 10px;
    z-index: 9;
}

.UIGallery .custom-dots .owl-dots .owl-dot {
        outline: none;
    }

.UIGallery .custom-dots .owl-dots .owl-dot.active span {
            background-color: #d9282f;
            border: solid 2px #fff;
        }

.UIGallery .custom-dots .owl-dots .owl-dot span {
            height: 15px;
            width: 15px;
            margin: 5px;
            display: block;
            border-radius: 100%;
            box-shadow: 0 0 5px 0 #b3b3b3;
            background: #fff;
        }
.clear{
    clear:both;
}
.UIGallery .paging > * {
    display: inline-block;
    border: none;
    text-decoration: none;
    color: transparent;
    padding: 5px 10px;
    height: 6px;
    width: 30px;
    margin: 5px;
    background: #faa21a75;
}

.UIGallery .paging {
    text-align: center;
    margin: 15px 0;
    display: block;
}

.UIGallery .paging a:hover {
    background: #faa21a;
}

.UIGallery .paging span {
    font-weight: bold;
    height: 6px;
    width: 30px;
    margin: 5px;
    background: #faa21a;
    color: transparent;
}