/*
Theme Name: Divi Child
Template: Divi
Description: Divi Child Theme
Author: Vincent
*/
@font-face {
  font-family: signPainter;
  src: url(fonts/SIGNPAINTER_HOUSESCRIPT.ttf);
}

#axeptio_main_button{
    display: none !important;
}
div[data-hide-on-vendor-consent="youtube"],
div[data-hide-on-vendor-consent="gmaps"],
div[data-hide-on-vendor-consent="facebook_pixel"]{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
}
div[data-hide-on-vendor-consent="youtube"] button, 
div[data-hide-on-vendor-consent="gmaps"] button,
div[data-hide-on-vendor-consent="facebook_pixel"] button{
    position: absolute;
    z-index: 2147483647;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}


#logo{
	max-height: 120px !important;
    margin-top: -4px;
}
#page-container{
	padding-top: 167px !important;
}
#main-header {
/*	background-color: transparent !important;
*/	z-index: 99999 !important;
}
#main-header .container{
	margin: 0 !important;
	width: 100%;
	max-width: none;
}
#main-header .logo_container{
	height: 109px;
    background-image: url(http://www.les-fermes.fr/wp-content/uploads/2019/07/Motif_Vichy.jpg);
    background-size: cover;
    margin-top: 10px;
    transition: .3s all;
    z-index: 21;
    position: relative;
}
#main-header .labels{
	display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: white;
    height: 60px;
}
#main-header .labels img{
	width: auto;
    height: 100%;
}

.et_header_style_centered header#main-header.et-fixed-header .logo_container{
	margin-top: 0px !important;
}
.et_header_style_centered header#main-header.et-fixed-header #logo{
	margin-top: 0;
}

#main-header div#et-top-navigation{
	padding-top: 15px;
	background-color: white;
	z-index: 20;
}

.et-fixed-header #logo{
	margin-top: -3px !important;
	max-height: 75px !important;
}

.rs a {
    line-height: 0;
    font-size: 0 !important;
    color: transparent;
}
.rs{
	width: 20px;
    height: 20px;
    display: inline-block !important;
    vertical-align: middle;
    padding: 0 !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 5px;
 }
.rs-facebook{
	background-image: url("http://www.les-fermes.fr/wp-content/uploads/2021/10/facebook.svg");
}
.rs-insta{
	background-image: url("http://www.les-fermes.fr/wp-content/uploads/2021/10/instagram.svg")
}

/*Moible menu*/
.mobile_menu_bar:before{
	color: #444 !important;
	font-size: 40px !important;
}
.et_mobile_menu{
	border-top: 3px solid #444 !important;
}


h1, h2{
	text-align: center;
	font-family: signPainter, script !important;
	font-size: 60px;
}
h3{
	text-align: center;
	font-family: signPainter, script !important;
	font-size: 40px;
}

.home h2.et_pb_slide_title{
    font-family: signPainter, script !important;
    font-size: 100px !important;
    transform: skew(0, -8deg);
    margin-bottom: 50px;
}
.et_pb_slider .et_pb_slide_0.et_pb_slide>.et_pb_container{
	width: 100% !important;
}

.bg_wrap{
    padding: 0 20px !important;
    background-image: url(http://www.les-fermes.fr/wp-content/uploads/2019/09/bg-grass.jpg);
}
.bg_wrap .et_pb_row{
	padding-left: 40px !important;
	padding-right: 40px !important;
	background-color: white;
}
@media only screen and ( max-width: 900px ) {
	.bg_wrap{
		/*border: 30px solid;*/
		border-image: url(http://www.les-fermes.fr/wp-content/uploads/2019/09/bg-grass.jpg) 50 stretch;
	}
	.bg_wrap2{
		border: 32px solid;
		border-image: url(http://www.les-fermes.fr/wp-content/uploads/2019/09/bg-grass.jpg) 50 stretch;
		z-index: 99999;
	}
	.home h2.et_pb_slide_title{
    	font-size: 60px !important;
	}
}

.column_actus{
	background-image: url(http://www.les-fermes.fr/wp-content/uploads/2019/09/actus_bg.jpg);
    background-size: contain;
    background-position: center top;
    padding: 50px 100px;
    color: white !important;
    min-height: 350px;
    line-height: 1.2 !important;
}


@media only screen and ( max-width: 1400px ) {
	.column_actus{
		padding: 50px 80px;
	}
}
@media only screen and ( max-width: 1080px ) {
	.column_actus{
		padding: 50px 40px;
	}
}
@media only screen and ( max-width: 980px ) {
	.column_actus{
		padding: 60px 200px;
	}
}
@media only screen and ( max-width: 870px ) {
	.column_actus{
		padding: 50px 160px;
	}
}
@media only screen and ( max-width: 700px ) {
	.column_actus{
		padding: 50px 100px;
	}
}
@media only screen and ( max-width: 560px ) {
	.column_actus{
		padding: 50px 60px;
		background-image: none;
		background-color: black;
	}

}

#footer-bottom{
	padding: 15px 0 40px !important;
}
body.et_divi_theme #et-footer-nav+#footer-bottom, body.et_divi_theme .container+#footer-bottom, body.et_vertical_nav #footer-bottom{
	margin-bottom: 0px !important;
}


@media (max-width: 980px){
	.et_header_style_centered #main-header .mobile_nav {
	    padding: 10px 50px !important;
	}
	.et_header_style_centered .mobile_menu_bar {
	    right: 60px !important;
	}
	.et_header_style_centered #et_mobile_nav_menu{
		margin-top: 0 !important;
	}
}

.actions-ecolos .et_pb_image {
	text-align: center;
}
.actions-ecolos .et_pb_image_wrap {
	width: 150px;
	height: 150px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
}
.actions-ecolos .et_pb_image_wrap img{
	width: auto;
	max-width: none !important;
	height: 100%;
}

.tableau-actus h5,
.tableau-actus p{
    color: white;
}