/* SLIDER */

.slick-track {
    display: flex;
}

.slick_images_container {
    display: block;
    position: relative;
}

.images_container {
    overflow: hidden;
}

.image_logements {
    margin-right: 20px;
    margin-left: 20PX;
}

#myModal.open {
    opacity: 1;
    pointer-events: unset;
}

#myModal {
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}


/* The Modal (background) */

.bouton-modal {
    float: right;
    margin: 20px;
}

.bouton-modal button#myBtn {
    border-radius: 0;
    border: 2px solid #fefefe;
    background-color: transparent;
    color: #fefefe;
    padding: 10px;
    cursor: pointer;
}

.bouton-modal img {
    width: 40px;
    max-width: unset !important;
    max-height: 70vh;
    object-fit: contain;
}

.modal {
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content/Box */

.modal-content {
    background-color: #fefefe;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vw;
    padding: 60px 80px;
    border: 1px solid #888;
}


/* The Close Button */

.close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}

.close:hover {
    opacity: 1;
}

.close:before,
.close:after {
    position: absolute;
    left: 30px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #231f20;
    top: -20px
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

button.slick-carousel-arrow.right,
button.slick-carousel-arrow.left {
    position: absolute;
    right: 0;
    bottom: -55px;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
}

button.slick-carousel-arrow.left {
    margin-right: 60px;
}

button.slick-carousel-arrow.right>img,
button.slick-carousel-arrow.left>img {
    height: 40px;
    width: 40px;
}

@media screen and (max-width: 991px) {

    .modal-content {
        width: 90vw;
        padding: 60px 0px;
    }

}

@media screen and (max-width: 480px) {

    .image_logements {
        margin-right: 5px;
        margin-left: 5px;
    }

    .slick_images_container .slick-list {
        padding: 0px 20px !important;
    }

}
