/* @override 
	https://cen41.olecomte.com/wp-content/themes/cen41/style.css?ver=1.0.0 */


/**
Theme Name: CEN41
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cen41
Template: astra
*/



:root {
  /* "Titre principal" dans Elementor */
  --wrapper: var(--ast-normal-container-width);
  --wrapper-large: calc(var(--wrapper) + 80px) ;
  --wrapper-narrow-large: calc(var(--wrapper-narrow) + 25%) ;
  --wrapper-narrow: var(--ast-narrow-container-width);
  --megamenu-sub: 110px;
  --vert:#53b335;
   --e-global-color-primary: #53b335;
    --e-global-color-secondary: #54595F;
    --e-global-color-text: #7A7A7A;
    --e-global-color-accent: #61CE70;
    --e-global-typography-primary-font-family: var(--primary-font);
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: var(--primary-font);
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: var(--primary-font);
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: var(--primary-font);
    --e-global-typography-accent-font-weight: 500;
	--first-font : "Sora";
	--second-font : "Figtree"
}

.wrapper-full { width: 100% !important; max-width: inherit;}
.wrapper  { max-width: var(--wrapper) !important;}
.wrapper-large  { max-width: var(--wrapper-large) !important;}
.wrapper-narrow-large  { max-width: var(--wrapper-narrow-large) !important;}
.wrapper-narrow  { max-width: var(--wrapper-narrow) !important;}

.only-mobile  { display: none !important;}

.radius  { border-radius: 20px !important; overflow: hidden;}

/* @group HEADER */

#masthead {
	background: #FFF;
}

/* @end */

/* @group MEGAMENU */
.megamenu {}

.megamenu-bloc {background: #FFF !important; padding: 40px !important;}

.megamenu ul.sub-menu {
	position: fixed !important;
	top: var(--megamenu-sub) !important;
	left: 0;
	width: 100vw !important;
	box-shadow:none !important;
	background: transparent !important;
	z-index: 1000; margin-top: 0;
}

.admin-bar .megamenu ul.sub-menu {
	top: calc(var(--megamenu-sub) + 32px) !important;
}

.megamenu ul.sub-menu h4{
	font-size: 1.2em;
	font-weight: 500;
}

/* @end */

/* @group PAGE  */
header.entry-header {max-width: var(--wrapper-narrow) !important; margin: 0 auto; padding: 0 10px;}
h1.entry-title {
	color: var(--vert) !important;
	font-weight: 900 !important;
	font-size: 2.5em !important;
	margin-bottom: 10px;
}

.entry-content {margin: 0 auto; padding: 0 10px;}

/* @end */

/* @group PAGE */

.first-row > .elementor-element:first-child {width: 40%;}
.first-row > .elementor-element:last-child {width: 60%;}

/* @end */

/* @group MAP SEARCH */

.map-site-page header.entry-header {max-width: var(--wrapper-narrow-large) !important; }

.wpgmp_filter_wrappers div.categories_filter select,
.wpgmp_filter_wrappers input.wpgmp_search_input.wpgmp_auto_suggest {
    margin: 0 !important;
    float: none;
    height: inherit;
    line-height: 1.8;
    font-weight: 500;
    text-transform: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
	background:  white;
	border: 1px solid var(--vert) !important;
	border-radius: 30px;
	color: #000000;
	padding: 6px 12px;
}

.wpgmp_filter_wrappers .wpgmp_search_form {
    margin: 0 !important;
}

.wpgmp_filter_wrappers span.cen-pills__title {
    display: inline-block; width: 100%;
	font-weight: bold;
}





/* ===== Conteneur : flex sur une rangée ===== */
.wpgmp_filter_wrappers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: var(--wrapper-narrow-large) !important; margin: 0 auto; padding: 20px; border-radius: 30px;
  font-size: 0.95em;
}

.wpgmp_filter_wrappers .wpgmp_before_listing{
  display: none;
}

#cen41-nb-resultats {
  width: 100% !important;
  max-width: var(--wrapper-narrow-large) !important; margin: 0 auto;
  border-radius: 30px;
  padding: 0 10px;
}

/* aplatit les blocs intermédiaires pour que chaque élément soit placé directement */
.wpgmp_filter_wrappers .categories_filter,
.wpgmp_filter_wrappers [data-container="wpgmp-filters-container"] {
  display: contents; 
}



/* ===== Colonne 1 : pills catégories (20 %), une par ligne ===== */
.wpgmp_filter_wrappers .categories_filter > .cen-pills {
  order: 1;
  flex: 0 0 calc(22% - 16px);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

/* ===== Colonne 2 : pills visites (20 %), une par ligne ===== */
.wpgmp_filter_wrappers [data-container="wpgmp-filters-container"] > .cen-pills {
  order: 2;
  flex: 0 0 calc(30% - 16px);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

/* chaque pill garde la largeur de son contenu */
.wpgmp_filter_wrappers .cen-pill {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  text-align: left;
  font-size: 0.85em !important;
  border: 1px solid var(--vert) !important;
  color: #000000;
  background: #FFF;
  padding: 10px;

}

.wpgmp_filter_wrappers .cen-pill:hover {
  background: var(--ast-global-color-5);

}

.wpgmp_filter_wrappers .active.cen-pill {
  color: #fff;
  background: var(--vert);

}
/* ===== Colonne 3 : liste des villes (20 %) ===== */
.wpgmp_filter_wrappers select[name="place_city"] {
  order: 3;
  flex: 0 0 calc(20% - 16px);
  width: calc(20% - 16px);
}

/* ===== Colonne 4 : champ + rayon + réinitialiser, en ligne ===== */
.wpgmp_filter_wrappers .wpgmp_listing_header {
  order: 4;
  flex: 1 1 0;      /* prend la place restante */
  min-width: 0;
}
.wpgmp_filter_wrappers .wpgmp_search_form,
.wpgmp_filter_wrappers .wpgmp-autocomplete-wrapper {
  width: 100%;
  position: relative;
}
.wpgmp_filter_wrappers select[name="map_radius"] {
  order: 5;
  flex: 0 0 auto; 
}
.wpgmp_filter_wrappers .categories_filter_reset {
  order: 6;
  flex: 0 0 auto;
}

.wpgmp_filter_wrappers .categories_filter_reset_btn {
   margin: 0 !important;
  width: 33px !important;
  height: 32px !important;
  padding: 4px !important;
  text-align: center;
  margin-left: 10px !important;
  background-color: rgba(91, 91, 91, 0.41) !important;
  box-sizing:border-box !important;
}

.wpgmp_filter_wrappers .categories_filter_reset_btn:hover {
  background-color: rgba(91, 91, 91, 1) !important;
}





/* Catégories */

.cen-pill__icon:before{
  display: block; width: 16px; height: 16px; background: #DDDD; border-radius: 40px;
  content: ""; float: left;
  margin-right: 5px;
}


.cen-pill--faune-et-flore .cen-pill__icon:before {content: "🌼"; }
.cen-pill--faune-et-flore.active {  }

.cen-pill--geologique .cen-pill__icon:before {content: "🪨"; }
.cen-pill--geologique.active {  }

/* Visites */
.cen-pill--visite-libre .cen-pill__icon:before {content: "";  background: #7fcc25;}
.cen-pill--visite-libre.active { }

.cen-pill--visite-possible-avec-le-cen41 .cen-pill__icon:before {content: "";  background: #feab29;}
.cen-pill--visite-possible-avec-le-cen41.active { }

.cen-pill--visite-interdite .cen-pill__icon:before {content: "";  background: #e76e6c;}
.cen-pill--visite-interdite.active {  }

/* « Toutes » : un style par groupe si besoin */
.cen-pill--category.cen-pill--toutes .cen-pill__icon:before { display: none;}
.cen-pill--visites.cen-pill--toutes .cen-pill__icon:before { display: none;}

.cen-pill--category.cen-pill--toutes .cen-pill__icon:before { display: none;}
.cen-pill--visites.cen-pill--toutes .cen-pill__icon:before { display: none;}





}


/* @end */

/* @group MAP LIST */


.wpgmp-map-1 .fc-item-box.fc-component-2.wpgmp_locations,
.wpgmp-map-1 .fc-item-meta.fc-right.fc-hide-grid.fc-css,
.fc-item-title.fc-item-primary-text-color a,
.fc-item-title.fc-item-primary-text-color a:hover,
.fc-item-title.fc-item-primary-text-color a:focus,
.fc-item-title.fc-item-primary-text-color a:visited,
.wpgmp-map-1 .fc-item-title.fc-item-primary-text-color,
.wpgmp-map-1 .fc-item-content.fc-item-body-text-color,
.wpgmp-map-1 .fc-location-marker.fc-css,
.gm-style-iw .wpgmp_infowindow .fc-main {
    font-family: var(--second-font), sans-serif !important;
	font-weight: 300 !important;
}

.wpgmp-map-1 .wpgmp_infowindow .fc-item-title,
.wpgmp-map-1 .wpgmp_infowindow.wpgmp_infowindow_post .fc-item-title,
.wpgmp-map-1 a.place_title{
    font-family: var(--first-font), sans-serif !important;
	font-weight: 400 !important;
}

.wpgmp-map-1 {
	  font-family: inherit !important;

}

.location_listing1 {
	float: none !important;
	max-width: var(--wrapper-narrow-large) !important;
	margin: 0px auto !important;
}

/* @end */


/* ===== Mobile : tout en pleine largeur ===== */
@media (max-width: 900px) {
  .wpgmp_filter_wrappers .categories_filter > .cen-pills,
  .wpgmp_filter_wrappers [data-container="wpgmp-filters-container"] > .cen-pills,
  .wpgmp_filter_wrappers select[name="place_city"],
  .wpgmp_filter_wrappers .wpgmp_listing_header,
  .wpgmp_filter_wrappers select[name="map_radius"],
  .wpgmp_filter_wrappers .categories_filter_reset {
    flex: 0 0 100%;
    width: 100%;
  }
}