/**
 * CSS for both Frontend+Backend.
 */

.tpgb-gallery-list .grid-item {
    position: relative;
    display: block;
    padding-bottom: 15px
}

.tpgb-gallery-list .grid-item a {
    text-decoration: none
}

.tpgb-gallery-list .tpgb-gallery-image img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
    image-rendering: -webkit-optimize-contrast
}

.tpgb-gallery-list img.pop-icon {
    max-width: 45px
}

.tpgb-gallery-list .tpgb-gallery-list-content .post-title {
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    margin-bottom: 0;
    margin-top: 0;
}

.tpgb-gallery-list .tpgb-gallery-list-content .tpgb-gallery-image:before,.tpgb-gallery-list.list-isotope-metro .tpgb-gallery-list-content .gallery-bg-image-metro:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.tpgb-gallery-list .tpgb-gallery-list-content .tpgb-gallery-image:before {
    z-index: 1
}

.tpgb-gallery-list .meta-search-icon {
    position: relative;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 23px;
    margin: 0 auto;
    overflow: hidden
}

.tpgb-gallery-list .meta-search-icon a {
    font-size: 23px;
    color: #fff;
    opacity: 0;
    overflow: hidden;
    transform: translate3d(0,38px,0);
    display: inline-block;
    transition: all .28s ease-in-out .1s
}

.tpgb-gallery-list .tpgb-gallery-list-content:hover .meta-search-icon a {
    opacity: 1;
    transform: translate3d(0,0,0)
}

.tpgb-gallery-list .tpgb-gallery-list-content {
    position: relative;
    display: block;
    overflow: hidden
}

.tpgb-gallery-list .entry-content {
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    display: block
}

.tpgb-gallery-list .gallery-list-icon {
    position: relative;
    display: block;
    text-align: center;
    margin: 5px auto;
    color: #fff
}

.icon-img-R {
    width: 30px;
    margin-left: auto;
    margin-right: auto
}

.fancy-img,.splide__slide img.fancy-img {
    display: none!important
}
.tpgb-wrap-fw {
    width: 100%;
}
@media (max-width:767px) {
    .tpgb-gallery-list .tpgb-row {
        margin-left: 0;
        margin-right: 0
    }
}

@media (min-width: 992px) {
    .tpgb-col-lg-c7{
        -ms-flex: 0 0 14.2857%;
        flex: 0 0 14.2857%;
        max-width: 14.2857%;
    }
    .tpgb-col-lg-c8{
        -ms-flex: 0 0 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }
}
@media (min-width: 768px) {
    .tpgb-col-md-c7{
        -ms-flex: 0 0 14.2857%;
        flex: 0 0 14.2857%;
        max-width: 14.2857%;
    }
    .tpgb-col-md-c8{
        -ms-flex: 0 0 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%
    }
}
@media (min-width: 576px) {
    .tpgb-col-sm-c7{
        -ms-flex: 0 0 14.2857%;
        flex: 0 0 14.2857%;
        max-width: 14.2857%;
    }
    .tpgb-col-sm-c8{
        -ms-flex: 0 0 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%
    }
}