
.es-gallery .tile {
    cursor: pointer;
    opacity: 1;
    transition: all .4s ease;
}

.es-gallery .tile:hover{
    opacity: 0.5;
    transition: all .4s ease;
}

.es-gallery .tile-overlay {
    width: 100VW;
    height: 100VH;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
}

.es-gallery .prev-nav {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #fff !important;
}


.es-gallery .next-nav {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #fff !important;
}

@media screen and (min-width: 768px) {
    .es-gallery .next-nav {
        position: absolute;
        top: 50%;
        right: 40px;
        transform: translateY(-50%);
        color: #fff !important;
    }
}

.es-gallery .close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 30px;
    color: #fff !important;
}

.es-gallery .overlay-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 20px 20px 20px;
}
.es-gallery .tile-image {
    box-shadow: rgba(0, 0, 0, 0.8) 0px 2px 14px 0px;
}

.es-gallery .overlay-tile-container {
    max-width: 80%;
    height: 100%;
    margin: 0px auto;
}