/* --- GALLERY --- */
.gallery__images {
    padding-top: 1.5rem;
}
.gallery__preview {
    display: none;
}
.gallery__preview img {
    border-radius: 10px;
    border: 2px solid #EDEDED;
}
.gallery__preview:first-child {
    display: block;
    position: relative;
}
.gallery__preview .img-preview__btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.gallery + .gallery {
    position: relative;
}
.gallery + .gallery::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 1600px;
    height: 1px;
    margin-right: auto;
    margin-left: auto;
    background: rgba(0,0,0,0.22);
}
.img-preview__more {
    display: block;
    height: 100%;
    border-radius: 10px;
    transition: background .1s ease-out;
    min-height: 186px;
}
.img-preview__more .icon-gallery {
    font-size: 1.5rem;
    transition: transform .1s ease-out;
}
.img-preview__more:hover {
    background: #00C2D3;
}
.img-preview__more:hover .icon-gallery {
    transform: scale(1.15);
}
.modal--gallery mm-vue,
.modal--gallery mm-vue > div,
.modal--gallery .gallery-content,
.modal--gallery .blaze-slider,
.modal--gallery .blaze-container,
.modal--gallery .blaze-track-container,
.modal--gallery .blaze-track {
    height: 100%;
}
.gallery-slider__img:not(.gallery-page .gallery-slider__img) {
    max-height: calc(100vh - 190px);
    min-height: 0;
    height: 100%;
    width: 100%;
}
.gallery-slider__text {
    width: 100%;
}
.gallery-slider__text p {
    margin-top: .5rem
}
.gallery-page {
    overflow: hidden;
}
.gallery-page .gallery-slider__item {
    border-bottom: 1px solid rgba(0,0,0,0.22);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* --- TABLET (MD) --- */
@media (min-width: 768px) {
    .gallery__images--right {
        padding-top: 0;
    }
}

/* --- DESKTOP (LG) --- */
@media ( min-width: 992px ) {
    .gallery__images {
        display: flex;
        flex-wrap: wrap;
        padding-right: 10px;
        padding-left: 10px;
    }
    .gallery__images--right {
        margin-top: -20px;
    }
    .gallery__preview {
        display: block;
        width: 33.3333%;
        margin-top: 20px;
        padding: 0 10px;
    }
    .gallery-slider__img:not(.gallery-page .gallery-slider__img) {
        max-height: calc(100vh - 250px);
    }
}

/* --- DESKTOP (XL) --- */
@media ( min-width: 1200px ) {
    .img-preview__more {
        min-height: 226px;
    }
}

/* --- DESKTOP (XXL) --- */
@media ( min-width: 1440px ) {
    .gallery__preview {
        width: 25%;
    }
    .img-preview__more {
        min-height: 209px;
    }
    .gallery-slider__img:not(.gallery-page .gallery-slider__img)  {
        max-height: calc(100vh - 260px);
    }
}
