/*
Theme Name: Enfold
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/




/* --- PLATEFORME --- */

.wpgb-facet .wpgb-range-facet .wpgb-range-clear{
	background : #b6c6a6 !important;
}

.wpgb-input, .wpgb-select{
	color : #3b6a00 !important;
}

.wpgb-facet .wpgb-range-facet .wpgb-range-slider .wpgb-range-progress{
	background-color : #3b6a00 !important;
}

.wpgb-facet .wpgb-range-facet .wpgb-range-slider .wpgb-range-thumb{
	background-color : #b7c6a6 !important;
	border : #3b6a00 !important;
}
.wpforms-field-label-inline label{
	font-weight : 200 !important;
}

#wpforms-979-field_12-container{
	margin-top : 20px !important;
}

.wpforms-field-label{
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom:8px !important;
    color: #3C6A01 !important;
}

div.wpforms-container .wpforms-form .wpforms-signature-wrap .wpforms-signature-canvas{
	border : 1px solid #3C6A01 !important;
	border-radius : 0px !important;
}

#wpforms-979-field_8-container{
	margin-top : 18px !important;
}

.wp-grid-builder .wpgb-card-8 .wpgb-block-7 .wpgb-block-term {
	color : white !important;
	background-color : #3C6A01 ;
    font-weight: 700 !important;
	padding : 8px !important;
    margin: 0px !important;
}

.wp-grid-builder .wpgb-card-8 .wpgb-block-9{
	font-size : 18px !important;
}

.av_promobox .avia-button.avia-size-large {
    margin-top: -21px;
    margin-top: -26px !important;
    background-color: white !important;
    color: #3c6a01 !important;
}


/* --- Badge Offre / Recherche --- */
.badge-type {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: #fff;
}

/* Rouge pour Offre */
.badge-type a[href*="offre"],
.badge-type:has(a[href*="type-recherche/offre"]) {
  background-color: #a51c1c;
}

/* Vert pour Recherche */
.badge-type a[href*="recherche"],
.badge-type:has(a[href*="type-recherche/recherche"]) {
  background-color: #007b55;
}



.search #header_main {
	background: #3C6A01;
}

.search-result-counter {
	background: #3C6A01 !important;
	color: white !important;
}

.template-search .post-meta-infos {
    display: none !important;
}

.template-search .pagination {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-top: 15px !important;
}

.template-search .pagination-meta {
    font-family: 'Poppins', sans-serif !important;
}

.template-search .pagination .current {
    background: #3C6A01;
    color: white !important;
}

.template-search .entry-content-wrapper {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #878787 !important;
	padding-left: 70px !important;
}

.search-result-counter {
    margin-top: 20px !important;
}


h1, h2, h3, h4, h5, h6 {
	font-family: 'grad', serif !important;
font-weight: 700 !important;
font-style: normal !important;
	text-transform: inherit !important;
}

h1 {
    font-size: 60px !important;
    color: white !important;
}

h2 {
    font-size: 36px !important;
    color: #3C6A01;
}

h3 {
    font-size: 24px !important;
	line-height: 32px !important;
    color: #3C6A01 !important;
}

.avia-promocontent p {
	    font-size: 24px !important;

   	font-family: 'grad', serif !important;
font-weight: 700 !important;
font-style: normal !important;
	text-transform: inherit !important;
}

p, li {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

/* MENU */

.member-menu, .logged-in #menu-item-66 {
	display: none;
}

.logged-in .member-menu {
	display: block;
}




.main_menu {
    width: calc(100% - 400px) !important;
    position: relative !important;
    margin: 0 auto !important;
}

.av-main-nav-wrap {
    float: none !important;
    margin: auto !important;
    width: fit-content !important;
}

.logo {
    padding: 5px 0 !important;
}

.avia-menu .espace-button {
	display: none !important;
}

.main_menu .avia-menu-text {
    font-family: 'grad', serif;
    font-weight: 400;
    font-style: normal;
        text-transform: inherit !important;
        color: white !important;
        font-size: 21px !important;
        letter-spacing: 1px !important;
}

.main_menu .current-menu-item .avia-menu-text, .main_menu .avia-menu-text:hover {
    border-bottom: 1px solid white !important;
}

.avia-menu-fx {
    display: none !important;
}

#custom_html-2 {
    position: absolute;
    top: 0px !important;
    right: 0px !important;
    width: fit-content !important;
    padding: 0 !important;

}


#menu-item-search {
	display: none !important;
}

.logged-in #menu-item-search {
	display: block !important;
}

#menu-item-search a { 
	color : white !important;
	font-size: 22px !important;
}

/* GLOBAL */

.espace-button a {
	padding: 0 !important;
	margin: 15px 50px !important;
	width: fit-content !important;
}

.avia-button, .wpforms-submit, .espace-button a {
    height: 54px !important;
    border-radius: 0px !important;
    border: 0px solid white !important;
    line-height: 54px !important;
    padding: 0 20px !important;
    font-family: 'grad', serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    background-color: #3C6A01 !important;
	font-family: 'grad', serif !important;
	color: white !important;
}

.white-button, .login-form .wpforms-submit, .espace-button a {
    background-color: white !important;
    color: #3C6A01 !important;
}

.espace-button .avia-menu-text {
	color: #3C6A01 !important;
}

.alt-button {
   background-color: #355c02 !important;
}

.login-form p {
	color: white !important;
}

.login-form .log-out {
	color: white !important;
	text-decoration: underline !important;
	display: block !important;
}


.login-form .log-out:hover {
	opacity: 0.9 !important;
	text-decoration: none !important;
}

/* FORMS */

.wpforms-field {
	padding: 0 !important;
}

.wpforms-field input, .wpforms-field textarea {
	height: 56px !important;
	    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    border: 1px solid #3C6A01 !important;
}

.wpforms-field textarea {
    min-height: 150px !important;
    height: auto !important;
}


.wpforms-field input[type="checkbox"] {
	height: 16px !important;
}

.wpforms-field label {
	font-family: 'Open Sans', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	margin-bottom: 3px !important;
    color: #3C6A01 !important;
}

.login-form .wpforms-field label {
	color: white !important;
}

.wpforms-required-label {
	color: red !important;
}

.wpforms-field-html a {
	color: white !important;
	text-decoration: underline !important;
		font-family: 'Open Sans', sans-serif !important;
	font-size: 14px !important;
}

.wpforms-field fieldset {
	margin-bottom: 10px !important;
}

/* CARDS */

.logo-espace {
	height: 150px !important;
	margin-top: 30px !important;
}

.logo-espace a div {
	background-size: contain !important;
	height: 150px !important;
}

.date-publication:before {
	content: 'Publié le ';
}

.category {
	color: #000 !important;
font-family: 'Poppins', sans-serif !important;
font-size: 16px !important;
font-weight: 800 !important;
text-transform: uppercase !important;
}

.date-publication {
	color: #3C6A01 !important;
	font-family: 'grad', serif !important;
font-size: 16px !important;
font-weight: 400 !important;
line-height: 24px !important; 
}

.news div.avia-button {
	display: none !important;
}

.news .wpgb-card-media-thumbnail {
	border-bottom: 1px solid #3C6A01 !important;
}

.news .wpgb-block-3 a {
	text-decoration: underline !important;
	color: #3C6A01 !important;
}

.newsletter-section .wpgb-card-media-thumbnail {
	border-bottom: 0px solid #3C6A01 !important;
}

.wpgb-area-top-2 {
	align-items: end !important;
}

.wpgb-button-facet {
	padding-bottom: 15px !important;
}

.wpgb-button {
	background-color: transparent !important;
	border: 0px solid white !important;
	padding: 0 !important;
	color: #3C6A01 !important;
font-family: 'Grad', serif !important;
font-weight: 400 !important;	
}

.wpgb-button span {
	font-size: 20px !important;
	padding-right: 15px !important;
}

.wpgb-button[aria-pressed="false"] {
	opacity: 0.5 !important;
	transition: all 0.15s ease-in-out !important;
}

.wpgb-button[aria-pressed="false"]:hover {
	opacity: 1 !important;
}

.wpgb-button:first-child span {
	padding-left: 0px !important;
}

.wpgb-pagination-facet {
    margin-top: 20px !important;
}

.wpgb-page {
    min-width: 20px !important;
}

.wpgb-page:first-child {
    margin-left: 0px !important;
}

.wpgb-page a {
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    opacity: 0.5 !important;
    color: #000 !important;
}

.wpgb-page a[aria-current="true"],
.wpgb-page a:hover {
    opacity: 1 !important;
    color: #3C6A01 !important;
}


.wpgb-page:first-child a {
    padding-left: 0px !important;
}

.wpgb-page-next a::after {
    content: '\f178' !important;
    font-family: "Font Awesome 6 Pro";
    margin-left: 5px !important;
}

.wpgb-page-prev a::before {
    content: '\f177' !important;
    font-family: "Font Awesome 6 Pro";
    margin-right: 5px !important;
}

h4.wpgb-facet-title {
    color: #3C6A01;
    font-family: 'Grad', serif !important;
    font-size: 16px !important;
    font-weight: 800;
    margin-bottom: 3px !important;
}

.wpgb-input,
.wpgb-select {
    height: 56px !important;
    margin: 0 !important;
    border: 1px solid #3C6A01 !important;
    background: transparent !important;
    border-radius: 0px !important;
    color: #006562 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.wpgb-select {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.wpgb-input::placeholder {
    opacity: 1 !important;
    font-weight: 400 !important;
    color: #3C6A01 !important;
}

.wpgb-facet .wpgb-search-facet .wpgb-input {
    padding-left: 20px !important;
}

.wpgb-select-toggle {
    stroke: #3C6A01 !important;
}

.wpgb-facet .wpgb-input-icon {
    height: 20px !important;
    top: calc(50% - 10px) !important;
    width: 20px !important;
    stroke: #3C6A01 !important;
    margin-left: 12px !important;
}

.wpgb-select input {
    margin: 0px !important;
    background: transparent !important;
    color: #3C6A01 !important;
    opacity: 1 !important;
    border: 0px solid white !important;
}

.wpgb-select input::placeholder {
    opacity: 1 !important;
}

.dossier.wpgb-card-inner {
	flex-direction: row !important;
}

.dossier .wpgb-card-header {
	  flex: 1 !important;
}


.dossier .wpgb-card-content {
	width: fit-content !important;
	flex-shrink: 0 !important;
	flex-grow: initial !important;
}

.dossier .wpgb-block-1 {
	line-height: 54px !important;
}

.news-membre{
	display: none !important;
}

.logged-in .news-membre {
	display: block !important;
}

.logged-in .news-tous-public {
	display: none !important;
}


/* SINGLE NEWSLETTER */

.single-newsletter .header_bg {
    background: #3C6A01 !important;
}

.post-back-button {
color: #3C6A01 !important;
font-family: 'grad', serif !important;
font-size: 18px !important;
font-weight: 700 !important;
margin-bottom: 10px !important;
	display:block !important;
	transition: all 0.15s ease-in-out !important;
}

.post-back-button:hover {
	transform: translatex(10px)
}
.post-back-button i {
	width: 26px !important;
	height: 26px !important;
	line-height: 26px !important;
	font-size: 16px !important;
	text-align: center !important;
	background-color: #3C6A01 !important;
	color: white !important;
	margin-right: 10px !important;
}


.main-news article {
    max-width: 1000px !important;
    margin: 30px auto 00px auto !important;
    padding: 0 50px !important;
    float: none !important;
}

.news-block {
	margin-top: 10px !important;
    background-color: #ffffff !important;
    margin-bottom: 50px !important;
}

.news-img {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
}

.content-news {
    padding: 25px 25px 25px 25px !important;
}

.content-news .wpforms-container,
.content-news .wpforms-form {
    margin: 0 !important;
}

h1.news-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    text-transform: inherit !important;
    color: #3C6A01 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.news-category {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    color: #006562 !important;
    line-height: 26px !important;
    margin: 0 !important;
}

.news-date {
    font-family: 'Grad', serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #3C6A01 !important;
}

.avia-post-nav {
    display: none !important;
}

/* SINGLE ENTITE */

.banner-entite, .banner-espace{
    width: 100%;
    height: 450px !important;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-entite-overlay, .banner-espace-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-entite h1, .banner-espace h1 {
padding-top: 110px !important;
}

.single-entite .header_bg, .single-espace .header_bg{
    background: transparent !important;
}

.single-entite #header, 
.single-espace #header {
    position: absolute !important;
}

.single-entite #header_main,
.single-espace #header_main {
    border-bottom: 0px solid white !important;
}

.membres-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.entite .container, .espace .container {
    padding: 50px 0 !important;
}

.espace-intro {
    display: flex !important;
    align-items: center !important;
    gap: 50px !important;
}

.entite-intro, .espace-intro {
    background-color: #fff !important;
    padding: 30px !important;
    margin: 10px 0 50px !important;
}

.logo-espace-single {
    max-width: 250px !important;
}

.membre-card {
    background-color: #fff !important;
    padding: 30px !important;
}

.membre-card .name {
    margin-top: 0px !important;
    margin-bottom: 20px !important;
}

.membre-card .fonction {
    color: #000;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}


.membre-card p {
    margin: 0 !important;
}

.membre-card a {
    color: #000 !important;
    text-decoration: underline !important;
}

/* SINGLE ESPACE */

#submenu-espace {
	position: relative;
	background: #3C6A01 !important;
	border-bottom: 0px solid white !important;
}


.custom-submenu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.av-subnav-menu {
	text-align: center !important;
}

#submenu-espace .container {
	padding: 15px 0 !important;
}


#submenu-espace ul {
	margin-bottom: 0px !important;
}

#submenu-espace li {
	display: inline-block !important;
	padding: 0 15px !important;
}

#submenu-espace li a {
    font-family: 'grad', serif !important;
	font-size: 18px !important;
	border: 0px solid white !important;
    color: white !important;
	background-color: transparent !important;
}
.custom-submenu li a:hover {
    text-decoration: underline;
}


#agenda, .inscription-box, .contact-box {
    background-color: #fff !important;
    padding: 30px !important;
    margin: 10px 0 50px !important;
}

#promotion, #reglementation {
    margin: 10px 0 50px !important;
}

.toggler {
    background: transparent !important;
    color: #3C6A01 !important;
    padding-left: 0px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    border-top: 1px solid #3C6A01 !important;
	margin: 0 !important;
	padding: 20px 0 !important;
}

.toggler:nth-child(1) {
    border-bottom: 0px solid #3C6A01 !important;
}

.toggle_content {
    background: transparent !important;
    color: #3C6A01 !important;
    padding-left: 0px !important;
	padding-bottom: 20px !important;
}

.toggle_content p {
    margin: 0 !important;
}

.toggle_icon {
    border-color: #3C6A01 !important;
    opacity: 1 !important;
    border-width: 1px !important;
    width: 40px !important;
    height: 40px !important;
}

.toggle_icon span {
    border-color: #3C6A01 !important;
}

.document-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background-color: white !important;
    padding: 15px !important;
    margin-bottom: 5px !important;
}




/* FOOTER */

h3.widgettitle {
        font-size: 24px !important;
        color: white !important;
        margin-bottom: 20px !important;
}

#custom_html-3 .avia-button {
    display: block !important;
    width: fit-content !important;
    margin-top: 15px !important;
}

#socket .container {
    border-top: 1px solid white !important;
    text-align: center !important;
}

#socket .copyright {
    float: none !important;
    font-size: 14px !important;
}

#socket .copyright strong {
    font-weight: 400 !important;
}

#nav_menu-4, #nav_menu-5 {
	display: none !important;
}

.logged-in #nav_menu-4, .logged-in #nav_menu-5 {
	display: block !important;
}

@media screen and (max-width: 768px) {
	
	
	.av_promobox .avia-button.avia-size-large {
    margin-top: 10px !important;

}
	
	.header_bg {
		background: #3C6A01 !important;
	}
	
	.header_color .av-hamburger-inner, .header_color .av-hamburger-inner::before, .header_color .av-hamburger-inner::after {
		background-color: white !important;
	}
	
	#custom_html-2 {
		display: none !important;
	}
	
	#av-burger-menu-ul {
		background:  #3C6A01 !important;
	}
	
		#av-burger-menu-ul a {
		border: 0px solid white !important;
	}
	
	#menu-item-search a  {

		display: none !important;
	}
	
	.logo {
		padding: 10px !important;
	}
	
 .main_menu {
	 width: fit-content !important;
		position: absolute !important;
top: 10px !important;
        right: 35px !important;
    }
	
	.logged-in #av-burger-menu-ul .member-menu {
		display: block !important;
	}
	
	.avia-menu #av-burger-menu-ul .espace-button {
	display: block !important;
		
}
	
	.bandeau .container {
		height: 250px !important;
	}
	
	h1 {
		font-size: 32px !important;
		line-height: 38px !important;
	}
	
	h2, h1.news-title {
		font-size: 24px !important;
		line-height: 30px !important;
	}
	
	h3 {
		font-size: 20px !important;
		line-height: 28px !important;
	}
	
	.dossier.wpgb-card-inner, .document-item {
		flex-direction: column !important;
		align-items : flex-start !important;
	}
	
	.dossier h3 {
		padding-bottom: 0px !important;		
	}
	
	.dossier .wpgb-block-1 {
		line-height: unset !important;
	}
	
	.main-news article {
    margin: 30px auto 0px auto !important;
    padding: 0px !important;
    width: 85% !important;
}
	
	.banner-entite, .banner-espace {
    height: 300px !important;
	}
	
	.banner-entite-title, .banner-espace-title {
				padding: 0 7.5% !important;
	}
	
	.membres-grid {
	grid-template-columns: none !important;
	}
	
	#submenu-espace {
		display: none !important;
	}
	
	.espace-intro {
		flex-direction: column !important;
	}
}


.wpgb-input, .wpgb-select{
color : #3b6a00 !important;
}