/*----- Gallery Portfolio -----*/


/*filters*/

.cbp-l-filters .cbp-filter-item {
    cursor: pointer;
    margin: 0 .2rem;
}

.cbp-l-filters .cbp-filter-item,
.cbp-l-filters .cbp-filter-item span {
    display: inline-block;
}

.cbp-l-filters .cbp-filter-item span {
    color: #fff;
    font-size: 0.85rem;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 0;
}

.cbp-l-filters>.cbp-filter-item+.cbp-filter-item::before {
    display: inline-block;
    padding-right: 0.4rem;
    padding-left: 5px;
    color: inherit;
    content: "/";
}

.cbp-l-filters.whitecolor .cbp-filter-item span {
    color: #fff;
}

.cbp-l-filters .cbp-filter-item-active {
    cursor: default;
}

.cbp-l-filters .cbp-filter-item-active span,
.cbp-l-filters .cbp-filter-item:hover span,
.cbp-l-filters .cbp-filter-item:focus span,
.cbp-l-filters.whitecolor .cbp-filter-item:focus span,
.cbp-l-filters.whitecolor .cbp-filter-item-active span {
    color: #D50A2B;
}

.gallery-hvr {
    width: 100%;
    height: 100%;
    background: rgba(213, 10, 43, 0.8);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.cbp-item:hover .gallery-hvr {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.cbp-item img {
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.cbp-item:hover img {
    transform: scale(1.1);
}

.gallery-hvr .opens {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    margin-left: 5px;
    font-size: 18px;
    border: 1px solid #fff;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: #fff;
    color: #26313c;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.gallery-hvr .opens::before,
.shopping-box .overlay .opens::before {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    top: -1px;
    opacity: .3;
    visibility: hidden;
    background: #D50A2B;
    border-radius: inherit;
    z-index: -1;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.gallery-hvr .opens:hover::before,
.gallery-hvr .opens:focus::before,
.shopping-box .overlay .opens:hover::before,
.shopping-box .overlay .opens:focus::before {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.gallery-hvr .opens:hover,
.gallery-hvr .opens:focus {
    color: #fff;
}

.center-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cbp-l-loadMore-stop {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.cbp-l-loadMore-button .cbp-l-loadMore-link {
    color: #fff !important;
}

.fa-spin {
    -webkit-animation: fa-spin 0.75s infinite linear !important;
    animation: fa-spin 0.75s infinite linear !important;
    font-size: 15px;
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.fancybox-thumbs__list a:before {
    border-color: #D50A2B;
}


/*----- Gallery ends -----*/



