/* *********************************** */
/* flickitygallery-slider maia */
body {
    background-color: var(--light-pink);
    overflow-y: hidden;
}
html, body {
    overflow: hidden;
}
#menu {
    background: var(--primary-color);
}
#checkrates {
    display: none;
}
#gallery-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.gallery-slide .gallery-slide-cell {
    overflow: hidden;
}

.gallery-slide .gallery-slide-cell img {
    display: block;
    height: 200px;
}

.gallery-slide .flickity-prev-next-button {
    top: 50%;
    width: 49%;
    height: 100%;
    border-radius: 0;
    background: transparent;
}

.gallery-slide .flickity-prev-next-button:hover {
    background: transparent;

}

.gallery-slide .previous:hover {

    cursor: url("./img/arrow_prev_gallery.png") 30 30, pointer;
}

.gallery-slide .next:hover {
    cursor: url("./img/arrow_next_gallery.png") 30 30, pointer;
}

.gallery-slide .arrow {
    visibility: hidden;
}

.gallery-slide .gallery-slide-cell {
    margin-left: 50px;
    width: 50%;
}

.gallery-slide .gallery-slide-cell img {
    cursor: pointer;
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .4));
    width: 100%;
    object-fit: cover;
}

.gallery-slide .is-selected img {
    opacity: 1;

}

.gallery-slide-cell h3 {
    text-transform: uppercase;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 1s ease-out .3s;
}

.gallery-slide .flickity-page-dots .dots {

    margin: 0 30px !important;
}

@media screen and (min-width: 768px) {
    .gallery-slide .gallery-slide-cell img {
        height: 400px;
    }
}

/* ******************** */
/* gallery-detail maia */
#container {
    width: 100vw;
    height: 90vh;
    height: 65vh;
    height: auto;
    background-color: var(--dark-green);
}

#container>.text-center {
    z-index: 3;
}

.maia__paragraph {
    color: var(--white-f2) !important;
}

.gallery-slide-cell h3 {
    text-transform: uppercase;
    text-align: left;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 1s ease-out .3s;
    font-size: 12px;
}

.flickity-page-dots {
    display: none;
}

.flickity-page-dots .dot {
    background-color: var(--white-f2) !important;
    display: none;
}

.back-to-gallery {
    position: absolute;
    bottom: 60px;
    left: 9%;
    z-index: 3;
}

.back-to-gallery a {
    font-size: 12px !important;
}

.hvr-underline-from-left:before,
.hvr-underline-from-left:hover:before {
    background-color: var(--white-f2);
}

.hvr-underline-from-left:hover {
    color: var(--white-f2) !important;
}

.is-selected h3 {
    opacity: 1;
}


.carousel-status {
    text-align: right;
    position: absolute;
    bottom: 60px;
    right: 17vw;
}

.index-status {
    font-size: 20px;
}

.total-slide {
    font-size: 11px;
    letter-spacing: 1px;
}



@media only screen and (max-width: 992px) {
    #gallery-slider {
        position: absolute;
        top: 20%;
        transform: none;
        -webkit-transform: none;
    }

    #container {
        height: unset;
    }

    #menu-mobile {
        z-index: 4;
    }

    .gallery-slide {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    .gallery-slide .gallery-slide-cell {
        margin-left: 15px;
        width: 100%;
    }

    .gallery-slide-cell h3 {
        margin-left: 9vw;
    }

    .carousel-status {
        text-align: left;
        bottom: 30vh;
        left: 9vw;
    }

    .back-to-gallery {
        position: absolute;
        top: 70vh;
        top: 65vh;
        top: unset;
        bottom: 25vh;
        left: 9vw;
        z-index: 3;
    }

    #checkrates-mob,
    #inner-checkrates-mob {
        bottom: 10vh;
    }
}

@media only screen and (max-width: 992px) and (min-width: 768px) {
    .carousel-status {
        margin-top: 0;
        bottom: 120px;
    }

    .back-to-gallery {
        top: unset;
        bottom: 60px;
    }
}