/* ***************************************************** */
/* ******************* RESPONSIVE ********************** */
/* ***************************************************** */


@media all and (max-width: 1439px) { 
    
} 


@media all and (max-width: 1280px) { 

    .sfm_sidebar .vc_wp_custommenu {
        position: fixed;
        margin-top: 50px;
        margin-left: 00px;
    }
}

@media all and (max-width: 1199px) { 
    .gp-logo a {
        left: 15px;
    }


    /* SECTION ET GROUPE */

    .element_groupe_de_travail .wpb_text_column {
        line-height: 1.3em;
        font-size: 25px;
    }
} 

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

    /* Slider HOME */
    .slider_home .bandeau_info {
        background: rgba(51, 51, 51, 0.7);
        padding: 30px 30px 30px 100px !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        height: auto !important;
    }

    .slider_home .bandeau_info p,
    .slider_home .bandeau_info h2{
        line-height: 1em !important;
    }

    .slider_home .ls-gui-element.ls-nav-next,
    .slider_home .ls-gui-element.ls-nav-prev{
    top: 45%;
    }

    .titre_h1_home {
        top: 150px !important;
        width: 100%;
    }

    .titre_h1_home h1{
        width: auto;
        text-align: center;
        margin-left: 0;
    }

    .sfm-entete,
    .sfm-edito{
        position: relative !important;
        top: 0px !important;
        right:0px !important;
        width: 100% !important;
        background-image: none !important;
        padding: 40px 20px;
    }

    .sfm-entete{
        background-color: white;
    }

    .sfm-edito{
        background-color: #DBA84F;
    } 

    /* SECTION QUI SOMMMES NOUS HOME */

    .bloc_quisommesnous_home .vc_column-inner{
        padding: 40px 30px !important;
    }    


    /* section Home Actu */
    .bloc_actualites_home .vc_col-sm-4 .wpb_single_image{
        margin-bottom: 10px !important
    }
    .bloc_actualites_home .vc_col-sm-4 h3{
        font-size: 16px !important;
        line-height: 1.3em !important;
    }
    
    /* section Home events */
    .bloc_prochains_evenements_home .vc_col-sm-6 {
        margin:0px !important;
    }

    /* *********************** */
    /* PAGES LA SFM ET GROUPES */
    /* *********************** */


    .page_header_cover,
    .page_header_cover_groupes_et_sections{
        border-top: 5px solid var(--couleur-orange);
    } 

    .padding-element-interrieur {
        padding: 0 35px;
    }

    .sfm_sidebar{
        padding-top: 40px;
    }
    .sfm_sidebar .vc_wp_custommenu {
        position: relative;
        margin-top: 0px;
        margin-left: 0px;
    }

    .sfm_sidebar .widget ul {
        display:flex;
    }

    .sfm_sidebar .widget li {
        margin: 10px;
        text-align:center;
        align-self: center;
        padding: 8px 5px 5px 5px;
    }

    .sfm_sidebar .widget li a{
        min-height:48px;
        display: flex;
        align-items: center;
    }

    .sfm_sidebar .widget li.current_page_item,
    .sfm_sidebar .widget li.current-page-ancestor{
        border: 1px solid;
    }

    .sfm_sidebar .widget li.parent_li_presentation_sfm.current-page-ancestor{
        border: 0px;
    }

    /* PAGE ORGANISATION */
    .awsm-grid-wrapper .awsm-grid>.awsm-grid-card {
        width: 33.333%;
    }

}

@media all and (max-width: 768px) { 

    /* *********************** */
    /* PAGES LA SFM ET GROUPES */
    /* *********************** */

    .sfm_sidebar{
        padding-top: 15px !important;
    }
    
    .sfm_sidebar .widget ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sfm_sidebar .vc_wp_custommenu{
        margin-bottom: 15px !important;
    }

    .sfm_sidebar .widget li {
        margin: 5px 10px;
    }

    .sfm_sidebar .widget li a{
        min-height: auto;
    }

    /* PAGE ORGANISATION */
    .grid-style.style-4 figcaption {
        padding: 20px 10px;
    }

    .gp-footer-widget {
        width: 100% !important;
        display: flex !important;
        margin-left: 0px !important;
    }

} 

@media all and (max-width: 575px) { 


    /* PAGE ORGANISATION */
    .awsm-grid-wrapper .awsm-grid>.awsm-grid-card {
        width: 50%;
    }

    .grid-style.style-4 figcaption {
        padding: 20px 10px;
    }

    .awsm-personal-info span {
        font-size: 10px;
    }

    .awsm-grid-wrapper .awsm-grid h3 {
        font-size: 1em;
    }

    .gp-footer-widget {
        width: 100% !important;
        display: block !important;
        margin-left: 0px !important;
    }

    .gp-footer-widget .widget_media_image{
        text-align: center;
    }

    .home_image_lastnews .wpb_text_column{
        margin-bottom: 5px !important;
    }

    .bloc_prochains_evenements_home .conteneur_evenement{
        margin: 0px !important;
        padding: 10px  0px !important;
    }

    .bloc_prochains_evenements_home .evenement_date{
        font-size: 13px;
    }

    .section_home_adhesion p{
        font-size: 20px !important;
        line-height: 1.2em;
    }

    .section_home_adhesion .vc_inner .wpb_column:first-child{
        margin-bottom: 15px;
    }

    .section_home_adhesion .vc_btn3-container a{
        width:100%;
    }

}

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

    h2{
        line-height: 1em !important;
        font-size: 26px !important;
    }

    .vc_row.vc_column-gap-20>.vc_column_container {
        padding: 0 10px;
    }


    header .gp-profile-button,
    header .header-button-adherer-sfm,
    header .header-button-se-connecter-sfm{
        display: none !important;
    }

    .gp-header-buttons:before{
        display: none;
    }

    /* *********************** */
    /*          HOME           */
    /* *********************** */

    /* SECTION SLIDER */


    .slider_home .ls-gui-element.ls-nav-next,
    .slider_home .ls-gui-element.ls-nav-prev{
    top: 45%;
    }    

    .slider_home .ls-layers > .ls-wrapper > .ls-wrapper{
        top: 240px !important;
    }

    .slider_home .bandeau_info {
        padding: 30px !important;
    }

    /* SECTION HOME ADHESION */

    .section_home_adhesion .vc_btn3-container.vc_btn3-left {
        text-align: center;
    }

    /* SECTION HOME NEWS */

    .bloc_actualites_home .wpb_single_image{
        margin-bottom: 10px !important
    }

    .bloc_actualites_home h3{
        font-size: 18px !important;
    }



    /* *********************** */
    /* PAGES LA SFM ET GROUPES */
    /* *********************** */

    .padding-element-interrieur {
        padding: 0 15px;
    }
    
    /* .padding-element-interrieur  {
        margin-bottom: 0 !important;
    }     */

    .titre_secondaire {
        margin-bottom: 25px !important;
    }

    .page_header_cover .vc_column-inner, .page_header_cover_groupes_et_sections .vc_column-inner {
        min-height: 250px;
    }

    .page_header_cover .entete_title h1, .page_header_cover_groupes_et_sections .entete_title h3 {
        font-size: 23px;
        padding: 17px 45px 10px 35px;
    }

    .page_header_cover_groupes_et_sections .entete_title {
        width:100%;
    }

    .page_header_cover_groupes_et_sections .entete_title h1 {
        font-size: 23px;
        padding: 35px 0px 25px;
        text-align: center;
        line-height: 1em;
    }

    .picto_presentation_SFM svg {
        width: 100%;
    }

    .titre_picto_SFM{
        margin-bottom: 0px !important
    }
    
    .titre_picto_SFM p {
        font-size: 15px;
        line-height: 1em;
    }

    .picto_presentation_SFM > .vc_column-inner {
        padding: 0 15px !important;
    }

    /* Zone bandeau couleur Presentation SFM */
    .align_left_responsive p{
        text-align: left !important;
    }

    .colonne_responsive .wpb_text_column{
        margin-bottom: 0 !important;
    }

    .colonne_responsive .vc_column-inner{
        padding-top: 0 !important;
    }

    .colonne_responsive.last .vc_column-inner{
        padding-bottom: 35px !important;
    }



    /* Zone Groupe et Section */

    .element_groupe_de_travail{
        padding: 10px !important;
    }

    .element_groupe_de_travail .wpb_text_column {
        font-size: 18px;
    }

    /* zone actu */
     [class*='gp-posts-columns-'].gp-posts-wrapper .gp-post-item {
        width: 100%;
        margin-left: 0%;
        margin-bottom: 40px;
    }


    h2.gp-loop-title {
        font-size: 26px !important;
    }


    /* ZONE Responsable  Co Responsable */

    .description_responsable_section_groupe{
        margin-bottom: 35px;
    }

    .description_responsable_section_groupe p {
        font-size: 14px;
    }

}