/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/



/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/
/** fonts */
@font-face {
	font-family: 'Lato';
	src: url('fonts/Lato-Regular.woff2') format('woff2'),
		 url('fonts/Lato-Regular.woff') format('woff');
	font-weight: normal; font-style: normal; font-display: swap; ascent-override: 100%;
}
@font-face {
	font-family: 'Lato';
	src: url('fonts/Lato-Bold.woff2') format('woff2'),
		 url('fonts/Lato-Bold.woff') format('woff');
	font-weight: 700; font-style: normal; font-display: swap; ascent-override: 100%;
}
@font-face {
	font-family: 'Lato';
	src: url('fonts/Lato-Black.woff2') format('woff2'),
		 url('fonts/Lato-Black.woff') format('woff');
	font-weight: 800; font-style: normal; font-display: swap; ascent-override: 100%;
}
@font-face {
	font-family: 'Viga';
	src: url('fonts/Viga-Regular.woff2') format('woff2'),
		 url('fonts/Viga-Regular.woff') format('woff');
	font-weight: normal; font-style: normal; font-display: swap; ascent-override: 100%;
}


/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/

html .et_pb_menu__logo img[src$=".svg"] { width: 321px; max-width: 100%; }
.et-menu-nav li.mega-menu ul li.prevSmall { padding-bottom: 30px!important; }

/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/

.home .et_pb_slide::before { display: none!important; background-image: none!important; }
.home-slider .et_pb_slides .et_pb_slide { position: relative; background-image: none!important; padding: 0; }
html .home-slider .et_pb_slide .et_pb_container { position: static; display: flex; max-width: inherit; height: auto!important; max-height: 640px; }
.home-slider .et_pb_slides .et_pb_slide .et_pb_slide_content > * { position: relative; z-index: 12; }
.home-slider .et_pb_slides .et_pb_slide .et_pb_slide_content span { text-shadow: 2px 0 1px #fff, -2px 0 1px #fff, 0 2px 1px #fff, 0 -2px 1px #fff, 1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff; }
.home-slider .et_pb_slides .et_pb_slide .et_pb_slide_content .img { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: -100px; overflow: hidden; }
.home-slider .et_pb_slide_content { max-width: 500px; padding-left: 6%; }
.home-slider .et_pb_slides .et_pb_slide .img img { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

html .et-pb-controllers a { width: 11px; height: 11px; background-color: #fff; border: 2px solid #073b68; opacity: 1; }
html .et-pb-controllers .et-pb-active-control { background-color: #84b841; }

@media screen and (min-width: 981px) {
	.home-slider .et_pb_slides .et_pb_slide .et_pb_slide_content::after { background-size:auto; content:""; display:inline-block; background-image:url(/wp-content/uploads/2025/09/splash01.webp); height:100%; width:100%; display:inline; position:absolute; left:-100px; top:0; z-index:6; background-repeat:no-repeat; background-position:-50% }
}

html .home-team-img .et_pb_image_wrap,
html .home-team-img .et_pb_image_wrap .img { display: block; }
html .home-team-img .et_pb_image_wrap img.home-team-img { display: block; max-width: 100%; height: auto; object-fit: cover; }

/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/
.et_pb_gallery_grid .et_pb_gallery_items { transition: none!important; }
.et_pb_gallery_grid .et_pb_gallery_item { display: block!important; opacity: 1!important; transform: none; }
.et_pb_gallery_image .img { display: block; }
.et_pb_gallery_image .img img { width: 100%; }

.-img-half .et_pb_image_wrap { display: block; }
.img.-cover img { width: 100%!important; object-fit: cover; }

/* puits artesien */
#historique { position: relative; background-image: none!important; }
	#historique .img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
	#historique .img img { position: fixed; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; object-fit: none; object-position: 0 0; }
:is(.post-225166, .post-230012, .post-226447, .post-230083) :is(.et_section_specialty, .et_pb_section_1:not(#historique)),
#historique ~ .et_pb_section { position: relative; z-index: 2; background-color: #fff; }

.et_pb_module.et_pb_text_align_justified :is(h2, h3, h4) { text-align: left; }
@media screen and (max-width: 479px) {
	.et_pb_module.et_pb_text_align_justified { text-align: left!important; }
}

/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*--------------------[RWD]-----------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*--[ADD TUTORIAL CUSTOMIZATION BELOW THIS LINE]--*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/




