/**
 * EPL Gallery CSS
 */

.epl-gallery-grid {
        display: grid;
        margin: 0 auto;
}
.epl-gallery-item {
        position: relative;
}
.epl-gallery-item img {
        margin: 0;
        padding: 0;
        object-fit: cover;
        width: 100%;
        height: 100% !important;
        cursor: pointer;
}
.epl-gallery-remaining {
        position: absolute;
        margin: 0;
        padding: 0.5em;
        inset: 0;
        width: auto;
        height: auto;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
        font-size: 2em;
}
.epl-gallery-remaining--desktop {
}
.epl-gallery-remaining--tablet {
        display: none;
}
.epl-gallery-remaining--mobile {
        position: absolute;
        top: initial;
        left: initial;
        bottom: 0;
        right: 0;
        background: transparent;
}

.epl-gallery-remaining__counter {
}

.epl-gallery-play-button {
        position: absolute;
        left: 50%;
        top: 50%;
        cursor: pointer;
        transform: translate(-50%, -50%);
}
.epl-gallery-hidden {
        display: none;
}
.epl-gallery-embed.pswp__video {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
}
.epl-gallery-overlay {
        position: absolute;
        background: transparent;
        width: 100%;
        height: 100%;
        z-index: 0;
}
.epl-gallery-item--video > img {
        filter: brightness(0.6);
}
@media screen and (max-width: 1024px) {
        .epl-gallery-pswp .pswp__ui--idle .pswp__button--arrow--left,
        .epl-gallery-pswp .pswp__ui--idle .pswp__button--arrow--right {
                opacity: 1 !important;
        }
}
