/*
Theme Name: Saveurs Fermières
Author: Rougevert
Tags: blog, custom-menu
Version: 1.0.0
Requires at least: 5.0.0
Tested up to: 5.8.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saveurs_fermieres
*/

/* BIEN PENSER A AJOUTER 1024M DANS LE wp-config.php */

/* COULEURS */

/* GENERAL */
body {
	margin: 0;
	background-image: linear-gradient(
		rgba(250,244,241,0.4), 
		rgba(250,244,241,0.4)
	), url('/wp-content/uploads/2023/03/fond_body.png') !important;
}

body::before {
	content: '';
	display: block;
	background-color: #FAF4F1;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

body, html {
	overflow-x: hidden;
}

p {
	margin-top: 0;
	margin-bottom: 0;
}

p strong {
	filter: drop-shadow(0px 0px 0px var(--e-global-color-text)) drop-shadow(0px 0px 0px var(--e-global-color-text));
    letter-spacing: 0.5px;
}

.no_event {
	pointer-events: none !important;
}

/* HOME */

#video_home,
#video_home>.elementor-widget-container,
#video_home>.elementor-widget-container>.e-hosted-video.elementor-wrapper.elementor-open-inline,
#video_home video {
	height: 100%; 
}

#video_home>.elementor-widget-container>.e-hosted-video.elementor-wrapper.elementor-open-inline {
	aspect-ratio: auto !important;
}

#section_1_home {
	overflow-y: hidden;
}

#section_1_home>.elementor-widget-image.elementor-absolute>.elementor-widget-container>img {
	overflow-x: initial;
}

/* FORMULAIRE */
span.gfield_required.gfield_required_asterisk {
	display: inline-block !important;
}

input:focus,  
textarea:focus {
	outline: none;
}

[id^='gform_'] textarea {
	height: 50px !important;
}

[id^='gform_fields_'] {
	grid-row-gap: 10px !important;
}

[id^='gform_'] input,
[id^='gform_'] textarea {
	font-family: 'Philosopher', sans-serif;
	font-weight: bold;
}

[id^='gform_'] input[type="text"],
[id^='gform_'] input[type="tel"],
[id^='gform_'] input[type="email"],
[id^='gform_'] textarea {
	border-top: none; 
	border-left: none; 
	border-right: none; 
	/* border-bottom: solid 1px #550D3F99; */
	/* border-bottom: none; */
	border-bottom: solid 1px #F79A00;
	background-color: transparent;
	/* color: #550D3F99; */
	color: white;
}

[id^='gform_'] input[type="text"]::placeholder,
[id^='gform_'] input[type="tel"]::placeholder,
[id^='gform_'] input[type="email"]::placeholder,
[id^='gform_'] textarea::placeholder {
	color: #FFFFFF99;
}

#footer [id^='gform_submit_button_'] {
	color: white;
}

#footer [id^='gform_submit_button_']:hover {
	color: #F79A00;
}

#formulaire_footer {
	height: -webkit-fill-available;
}

#gform_wrapper_1>form {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#gform_wrapper_1 {
	height: 100%;
}

[id^='gform_'] .gform_footer {
	margin-top: auto !important;
	padding-top: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

[id^='gform_submit_button_'] {
	padding: 0.5rem 2rem;
	border-width: 1px;
	border-radius: 5px;
	border-style: solid;
	color: #A7127D;
	background-color: #F79A00;
	border: solid 1px #F79A00;
	transition: all .5s;
	font-size: 18px;
}

[id^='gform_submit_button_']:hover {
	background-color: transparent;
	color: #F79A00;
}

div[id^='gform_confirmation_message_'] {
	text-align: center;
	color: #550D3F;
	font-family: 'Philosopher', sans-serif;
}

#menu-top>.elementor-widget-container>nav>ul>li:last-child>a {
	background-color: #A7127D;
	color: white;
	border: solid 1px #A7127D;
	border-radius: 5px;
}

#menu-top>.elementor-widget-container>nav>ul>li:last-child>a:hover {
	background-color: transparent;
	color: #A7127D;
}

#menu_header>.elementor-widget-container>nav:first-child>ul>li.current-menu-item>a {
	background-image: url('/wp-content/uploads/2023/03/fond_bouton.png');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	transition: all .5s;
	color: white !important;
}

#logo_header img {
	object-position: left;
}

header.elementor-location-header {
	position: fixed;
	width: 100%;
	left: 0;
	box-shadow: 0 0 10px -5px #00000030;
	background-color: white;
	z-index: 999;
}

.titre_deux_lignes_carousel>.e-con-inner {
	background-image: url('/wp-content/uploads/2023/04/forme_texte_deux_lignes.png');
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	padding: 10px 1rem !important;
}

.titre_carousel>.elementor-widget-container {
	background-image: url('/wp-content/uploads/2023/03/titre_categories.png');
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	padding-top: .5rem;
	padding-bottom: .5rem;
}

.titre_deux_lignes>.elementor-widget-container {
	background-image: url('/wp-content/uploads/2023/03/titre_deux_lignes_ok.png');
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}


.sous_titre>.elementor-widget-container {
	background-image: url('/wp-content/uploads/2023/03/sous_titre.png');
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

.sous_titre_carousel>.elementor-widget-container {
	background-image: url('/wp-content/uploads/2023/03/sous_titre.png');
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	padding: .5rem;
}

body.home .titre_deux_lignes>.elementor-widget-container,
body.home .titre_deux_lignes>.elementor-widget-container>h1 {
	width: fit-content;
}

body.home .titre_deux_lignes,
body.home .sous_titre {
	width: fit-content !important;
}

.sous_titre>.elementor-widget-container,
.sous_titre>.elementor-widget-container>h1 {
	width: fit-content;
}

.titre_deux_lignes>.elementor-widget-container>h1,
.sous_titre>.elementor-widget-container>h1,
.titre_carousel>.elementor-widget-container>h3 {
	padding-left: 2rem;
	padding-right: 2rem;
}

.titre_deux_lignes>.elementor-widget-container>h1 {
	margin-bottom: 3rem;
	margin-top: 3rem;
}

.sous_titre>.elementor-widget-container>h1 {
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.sous_titre {
	margin-top: -1rem;
}

.titre_carousel {
	margin-top: -1.5rem;
}

.images_width a {
	width: 100%;
}

/* ACTUS */

#feed_facebook div.cff-item.cff-photo-post.cff-box.cff-shadow {
	-webkit-box-shadow: 0 0 6px -3px rgba(0,0,0, .3) !important;
	box-shadow: 0 0 6px -3px rgba(0,0,0, .3) !important;
}

/* ARCHIVES CATEGORIES PRODUCTEUR */

.titre_archive>.elementor-widget-container {
	background-image: url('/wp-content/uploads/2023/03/fond_categories.png');
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

.titre_archive>.elementor-widget-container,
.titre_archive>.elementor-widget-container>h1 {
	width: 100%;
}

.titre_archive {
	width: 100% !important;
}


.titre_archive>.elementor-widget-container>h1 {
	padding-left: 2rem;
	padding-right: 2rem;
}

.titre_archive>.elementor-widget-container>h1 {
	margin-bottom: 1rem;
	margin-top: 1rem;
}

body.archive.category .sous_titre {
	margin-top: -2rem !important;
}

.affiche_liens_cat>.elementor-widget-container {
	display: flex;
	justify-content: space-between;
}

.affiche_liens_cat>.elementor-widget-container>.elementor-shortcode {
	display: none;
}

.lien_categorie {
	font-family: "Philosopher", Sans-serif;
	font-weight: bold;
	color: #F79A00;
	transition: all .5s;
}

.lien_categorie:not(:last-child) {
	margin-right: 1rem;
}

.lien_categorie:hover {
	color: #A7127D;
}

.container_cat {
	background-size: 100% 100% !important;
}

/* SINGLE PRODUCTEUR */

body.single-post .sous_titre {
	margin-top: -2rem !important;
}

body.single-post .titre_deux_lignes,
body.single-post .titre_deux_lignes>.elementor-widget-container {
	width: 100% !important;
}


body.single-post .titre_deux_lignes>.elementor-widget-container>h1 {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

body.single-post #contenu_producteur p:not(:last-child) {
	margin-bottom: 1rem !important;
}

.image_grille a {
	width: 100%;
}

.conteneur_grille {
	height: 100% !important;
}

.conteneur_grille .titre_carousel {
	height: -webkit-fill-available;
}

.conteneur_grille .titre_carousel>.elementor-widget-container {
	justify-content: center;
}

.conteneur_grille .titre_carousel br {
	display: none !important;
}

.conteneur_grille .titre_deux_lignes_carousel br {
	display: none !important;
}

.conteneur_grille#Oui {
	pointer-events: none !important;
}

.image_grille img {
	object-position: top;
}

/* .image_grille a>img[src="https://rvcom211-saveurs-fermieres.pf5005.wpserveur.net/wp-content/uploads/2023/03/graine-dabeille.png"] {
	object-fit: contain !important;
} */

/* PAGES INTERIEURES */

body:not(.home) .titre_deux_lignes {
	width: 50%;
}

body:not(.home) .titre_deux_lignes>.elementor-widget-container {
	width: 100% !important;
}
	

body:not(.home) .titre_deux_lignes>.elementor-widget-container>h1 {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.texte_a_colorer h2 {
	color: #F79A00;
}

.texte_a_colorer a {
	color: #A7127D;
}

/* #plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section:last-child {
	flex-basis: 100%;
	width: 100%;
} */

#plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section:last-child>ul>li>a>br {
	display: none;
}


.page-id-55 .titre_deux_lignes>.elementor-widget-container,
.page-id-53 .titre_deux_lignes>.elementor-widget-container {
	background-image: url('/wp-content/uploads/2023/03/fond_categories.png') !important;
	background-size: 100% 100%;
	background-position: left;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

/* .page-id-55 .titre_deux_lignes>.elementor-widget-container,
.page-id-55 .titre_deux_lignes>.elementor-widget-container>h1 {
	width: 100%;
}

.page-id-55 .titre_deux_lignes {
	width: 100% !important;
}


.page-id-55 .titre_deux_lignes>.elementor-widget-container>h1 {
	padding-left: 2rem;
	padding-right: 2rem;
}

.page-id-55 .titre_deux_lignes>.elementor-widget-container>h1 {
	margin-bottom: 1rem;
	margin-top: 1rem;
} */

/* FOOTER */

.container_footer::after {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0.6;
	content: '';
	background-image: url('/wp-content/uploads/2023/03/forme_trame-ok.png');
	background-size: 70%;
	background-position: top left -40%;
	background-repeat: no-repeat;
}

#menu_mentions br {
	display: none;
}

#map_footer>.elementor-element>.elementor-widget-container {
	height: 350px !important;
}

#colonne_centre {
	height: fit-content;
}

#map_footer,
#map_footer>.elementor-widget-container>iframe {
	height: 100%;
}


/* VISIONNEUSE */
.elementor-slideshow__header {
	flex-direction: row !important;
}


/* MEDIA QUERIES */

@media screen and (max-width: 1024px) {
	body:not(.home) .titre_deux_lignes,
	body:not(.home) .titre_deux_lignes>.elementor-widget-container {
		width: 100% !important;
	}
	
	.titre_carousel,
	.titre_carousel>.elementor-widget-container,
	.titre_carousel>.elementor-widget-container>h3 {
		height: fit-content !important;
	}
	
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper>article,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper>article>.ae-post-item-inner.ae-swiper-slide-wrapper,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper>article>.ae-post-item-inner.ae-swiper-slide-wrapper>.ae_data,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper>article>.ae-post-item-inner.ae-swiper-slide-wrapper>.ae_data>div[data-elementor-type="wp-post"],
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper>article>.ae-post-item-inner.ae-swiper-slide-wrapper>.ae_data>div[data-elementor-type="wp-post"]>.conteneur_grille,
	.elementor-widget-ae-post-blocks-adv>.elementor-widget-container>.ae-swiper-outer-wrapper>.ae-post-collection>.ae-post-widget-wrapper>article>.ae-post-item-inner.ae-swiper-slide-wrapper>.ae_data>div[data-elementor-type="wp-post"]>.conteneur_grille>.e-con-inner {
		height: fit-content !important;
	}
}

@media screen and (max-width: 767px) {
	#menu_header>.elementor-widget-container>nav.elementor-nav-menu--dropdown {
    	width: 100vw !important;
    	right: -1rem !important;
    	top: 66px !important;
    	left: auto !important;
    }
    
    .titre_deux_lignes h1 {
    	margin-top: 1.5rem !important;
    	margin-bottom: 1.5rem !important;
    }
    
    .sous_titre h1 {
    	margin-top: .5rem !important;
    	margin-bottom: .5rem !important;
    }
    .sous_titre {
		margin-top: -0.5rem !important;
	}
	
	/* #colonne_menus_header {
		justify-content: center;
		margin-bottom: 1rem;
	} */
	
	/* #menu-top>.elementor-widget-container>nav>ul {
		justify-content: center;
	} */
	
	#footer>.elementor-element:first-child {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		height: fit-content !important;
	}
	
	#footer>.elementor-element:first-child>.elementor-element {
		width: 100%;
	}
	
	#footer {
		background-color: transparent;
	}
	
	#footer>.elementor-element:not(#colonne_centre) {
		background-color: var(--e-global-color-primary );
	}
}

@media screen and (min-width: 768px) {
	.masquer_desk {
		display: none !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.titre_deux_lignes>.elementor-widget-container>h1 {
		font-size: 5vw !important;
		margin-top: 2vw !important;
		margin-bottom: 2vw !important;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1610px) {
	.titre_deux_lignes>.elementor-widget-container>h1 {
		font-size: 5vw !important;
		margin-top: 2vw !important;
		margin-bottom: 2vw !important;
	}
	
	body.single-post .titre_deux_lignes>.elementor-widget-container>h1 {
		font-size: 4vw !important;
		margin-top: 1.5vw !important;
		margin-bottom: 1.5vw !important;
	}
	
	.sous_titre>.elementor-widget-container>h1 {
		font-size: 2vw !important;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1130px) {
	/* .sous_titre>.elementor-widget-container>h1 {
		font-size: 2vw !important;
	} */
}

@media screen and (min-width: 1024px) and (max-width: 1262px) {
	#plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section {
		padding: 0rem !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1071px) {
	#plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section>h2 {
		font-size: 30px !important;
	}
	
	#plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section {
		flex-basis: auto !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1054px) {
	#plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section>h2 {
		font-size: 25px !important;
	}
	
	#plan_site>.elementor-widget-container>.elementor-sitemap-wrap>.elementor-sitemap-section>ul>li>a {
		font-size: 18px !important;
	}
}

@media screen and (min-width: 1300px) and (max-width: 1500px) {
	.titre_carousel h3 a {
		font-size: 22px !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1299px) {
	.titre_carousel h3 a {
		font-size: 18px !important;
	}
	
	.container_footer {
		padding-left: 6rem !important;
		padding-right: 6rem !important;
	}
	
	.container_cat .titre_archive h1 {
		font-size: 38px !important;
	}
	
	#menu_mentions nav ul li a {
		text-align: center;
		justify-content: center;
	}
	
	#menu_mentions nav ul {
		flex-direction: column;
	}
	
	#menu_mentions nav ul li:after {
		display: none;
	}
	
	#footer {
		padding-left: 6rem !important;
		padding-right: 6rem !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1175px) {
	.images_width>.elementor-element {
		width: 50% !important;
	}
	
	.titre_carousel h3 a {
		font-size: 20px !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1660px) {
	.container_cat {
		padding-right: 2rem !important;
	}
}

@media screen and (max-width: 500px) {
	.titre_deux_lignes {
		font-size: 20px !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1813px) {
	#colonne_vide_header {
		width: 0 !important;
	}
	
	#colonne_menus_header {
		width: 85% !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1323px) {
	#colonne_menus_header #menu_header ul>li>a {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
}

@media screen and (min-width: 1056px) and (max-width: 1182px) {
	#colonne_menus_header #menu_header ul>li>a {
		font-size: 14px !important;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1055px) {
	#colonne_menus_header #menu_header ul>li>a {
		font-size: 13px !important;
	}
}