.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-button-prev, .swiper-button-next {
    padding: 22px;
    z-index: 100;

}


/******************
    preview
******************/
#img-preview {  
    width: 100%;
    height: 100vh;
    background-color: #000000e0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1999999999999;
    margin: 0;
    display: flex;
}

#img-preview-close {
    position: absolute;
    right: 15px;
    top: 15px;
}

#img-preview-close img {
    background-color: white;
    padding: 5px;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

#img-preview-img {
    margin: auto;
    display: block;
    max-width: 70%;
    max-height: 70%;
    transition: 1s ease-in-out;
}

.opacity-50 {
    opacity: .5;
}

#img-preview-titre {
}

#img-preview-description {
}

#img-preview-right, #img-preview-left {
    position: absolute;
    color: rgb(72, 145, 255);
    font-size: 4rem;
    top: 50%;
}

#img-preview-right:hover, #img-preview-left:hover {
    color: rgb(35, 121, 250);
    cursor: pointer;
}

#img-preview-right {
    right: 10px;
}

#img-preview-left {
    left: 10px;
}

#img-preview-titre {
    font-size: 1.2rem;
}
#img-text {
    position: absolute;
    bottom: 35px;
}