/*
Theme Name: Mairie de Village-Neuf
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ASTERIUM
Author URI:  https://www.asterium.fr
Template: salient
Version: 1.0
*/

:root {
  --noir: #1e1e1e;
  --blanc: #ffffff;
  --gris: #afafaf;
  --grisfonce: #666666;
  --grisclair: #f6f6f6;
  
  --rouge: #b62629;
  --bleu: #2a5d84;
  --bleufonce: #0f3859;
  --orange: #f43100;
  --jaune: #d9a441;
  --jaunefonce: #9b6e19;
  --vert: #5baf8d;
  --vertfonce: #19714d;
  --violet: #704f8b;
  --violetfonce: #532877;
}

/* Fonts */
@font-face {
  font-family: "Bricensa";
  src: url("fonts/Bricensa-Regular.woff2") format("woff2"),
    url("fonts/Bricensa-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Light.woff2") format("woff2"),
    url("fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.woff2") format("woff2"),
    url("fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Medium.woff2") format("woff2"),
    url("fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.woff2") format("woff2"),
    url("fonts/Roboto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Thin.woff2") format("woff2"),
    url("fonts/Roboto-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Roboto";
  font-weight: 300;
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bricensa";
    font-weight: normal;
    text-transform: uppercase;
}

h1 span,
h2 span,
h3 span,
h4 span {
    color: var(--rouge);
    font-weight: bold;
}
.home h2 {
    color: var(--rouge) !important;
    font-size: 52px !important;
}
.single h1:after,
.page h1:after {
    content: "";
    display: block;
    width: 200px;
    height: 3px;
    background-color: var(--rouge);
    margin-top: 16px;
    margin-bottom: 22px;
}
.single h1[style*="text-align: center"]:after,
.page h1[style*="text-align: center"]:after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.home h1:after {
  display: none;
}
.home h1:after {
  margin-left: auto;
  margin-right: auto;
}


/* Couleurs rubriques 1er niveau --------------------------------- */
/* Commune --bleu */
.page.parent-pageid-2124 #header-outer,
.page.parent-pageid-82 #header-outer,
.page.parent-pageid-2124 #footer-outer,
.page.parent-pageid-82 #footer-outer,
.single-commerce #header-outer,
.single-commerce #footer-outer,
.page.parent-pageid-2124 .toggle.open > .toggle-title a,
.page.parent-pageid-82 .toggle.open > .toggle-title a,
.page.parent-pageid-2124 #slide-out-widget-area-bg.fullscreen-split,
.page.parent-pageid-82 #slide-out-widget-area-bg.fullscreen-split,
.single-commerce #slide-out-widget-area-bg.fullscreen-split  {
  background-color: var(--bleu);
}
.page.parent-pageid-2124 h1:after,
.page.parent-pageid-82 h1:after,
.single-commerce h1:after { 
  background-color: var(--bleu);
}
.page.parent-pageid-2124 .page-submenu a,
.menu-item-1937 .sub-menu li a:hover span,
.page.parent-pageid-2124 .permalien_commerce a,
.page.parent-pageid-82 .permalien_commerce a,
.texte_commerce a,
.page.parent-pageid-2124 .blocs_sommaire a,
.page.parent-pageid-2124 .wpb_wrapper .wpb_text_column a {
  color: var(--bleufonce);
}
.page.parent-pageid-2124 .blocs_sommaire .vc_column_container .vc_column-inner:hover,
.page.parent-pageid-82 .blocs_sommaire .vc_column_container .vc_column-inner:hover,
.page.parent-pageid-2124 .commerces-list-element:hover,
.page.parent-pageid-82 .commerces-list-element:hover,
.page.parent-pageid-2124 .assoc-list-element:hover,
.page.parent-pageid-82 .assoc-list-element:hover {
  border-color: var(--bleufonce);
}
/* Mairie --violet */
.page.parent-pageid-2122 #header-outer,
.page.parent-pageid-3443 #header-outer,
.page.parent-pageid-2122 #footer-outer,
.page.parent-pageid-3443 #footer-outer,
.single-elu #header-outer,
.single-elu #footer-outer,
.page.parent-pageid-2122 .toggle.open > .toggle-title a,
.page.parent-pageid-3443 .toggle.open > .toggle-title a,
.page.parent-pageid-2122 #slide-out-widget-area-bg.fullscreen-split,
.page.parent-pageid-3443 #slide-out-widget-area-bg.fullscreen-split,
.single-elu #slide-out-widget-area-bg.fullscreen-split {
  background-color: var(--violet);
}
.page.parent-pageid-2122 h1:after,
.page.parent-pageid-3443 h1:after,
.single-elu h1:after { 
  background-color: var(--violet);
}
.page.parent-pageid-2122 .page-submenu a,
.page.parent-pageid-3443 .page-submenu a,
.menu-item-1982 .sub-menu li a:hover span,
.page.parent-pageid-3443 .blocs_sommaire a,
.page.parent-pageid-2122 .permalien_commerce a,
.page.parent-pageid-3443 .permalien_commerce a,
.page.parent-pageid-2122 .wpb_wrapper .wpb_text_column a,
.page.parent-pageid-3443 .wpb_wrapper .wpb_text_column a {
  color: var(--violetfonce);
}
.page.parent-pageid-2122 .blocs_sommaire .vc_column_container .vc_column-inner:hover,
.page.parent-pageid-3443 .blocs_sommaire .vc_column_container .vc_column-inner:hover {
  border-color: var(--violetfonce);
}
/* Demarches --vert */
.page-id-3325 #header-outer,
.page-id-3325 #footer-outer,
.page.parent-pageid-3325 #header-outer,
.page.parent-pageid-3325 #footer-outer,
.page.parent-pageid-3325 .toggle.open > .toggle-title a,
.page.parent-pageid-3325 #slide-out-widget-area-bg.fullscreen-split {
    background-color: var(--vert);
}
.page.parent-pageid-3325 h1:after,
.page-id-3325 h1:after { 
    background-color: var(--vert);
}
.page.parent-pageid-3325 .page-submenu a,
.menu-item-2000 .sub-menu li a:hover span,
.page.parent-pageid-3325 .permalien_commerce a,
.page.parent-pageid-3325 .blocs_sommaire a,
.page-id-3325 .blocs_sommaire a,
.page.parent-pageid-3325 .wpb_wrapper .wpb_text_column a {
  color: var(--vertfonce);
}
.page-id-3325 .blocs_sommaire .vc_column_container .vc_column-inner:hover {
  border-color: var(--vertfonce);
}
/* Loisirs --jaune */
.page.parent-pageid-3445 #header-outer,
.page.parent-pageid-3445 #footer-outer,
.single-association #header-outer,
.single-association #footer-outer,
.page.parent-pageid-3445 .toggle.open > .toggle-title a,
.page.parent-pageid-3445 #slide-out-widget-area-bg.fullscreen-split,
.single-association #slide-out-widget-area-bg.fullscreen-split,
.page.parent-pageid-3445 .tab-item.active-tab a.active-tab {
    background-color: var(--jaune);
}
.page.parent-pageid-3445 h1:after,
.single-association h1:after { 
    background-color: var(--jaune);
}
.page.parent-pageid-3445 .page-submenu a,
.menu-item-2034 .sub-menu li a:hover span,
.page.parent-pageid-3445 .permalien_commerce a,
.page.parent-pageid-3445 .blocs_sommaire a,
.page.parent-pageid-3445 .wpb_wrapper .wpb_text_column a, 
.texte_association a {
  color: var(--jaunefonce);
}
.page.parent-pageid-3445 .blocs_sommaire .vc_column_container .vc_column-inner:hover,
.page.parent-pageid-3445 .assoc-list-element:hover,
.page.parent-pageid-3445 .tab-item.active-tab a.active-tab {
  border-color: var(--jaunefonce);
}








/* Wysiwyg */
.chapeau {
  font-size: 20px;
  color: var(--noir);
}
.rouge {
  color: var(--rouge);
}
.bouton_blanc {
  display: block;
  width: fit-content;
  padding: 10px 20px;
  background-color: var(--blanc);
  color: var(--rouge) !important;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
}
.bouton {
  display: block;
  width: fit-content;
  padding: 10px 20px;
  background-color: var(--rouge);
  color: var(--blanc) !important;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
}
.bouton a {
  color: var(--blanc) !important;
}
.lien_tout {
  position: relative;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  color: var(--noir);
}
.lien_tout:after {
  content: "";
  position: absolute;
  top: 0;
  font-weight: 500;
  margin: 0 0 0 8px;
  width: 11px;
  height: 14px;
  background: transparent url("img/plus_gris.png") no-repeat center;
}
.lien-retour {
  position: relative;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  color: var(--noir);
}
.lien-retour a {
  color: var(--noir);
}
.lien-retour:after {
  content: "";
  position: absolute;
  top: 5px;
  font-weight: 500;
  margin: 0 0 0 8px;
  width: 8px;
  height: 12px;
  background: transparent url("img/arrow_right_noir.png") no-repeat center;
  background-size: 8px 12px;
}
.padding_80 {
  padding: 80px 0 !important;
}
@media (min-width: 1200px) {
  .lien_tout:hover {
    color: var(--rouge);
  }
}
.travaux_CM a {
  display: block;
  border: 1px solid #EFEFEF;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 0 0 6px 0;
}





/* Menu */
@media (min-width: 1000px) {
  #top #logo {
    border-bottom: 1px solid var(--blanc);
    padding-bottom: 26px;
  }
}
#top nav ul.sf-menu.sf-js-enabled > li > a {
  font-family: "Bricensa";
  font-size: 22px;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
#top nav ul.sf-menu.sf-js-enabled > li:not(:last-child) > a:after {
  content: "";
  position: absolute;
  top: 7px;
  right: -5px;
  width: 6px;
  height: 6px;
  background: transparent url("img/point-blanc.png") no-repeat center;
  background-size: 6px;
}
#top nav ul.sf-menu .sub-menu {
  font-size: 16px !important;
  line-height: 16px !important;
  width: 100%;
}
.intertitre > a > span {
  /* Menu Intertitres */
  font-weight: 700;
  font-size: 16px;
  line-height: 17px;
  text-transform: uppercase;
  display: block;
  padding: 0 0 8px 0;
  margin: 0 0 8px 0;
  border-bottom: 1px solid var(--gris);
}
.intertitre .sub-menu {
  padding: 16px 0 0 0 !important;
}
@media (min-width: 1000px) {
  /* Menu Hover */
  #top nav > ul > li > a > span {
    padding: 2px 14px;
  }
  #top nav > ul > li:hover > a > span {
    border-radius: 3px;
  }
  #top nav ul.sf-menu > li.current-menu-ancestor > a > span {
    border-radius: 3px;
  }
  #top nav > ul > li:first-child:hover > a > span {
    /* 1- Commune */
    color: var(--blanc) !important;
    background: var(--bleu);
  }
  #top nav > ul > li:nth-child(2):hover > a > span {
    /* 2- Mairie */
    color: var(--blanc) !important;
    background: var(--violet);
  }
  #top nav > ul > li:nth-child(3):hover > a > span {
    /* 3- Quotidien */
    color: var(--noir) !important;
    background: var(--vert);
  }
  #top nav > ul > li:nth-child(4):hover > a > span {
    /* 4- Loisirs */
    color: var(--noir) !important;
    background: var(--jaune);
  }
  #top nav > ul > li:nth-child(1) > .sub-menu {
    border-left: 10px solid var(--bleu);
  }
  #top nav > ul > li:nth-child(2) > .sub-menu {
    border-left: 10px solid var(--violet);
  }
  #top nav > ul > li:nth-child(3) > .sub-menu {
    border-left: 10px solid var(--vert);
  }
  #top nav > ul > li:nth-child(4) > .sub-menu {
    border-left: 10px solid var(--jaune);
  }
  #top nav > ul > li:nth-child(1) .intertitre > a > span {
    color: var(--bleu);
  }
  #top nav > ul > li:nth-child(2) .intertitre > a > span {
    color: var(--violet);
  }
  #top nav > ul > li:nth-child(3) .intertitre > a > span {
    color: var(--vert);
  }
  #top nav > ul > li:nth-child(4) .intertitre > a > span {
    color: var(--jaune);
  }
}


/* Page sub-menu (Salient widget) */
.page-submenu {
  margin-bottom: 40px;
}
.page-submenu ul li {
  position: relative;
}
.page-submenu ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  right: -13px;
  width: 1px;
  height: 14px;
  background-color: var(--gris);
}
.page-submenu ul li a {
  color: var(--rouge);
  font-weight: 500;
  opacity: 1;
}

.page-submenu.stuck{
  position: fixed !important;
  background-color: #fff;
}


/* Menu secondaire */
#slide-out-widget-area .menu li a {
  font-size: 24px !important;
}
  #slide-out-widget-area .sub-menu li a {
  }
    #slide-out-widget-area .sub-menu li a span {
      border: none;
      text-transform: none;
      font-size: 24px !important;
    }


/* Fonction sous-menu */
.liste-pages-enfants {
  margin: 0 auto 30px auto !important;
  max-width: 80%;
  text-align: center;
}
  .liste-pages-enfants li {
    list-style: none;
    position: relative;
    display: inline-block;
    margin: 0 25px 0 0;
  }
    .liste-pages-enfants li:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 27px;
      right: -13px;
      width: 1px;
      height: 14px;
      background-color: var(--gris);
    }
    .liste-pages-enfants li a {
      padding-top: 20px;
      padding-bottom: 1px;
      font-weight: 500;
      display: inline-block;
    }


/* Video home */
.nectar-slider-wrap video {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* Menu contextuel sticky */
.page-submenu ul li {
  margin-right: 20px;
}
.page-submenu ul li:after {
  top: 16px !important;
  right: -10px !important;
}
.page-submenu ul li a {
  padding-top: 8px;
  padding-bottom: 8px;
}


/* Menu mobile */
#slide-out-widget-area.fullscreen-split .off-canvas-menu-container > ul > li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grisclair);
}
  #slide-out-widget-area.fullscreen-split .off-canvas-menu-container > ul > li > a {
    font-size: 24px !important;
  }
  #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul li > ul.sub-menu {
    border-left: 4px solid var(--blanc);
  }
  #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul li ul.sub-menu .sub-menu {
    border: none;
  }
    #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul li > .sub-menu > li:first-child {
      margin-top: 17px !important;
    }
    #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul li .sub-menu a  {
      font-size: 20px !important;
      line-height: 20px !important;
      font-weight: 600;
    }




/* Page d'accueil -------------------------------------------------------------------------   */
/* Liste des actualités */
.home .actus-list-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid var(--rouge);
}
  .home .actus-list-wrapper .actu-list-element {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex-wrap: nowrap !important;
  }
    .home .actu-list-element .image-actu-element {
      width: 100% !important;
      height: 200px !important;
      overflow: hidden;
      display: flex;
      flex: unset !important;
      background: url("./img/default-post-img.jpg") center center no-repeat;
      background-size: cover;
    }
      .home .actu-list-element .image-actu-element img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex: 1;
        transform: scale(1);
        transition: 0.3s ease-in-out;
      }

@media (min-width: 1200px) {
   .home .actus-list-wrapper .actu-list-element {
    flex: 0 0 30%;
  }
  .home .actu-list-element:hover .image-actu-element img {
    transform: scale(1.1);
  }
}

.home .actu-list-element .texte-actu-element {
  flex: unset !important;
}

/* Single actualité */
.single-post #page-header-wrap h1 {
  text-shadow: 2px 1px 2px #000;
}
.single-post #page-header-wrap .meta-date.date {
  display: none !important;
}



/* Newsletter */
#newsletter .wpb_wrapper .wpb_text_column {
  min-height: 156px;
  padding: 140px 0 0 0;
  background: transparent url('./img/newsletter_rouge.png') no-repeat center top;
  background-size: 120px;
}
#newsletter .wpb_wrapper .wpb_text_column .bouton {
  margin: 0 auto;
}






/* Pages génériques ---------------------------------------------------------------------------------- */
/* Page présentation */
.presentation-allemand a {
  display: block;
  padding-left: 40px;
  max-width: fit-content;
  background: url("./img/de-flag.png") center left no-repeat;
  background-size: 30px;
  margin-left: auto;
}




/* Commerces ------------------------------------------------------------------------------------------- */
/* Liste des commerces */
.type-commerce {
  margin: 8px auto 43px auto;
}
@media (max-width: 431px) {
  .commerces-list-wrapper {
    display: block;
  }
  .commerces-list-element {
    margin: 20px auto !important;
  }
}
.commerces-list-wrapper {
  justify-content: start;
  flex-wrap: wrap;
  gap: 20px 2%;
  margin: 20px auto;
}
@media (min-width: 432px) {
  .commerces-list-wrapper {
    display: flex;
  }
}
  .commerces-list-element {
    border: 1px solid var(--gris);
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--blanc);
  }
  @media (min-width: 933px) {
    .commerces-list-element {
      flex: 0 0 23%;
    }
    .commerces-list-element:hover {
      border-width: 1px;
      border-style: solid;
    }
    .commerces-list-element:hover img {
      transform: scale(1.1);
    }
  }
        .commerces-list-element .image_commerce {
            width: 100%;
            height: 220px;
            background: transparent url("img/default-post-img.jpg") no-repeat center center;
            background-size: cover;
            overflow: hidden;
        }
            .commerces-list-element .image_commerce img {
                width: 100% !important;
                height: 100%;
                object-fit: cover;
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
                transition: all 0.6s;
                cursor: pointer;
            }
            .commerces-list-element .texte_commerce {
                padding: 20px 14px;
                min-height: 80px;
            }
                .commerces-list-element .texte_commerce h3 {
                    line-height: 24px;
                    color: var(--noir);
                }
            .commerces-list-element .texte_commerce .sous_titre_commerce {
                line-height: 18px;
                color: var(--noir);
                padding: 0 0 44px 0;
            }
            .commerces-list-element .texte_commerce .adresse_commerce {
                line-height: 18px;
                padding: 0 0 10px 0;
            }
            .commerces-list-element .texte_commerce .horaires_commerce {
                font-size: 16px;
                line-height: 18px;
                padding: 0 0 10px 0;
            }
            .commerces-list-element .numeros_commerce .num_tel .num-tel-icon {
                font-size: 20px;
                font-weight: 500;
            }
            .commerces-list-element .numeros_commerce a {
              color: var(--bleufonce);
            }
        .commerces-list-element .liens-commerces {
            position: absolute;
            bottom: 0;
            display: block;
            width: 100%;
        }
  .commerces-list-element .permalien_commerce,
  .commerces-list-element .web_commerce {
    width: 100% !important;
    padding: 5px 0;
  }
    .commerces-list-element .web_commerce a,
    .commerces-list-element .permalien_commerce a {
      transition: 0.3s ease-in-out !important;
      color: var(--bleufonce);
    }
    .commerces-list-element .web_commerce {
    background-color: var(--gris);
    }
    .commerces-list-element .web_commerce a {
        color: var(--noir);
        position: relative;
    }
    .commerces-list-element .web_commerce:hover a {
        color: var(--blanc);
    }
    .commerces-list-element .web_commerce a:after {
        content: "";
        position: absolute;
        right: -23px;
        top: 2px;
        width: 14px;
        height: 14px;
        background: transparent url("img/lien_externe.png") no-repeat center;
        background-size: 14px;
    }
    .commerces-list-element .permalien_commerce {
    }
        .commerces-list-element .permalien_commerce a {
            display: block;
            margin-top: 12px;
            font-weight: 500;
        }
        .commerces-list-element .permalien_commerce:hover a {
            color: var(--gris);
        }



/* Single Commerce */
.single-commerce .container .row > p {
  padding-bottom: 0;
  color: var(--rouge);
  font-weight: 500;
}
.single-commerce .container h1 {
  margin-top: 0;
}
.single-commerce .categories_commerce {
  display: inline-block;
}
  .single-commerce .categorie_commerce {
    padding: 2px 10px;
    margin: 0 0 36px 0;
    display: inline-block;
    text-align: center;
  }
.single-commerce .wrapper_commerce {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3%;
}
  .single-commerce .texte_commerce {
    flex: 0 0 100%;
  }
    .infos_commerce .ss_titre_commerce {
      font-weight: bold;
    }
    .horaire_commerce {
      font-weight: bold;
    }
    .single-commerce .adresse_commerce {
      font-weight: bold;
    }
    .single-commerce h1 {
      margin: 20px 0;
    }
    .numeros_commerce_t {
      font-weight: bold;
    }
    .numeros_commerce a {
      color: var(--bleufonce);
    }
    .mail_commerce {
      font-weight: bold;
    }
    .single-commerce .web_commerce {
      font-weight: bold;
    }
    .single-commerce .lien_web a {
      color: var(--bleufonce);
    }
    .single-commerce .texte_libre_commerce {
      margin: 50px auto;
    }
    .tableau-50 td {
      width: 50% !important;
    }
    .single-commerce .image_commerce {
      flex: 0 0 100%;
      padding: 30px 0 0 0;
    }
      .single-commerce .image_commerce img {
        width: 100%;
        height: auto;
      }

@media (min-width: 1000px) {
  .single-commerce .texte_commerce {
    flex: 0 0 50%;
  }
  .single-commerce .image_commerce {
    flex: 0 0 47%;
    padding: 0;
  }
}






/* Associations ---------------------------------------------------------------------------- */
/* Liste des associations */
.type_assoc {
  margin: 0 auto 70px auto;
}
.assoc-name {
  margin: 10px 0;
}
.assoc-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 40px 2%;
  margin: 20px 0 60px 0;
}
    .assoc-list-element {
        flex: 0 0 100%;
        display: flex;
        flex-direction: column;
        transition: 0.3s ease-in-out;
        position: relative;
        border: 1px solid var(--gris);
        border-radius: 4px;
        overflow: hidden;
    }
    @media (min-width: 933px) {
        .assoc-list-element {
            flex: 0 0 23%;
        }
        .assoc-list-element:hover {
            border-width: 1px;
            border-style: solid;
        }
        .assoc-list-element:hover img {
            transform: scale(1.1);
        }
    }
    .assoc-list-element .image-assoc-list-element {
        height: 220px;
        width: 100%;
        background: transparent url("img/default-post-img.jpg") no-repeat center center;
        background-size: cover;
        overflow: hidden;
    }
        .assoc-list-element .image-assoc-list-element img {
            width: 100% !important;
            height: 100%;
            object-fit: cover;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            transition: all 0.6s;
            cursor: pointer;
        }
    .assoc-list-element .texte_association {
        padding: 20px 14px;
        min-height: 165px;
    }
        .assoc-list-element .texte_association h3 {
            line-height: 22px;
            margin-bottom: 4px;
        }
        .assoc-list-element .telephone_association .num-tel-icon {
            font-size: 20px;
        }
        .assoc-list-element .texte_association .adresse_association {
            font-size: 16px;
            line-height: 18px;
        }

    .liens_assoc {
        position: absolute;
        bottom: 0;
        display: block;
        width: 100%;
    }
    .liens_assoc .web_association,
    .liens_assoc .lien_association {
        width: 100% !important;
        padding: 5px 0;
    }
    .liens_assoc .web_association a,
    .liens_assoc .lien_association a {
      font-weight: bold;
      transition: 0.3s ease-in-out !important;
      color: var(--jaunefonce);
    }
.liens_assoc .web_association {
  background-color: var(--gris);
}
  .liens_assoc .web_association a {
    color: var(--noir);
    position: relative;
  }
    .liens_assoc .web_association a:after {
      content: "";
      position: absolute;
      right: -23px;
      top: 2px;
      width: 14px;
      height: 14px;
      background: transparent url("img/lien_externe.png") no-repeat center;
      background-size: 14px;
    }
  .liens_assoc .web_association:hover a {
    color: var(--blanc);
  }
.liens_assoc .lien_association {
}
    .liens_assoc .lien_association a {
        display: block;
        margin-top: 12px;
        font-weight: 500;
    }
        .liens_assoc .lien_association:hover a {
            color: var(--gris);
        }



/* Single Association  */
.single-association .container .row > p {
  padding-bottom: 0;
  color: var(--rouge);
  font-weight: 500;
}
.single-association .container h1 {
  margin-top: 0;
}
.single-association .categories_associations {
  display: inline-block;
  margin: 0 0 26px 0;
}
.single-association .categorie_association {
  padding: 2px 10px;
  display: inline-block;
}
.single-association .wrapper_association {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3%;
  padding: 34px 0;
}
  .single-association .texte_association {
    flex: 0 0 100%;
  }
    .single-association .responsable_association,
    .single-association .adresse_association .adresse,
    .single-association .telephone_association .telephone,
    .single-association .email_assoc,
    .single-association .site_web_assoc,
    .single-association .site_web {
      font-weight: bold;
    }
    .single-association .texte_libre_assoc {
      margin: 20px auto;
    }
  .single-association .rs_associations {
    padding: 20px 0 0 0;
  }
  .single-association .image_association {
    flex: 0 0 100%;
    padding: 30px 0 10px 0;
  }
    .single-association .image_association img {
      max-width: 100%;
      height: auto;
    }
@media (min-width: 1000px) {
  .single-association .texte_association {
    flex: 0 0 50%;
  }
  .single-association .image_association {
    flex: 0 0 47%;
    padding: 0;
  }
}

.single-association .galerie {
  padding: 38px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 20px 2%;
}
  .single-association .galerie .galerie_element {
    flex: 18%;
    flex: 0 0 0 20%;
    overflow: hidden;
  }
    .single-association .galerie .galerie_element img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
      transition: 0.3s ease-in-out;
      margin-bottom: 0 !important;
      cursor: pointer;
    }
    @media (min-width: 933px) {
      .single-association .galerie .galerie_element:hover img {
        transform: scale(1.1, 1.1);
        filter: brightness(0.5);
      }
    }













/* Les Elus ---------------------------------------------------------------------------- */
/* Liste élus */
.elus-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px 2%;
    justify-content: space-between;
}
@media (min-width: 920px) {
    .elus-list-wrapper {
        justify-content: start;
    }
}
.elus-list-element:first-child {
    flex: 0 0 100% ;
}

    .elus-list-element {
        flex: 0 0 48%;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        transition: 0.3s ease-in-out;
        border-radius: 4px;
    }
    @media (min-width: 680px) {
      .elus-list-element {
            flex: 0 0 31%;
        }
    }
    @media (min-width: 540px) {
        .elus-list-element:first-child {
            flex-direction: row;
        }
    }
    @media (min-width: 1200px) {
      .elus-list-element {
            flex: 0 0 23%;
        }
          .elus-list-element:hover {
            box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
          }
    }
        .elus-list-element .photo_elu {
            width: 100%;
            height: 250px;
        }
        .elus-list-element:first-child .photo_elu {
            width: 265px;
        }
        @media (max-width: 539px) {
            .elus-list-element:first-child .photo_elu {
                width: 100% !important;
                height: 340px;
            }
        }
        @media (max-width: 400px) {
            .elus-list-element:first-child .photo_elu {
                width: 100% !important;
                height: 290px;
            }
        }
        .elus-list-element .photo_elu img {
            width: 100% !important;
            height: 100%;
            object-fit: cover;
            border-radius: 5px 5px 0 0;
        }
        .elus-list-element:first-child .photo_elu img {
            border-radius: 5px 0 0 5px !important;
        } 
        .elus-list-element .elu-texte {
            padding: 10px 12px;
            min-height: 141px !important;
            display: flex;
            flex-direction: column;
            position: relative;
        }
            .elus-list-element .elu-texte h3 {
                font-size: 19px;
                line-height: 21px;
            }
            @media (min-width: 680px) {
              .elus-list-element .elu-texte h3 {
                    font-size: 24px;
                    line-height: 26px;
                }
            }
            .elus-list-element .elu-texte .fonction_elu {
                color: var(--violetfonce);
            }
            .elus-list-element .elu-texte .lien_elu {
                position: absolute;
                bottom: 0;
                left: 10px;
                text-transform: uppercase;
                padding: 10px 0;
                font-size: 14px;
            }
            .elus-list-element .elu-texte .lien_elu a {
                color: var(--violetfonce);
            }




/* Page single élu */
.content-page-elu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 0 5%;
  padding: 30px 0 100px 0;
}
.content-page-elu .photo_elu {
  flex: 0 0 33%;
  width: 500px;
  height: 500px;
  padding: 10px 0 0 0;
}
  .content-page-elu .photo_elu a {
    display: block;
  }
    .content-page-elu .photo_elu img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: 1px solid var(--grisclair);
      border-radius: 5px;
    }
.content-page-elu .texte_elu {
  flex: 0 0 62%;
}
.content-page-elu .texte_elu h3 {
  color: var(--violet);
  text-transform: none;
  margin: 0 0 26px 0;
}




/* Agenda ---------------------------------------------------------------------- */
/* Single Agenda */
.single-agenda .image_ma_agenda {
  width: 100%;
  height: auto;
  margin: 70px auto;
}
.single-agenda .categories_agenda {
  display: flex;
  gap: 20px;
}
  .single-agenda .categorie-agenda {
    padding: 2px 10px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid var(--noir);
    color: var(--grisfonce);
  }
  .single-agenda .dates {
    padding: 13px 0 13px 38px;
    margin: 12px 0 36px 0;
    border-bottom: 1px dotted var(--gris);
    background: transparent url('./img/icone-agenda.png') no-repeat left center;
    background-size: 26px;
    line-height: 26px;
  }
.single-agenda .date_agenda {
  font-size: 20px;
  font-weight: 600;
  margin: 20px auto;
}
.single-agenda .content-agenda {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 60px 0;
}
  .single-agenda .texte-agenda {
    order: 2;
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .single-agenda .image-agenda {
    order: 1;
    flex: 0 0 100%;
    margin: 0 0 20px 0;
    overflow: hidden;
    text-align: center;
  }
    .single-agenda .image-agenda img {
      max-width: 100%;
      height: auto;
    }
@media (min-width: 1000px) {
  .single-agenda .image-agenda img {
    max-width: 800px;
    height: auto;
  }
  .single-agenda .texte-agenda {
    order: 1;
  }
  .single-agenda .image-agenda {
    order: 2;
    margin: 60px 0;
  }
}


/* Liste des éléments Agenda */
.agenda-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 36px 2%;
  border-top: 1px solid var(--rouge);
  padding-top: 36px;
  margin-top: 2px;
}
  body:not(.home) .agenda-list-wrapper {
    border: none;
  }
    .agenda-list-wrapper .agenda-list-element {
      flex: 0 0 100%;
      background: var(--blanc);
      border: 1px solid var(--gris);
      border-radius: 5px;
      cursor: pointer;
    }
@media (min-width: 920px) {
  .agenda-list-wrapper .agenda-list-element {
    flex: 0 0 23%;
  }
}
    .agenda-list-element .categories-agenda-list span {
      display: inline-block;
      padding: 0 8px 0 0;
      font-size: 14px;
    }
    .agenda-list-element .categories-agenda-list span:not(:last-child) {
      border-right: 1px solid #ccc;
      margin: 0 8px 0 0;
    }
    .agenda-list-element .texte-agenda {
      padding: 16px 14px 10px 14px;
      line-height: 22px;
    }
        .agenda-list-element .texte-agenda h3 {
          font-size: 18px;
          line-height: 20px;
        }
        .agenda-list-element .texte-agenda .dates {
          display: block;
          font-size: 20px;
          color: var(--rouge);
        }
        .agenda-list-element .texte-agenda .lieu {
          display: none;
          font-size: 14px;
          color: var(--bleu);
        }
        .agenda-list-element .texte-agenda .agenda-content {
          padding: 0 0 30px 0;
          display: none;
        }
    .agenda-list-element .lien-agenda {
      display: none;
    }

.agenda-list-element .image-agenda {
    width: 100%;
    height: 200px;
    flex: 0 0 100%;
    overflow: hidden;
    background: url("./img/default-post-img.jpg") center center no-repeat;
    background-size: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
}
  .agenda-list-element .image-agenda img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
    transform: scale(1);
    transition: 0.3s ease-in-out;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  @media (min-width: 1200px) {
    .agenda-list-element:hover .image-agenda img {
      transform: scale(1.1);
    }
  }


/* Filtre Agenda */
.filtre-agenda {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
}
    .filtre-agenda select {
        flex: 0 0 200px;
        background-color: var(--blanc);
        border: 1px solid var(--rouge);
        background: var(--grisclair);
        border-radius: 8px;
        color: var(--noir);
        cursor: pointer;
        padding: 8px 20px 8px 12px;
    }
    .filtre-agenda select option:first-child {
        text-transform: uppercase;
    }
@media (max-width: 600px) {
  .filtre-agenda select {
    flex: 0 0 100%;
  }
}


/* Blocs page sommaire */
.blocs_sommaire .row_col_wrap_12 {
  justify-content: center;
}
.blocs_sommaire .row_col_wrap_12 .column_container .vc_column-inner {
  border: 1px solid var(--gris);
  border-radius: 4px;
  padding: 0 0 16px 0;
  background-color: var(--blanc);
}
.blocs_sommaire .wpb_text_column {
  margin-bottom: 8px;
}
  .blocs_sommaire .img-with-aniamtion-wrap {
    height: 220px;
    overflow: hidden;
  }
    .blocs_sommaire .img-with-aniamtion-wrap .inner {
      height: 100%;
    }
      .blocs_sommaire .img-with-aniamtion-wrap .inner .hover-wrap {
        height: 100%;
        margin-bottom: 0;
      }
      .blocs_sommaire .img-with-aniamtion-wrap .inner .hover-wrap .hover-wrap-inner {
        height: 100%;
      }
        .blocs_sommaire .img-with-aniamtion-wrap img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-top-left-radius: 4px;
          border-top-right-radius: 4px;
          transition: all 0.6s;
          cursor: pointer;
        }
  .blocs_sommaire h3 {
    font-weight: 400 !important;
    font-size: 20px;
    line-height: 24px;
    margin-top: 16px;
    padding: 0 14px;
  }
  .blocs_sommaire h4 {
    font-family: "Roboto";
    font-weight: 300 !important;
    font-size: 17px;
    line-height: 22px;
    text-transform: none;
    padding: 0 14px;
  }
  .blocs_sommaire .wpb_wrapper p {
    padding: 0 14px;
    line-height: 24px;
  }
  .blocs_sommaire a {
    display: block;
    /* margin-top: 12px; */
    height: 100%;
    font-weight: 500;
  }
@media (min-width: 1200px) {
  .blocs_sommaire .row_col_wrap_12 .column_container .vc_column-inner:hover img {
    transform: scale(1.1);
  }
}


/* Actualités ------------------------------------------------------------------------------ */
/* Liste des actualités */
.actus-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 0;
  padding-top: 36px;
  margin-top: 27px;
}
  .actus-list-wrapper .actu-list-element {
    flex: 0 0 100%;
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-radius: 5px;
  }
@media (min-width: 920px) {
  .actus-list-wrapper {
    gap: 36px 0;
  }
    .actus-list-wrapper .actu-list-element {
      flex: 0 0 31%;
    }
      .actus-list-wrapper .actu-list-element:hover {
        border-color: var(--rouge);
      }
}
  .actu-list-element .texte-actu-element {
    padding: 16px 14px 10px 14px;
  }
    .actu-list-element .content-actu-element {
      line-height: 22px;
      padding: 0 0 30px 0;
    }
    .actu-list-element .content-actu-element .date_actu {
      display: block;
      font-size: 14px;
      color: var(--rouge);
    }
    .actu-list-element .image-actu-element {
      width: 100%;
      height: 200px;
      flex: 0 0 100%;
      overflow: hidden;
      display: flex;
      background: url('./img/default-post-img.jpg') center center no-repeat;
      background-size: cover;
    }
    .actu-list-element .image-actu-element img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      flex: 1;
      transform: scale(1);
      transition: 0.3s ease-in-out;
      border-top-left-radius: 3px;
      border-top-right-radius: 3px;
    }
    .actu-list-element:hover .image-actu-element img {
      transform: scale(1.1);
    }






/* Liste des arbres ------------------------------------- */
.liste-arbres-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px 20px;
}
  .liste-arbres-element {
    flex: 0 0 20%;
    margin: 0 auto;
    text-align: center;
  }
@media (min-width: 933px) {
  .liste-arbres-element:hover .liste-arbre-element-image img {
    transform: scale(1.1, 1.1);
    filter: brightness(0.5);
  }
}

.liste-arbre-element-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 100% !important;
  margin: 20px auto !important;
}
  .liste-arbre-element-image img {
    border-radius: 100%;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: 0.3s ease-in-out;
  }

body.parent-pageid-1525 h1::before {
  content: "Le Sentier pédagogique";
  display: block;
  font-size: 14px;
  color: var(--rouge);
  font-weight: 600;
}

.vn-page-arbre-nav {
  margin: 50px 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  border: 1px solid var(--grisclair);
  background-color: var(--grisclair);
  border-radius: 8px;
  padding: 16px 30px;
}
  .vn-page-arbre-nav a {
    flex: 0 0 48%;
    color: var(--noir);
    font-weight: 600;
  }
    .vn-page-arbre-nav a span {
      display: block;
      font-weight: 400;
    }
    .vn-page-arbre-next {
      text-align: right;
    }


/* Page single-post ***********************************************************************/
.single-post h1::after {
  display: none !important;
}
.single-post .blog-title .inner-wrap a {
  display: none !important;
  border: none !important;
}

.single-post #page-header-bg #single-below-header > span {
  border: none !important;
}

.single-post #author-bio,
.single-post .controls {
  display: none !important;
}

.single-post .links_download {
  height: 70px !important;
  display: inline-block;
}

.single-post .links_download .link_download_link {
  background-size: 20px 20px !important;
  padding-left: 30px !important;
}






/*  Téléchargements  */
a.df-element {
  width: 220px !important;
}
/*  Téléchargements  */
.dlm-downloads {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px 2%;
  margin-left: 0 !important;
}

.dlm-downloads li {
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 31% !important;
}

.links_download {
  display: flex;
  align-items: center;
}

.link_download_link {
  margin: 10px 0;
  background: transparent url("img/pdf-file.svg") no-repeat left top;
  background-size: 40px 40px;
  padding-left: 60px;
  line-height: 1.3rem;
  min-height: 40px;
  min-width: 376px;
  display: flex;
  align-items: center;
}

.link_download_link a,
.download-link {
  color: var(--noir);
  transition: 0.2s ease-in-out !important;
}

@media (min-width: 933px) {
  .link_download_link a:hover {
    color: var(--rouge);
  }
}



/* Toggle Panels    */
.toggle .toggle-title a {
  font-size: 18px !important;
}
.map-hidden {
  display: none;
}


/* Recherche */
#search-results h2.title {
  font-family: 'Roboto';
}
  #search-results h2.title span {
    display: none !important;
  }
.nectar-search-results h5.title {
  font-family: 'Roboto'; 
}
.nectar-search-results span.meta-type {
  display: none;
}



/* Flipbook */
.df-book-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 2%;
}
.dflip-books.df-posts {
  max-width: unset;
  margin-left: 0;
}
  .dflip-books.df-posts .df-element {
    margin-right: 30px !important;
  }
    .df-element .df-book-title {
      font-weight: 400;
      font-size: 15px;
      line-height: 18px;
      color: var(--noir);
      margin-top: 15px;
      border: 1px solid var(--grisclair);
      border-radius: 5px;
      padding: 5px 8px;
    }
    .dflip-books.df-posts .df-element:hover .df-book-title {
      border-color: var(--noir);
    }


/* Form */
.wpcf7-response-output {
  padding: 40px 30px;
  border-radius: 10px;
}


/* Footer */
#footer-outer {
  margin-top: 60px;
  color: var(--blanc);
  background-color: var(--rouge);
}
  #footer-outer a {
    color: var(--blanc);
  }
  #footer-outer a:hover {
    color: var(--noir) !important;
  }
  #footer-outer .one-fourths .widget h2,
  #footer-outer .one-fourths .widget h3,
  #footer-outer .one-fourths .widget h4 {
    font-size: 22px;
    line-height: 22px;
    font-weight: normal;
    padding-bottom: 10px;
    width: 100%;
    color: var(--blanc);
    border-bottom: 1px solid var(--blanc);
  }

  #footer-outer .socials {
    width: 33px;
    height: 33px;
    margin: 0 10px 0 0;
  }
  #footer-outer #copyright {
    color: var(--blanc);;
  }
.menu-reseaux-sociaux-container ul {
  display: inline-block;
}
    .menu-reseaux-sociaux-container ul li.newsletter {
      display: block;
    }
    .menu-reseaux-sociaux-container ul li.youtube {
      display: inline-block;
    }
    .menu-reseaux-sociaux-container ul li.youtube a {
      display: block;
      text-indent: -9999px;
      background: url("./img/icon_you.png") center center no-repeat;
      background-size: contain;
      width: 32px;
      height: 32px;
    }
    .menu-reseaux-sociaux-container ul li.facebook {
      display: inline-block;
    }
    .menu-reseaux-sociaux-container ul li.facebook a {
      display: block;
      text-indent: -9999px;
      background: url("./img/icon_fb.png") center center no-repeat;
      background-size: contain;
      width: 32px;
      height: 32px;
    }