/*
 Theme Name:     Divi Child
 Theme URI:      http://wptheme.fr/theme-wordpress-divi/
 Description:    Theme Enfant Divi
 Author:         WPTheme.fr
 Author URI:     http://wptheme.fr/
 Template:       Divi
 Version:        2020
*/
 
 
/* =Vous pouvez personnalisez à partir d'ici. 
------------------------------------------------------- */
body {
    font-family: Raleway;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
    /*margin-bottom: 30px;*/
    color: #303030;
}


a, .single #main-content strong, .archive #main-content strong {
    color: #cd2122;
}

li::marker {
    color: #cd2122;
}

.single #main-content strong, .archive #main-content strong {
    font-weight: normal;
}

.single #et-main-area ul, .single #et-main-area p, .single #et-main-area h1, .single #et-main-area h2, .single #et-main-area h3, .single #et-main-area h4, .single #et-main-area h5:not(.et_pb_toggle_title) {
    padding-bottom: 0!important;
}

/* menu desktop*/
@media (min-width: 981px){
    /*#menu-menu > li {
        position: unset;
    }
    .sub-menu {
        width: 100vw!important;
        columns: 2;
        padding: 40px 20vw!important;
        border-top: unset!important;
        color: white;
    }

    .sub-menu li {
        width: 28vw;
        border-bottom: solid 0.5px;
        text-align: left;
        padding: 0!important;
        margin-left: 0.5vw;
    }

    .sub-menu li a {
        padding: 6px 0px!important;
    }
    #menu-menu li a::after {
        content: '';
    }
    .et-menu .menu-item-has-children>a:first-child {
        padding-right: 0px;
    }*/
}

@media (min-width: 981px) and (max-width: 1350px){
    /*.sub-menu {
        left: -10vw!important;
    }*/
}

@media (min-width: 1351px){
    /*.sub-menu {
        left: calc((1080px - 100vw) / 2)!important;
    }*/
}

.et_pb_section--with-menu {
    background-color:  #008547;
}

.et_pb_section--with-menu a {
    color: white;
}

.et_pb_fullwidth_menu .et-menu > li {
    padding-left: 30px;
    padding-right: 30px;
  }

/* header bleu*/

#header_title h1 {
    width: fit-content;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

#header_title .et_pb_text_inner:before {
    content:' ';
    background-image: url('/images/logocalvi.png');
    width: 60px;
    height: 60px;
    display: block;
    background-size: contain;
    border-radius: 50px;
    background-color: white;
    margin-right:10px;
}

#header_title .et_pb_text_inner {
    display: flex;
    justify-content: center;
}

@media (max-width: 980px){
    #header_menu {
        height: 0;
    }

    #header_menu .et_pb_menu__wrap {
        position: absolute;
        top: -75px;
        display: block;
        z-index: 100000000;
    }

    #header_menu .et_mobile_menu {
            /*display: block;*/
            width: 100vw;
            /*margin-left: -10vw;*/
            margin-top: 20px;
            border-top: 0px;
    }

    #header_menu .mobile_menu_bar:before {
        font-size: 60px;
        color: white;
    }

    #header_menu .mobile_nav.opened .mobile_menu_bar:before{
        content: "\4d";
    }

    #header_title h1 {
        display: none;
    }

    #header_title .et_pb_text_inner:before {
        margin-right:0px;
    }

    #enunclic_accueil, #demarches_accueil, #insta_accueil {
        padding-bottom: 100px;
    }

    #insta_accueil .bouton_bloc_blanc {
        bottom: 50px;
    }
}

@media (min-width: 981px){
    #bande_footer .et_pb_column_1_4 {
        width: 20.875%;
    }

    #bande_footer .et_pb_column {
        margin-right: 0;
    }

    #bande_footer .et_pb_column_1_2 {
        width: 58.25%;
    }

    #bande_footer .et_pb_column {
        margin-right: 0!important;
    }

    .titre_droit h1{
        width: fit-content;
        background-color: #edeae7;
        padding-right: 10px;
        z-index: 100000000;
    }

    .titre_droit .et_pb_divider, .titre_gauche .et_pb_divider, .titre_bloc_bleu .et_pb_divider {
        margin-top: -35px;
    }

    .titre_droit .et_pb_text:nth-of-type(2) .et_pb_text_inner{
        display: flex;
        justify-content: end;
    }

    .titre_droit h1{
        width: fit-content;
        background-color: #edeae7;
        padding-left: 10px;
        z-index: 100000000;
        position: inherit;
        padding-bottom: 0;

    }

    .titre_gauche h1{
        width: fit-content;
        background-color: white;
        padding-right: 10px;
        z-index: 100000000;
        position: inherit;
        padding-bottom: 0;
    }

    .titre_bloc_bleu h1{
        width: fit-content;
        background-color: #005670;
        padding-right: 10px;
        z-index: 100000000;
        position: inherit;
        padding-bottom: 0;
    }

    .bouton_bloc_beige, .bouton_bloc_blanc {
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
    }

    .titre_droit .et_pb_text:nth-of-type(1), .titre_gauche .et_pb_text:nth-of-type(1), .titre_bloc_bleu .et_pb_text:nth-of-type(1) {
        margin-bottom: 5px!important;
        min-height: 23.8px;
    }
    footer .et_pb_image_wrap img {
        /*margin-top: -120px;*/
    }

    footer .et_pb_section:not(#bande_footer) .et_pb_column {
        /*width: calc((100vw - 120px) / 5)!important;
        margin-right: 0!important;*/
    }
    .et_pb_row_5col {
        /*width: calc(100vw - 120px);
        max-width: unset;*/
    }
    footer .et_pb_row {
        width: 100%;
        max-width: unset;
    }

    footer .et_pb_divider::before {
        width: 60%!important;
        margin-left: 20%!important;
        border-top-color: white!important;
      }
}



#bande_footer .et_pb_column {
    margin-bottom: 0;
}

@media (max-width: 980px){
    #bande_footer .et_pb_column:nth-of-type(1) {
        order: 2;
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
    }
    #bande_footer .et_pb_column:nth-of-type(2) {
        order: 1;
        display: flex;
    }
    #bande_footer .et_pb_column:nth-of-type(3) {
        order: 3;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    #bande_footer .et_pb_row {
        display: flex;
        flex-direction: column;
    }
    .titre_droit .et_pb_text:nth-of-type(2), .titre_gauche .et_pb_text:nth-of-type(2), .titre_bloc_bleu .et_pb_text:nth-of-type(2) {
        margin-bottom: 0!important;
    }
    .titre_droit .et_pb_text:nth-of-type(1), .titre_gauche .et_pb_text:nth-of-type(1), .titre_bloc_bleu .et_pb_text:nth-of-type(1) {
        margin-bottom: 10px!important;
        min-height: 23.8px;
    }
    .bouton_bloc_beige .et_pb_button_module_wrapper , .bouton_bloc_blanc .et_pb_button_module_wrapper {
        text-align: center;
    }
    footer .et_pb_row {
        width: calc(100% - 20px)!important;
    }
    footer img {
        margin-top: -150px;
    }
}

.et_pb_image_0_tb_footer {
    text-align: center!important;
  }

#bande_footer a {
    color: white!important;
}

#bande_footer .et_pb_social_media_follow li {
    width: 100%;
    margin-bottom: 0;
}

#bande_footer .et_pb_social_media_follow a {
    margin-right: 0!important;
}

#bande_footer .et_pb_social_media_follow {
  width: 240px;
  display: flex;
  justify-content: space-evenly;
}

#bande_footer {
    padding-top: 10px;
    padding-bottom: 10px;
}

#bande_footer .et_pb_row {
    display: flex;
    align-items: center;
}

.et-main-area .et_pb_section {
    padding-bottom: 100px;
}

.bouton_bloc_beige, .bouton_bloc_blanc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.img_bloc_bleu {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 0 !important;
}

.bloc_bleu {
    padding-bottom: 0!important;
}

/*@media (max-width: 768px){
    .img_bloc_bleu {
        position: inherit;
    }

    .img_bloc_bleu .et_pb_column {
        margin-bottom: 0;
    }
}*/

@media (max-width: 980px){
    .et_pb_section--with-menu {
        /*display: none;*/
        height: 0!important;
    }

    .img_bloc_bleu {
        position: inherit;
    }

    .img_bloc_bleu .et_pb_column {
        margin-bottom: 0;
    }
}

.sb_instagram_header, #sbi_load {
    display: none;
}

.et_pb_widget_area_left {
    border-right: unset
  }

#widget_bar {
    width: fit-content;
    position: absolute;
    top: 0;
    right: 0;
    border: unset;
}

.et_pb_menu__search-button {
    font-size: 25px!important;
    margin-top: -10px!important;
    color: white;
}

body:not(.home) #recherche {
    display: none;
}

/*#recherche.visible {
    display: block!important;
}

.home #recherche {
    position: absolute;
    background-color: transparent;
    left: 0;
    right: 0;
    bottom: -55px;
    z-index: 1000;
}

#recherche .et_pb_row {
    max-width: 500px;
}

#recherche form {
    background-color: white;
    border-radius: 0;
    padding: 7px 5px;
}

#recherche .et_pb_module {
    border-radius: 0;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.25);
}

#recherche .et_pb_searchsubmit {
    background-color: #cd2122;
    color: white;
}*/

.home #widget_bar {
    display: none;
}

body:not(.home) #calvi360 {
    display: none;
}

@media (max-width: 980px){
#footer_bleu .et_pb_image_wrap {
    display: flex;
    justify-content: center;
}

#footer_bleu .et_pb_image_wrap img{
    margin-top: -100px;
    width: 150px;
}

#header_menu .et_pb_row {
    width: 100%;
}
}

#footer_bleu .et_pb_module {
    margin-bottom: 10px;
}

.cff-posts-wrap {
    max-height: 350px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cff-posts-wrap::-webkit-scrollbar {
    display: none;
}

/*style pour le menu en mobile*/
header .et_mobile_menu .menu-item-has-children > a { 
    background-color: transparent;
    position: relative;
}
header .et_mobile_menu > li { 
    /*border-bottom: solid 1px #707070;*/
}
header .et_mobile_menu .et_first_mobile_item{ 
    /*border-top: solid 1px #707070;*/
}
header .et_mobile_menu .menu-item-has-children > a:after { 
    font-family: 'ETmodules';
    text-align: center;
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    position: absolute; 
}
header .et_mobile_menu .menu-item-has-children > a:after { 
    font-size: 25px;
    content: '5';
    /*top: 13px;*/
    right: 10px; 
}
header .et_mobile_menu .menu-item-has-children.visible > a:after { 
    content: '3';
}
header .et_mobile_menu ul.sub-menu { 
    display: none !important;
    visibility: hidden !important;
    transition: all 1.5s ease-in-out;
}
header .et_mobile_menu .visible > ul.sub-menu { 
    display: block !important;
    visibility: visible !important; 
}
/*fin style pour le menu en mobile*/

.search .imgsearchdiv {
    /*width: 30%;*/
    min-width: 200px;
}

.search .imgsearchdiv img{
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    max-height: 200px;
}

.search .imgsearchdiv a{
    margin-bottom: 0;
}


.search article {
    display: flex;
}

.search .contentsearchdiv {
    width: 100%;
    border: solid 1px #DEDEDE;
    border-left: unset;
    padding: 20px 50px;
}

.search .contentsearchdiv h2{
    font-family: 'Manrope';
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.02em;
    text-align: left;
    color: #303030;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.search .contentsearchdiv p {
    font-family: 'Raleway';
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
    color: #474747;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.search .contentsearchdiv .post-content {
    margin-bottom: 15px;
}

.search .contentsearchdiv .published {
    color: black;
    font-family: 'Raleway';
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;

}

.search article {
    margin-bottom: 28px;
}


.filtersearch {
    display: flex;
    overflow-x: scroll;
    width: 100%;
    cursor: pointer;
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-size: 20px !important;
    height: 65px;
}

.filtersearch::-webkit-scrollbar {
    display: none;
}

#allsearch {
    margin-left: 0;
  }
.filtersearch div {
    margin: 17px 20px;
    margin-left: 20px;
    font-size: 16px;
    font-family: 'Raleway';
    line-height: 30px;
}
.searchactive {
    padding: 4px 12px;
    background: #cd2122;
    border-radius: 24px;
    color: white;
    line-height: 20px !important;
}

.resulttotalsearch {
    margin-top: 20px;
    margin-bottom: 20px;
}

.search .imgsearchdiv a::after {
    content: '';
    height: 50px;
    width: 5px;
    background-color: #CD2122;
    display: block;
    position: absolute;
    right: -5px;
    top: 50px;
}

.search article:hover .imgsearchdiv a::after {
    top: 0 !important;
    height: 100% !important;
  }

  .lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #CD2122;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #CD2122 transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

.et_pb_ajax_pagination_container, .resulttotalsearch {
    display: none;
}

#loader {
    display: flex;
    justify-content: center;
}
  
@media (max-width: 768px){
    .search article {
        display: block;
    }

    .search .contentsearchdiv {
        padding: 20px;
        border: unset;
    }

    .search .imgsearchdiv a::after {
        content: '';
        height: 5px;
        width: 50px;
        background-color: #CD2122;
        display: block;
        position: absolute;
        right: 50px;
        top: unset;
        bottom: -5px;
    }
    
    .search article:hover .imgsearchdiv a::after {
        left: 0 !important;
        width: 100% !important;
        top: unset !important;
        height: 5px !important;
    }
}

.titre_site .titre_bloc {
    width: fit-content;
    background-color: white;
    padding-right: 10px;
    z-index: 100000000;
    position: inherit;
    padding-bottom: 0;
    font-family: 'Rufina',Georgia,"Times New Roman",serif;
    font-size: 60px!important;
    color: #005670!important;
    line-height: 64px;
}

.titre_site, .titre_2, .text_edit, .galerie_photo, .titre_site .et_pb_row, .titre_2 .et_pb_row, .text_edit .et_pb_row, .img_edit, .img_edit .et_pb_row, .galerie_photo .et_pb_row, .citation, .citation .et_pb_row, .remarque_edit, .remarque_edit .et_pb_row, .accordeon, .accordeon .et_pb_row, .listingPDFBloc, .listingPDFBloc .et_pb_row {
    padding: 0!important;
}

.titre_2 {
    font-family: Manrope;
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.02em;
    text-align: left;
    color: #303030;
    margin-bottom: 30px;
}

.titre_site {
    margin-bottom: 40px;
}

.text_edit, .galerie_photo {
    font-family: Raleway;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
    margin-bottom: 30px;
}

.img_edit {
    margin-bottom: 40px;
}

.img_edit .et_pb_module {
    margin-bottom: 0!important;
}

.img_edit .et_pb_text{
    font-family: Raleway;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: right;
    margin-top: 5px;
}

.galerie_photo .galerie_masonry {
    margin-bottom: 20px;
}

.citation {
    font-family: Rufina;
    font-size: 60px;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: 0em;
    text-align: left;
    color: #005670;
}

.citation .et_pb_testimonial {
    background-color: white!important;
    padding:0;
}

.citation .et_pb_testimonial p{
    padding:0;
}

.et_pb_testimonial::before {
    font-size: 180px;
    left: unset;
    background: transparent;
    z-index: 2;
    right: -40px;
    opacity: 0.3;
    top: -20px;
  }

.citation, .remarque_edit, .accordeon {
    margin-bottom: 50px;
}
  
.single #main-content a, .archive #main-content a{
    /*text-decoration: underline;*/
}

.remarque_edit .et_pb_text_inner {
    background: #EDEAE6;
    padding: 20px 30px;
}

.bloc_couleur h2 {
    font-family: Manrope;
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.02em;
    text-align: left;
    color: #303030;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bloc_couleur img, .triptyque img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (min-width: 981px){
    .bloc_couleur .et_pb_row {
        display: flex;
        align-items: center;
    }

    .triptyque .et_pb_column_1_3, .triptyque .et_pb_column_1_3 {
        width: 32.666%;
    }

    .triptyque .et_pb_column, .triptyque .et_pb_column {
        margin-right: 1%;
    }
}

.accordeon .et_pb_toggle_open .et_pb_toggle_title::before {
    display: block;
}

.accordeon .et_pb_toggle_open, .accordeon .et_pb_toggle_close {
    padding: 0;
}

.accordeon .et_pb_toggle_title::before {
    right: 20px!important;
}

.accordeon .et_pb_toggle_title {
    padding: 20px!important;
    background-color: #005670;
    font-family: Manrope;
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.02em;
    text-align: left;
    color: white!important;
}

.accordeon .et_pb_toggle_content {
    background-color: #0056700d;
    padding: 40px 60px;
}

.et_pb_toggle_title::before {
    color: white;
}

.accordeon .et_pb_toggle_content h2, .accordeon .et_pb_toggle_content h3, .accordeon .et_pb_toggle_content h4, .accordeon .et_pb_toggle_content h5, .accordeon .et_pb_toggle_content h1{
    font-family: Manrope;
    font-size: 18px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.02em;
    text-align: left;
    color:#303030;
    margin-bottom: 10px;
}


.single #main-content ul, .archive #main-content ul, .single #main-content ol, .archive #main-content ol {
    margin-left: 20px;
}

.accordeon .et_pb_toggle_close .et_pb_toggle_title::before {
    content: "\32";
}

.accordeon .et_pb_toggle_open .et_pb_toggle_title::before {
    content: "\33";
}

.accordeon .et_pb_toggle_title::before {
    font-size: 55px;
}

/* Fil Ariane */
.home #breadcrumbsection {
    display: none;
}

.breadcrumb a {
    color:#cd2122;
}

#breadcrumbsection .et_pb_code_inner {
    display: flex;
    justify-content: space-between;
}

#breadcrumbsection .et_pb_code_inner {
        display: block;
        text-align: left;
    }

header #breadcrumbsection .et_pb_column{
    width: 100%!important;
}

#breadcrumbsection {
    margin-bottom: 20px;
    padding: 0;
}

#breadcrumbsection .et_pb_row{
    padding-bottom: 0!important;
}

.breadcrumb {
    box-shadow: 4px 4px 10px -2px #00000026;
    padding: 10px 0;
    padding-right: 0px;
    width: fit-content;
    padding-right: 5px;
}

/* fin fil ariane */

#recherche {
    padding: 0;
}

.container {
    padding-top: 0!important;
}

.triptyque .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background-color: #edeae6;
}

.et-db #et-boc .et-l .et-fb-form__toggle h3 {
    padding-bottom: 20px!important;
}

@media (max-width: 980px){
    .bloctriptyque {
        display: none;
    }
    .blocimgdroite {
        display: flex;
        flex-direction: column-reverse;
    }
    .blocimggauche {
        display: flex;
        flex-direction: column;
    }
    .blocimgdroite .et_pb_column:nth-of-type(2){
        margin-bottom: 15px;
    }
    .bloc_couleur .et_pb_column {
        margin-bottom: 15px;
    }
    .et_pb_testimonial::before {
        font-size: 120px;
    }
    .blocimgdroite .et_pb_text, .blocimggauche .et_pb_text {
        margin-bottom: 10px;
    }
}

@media (min-width: 981px){
    .swiper-triptyque{
        display: none;
    }
}

@media (max-width: 768px){
    .titre_site .titre_bloc {
        font-family: Rufina;
        font-size: 38px!important;
        font-weight: 400;
        line-height: 50px;
        letter-spacing: 0em;
        text-align: left;

    }
    .titre_2 h2 {
        font-family: Manrope;
        font-size: 20px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.02em;
        text-align: left;
    }
    .bloc_couleur h2 {
        font-family: Manrope;
        font-size: 18px;
        font-weight: 600;
        line-height: 32px;
        letter-spacing: 0.02em;
        text-align: left;
    }
    .citation {
        font-family: Rufina;
        font-size: 38px;
        font-weight: 400;
        line-height: 50px;
        letter-spacing: 0em;
        text-align: left;
    }
    .titre_site {
        margin-bottom: 0px;
    }
    .titre_site .et_pb_divider {
        margin-top: 10px;
    }
    .titre_2 {
        margin-bottom: 20px;
    }
    .accordeon .et_pb_toggle_title {
        font-size: 20px;
        font-weight: 600;
        line-height: 32px;
    }
}

.et-menu {
	width: 50vw;
	justify-content: space-around;
}

.listingPDF a {
    text-decoration: unset!important;
}

.listingPDFBloc {
    margin-bottom: 40px;
}

.listingPDF h3 {
    font-family: Manrope;
    font-size: 18px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.02em;
    text-align: left;
}

.listingPDF {
    columns: 2;
}

#test-swiper {
    overflow: visible; /* Permet de voir les éléments qui débordent */
}


#test-swiper .swiper-wrapper {
    transition: transform 0.3s ease; /* Ajoute une animation fluide au déplacement */
}

@media (min-width: 981px){
    .swiper-section {
        display: flex;
    }

    body:not(.et-fb) #test-swiper .swiper-slide {
        opacity: 0.3; /* Par défaut, les diapositives non actives ont une opacité réduite */
        transform: scale(0.8); /* Effet de réduction pour les diapositives non actives */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Transition fluide */
        /*width: 25% !important;*/
        height: 368px;
        display: flex;
        align-items: center;
        width: 320px !important;
    }

    .swiper-section .et_pb_row:nth-child(1){
        width: 30%!important;
        max-width: unset;
        margin-top: auto;
        margin-bottom: auto;
        padding-left: 5% !important;
        margin-right: 5% !important;
    }
    
    #test-swiper {
        width: 70% !important;
        margin: 0;
        max-width: unset;
        overflow: hidden;
    }
}

.swiper-section .swiper-button-prev {
    bottom: 0 !important;
    top: unset;
}

.swiper-section .swiper-button-next {
    bottom: 0 !important;
    top: unset;
    left: 80px;
}

@media (max-width: 980px){
    body:not(.et-fb) #test-swiper .swiper-slide {
        opacity: 0.3; /* Par défaut, les diapositives non actives ont une opacité réduite */
        transform: scale(0.8); /* Effet de réduction pour les diapositives non actives */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Transition fluide */
        /*width: 25% !important;*/
        height: 368px;
        display: flex;
        align-items: center;
        width: 280px !important;
    }


    body:not(.et-fb) #test-swiper .swiper-slide-active {
        opacity: 1!important; /* Pleine opacité pour la diapositive active */
        transform: scale(1)!important; /* Pleine taille pour la diapositive active */
    }

    #test-swiper .swiper-wrapper{
        width: 100%!important;
    }

    .swiper-section .swiper-button-prev {
        left: calc(50% - 60px);
    }
    
    .swiper-section .swiper-button-next {
        left: calc(50% + 20px);
    }

    .swiper-section .et_pb_row:nth-child(1), .swiper-section .et_pb_row:nth-child(1) p {
    text-align: center;
    }

    .et_pb_column .et_pb_module {
        margin-bottom: 2.75%;
      }
}

@media (min-width: 981px) and (max-width: 1460px){
    body:not(.et-fb) #test-swiper .swiper-slide-active,body:not(.et-fb) #test-swiper  .swiper-slide-next {
        opacity: 1!important; /* Pleine opacité pour la diapositive active */
        transform: scale(1)!important; /* Pleine taille pour la diapositive active */
    }
}

@media (min-width: 1461px){
    body:not(.et-fb) #test-swiper .swiper-slide-active, body:not(.et-fb) #test-swiper  .swiper-slide-next,body:not(.et-fb) #test-swiper  .swiper-slide-prev {
        opacity: 1!important; /* Pleine opacité pour la diapositive active */
        transform: scale(1)!important; /* Pleine taille pour la diapositive active */
    }
}

.swiper-section .swiper-pagination {
    display: none;
}

.swiper-section .swiper-button-prev, .swiper-section .swiper-button-next {
    width: 40px;
    background-color: #DEDCC9;
    border: solid 3.5px #008547;
    color: #008547;
    border-radius: 5px;
}

#test-swiper a {
    color: #008547;
}

.swiper-section .swiper-button-next::after, .swiper-section .swiper-button-prev::after {
    font-size: 30px;
    background-color: #DEDCC9;
}

.swiper-section .swiper-button-prev:hover, .swiper-section .swiper-button-next:hover {
    color: #DEDCC9;
    background-color: #008547;
}

.swiper-section .swiper-button-prev:hover::after, .swiper-section .swiper-button-next:hover::after {
    background-color: #008547;
}

.multiplechoice-section .et_pb_row {
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.multiplechoice-section .et_pb_row:nth-child(1) .et_pb_column:nth-child(2) {
    padding-left: 50px;
    padding-right: 50px;
}

.multiplechoice-section h2{
    color: #FFF;
    text-align: right;
    font-family: Poppins;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 50px;
}

.multiplechoice-section p{
    color: #FFF;
    text-align: right;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; 
}

.multiplechoice-section .et_pb_button {
    border-radius: 5px;
    background-color: #FFF!important;
    box-shadow: 0px 0px 15px 3px rgba(30, 54, 54, 0.30);
    color: #008547;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px; /* 125% */
    width: 266px;
    height: 115px;
    flex-shrink: 0;
    padding: 30px!important;
    line-height: 55px !important;
}

.multiplechoice-section .et_pb_row:nth-child(2) {
    margin-top: -65px;
}