/*  Merto Layout  */
.tpgb-gallery-list.list-isotope-metro .post-loop-inner .grid-item {
    max-width: 100%
}

.tpgb-gallery-list.list-isotope-metro .post-loop-inner .grid-item .tpgb-gallery-list-content,.tpgb-gallery-list.tpgb-metro .post-content-image,.tpgb-gallery-list.tpgb-metro .tpgb-gallery-list-content {
    width: 100%;
    height: 100%
}

.tpgb-gallery-list.list-isotope-metro .gallery-bg-image-metro,.tpgb-gallery-list.tpgb-metro .tpgb-metro-gallery-image {
    background-size: cover!important;
    background-position: center!important;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    transition: all .3s ease-in-out
}

.tpgb-gallery-list.tpgb-metro .grid-item {
    padding: 15px
}

.tpgb-gallery-list.tpgb-metro.gallery-style-4 .tpgb-gallery-list-content .post-content-center {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    z-index: 1;
    padding: 0;
    transform: translateX(-50%) translateY(-50%)
}

.tpgb-metro-gallery-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out
}