@media only screen
and (min-width : 1337px){
    #header_img{
        height: calc(100vh - 325px);
    }
}

@media only screen
and (max-width : 1337px){
    .carrouselle_swiper{
        max-width: 1026px;
    }
    
    .carrouselle_swiper .swiper-container{
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .carrouselle_swiper .carrousel_shadow_left,
    .carrouselle_swiper .carrousel_shadow_right{
        display: none;
    }
    
    
    .carrouselle_swiper .swiper-container .swiper-slide,
    .cont_fiche{
        width: 312px !important;
        height: 312px !important;
    }
    
    #liste_sort_fiche .cont_fiche, #ajax-load-more .cont_fiche{
        width: calc(33.33% - 30px) !important;
    }
    
    #single_sidebar #liste_sort_fiche .cont_fiche{
        width: calc(100% - 30px) !important; 
    }
}

@media only screen
and (max-width : 1026px){
    #mce-EMAIL{
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 10px;
    }
    
    #mc-embedded-subscribe{
        box-sizing: border-box;
        width: 100%;
        margin-left: 0;
    }
       
    .center,
    #appel_action .center2,
    #footer .center{
        width:100%;
        box-sizing: border-box;
    }
    
    #section1 .center {
        padding: 46px 15px;
    }
    
    #header_bottom{
        display: none;
    }
    
    #header_top_right #header_facebook,
    #header_top_right #header_blogue,
    #header_top_right #header_contact,
    #header_top_right #header_don{
        display: none;
    }
    
    #simple-menu{
        display: block;
    }
    
    
    #header_top,
    #header_fake{
        height: 71px;
    }
    
    #logo img{
        height: 38px !important;
        width: auto !important;
    }
    
    #header_top_left {
        margin: auto;
        padding-left: 71px;
    }
    
    #section1{
        height: calc(100vh - 71px);
    }
    
    #section5_cont > .liste_two_col:nth-child(even) .center_full,
    .center_full{
        flex-direction: column;
    }
    
    .center_full > div{
        width: auto;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .home .center_full > div{
        margin: 0 15px !important;
    }
    
    .center_full > div:last-child{
        display: block;
        padding: 30px 0 22px !important;
    }
    
    .hide_desktop{
        display: block !important;    
    }
}

@media only screen
and (max-width : 780px){
    #header_title h1{
        font-size: 30px;
        line-height: 1.2em;
    }
    
    #mce-EMAIL{
        width: auto;
    }
    
    #mc-embedded-subscribe{
        width: auto;
    }
    
    .space_bottom_40{
        padding-bottom: 0;
    }
    
    #liste_sort_fiche, #ajax-load-more .alm-ajax{
        margin-bottom: 0;
    }
    
    #section5_date{
        display: inline-block;
    }
    
    h2{
        font-size: 26px;
    }
    
    h3{
        font-size: 22px;
    }
    
    h4{
        font-size: 20px;
    }
    
    #appel_action{
        background: #ffdef2;
        padding: 50px 0;
    }
    
    #appel_action .appel_action_left{
        margin: 0;
    }
    
    #appel_action .appel_action_left > h2,
    .liste_two_col_titre,
    .titre_section,
    body .gform_wrapper h3.gform_title{
        font-size: 28px;
    }
    
    #appel_action .center2{
        flex-direction: column;
        text-align: center;
    }
    
    #appel_action .center2 a.btn{
        align-self: center;
        margin-top: 25px;
    }
    
    #footer {
        padding: 46px 0 49px;
    }
    
    #footer .footer_widget_ctn{
        flex-direction: column;
        text-align: center;
    }
    
    #footer_col1,
    #footer_col2,
    #footer_col3,
    #footer_col4{
        padding-right: 0;
        margin: auto;
    }
    
    #footer_col1{
        padding-bottom: 14px;
    }
    
    #footer_col2{
        padding-bottom: 26px;
    }
    
    #footer_col3{
        padding-bottom: 41px;
    }
    
    #footer_col4 a{
        margin: auto;
        display: inline-block;
    }
    
    #section1 h2{
        font-size: 40px;
    }
    
    #section1 h3{
        font-size: 30px;
    }
    
    #section2{
        padding: 46px 0 66px;
    }
    
    #section2_colonne{
        flex-direction: column;
    }
    
    #section2_colonne > div{
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #section2_colonne > div:first-child{
        padding-bottom: 10px;
    }
    
    .carrouselle_swiper{
        margin-bottom: 67px;
    }
    
    #section4{
        padding-top: 56%;
        padding-bottom: 52px;
        background-position: top center !important;
        background-size: contain !important;
    }
    
    #section4 .center > div{
        width: auto;
        padding-left: 0;
    }
    
    #sidebar_gestion{
        flex-direction: column;
    }
    
    #sidebar_gestion #single_content{
        width: 100% !important;
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    #sidebar_gestion #single_sidebar{
        width: 100% !important;
        padding-left: 0;
        padding-bottom: 30px;
    }
    
    #header_img{
        height: 0;
        padding-bottom: 57%;
    }
    
    #liste_sort_fiche .cont_fiche, #ajax-load-more .cont_fiche{
        width: calc(50% - 30px) !important;
    }
    
    #single_sidebar #liste_sort_fiche .cont_fiche{
        width: 312px !important; 
    }

    #activite_categorie_current{
        display: block;
    }
    
    #activite_categorie{
        display: none;
        flex-direction: column;
        /*display: none;*/
        border: 1px solid #ccc;
        position: absolute;
        top: 38px;
        left: 0;
        width: 100%;
        z-index: 99;
        background: #fff;
    }
    
    #activite_categorie_conteneur.open #activite_categorie{
        display: flex;
    }
    
    #activite_categorie > li{
        margin-right: 0;
        border-radius: 0;
    }
    
    #activite_categorie > li:after{
        display: none;
    }
    
    #mc_embed_signup{
        margin-top: 20px;
    }
    
    .mc-field-group{
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    
    #mce-EMAIL{
        margin-bottom: 10px;
        min-width: 290px;
    }
    
    #mc-embedded-subscribe{
        margin: auto;
    }
}

@media only screen and (max-width: 641px){
    body .gform_wrapper .ginput_container span:not(.ginput_price) {
        margin-bottom: 16px;
        display: block;
    }
    
    body .gform_wrapper .gform_footer input[type=submit]{
        width: auto;
    }
    
    body .gform_wrapper .top_label li.gfield.gf_left_half{
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    
    body .gform_wrapper .top_label li.gfield.gf_right_half{
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
}

@media only screen
and (max-width : 600px){
    #liste_sort_fiche .cont_fiche, #ajax-load-more .cont_fiche{
        width: calc(100% - 30px) !important;
    }
    
    #liste_fiche .fiche_membre{
        width: calc(100% - 30px);
    }
    
    #single_sidebar #liste_sort_fiche .cont_fiche{
        width: calc(100% - 30px) !important; 
    }
}

@media only screen
and (max-width : 400px){
    #header_top_left{
        padding-left: 0;
        margin-left: 15px;
    }
    
    #mce-EMAIL{
        min-width: 0;
        width: calc(100% - 40px);
    }
}

@media only screen
and (max-width : 350px){
    .carrouselle_swiper .swiper-container .swiper-slide{
        width: 100% !important;
        height: 300px !important;
    }
}