/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

.mobile-only {
    display: none !important;
}
 
/* Header slider */
.divi8_testimonial_carousel_lite_0_tb_header .swiper-pagination,
.divi8_testimonial_carousel_lite_0_tb_header .swiper-navi-container,
.divi8_testimonial_carousel_lite_0_tb_header .swiper-slide .social-media-container,
.divi8_testimonial_carousel_lite_0_tb_header .swiper-slide .position_design,
.divi8_testimonial_carousel_lite_0_tb_header .swiper-slide .name_design,
.divi8_testimonial_carousel_lite_0_tb_header .swiper-slide img{
  display: none !important;
}

.divi8_testimonial_carousel_lite_0_tb_header .swiper-slide .carousel_content{
  background: transparent !important;
}

.divi8_testimonial_carousel_lite_0_tb_header .swiper-slide p {
		color: #FFF !important;
    font-weight: 300;
    line-height: 20px;
    padding: 7px !important;
    text-align: center !important;
}

.divi8_testimonial_carousel_lite_0_tb_header .divi8_testimonial_carousel_item_lite{
  margin: 0 !important;
}

/* Bloc FAQ */
/* .et_pb_accordion_0 .et_pb_toggle .et_pb_toggle_content{
    border: 1px solid #FFF;
} */
.et_pb_accordion_0 .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_content{
    max-height: 1000px !important;
}

/* Mobile header mobile */
@media ( max-width: 981px ){
    .et_pb_menu_0_tb_header .mobile_nav .et_mobile_menu li.active a:after{
        transform: rotate(-180deg);
    }
}

@media (max-width: 981px){
    .page .et_pb_accordion_0 .et_pb_toggle .et_pb_toggle_title{
        padding: 10px 40px 10px 25px!important;
        border-radius: 30px;
    }

    .page .et_pb_accordion_0 .et_pb_toggle_content{
        padding: 20px 25px 20px !important;
    }

    .page .et_pb_accordion_0 .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_content{
        padding: 50px 25px 25px !important;
        margin-top: -30px !important;
        border-radius: 0 0 20px 20px;
    }
}


/* Custom single Article styling  */

.single-post #main-content .entry-content h2{
    font-size: 32px;
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 0;
    font-family: 'Clashdisplay-semibold' !important;
}
.single-post #main-content .entry-content h3{
    font-size: 28px;
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 0;
    font-family: 'Clashdisplay-semibold' !important;
}
.single-post #main-content .entry-content h4{
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 0;
    font-family: 'Clashdisplay-semibold' !important;
}

.single-post #main-content .container{
    width: 100%;
    max-width: 1512px;
    padding: 0 !important;
    padding: 0 15px !important;
}

.single-post #main-content .lwp_divi_breadcrumbs{
    margin-bottom: 90px;
}

.single-post #main-content .lwp_divi_breadcrumbs span{
    color: #000;
    font-size: 12px;
    line-height: 12px;
}

.single-post #main-content .lwp_divi_breadcrumbs span.separator{
    font-size: 20px !important;
  margin-top: -4px;
}

.single-post #main-content .lwp_divi_breadcrumbs .home span{
    font-size: 0 !important;
}

.single-post #main-content .lwp_divi_breadcrumbs .home:before{
    content: '';
  font-family: ETmodules !important;
  font-size: 16px;
  color: #000;
}


.single-post #main-content .container::before{
    display: none !important;
}

.single-post #main-content .entry-title {
    color: #000;
    text-align: center;
    font-size: 70px;
    font-style: normal;
    font-weight: 700;
    line-height: 114.962%;
    font-family: 'Clashdisplay-bold',Helvetica,Arial,Lucida,sans-serif !important;
    margin-bottom: 90px;
}

.single-post #main-content .et_post_meta_wrapper img{
    width: 100%;
  border-radius: 30px;
  margin-bottom: 70px;
  height: 750px;
  object-fit: cover;
}

@media (max-width: 981px){

    .mobile-only {
        display: block !important;
    }

    .single-post #main-content .lwp_divi_breadcrumbs{
        margin-bottom: 50px;
    }
    
    .single-post #main-content .entry-title{
        font-size: 40px;
        margin-bottom: 50px;
    }

    .single-post #main-content .et_post_meta_wrapper img{
        height: 366px;
        margin-bottom: 50px;
    }
}

/* Bloc Nos ressources */
.bloc-nos-ressources .bloc-nos-ressources-header{
    margin-bottom: 100px;
    padding: 0 100px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-search-wrapper{
    position: relative;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-search{
    min-width: 440px;
    max-width: 100%;
    border: 1px solid #000;
    padding: 5px 34px 5px 10px;
    font-size: 20px;
    border-radius: 50px;
    color: #000;
    background-image: url('/wp-content/themes/divi-child/images/icons/icon-search.svg');
    background-repeat: no-repeat;
    background-position: center right 10px;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-search-clear{
    position: absolute;
    top: 3px;
    right: 4px;
    width: 32px;
    height: 32px;
    background-color: #FFF;
    font-family: ETmodules !important;
    text-align: center;
    font-size: 32px;
    border-radius: 50px;
    cursor: pointer;
    display: none;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-search-clear:after{
    content: "\4d" !important;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-taxos label{
    border: 1px solid #000;
    padding: 7px 15px;
    font-size: 20px;
    line-height: 100%;
    margin: 0 10px 10px 0;
    display: inline-block;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-taxos label:hover{
    border-color: #6E50E2;
}

.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-taxos label:has(input[type="checkbox"]:checked) {
    background-image: linear-gradient(90deg,#6e50e2 0%,#8f7aa9 100%);
    color: #FFF;
    border: none;
}
.bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-taxos label input{
    display: none;
}

.bloc-nos-ressources .bloc-nos-ressources-results{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3%;
}

.bloc-nos-ressources[data-paged="1"] .bloc-nos-ressources-results .post-item:nth-child(n+6),
.bloc-nos-ressources[data-paged="1"] .bloc-nos-ressources-pagination{
    display: none;
}

.bloc-nos-ressources .bloc-nos-ressources-results .show-more-articles-wrapper{
    display: block;
    width: 100%;
    text-align: center;
}

.bloc-nos-ressources .bloc-nos-ressources-results .show-more-articles{
    color: #FFF !important;
    border-radius: 50px;
    font-family: 'Clashdisplay-medium',Helvetica,Arial,Lucida,sans-serif !important;
    background-image: linear-gradient(90deg,#6e50e2 0%,#8f7aa9 100%);
    padding: 3px 20px 2px;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.bloc-nos-ressources .bloc-nos-ressources-results .show-more-articles:hover{
    background-image: linear-gradient(90deg,#8f7aa9 0%,#8f7aa9 100%);
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item.active{
    display: block !important;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item{
    width: 31%;
    margin-bottom: 30px;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item:nth-child(1),
.bloc-nos-ressources .bloc-nos-ressources-results .post-item:nth-child(2){
    width: 48%;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item a{
    color: #000 !important;
    text-decoration: none;
    margin-bottom: 40px;
    display: block;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item .post-thumbnail{
    width: 100%;
    height: 484px;
    background-image: url('/wp-content/themes/divi-child/images/post-thumbnail-placeholder.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 48px;
    border-radius: 30px;
    overflow: hidden;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item .post-thumbnail img{
    width: 100%;
    height: 484px;
    object-fit: cover;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item:nth-child(1) .post-thumbnail,
.bloc-nos-ressources .bloc-nos-ressources-results .post-item:nth-child(2) .post-thumbnail{
    height: 366px;
} 

.bloc-nos-ressources .bloc-nos-ressources-results .post-item:nth-child(1) .post-thumbnail img,
.bloc-nos-ressources .bloc-nos-ressources-results .post-item:nth-child(2) .post-thumbnail img{
    height: 366px;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item .post-title{
    font-size: 27px;
    font-weight: 700;
    font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
    margin-bottom: 20px;
    padding: 0;
}

.bloc-nos-ressources .bloc-nos-ressources-results .post-item .post-excerpt{
    font-size: 20px;
    margin-bottom: 20px;
}

.bloc-nos-ressources .bloc-nos-ressources-readmore-wrapper .bloc-nos-ressources-readmore-btn{
    background-image: linear-gradient(90deg,#6e50e2 0%,#8f7aa9 100%);
    color: #FFF;
    border: none;
    font-size: 20px;
    padding: 5px 15px;
    border-radius: 50px;
    font-family: 'Clashdisplay-medium',Helvetica,Arial,Lucida,sans-serif !important;
    margin: 70px 0 0;
    cursor: pointer;
    transition: all 0.5s;
}

.bloc-nos-ressources .bloc-nos-ressources-readmore-wrapper .bloc-nos-ressources-readmore-btn:hover{
    background: #6E50E2;
}

.bloc-nos-ressources .bloc-nos-ressources-pagination{
    display: flex;
    justify-content: center;
    padding: 35px 0 0;
    gap: 15px;
    font-weight: 500;
    text-align: center;
}

.bloc-nos-ressources .bloc-nos-ressources-pagination *{
    margin: 0 10px;
}

@media (max-width: 1440px){}

@media (max-width: 981px){
    .bloc-nos-ressources .bloc-nos-ressources-header{
        flex-direction: column;
        padding: 0;
        align-items: center;
        margin: 0 0 50px;
    }

    .bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-search{
        min-width: 100%;
    }

    .bloc-nos-ressources .bloc-nos-ressources-header .bloc-nos-ressources-taxos{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bloc-nos-ressources .bloc-nos-ressources-results {
        flex-direction: column;
    }

    .bloc-nos-ressources .bloc-nos-ressources-results .post-item{
        width: 100% !important;
    }

    .bloc-nos-ressources .bloc-nos-ressources-results .post-item .post-thumbnail,
    .bloc-nos-ressources .bloc-nos-ressources-results .post-item .post-thumbnail img{
        height: 366px !important;
    }
}

/* Header slider */
.header-slider-wrapper .header-slider-slide{
    text-align: center;
    color: #FFF;
    line-height: 16px;
    padding: 5px;
    font-size: 16px;
}

.header-slider-wrapper .slick-track{
    display: flex;
    align-items: center;
}

/* Home slider */
.home-slider-wrapper{
    max-height: 800px;
    overflow: hidden;
}

.home-slider-wrapper .home-slider{
    position: relative;
}

.home-slider-wrapper .home-slider .slick-prev{
    left: 0;
    z-index: 100;
    height: 100%;
    width: 100px;
}

.home-slider-wrapper .home-slider .slick-prev::before{
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #FFF;
    border-left: 0;
    border-bottom: 0;
    display: block;
    margin: 0 auto;
    transform: rotate(-135deg);
}

.home-slider-wrapper .home-slider .slick-next{
    right: 0;
    z-index: 100;
    height: 100%;
    width: 100px;
}

.home-slider-wrapper .home-slider .slick-next::before{
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #FFF;
    border-right: 0;
    border-bottom: 0;
    display: block;
    margin: 0 auto;
    transform: rotate(135deg);
}

.home-slider-wrapper .home-slider .slick-dots{
    bottom: 100px;
}

.home-slider-wrapper .home-slider .slick-dots li button{
    border-radius: 50px;
    border: 1px solid #D9D9D9;
}
.home-slider-wrapper .home-slider .slick-dots li button::before{
    display: none !important;
}

.home-slider-wrapper .home-slider .slick-dots li.slick-active button{
    background: #D9D9D9;
}

@media ( max-width: 981px ){

    .home-slider-wrapper .home-slider{
        max-height: 750px;
    }

    .home-slider-wrapper .home-slider .slick-dots{
        bottom: -10px;
    }

    .home-slider-wrapper .home-slider .slick-prev,
    .home-slider-wrapper .home-slider .slick-next{
        width: 50px;
    }

    .home-slider-wrapper .home-slider .slick-prev::before,
    .home-slider-wrapper .home-slider .slick-next::before{
        width: 20px;
        height: 20px;
    }
}

/* Home articles wrapper */
.home-articles-wrapper{
    width: 1512px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.home-articles-wrapper .home-articles .home-articles-slide{
    margin-right: 50px;
}

.home-articles-wrapper .home-articles .home-articles-slide a{
    color: #000 !important;
    text-decoration: none;
}

.home-articles-wrapper .home-articles .home-articles-slide .post-thumbnail{
    width: 100%;
    height: 500px;
    background-image: url('/wp-content/themes/divi-child/images/post-thumbnail-placeholder.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 48px;
    border-radius: 30px;
    overflow: hidden;
}

.home-articles-wrapper .home-articles .home-articles-slide .post-thumbnail img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.home-articles-wrapper .home-articles .home-articles-slide .post-title{
    font-size: 25px;
    font-weight: 700;
    font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
    margin-bottom: 20px;
    padding: 0;
}

.home-articles-wrapper .home-articles .home-articles-slide .post-excerpt{
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 20px;
}

@media (max-width: 981px){
    .home-articles-wrapper{
        padding: 0 25px;
    }

    .home-articles-wrapper .home-articles .home-articles-slide{
        margin-right: 25px;
    }

    .home-articles-wrapper .home-articles .home-articles-slide .post-thumbnail img,
    .home-articles-wrapper .home-articles .home-articles-slide .post-thumbnail{
        height: 300px;
    }
}

/* Tarifs */
.tarif-details-toggle{
    cursor: pointer;
}

