/*
Sur-couche de style.css
*/

#mobile_menu_divi {
        display: none!important;
}

.et_right_sidebar #left-area {
    width: 100%;
    padding-right: 0;
}

.et_pb_posts article:first-child {
    border-bottom: 0!important; 
    padding-bottom: 0!important;
    margin-bottom: 0!important;
}

/* Icone de recherche */
body #et_top_search {
    margin-top: 24px;
    margin-right: 15px;
}
body #et_search_icon::before {
    font-size: 20px;
}

/* Menu Primary */
/* On augmente la hauteur du menu */
#top-menu li {
    width: 180px;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
}
ul#top-menu {
    margin-right: 40px;
}
/* Menu Mobile */

.menu-menu-header-mobile-container, .menu-menu-header-mobile-left-container, .menu-menu-header-mobile-right-container {
    width: 50%;
    float: left;
}

#main-header #mobile_menu ul.sub-menu li {
    display: inline;
    margin: 0;
    padding: 0;
    font-weight: 200;
    line-height: 0.4rem;
}

#main-header #mobile_menu ul.sub-menu li a {
    text-align:left;
    color: white;
    border-bottom: 6px solid transparent;
}

#main-header #mobile_menu ul.sub-menu li a {
    padding-bottom: 0;
    text-transform: inherit;
}

#main-header #mobile_menu .et_mobile_menu li a {
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    color: #666;
}
#mobile_menu_old {
    display: none!important;
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
#et_mobile_nav_menu {
    display: none!important;
}
#et_mobile_nav_menu {
    display: block!important;
}

#et_mobile_nav_menu .mobile_menu_bar {
    padding-top: 12px;
}

#et_mobile_nav_menu .mobile_menu_bar:before {
    font-size: 40px;
}

.et_mobile_menu {
    background: #39ad57;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.et_mobile_menu .menu-item-has-children > a {
    background-color: rgba(0, 0, 0, 0);
    color:#fff;
    text-transform: uppercase;
}

.et_mobile_menu li a {
    color:#fff;
}
/* Missions */
div.bloc_nos_missions h4 {
    line-height: 0.6em;
}
/* Bloc Image Texte Bouton */

.et_pb_imagetextebouton .et_pb_imagetextebouton_image {
    height: 394px;
    /*max-height: 319px;*/
    overflow: hidden;
}
.et_pb_imagetextebouton .et_pb_imagetextebouton_image img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    height: 100%;
}

.et_pb_imagetextebouton .et_pb_imagetextebouton_description {
    padding: 4% 5%!important;
    position: absolute;
    bottom: 0%;
    background-color: #52c15a;
    width: 100%;
}
.et_pb_imagetextebouton .et_pb_button_wrapper .et_pb_button { 
    padding: 0.3em 1em;
    border: 2px solid #fff;
    font-size: 0.8rem;
    line-height: 1.6em !important;
    color:#fff;
    margin: 4% 0%;
    display: inline-block;
}
.et_pb_imagetextebouton .et_pb_button_wrapper .et_pb_button::after { 
    display: none;
}
/* Blocs Espace Documentaire */
#espace-documentaire.et_pb_section, #espace-documentaire.et_pb_section .et_pb_row {
    padding: 0!important;
}
#espace-documentaire .et_pb_blocs {
    height: 220px;
    text-align: left;
}
#espace-documentaire .et_pb_blocs .et_pb_blocs_image {
    height: 220px;
    width: 30%;
    float: left;
}
#espace-documentaire .et_pb_blocs_description {
    padding: 4% 4% 4% 8%;
    position: relative;
    width: 70%;
    float: left;
    font-size: 0.8rem;
    text-align: left;
    line-height: 1;
}
#espace-documentaire .et_pb_button_wrapper .et_pb_button { 
    padding: 0.3em 1em;
    border: 2px solid #39AD57;
    font-size: 0.8rem;
    line-height: 1.6em !important;
    color:#39AD57;
    margin: 4% 0%;
    display: inline-block;
}
#espace-documentaire .et_pb_button_wrapper .et_pb_button::after { 
    display: none;
}

#espace-documentaire h2 {
    color: #fff !important;
}
#espace-documentaire h2::after {
    border-bottom: 3px solid #fff;
}
#espace-documentaire p {
    color: #58585a;
}
/* Blocs à votre servive */


/* Demi-filet */
div.btg_demi_filet {
    width: 10%;
    height: 2px;
    border-top: 3px solid #58585a;
    text-align: center;
    display: inline-block;
}
.btg_home_header_actualites h1 div.btg_demi_filet {
    width: 18%;
}
.btg_home_header_communaute h4 div.btg_demi_filet {
    border-top: 3px solid white;
}


#service .et_pb_section .et_pb_row.et_pb_row_fullwidth {
    max-width: 1200px!important;
    margin: auto;
}
#service div.btg_demi_filet {
    border-top: 3px solid #fff;
}

#service .et_pb_blocs_image {
    height: 175px;
    width: 50%;
    max-width: 175px;
    float: left;
    overflow: hidden;
}
#service .et_pb_row {
    padding: 15px 0;
}
#service .et_pb_blocs_description p {
    line-height: 1rem;
}



#service .et_pb_blocs_image img {
    height: 190px;
}
#service .et_pb_module.et_pb_blocs .et_pb_button_wrapper {
    background-color: #fff;
}
#service h4 {
    color: #fff!important;
}
#service .et_pb_module.et_pb_blocs  { 
    padding: 2%!important;
    min-height: 190px;
    background-color: #fff;
}
#service .et_pb_module.et_pb_blocs .et_pb_button_wrapper .et_pb_button { 
    padding: 0.3em 1em;
    border: 2px solid;
    font-size: 0.8rem;
    line-height: 1.6em !important;
    margin: 4% 0%;
    display: inline-block;
}

#service .et_pb_module.et_pb_blocs .et_pb_button_wrapper .et_pb_button::after { 
    display: none;
}
#service .et_pb_blocs_description {
    padding: 6px;
    position: relative;
    min-height: 150px;
    width: 50%;
    background-color: #fff;
    float: left;
    color: #58585a;
    font-size: 0.8rem;
    word-break:  break-word;
    text-align: left;
}
#service .et_pb_blocs_description h2 {
    color: #58585a!important;
    font-size: 1rem;
    text-align: left;
}

/* Widget Newsletter */
#newsletter {
    border-bottom: 2px solid #e31818;
    padding-bottom: 40px;
    padding-top: 40px;
}
#newsletter h2 {
    text-align: center;
    font-size: 0.9rem;
}
#newsletter h2::after {
    display: none;
}
#newsletter .tnp.tnp-widget-minimal {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

.tnp-widget-minimal input.tnp-email {
    text-align: center;
    width: 80%!important;
}
.tnp-widget-minimal input.tnp-submit {
    width: 20%!important;
}

/* A la Une */

.et_pb_post .entry-featured-image-url {
    text-align: center;
}
.btg_home_en_avant img {
    width: 100px;
    height: auto;
}
.btg_home_en_avant a {
    color: #fff;
    text-decoration: underline;
}



.et_pb_section {
    padding: 24px 0!important;
}

/* Formulaires */
.field-wrap > div input, .field-wrap > div textarea {
    background: #eee;
    border: 0;
    height:30px;
}
.list-radio-wrap .nf-field-element li input {
    margin-top: 0!important;
}
.field-wrap > div input[type=button] {
color: white;
background: #39ad57;
float: left;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
padding: 5px 15px;
margin-top: 10px;
border: 1px solid transparent;
transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
-webkit-transition: all .25s ease-in-out;
}
.field-wrap > div input[type=button]:hover {
border: 1px solid #58585a;
background-color: #58585a;
color: white;
}
/* Bug affichage longueur menu */
#top-menu .menu-item-has-children > a:first-child {
    padding-right: 0px;
}

#top-menu li {
    padding-right: 10px;
}

.et_header_style_left .logo_container {
    padding-bottom: 10px;
}

/* Footer */

.social_footer .sitemap ul {
    text-align: right;
}
.social_footer .social_icons ul {
    text-align: left;
    float: left;
}
.social_footer .social_icons ul li {
    text-align: left;
    display: block;
    margin-left: 0;
    display: flex;
} 
.social_footer .social_icons ul li a {
    float: left;
    width: 40px;
    height: 40px;
} 
.social_footer .social_icons ul li .icon {
} 
.social_footer .social_icons p {
    margin-left: 10px;
    float: left;
}
#main-footer {
    background-color: transparent!important;    
}

/* ScrollTop */
.et_pb_scroll_top.et-pb-icon {
    color: #fff;
    background: rgba(236, 48, 21, 0.9);
    font-size: 40px;
border-radius: 50px;
right: 15px;
}

/* Cache le trait à droite */
#main-content .container:before {
    display: none;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h2 .btg_demi_filet {
    display: none!important;
}

h2::after {
    position: relative;
    content: "-";
    border-bottom: 3px solid #39AD57;
    width: 30px;
    float: left;
    margin-right: -30px;
margin-top: 5px;
    color:transparent;
}

h3 {
    margin-top: 6px;
    margin-bottom: 6px;
}

h3::after {
    position: relative;
    content: "-";
    border-bottom: 3px solid #d83f28;
    width: 30px;
    float: left;
    margin-right: -30px;
    margin-top: 5px;
        color:transparent;
}


/* Eco Gestes ----- */

#mise_avant {
    padding: 30px;
    background-color: #39AD57;
    color: #fff;
}

#mise_avant h4 {
    color: #fff;
    font-size: 22px;
}
#mise_avant .et-pb-icon {
    font-size: 40px;
    color:#58585a!important;   
}
#mise_avant a {
    color:#58585a;  
}


.et_pb_portfolio_item .post-meta {
    display : none;
}
.et_pb_portfolio_item {
    display : none;
        text-align: center;
}
.et_pb_portfolio_item h2 a {
    font-size: 1rem;
    color:#39AD57;
}
/* ----------------- MAP ------------------------ */
.mapify-img {
    width: 1200px!important;
    height: 800px!important;
}

/*
 * Carte Interactive
 *
 */
.mapify-popOver-content p {
    font-size: 12px;
    line-height: 13px;
    
}
.mapify-popOver-content h1 {
    color: #39AD57;
    
}

.mapify-hover {
    fill:transparent!important;
}
/* ----------------- VISITE HOME ------------------------ */
.btg_home_visite_row .et_pb_button {
    color: #fff!important;
    margin: 15px!important; 
    width: 240px;
}

.mea_2 .et_pb_image_wrap {
    width:104px;
}

.mea_3 {
    min-height: 234px;
}

/* ----------------- DOCUMENTS ------------------------ */
#documents .pdf-icon {
    border-bottom : 1px solid #39AD57;
    padding-bottom: 10px;   
}

#documents .pdf-text {
    min-height: 70px;
}

#documents .et_pb_button_module_wrapper, #documents .pdf-text .et_pb_text_inner h5 {
    text-align: center;
}

.et_pb_text_inner h5 {
    font-weight: 400;
}

/* ----------------- PORTFOLIO ------------------------ */


.et_pb_portfolio_image, .et_pb_portfolio_image.landscape img
{
    height: 250px !important;
    overflow: hidden;
}

.et_portfolio_image img {
    min-height: 250px;
}
/* ----------------- DECHETERIES -------*/
.et_pb_column_1_4 h6 {
    color: #39AD57;
}
.et_pb_column_1_3 h6, .et_pb_column_1_4 h6
{
    color: #39AD57;
}


/* ----------------- ACCESS -------*/

.access {
    float: left;
    width: 245px;
}
.access ul li {
   display: inline;
   margin: 0 2%;
}
@media all and (min-width: 768px) and (max-width: 980px) {
    .et_pb_imagetextebouton .et_pb_imagetextebouton_description {padding: 0em!important;position:relative;background-color: #52c15a;width: 100%;}
}

@media all and (max-width: 479px) {
     .et_pb_imagetextebouton .et_pb_imagetextebouton_image img {object-fit: contain;height: auto!important;}
 }
