/* CSS Document 
Theme Name: LVDM Child Theme
Theme URI: http://yourwebsite.com
Description: Child Theme For Divi
Author: Your Name
Author URI: http://yourwebsite.com
Version: 1.0.0
Template: Divi
*/ :root {
  --darkmysite_dark_mode_link_color: #d66274;
  --darkmysite_dark_mode_h_color: #87bfb7;
}
.darkmysite_dark_mode_enabled h2, .darkmysite_dark_mode_enabled h3 {
  color: var(--darkmysite_dark_mode_h_color) !important;
}
#main-content {
  background-color: #e8e7d8;
}
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
  padding-top: 10px !important;
}
#section\ de\ corps {
  max-width: 96%;
  margin: auto;
}
.single-post h1.entry-title::after, .wp-singular h1.entry-title.main_title::after {
  content: " ";
  width: 50px;
  border-bottom: 5px solid #d66274;
  display: block;
  border-radius: 10px;
}
/* Cible uniquement les listes à l'intérieur du bloc #texte_libre_sd */
/* Cible uniquement les listes dans #texte_libre_sd */
#texte_libre_sd ul {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 15px !important;
}
#texte_libre_sd ul li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.4rem 0;
  border-bottom: 1px dotted;
  line-height: 1.3em;
  padding-bottom: 0.5em;
}
/* Puce-icône "chaînon" basée sur TON SVG, via mask */
#texte_libre_sd ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em; /* ajuste verticalement si besoin */
  width: 1em;
  height: 1em;
  /* La couleur de l'icône suit la couleur du texte/liens */
  background-color: currentColor;
  /* Masque SVG : compatibilité WebKit + standard */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3873 3873"><path d="M631.7,2590c-179.9,179.9-179.9,471.4,0,651.3c179.9,179.9,471.4,179.9,651.3,0l0,0l483.7-483.7l158.9,158.9l-484.1,483.7 c-274.9,260.3-708.7,248.5-969-26.4c-250.4-264.4-250.3-678.4,0.2-942.7l882.4-882.3c257.5-256.8,670.5-268.2,941.8-26l-159.3,159.3 c-183-154.6-453.9-143.4-623.5,25.7L631.7,2590z"/><path d="M3400.3,1442l-882.4,882.3c-257.5,256.8-670.5,268.2-941.8,26l159.3-159.3c183,154.6,453.9,143.4,623.5-25.7l882.3-882.3 c179.9-179.9,179.9-471.4,0-651.3s-471.4-179.9-651.3,0l-483.7,484.1L1947.4,957l483.7-483.7c274.8-260.4,708.6-248.7,969,26 C3650.6,763.6,3650.7,1177.6,3400.3,1442z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3873 3873"><path d="M631.7,2590c-179.9,179.9-179.9,471.4,0,651.3c179.9,179.9,471.4,179.9,651.3,0l0,0l483.7-483.7l158.9,158.9l-484.1,483.7 c-274.9,260.3-708.7,248.5-969-26.4c-250.4-264.4-250.3-678.4,0.2-942.7l882.4-882.3c257.5-256.8,670.5-268.2,941.8-26l-159.3,159.3 c-183-154.6-453.9-143.4-623.5,25.7L631.7,2590z"/><path d="M3400.3,1442l-882.4,882.3c-257.5,256.8-670.5,268.2-941.8,26l159.3-159.3c183,154.6,453.9,143.4,623.5-25.7l882.3-882.3 c179.9-179.9,179.9-471.4,0-651.3s-471.4-179.9-651.3,0l-483.7,484.1L1947.4,957l483.7-483.7c274.8-260.4,708.6-248.7,969,26 C3650.6,763.6,3650.7,1177.6,3400.3,1442z"/></svg>') no-repeat center / contain;
}
/* Optionnel : harmoniser la couleur des liens et focus visible */
#texte_libre_sd a {
  color: #0a66c2; /* adapte à ta charte */
  text-decoration: none;
}
#texte_libre_sd a:hover, #texte_libre_sd a:focus {
  text-decoration: underline;
}
#texte_libre_sd a:focus-visible {
  outline: 2px solid #ffbf47;
  outline-offset: 2px;
  border-radius: 2px;
}
.entry-content li {
  margin-left: 10px;
}
.entry-content li::marker {
  color: #007261;
}
.fluid-width-video-wrapper {
  border: 10px solid #fff;
  box-shadow: 0 5px 10px 0 #00000030;
}
.home #ariane {
  display: none;
}
#ariane {
  font-size: 13px;
  z-index: 1;
  line-height: 1.3em;
}
#ariane a {
  font-size: 13px;
  color: #232323;
}
#ariane a:hover {
  font-size: 13px;
  color: #d66274;
}
.pdf-light-viewer-features-top-panel {
  padding: 10px !important;
}
.wsp-pages-list {
  font-size: 14px;
  column-count: 3;
  column-gap: 21px;
  line-height: 1.4em !important;
}
.wsp-pages-list .page_item.page_item_has_children > a {
  font-weight: 700;
}
.entry-featured-image-url {
  aspect-ratio: 16/9;
  overflow: hidden;
  height: 220px;
}
/****************** Stackable *****************/
.wp-block-stackable-accordion.stk-block-accordion.stk-inner-blocks.stk-block-content.stk-block {
  background: #0b7766 !important;
  border: 5px #fff solid !important;
  box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3) !important;
  padding: 10px !important;
}
.stk-block-heading__text {
  font-size: 24px !important;
  color: #E8E7D8 !important;
}
.stk--svg-wrapper {
  background: #fff !important;
  padding: 3px !important;
  border-radius: 30px !important;
}
/***************RECHERCHE***************/
#searchform {
  padding: 10px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 10px #999;
}
#s {
  font-size: 18px;
  border: 0px;
  width: 75%;
  margin-left: 1%;
  margin-top: 3px;
  vertical-align: middle;
  border-radius: 100px;
}
#searchsubmit {
  border: 0;
  height: 35px;
  background: #fff no-repeat;
  background-position-x: right;
  background-position-y: center;
  background-image: url(img/loupe.png);
  font-size: 0px;
  width: 20%;
  color: #ff00 !important;
}
.search-container {
  background: #fff;
}
.search-container #main {
  max-width: 1080px;
  background: #fff;
  margin: auto;
  padding: 30px;
}
.search-container #ss-search-page-form {
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 30px;
  background: #e1e1e1;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.search-container #s, .search-container #searchsubmit {
  padding: 10px;
  font-size: 20px;
}
.search-container #searchsubmit {
  Color: #fff;
  Background: #000;
  text-transform: uppercase;
  border: 0;
  font-weight: 800;
  font-size: 14px;
  padding: 13px !important;
  cursor: pointer;
}
.validation {
  width: 100%;
}
.search-post-excerpt {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5em;
}
#content.show {
  max-height: 200px; /* Ajustez cette valeur selon la hauteur de votre contenu */
  padding: 10px;
}
.bloc_recherche.annuaire {
  display: flex;
  flex-wrap: wrap;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-out;
  padding: 0 10px;
  margin-top: 10px;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  box-shadow: 0 0 0px #0000001a;
}
.bloc_recherche.annuaire.show {
  max-height: 400px;
  padding: 10px;
  box-shadow: 0 0 10px #0000001a;
  transition: all 0.2s ease-out;
}
#toggleButton {
  background: #ace1d9;
  border: 0;
  border-radius: 30px;
  padding: 4px 10px;
  width: 230px;
}
.bloc_recherche input, .bloc_recherche select, .bloc_recherche input.facetwp-date {
  font-size: 16px !important;
}
.break {
  flex-basis: 100%;
  height: 0;
}
.facetwp-type-checkboxes {
  gap: 30px;
  margin-bottom: 0px !important;
  display: flex;
}
.facetwp-type-reset {
  margin-bottom: 0;
}
.facetwp-facet {
  margin-bottom: 20px !important;
}
.facetwp-dropdown, .facetwp-date, .facetwp-type-search .facetwp-search {
  border-radius: 30px;
  padding: 4px 10px;
  border: 1px solid #155e7c !important;
}
.facetwp-hierarchy_select[data-level="0"] {
  border-radius: 30px 0 0 30px;
  padding: 4px 10px;
  border: 1px solid #155e7c !important;
}
.facetwp-hierarchy_select[data-level="1"] {
  border-radius: 0 30px 30px 0;
  padding: 4px 10px;
  border: 1px solid #155e7c !important;
}
.facetwp-hierarchy_select.is-empty {
  opacity: 0.5;
}
.facetwp-autocomplete.fcomplete-enabled {
  border-radius: 30px 0 0 30px;
  padding-left: 10px;
  border: 1px solid #155e7c;
}
.facetwp-autocomplete-update {
  border: 4px solid #155e7c;
  border-radius: 0 30px 30px 0;
  background: #155e7c;
  color: #fff;
}
.validation {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.bt_filtrer, .facetwp-reset {
  background: #ace1d9;
  border: 0;
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.resultats {
  max-width: 1140px !important;
  margin: 10px auto 40px auto;
}
.resultat {
  display: flex;
  margin-bottom: 15px;
  box-shadow: 0 0 10px #0000001a !important;
  padding: 20px;
  flex-wrap: wrap;
  background: #fff;
}
.search-post-title {
  flex: 100%;
}
#entete_result {
  /*height: 200px;*/
  margin-bottom: 0px;
}
#entete_result .titre_result {
  max-width: 1140px;
  width: 90%;
  margin: auto;
  padding: 20px 0 0 0;
}
#entete_result h1.entry-title {
  font-size: 30px;
  color: #282828 !important;
  line-height: 0.8em;
}
#entete_result .search-page-title {
  font-size: 40px;
  font-weight: 400;
  color: #000 !important;
}
.page-numbers {
  border-radius: 4px;
  border: 1px solid;
  width: 30px;
  padding: 4px;
  display: inline-block;
  text-align: center;
}
.pubdate {
  flex: 100%;
}
.resultat .event-thumbnail.wp-post-image {
  max-width: 250px;
}
.contenu_resultat {
  padding: 15px;
}
.postype {
  padding: 0px 5px;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 3px;
}
.search-post-title {
  font-weight: 600;
}
.event-date {
  font-weight: 600;
}
.search-post-excerpt {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5em;
}
.et_pb_image[data-credit]::after {
    content: attr(data-credit);
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    font-style: italic;
    text-align: right;
    margin-top: 4px;
}
/***************** Dark mode ***************/
.wp-dark-mode-active .page.et_pb_pagebuilder_layout #main-content {
  background-color: #000 !important;
}
.mmm-arrow.darkmysite_style_txt_border.darkmysite_processed {
  display: none;
}
@media only screen and (max-width: 1000px) {
  .mega-toggle-animated-inner.darkmysite_style_secondary_bg.darkmysite_style_all.darkmysite_processed {
    background-color: #015649 !important;
  }
  #mega-menu-wrap-primary-menu .mega-menu-toggle ~ button.mega-close::before {
    color: #000;
  }
  .darkmysite_dark_mode_enabled #mega-menu-wrap-primary-menu .mega-menu-toggle ~ button.mega-close::before {
    color: #FFF;
  }
}
/* Reverse rows on mobile */
@media screen and (max-width: 980px) {
  .et_pb_row.et_pb_row_0, .et_pb_row.et_pb_row_1 {
    display: flex;
    flex-direction: column-reverse;
  }
  #trombi .et_pb_row.et_pb_row_1 {
    display: flex;
    flex-direction: column;
  }
  #mega-menu-item-17211 {
    background: #d66274 !important;
  }
}
@media (min-width: 981px) {
  #main-content .container::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 0px;
    background-color: #e2e2e2;
  }
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator::after {
  display: none !important;
}
}
@media only screen and (max-width: 1000px){
.et_pb_code_2_tb_header.et_pb_module {
    margin-left: auto !important;
    margin-right: 0px !important;
  }}
@media(max-width:680px) {
  .floating-search-button, .darkmysite_switch, .et_pb_scroll_top.et-pb-icon.et-hidden, .et_pb_scroll_top.et-pb-icon.et-visible {
    transform: scale(0.8);
  }
  #trombi .fiche-trombi {
    width: 50% !important;
  }
}
/* Mode sombre – si pertinent */
@media (prefers-color-scheme: dark) {
  #texte_libre_sd a {
    color: #79b8ff;
  }
}
.darkmysite_dark_mode_enabled #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
  color: #FFF !important;
}
.darkmysite_dark_mode_enabled .darkmysite_style_link:not(.darkmysite_switch, .darkmysite_switch *, .darkmysite_ignore, .darkmysite_ignore *) {
  color: #fff !important;
}
	.darkmysite_dark_mode_enabled .et_pb_button_module_wrapper.darkmysite_processed a, .et_pb_searchsubmit.darkmysite_style_form_element.darkmysite_style_secondary_bg.darkmysite_style_all.darkmysite_processed {
		background-color: var(--darkmysite_dark_mode_link_color) !important;
	}
 
	.darkmysite_dark_mode_enabled  .darkmysite_style_all h2.darkmysite_processed, .darkmysite_dark_mode_enabled  h2.darkmysite_processed, .darkmysite_dark_mode_enabled  .darkmysite_style_all h3.darkmysite_processed {
		color: var(--darkmysite_dark_mode_h_color) !important;
	}
.darkmysite_dark_mode_enabled a.darkmysite_style_link.darkmysite_processed{
	color: var(--darkmysite_dark_mode_link_color) !important;
}
.darkmysite_dark_mode_enabled .darkmysite_style_link:not(.darkmysite_switch, .darkmysite_switch *, .darkmysite_ignore, .darkmysite_ignore *) {
  color: #fff !important;
}
.darkmysite_dark_mode_enabled .et_pb_blog_grid .et_pb_blog .et_pb_post .post-content p, .darkmysite_dark_mode_enabled .et_pb_blog_0 .et_pb_post .post-content * {
  color: #fff !important;
} 
