/* html, body {
    position: relative;
    height: 100%;
} */

/* body {
    background: #fff;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
} */

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

/* .swiper-slide {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
} */

.swiper-slide {
    background-size: cover;
    background-position: center;
}

/* Swiper 2 */
.mySwiper2, .mySwiper3 {
    height: 600px;
    width: 980px;
    overflow: visible;
}

.mySwiper3 img {
    object-fit: cover;
}

.mySwiper2 .swiper-slide .swiper-slide__content {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0px;
    padding: 40px;
    z-index: 2;
}

.mySwiper2 .swiper-slide .swiper-slide__content img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.mySwiper2 .swiper-slide .swiper-slide__content h3 {
    font-size: 30px;
    font-weight: bold;
    color: white;
    line-height: 50px;
    max-width: 90%;
}

.mySwiper2 .swiper-slide .swiper-slide__content p {
    font-size: 16px;
    font-weight: 500;
    color: white;
    line-height: 25px;
    max-width: 70%;
}

.mySwiper2 .swiper-slide .swiper-slide__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}


/* mySwiper */
.mySwiper {
    height: 15%;
    box-sizing: border-box;
    padding: 10px 50px;
    margin-bottom: 100px;
}

.mySwiper .swiper-slide {
    width: auto;
    height: 100%;
    opacity: 0.8;
}

.mySwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100px !important;
    object-fit: contain;
    cursor: pointer;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

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

/* Pagination */
.swiper-pagination-custom,  .swiper-pagination-custom-gallery-slider {
    width: 95% !important;
    display: flex;
    flex-direction: row-reverse;
    justify-content: end;
    padding: 60px 20px 30px 0;
}

.swiper-pagination-custom > div, .swiper-pagination-custom-gallery-slider > div {
    cursor: pointer;
}

.swiper-button-next-custom, .swiper-button-next-custom-gallery-slider {
    content: url(https://lescopilotes.fr/wp-content/uploads/2023/09/pagination_right.svg) !important;
}

.swiper-button-prev-custom, .swiper-button-prev-custom-gallery-slider {
    content: url(https://lescopilotes.fr/wp-content/uploads/2023/09/pagination_left.svg);
    margin-right: 10px;
}


/* Responsive */
@media ( max-width: 1500px ) { 
    .mySwiper2, .mySwiper3 {
        height: 550px;
        width: 980px;
    }

    .mySwiper2 .swiper-slide .swiper-slide__content img {
        height: 60px;
        width: auto;
    }
    
    .mySwiper2 .swiper-slide .swiper-slide__content h3 {
        font-size: 25px;
        font-weight: bold;
        color: white;
        line-height: 35px;
        max-width: 90%;
    }
    
    .mySwiper2 .swiper-slide .swiper-slide__content p {
        font-size: 14px;
        font-weight: 300;
        color: white;
        line-height: 30px;
        max-width: 90%;
    }
}

@media ( max-width: 1024px ) { 
    .mySwiper2, .mySwiper3 {
        height: 500px;
        width: 100vw;
    }

    .mySwiper2 .swiper-slide .swiper-slide__content img {
        height: 60px;
        width: auto;
    }
    
    .mySwiper2 .swiper-slide .swiper-slide__content h3 {
        font-size: 25px;
        font-weight: bold;
        color: white;
        line-height: 35px;
        max-width: 90%;
    }
    
    .mySwiper2 .swiper-slide .swiper-slide__content p {
        font-size: 14px;
        font-weight: 300;
        color: white;
        line-height: 30px;
        max-width: 90%;
    }
}

@media ( max-width: 860px ) { 
    .swiper-pagination-custom, .swiper-pagination-custom-gallery-slider {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        padding: 50px 0 0 0;
    }
}

@media ( max-width: 767px ) { 
    .mySwiper2, .mySwiper3 {
        height: 400px;
    }

    .mySwiper3 {
        margin-left: -50px;
    }

    .mySwiper2 .swiper-slide .swiper-slide__content img {
        height: 40px;
        width: auto;
    }
    
    .mySwiper2 .swiper-slide .swiper-slide__content h3 {
        font-size: 20px;
        font-weight: bold;
        color: white;
        line-height: 30px;
        max-width: 90%;
    }
    
    .mySwiper2 .swiper-slide .swiper-slide__content p {
        font-size: 12px;
        font-weight: 300;
        color: white;
        line-height: 25px;
        max-width: 95%;
	margin: 0;
    }
}

@media ( max-width: 600px ) { 
    .mySwiper3 {
        height: 300px;
    }
}