﻿.pb-0 {
    padding-bottom: 0!important;
}

/* Gird flexbox */
.ab-gird-box {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.ab-gird-box .ab-gird-item {
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0;
}

.ab-thumb-wrap {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
}

.ab-thumb-wrap .thumb-inner {
    max-width: 100%;
}

.ab-single-thumb .thumb-cover,
.ab-thumb-wrap .thumb-inner .thumb-cover {
    display: block;
    height: 0;
    background-position: center top;
    background-size: cover;
    max-width: 100%;
}

.ab-single-thumb .thumb-in,
.ab-thumb-wrap .thumb-inner .thumb-in {
    display: block;
    height: 0;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.ab-single-thumb .thumb-in .image-thumb-blur,
.ab-single-thumb .thumb-in .image-thumb-bg,
.ab-thumb-wrap .thumb-inner .thumb-in .image-thumb-blur,
.ab-thumb-wrap .thumb-inner .thumb-in .image-thumb-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.ab-single-thumb .thumb-in .image-thumb-blur,
.ab-thumb-wrap .thumb-inner .thumb-in .image-thumb-blur {
    -webkit-filter: blur(8px);
    -ms-filter: blur(8px);
    filter: progid:DXImageTransform.Microsoft.Blur(pixelradius='8', shadowopacity='0.0');
    filter: blur(8px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ab-single-thumb .thumb-in .image-thumb-bg,
.ab-thumb-wrap .thumb-inner .thumb-in .image-thumb-bg {
    background-color: #000;
    opacity: 0.2;
}

.ab-single-thumb .thumb-in img,
.ab-thumb-wrap .thumb-inner .thumb-in img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.ab-single-thumb .thumb-in.h img,
.ab-thumb-wrap .thumb-inner .thumb-in.h img {
    width: 100%;
    height: auto;
}

.ab-single-thumb .thumb-in.v img,
.ab-thumb-wrap .thumb-inner .thumb-in.v img {
    height: 100%;
    width: auto;
}

.ab-single-thumb .thumb-all,
.ab-thumb-wrap .thumb-inner .thumb-all {
    max-width: 100%;
    height: auto;
}

/* Main */
.hidden {
    display: none;
}

/* Images center*/
.jcarousel-wrapper {
    margin: 0 auto 40px auto;
    position: relative;
}

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 -5px;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel li {
    width: 200px;
    float: left;
}

.jcarousel li>div {
    margin: 0 5px;
}

.jcarousel-pagination {
    position: absolute;
    bottom: -30px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 0;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    height: 10px;
    width: 10px;
    line-height: 10px;
    background: #fff;
    color: #4E443C;
    border-radius: 10px;
    text-indent: -9999px;
    margin-right: 7px;
    -webkit-box-shadow: 0 0 2px #4E443C;
    -moz-box-shadow: 0 0 2px #4E443C;
    box-shadow: 0 0 2px #4E443C;
}

.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    -webkit-box-shadow: 0 0 2px #F0EFE7;
    -moz-box-shadow: 0 0 2px #F0EFE7;
    box-shadow: 0 0 2px #F0EFE7;
}

@media only screen and (max-width: 991.98px) {
    .ab-gird-box .ab-gird-item {
        width: 25% !important;
    }
}

@media only screen and (max-width: 767.98px) {
    .ab-gird-box .ab-gird-item {
        width: 33.333333% !important;
    }
}

@media only screen and (max-width: 499.98px) {
    .ab-gird-box .ab-gird-item {
        width: 50% !important;
    }
}
