/* horizontal gallery **/
.owl-carousel.horizontal-gallery {
    margin-bottom: 25px;
}

.owl-carousel.horizontal-gallery .owl-item .img-wrap {
    height: 433px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.owl-carousel.horizontal-gallery .owl-item img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.owl-carousel.horizontal-gallery .owl-item {
    background: #343a40;
}

figcaption {
    background: #efefef;
    width: 100%;
    min-height: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.owl-carousel .owl-nav button.owl-next:before,
.owl-carousel .owl-nav button.owl-prev:before {
    content: "\f104";
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    font-family: 'FontAwesome';
    font-size: 30px;
    line-height: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
}

.owl-carousel .owl-nav button.owl-next:before {
    content: "\f105";
}

.owl-carousel .owl-nav button.disabled {
    display: none !important;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    background: none !important;
    padding: 0;
    height: 40px;
    width: 40px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0.5 !important;
    margin: -50px 0 0 0;
    position:absolute;
}

.owl-carousel:hover .owl-nav .owl-next, .owl-carousel:hover .owl-nav .owl-prev {
    opacity: 0.5
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
    opacity: 1 !important;
}
 .owl-carousel .owl-nav .owl-next {
     right: 0;
     background-image: url('slide-arrow-right.png');
 }
 .owl-carousel .owl-nav .owl-prev {
     left: 0;
     background-image: url('slide-arrow-left.png');
}
.owl-carousel .owl-nav button span {
    display: none;
}

.slider-counter-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.slider-counter-wrap, .caption-content {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    line-height: 1.2em;
    color: #5d636e;
    font-size: 13px;
}
.slider-counter {
    color: #5d636e;
    font-size: 13px;
}
.fullscreen i {
    color: #fff;
    display: block;
    padding: 10px;
    font-size: 20px;
    line-height: 1em;
}

.fullscreen {
    position: absolute;
    right: 0;
    top: 0;
    background: #000;
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0.5;
    z-index: 999;
}

.fullscreen:hover {
    opacity: 1;
}

.fancybox-container {
    width: 1044px;
    max-width: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #000;
}

body.compensate-for-scrollbar {
    overflow: auto;
    margin-right: 0 !important;
}

.adv_wrap.fancybox-content {
    background: none;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}

.adv_wrap.fancybox-content > div {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.fancybox-caption__body {
    line-height: 1.25em;
}
.item.owladv {
    background-color: #353535;
    height: 433px;
    text-align: center;
    padding-top: 60px;
}