/*
Theme Name: Divi Enfant par Incomm
Description: Theme enfant du theme Divi
Author: Incomm
Author URI: https://www.incomm.fr
Template: Divi
Version: 1.05
*/

/* Css MetaSlider */

.metaslider .flexslider {
	margin: 0 0 0 !important;
}

/* .metaslider .flex-control-nav.flex-control-paging a {
	background-color: #fff !important;
}

.metaslider .flex-control-nav.flex-control-paging a:hover,
.metaslider .flex-control-nav.flex-control-paging a.flex-active {
	background-color: #000 !important;
}

.metaslider .flex-control-nav {
	position: absolute;
	bottom: 20px !important;
} */

.metaslider .flexslider .flex-direction-nav li a.flex-prev {
	background: url('/wp-content/uploads/2026/01/fleche-gauche.png') no-repeat center/contain !important;
	width: 3.75rem !important;
	height: 3.75rem !important;
	left: 3rem !important;
}

.metaslider .flexslider .flex-direction-nav li a.flex-next {
	background: url('/wp-content/uploads/2026/01/fleche-droite.png') no-repeat center/contain !important;
	width: 3.75rem !important;
	height: 3.75rem !important;
	right: 1.563rem !important;
}

@media screen and (max-width: 980px) {
/* 	.metaslider .flex-control-nav {
		bottom: 0.625rem !important;
		font-size: 1.563rem !important;
	} */

	.metaslider .flexslider .flex-direction-nav li a.flex-prev,
	.metaslider .flexslider .flex-direction-nav li a.flex-next {
		width: 1.56rem !important;
		height: 1.56rem !important;
	}
}

@media screen and (max-width: 540px) {
	.metaslider .flexslider .flex-direction-nav li a.flex-prev,
	.metaslider .flexslider .flex-direction-nav li a.flex-next {
		width: 1rem !important;
		height: 1rem !important;
	}
}

/* Css Menu */

.et_pb_menu__menu,
.et-menu-nav {
	width: 100%;
}

#menu-menu-principal {
	all: unset;
	display: flex;
	justify-content: space-between;
	width: 100%;
}

#menu-menu-principal li {
	margin: 0;
	padding: 0;
}

#menu-menu-principal li a {
	position: relative;
	padding: 0 0 1.042vw;
	margin: 0;
	text-decoration: none;
	opacity: 1;
	background: linear-gradient(#7aa3b5, #7aa3b5) bottom 0.125rem center / 0 0.25rem no-repeat;
	transition: background-size 300ms ease;
}

#menu-menu-principal a:hover,
#menu-menu-principal li.current-menu-item a {
	background-size: 3.125rem 0.25rem;
}

/* Css Sub menu */

#menu-menu-principal .sub-menu {
	background-color: #f8f4e6 !important;
	border-top: none !important;
	border-radius: none;
	width: fit-content !important;
}

#menu-menu-principal .sub-menu li {
	margin: 10px 20px !important;
	width: 100% !important;
}

#menu-menu-principal .sub-menu li a {
	text-align: left !important;
	width: fit-content !important;
	white-space: nowrap !important;
	padding: 0 !important;
	background: transparent !important;
}

#menu-menu-principal .sub-menu li a:hover,
#menu-menu-principal li.current-menu-item.menu-item-has-children.et-show-dropdown .sub-menu a {
	color: #7aa3b5;
}

#menu-menu-principal .menu-item-has-children.et-show-dropdown > a {
	background: transparent !important;
}

.et-menu .menu-item-has-children>a:first-child::after {
	right: auto;
}

/* Css Mobile menu */

.mobile_nav.opened .mobile_menu_bar::before {
	font-family: "ETmodules";
	content: "\4d";
}

@media screen and (max-width: 980px) {
	.et_pb_menu__wrap {
		justify-content: start !important;
	}
}

#mobile_menu2 {
	width: 92.5vw !important;
}

#mobile_menu2 li a:hover,
#mobile_menu2 li.current-menu-item a {
	text-decoration: none !important;
	opacity: 1 !important;
}

@media screen and (min-width: 540px) and (max-width: 980px) {
	#mobile_menu2 li a br {
		display: none !important;
	}
}

#mobile_menu2 .menu-item-has-children>a {
	font-weight: 400;
	background-color: transparent;
}

#mobile_menu2 .menu-item-has-children .sub-menu {
	background-color: #edf3f6 !important;
}

#mobile_menu2 li.menu-item-has-children:hover > a {
	color: inherit !important;
}

#mobile_menu2 .menu-item-has-children .sub-menu li a:hover {
	background-color: #edf3f6 !important;
}

/* Css Gravity Forms */

.gform_wrapper.gravity-theme * {
	font-family: "Poppins", sans-serif !important;
}

.gform_wrapper.gravity-theme .ginput_container_consent input[type="checkbox"] {
	accent-color: #9bb089 !important;
	height: 16px !important;
	width: 16px !important;
}

.gform_wrapper.gravity-theme .gfield_consent_label a {
	color: #9bb089 !important;
	text-decoration: underline !important;
	transition: 300ms all ease !important;
}

.gform_wrapper.gravity-theme .gfield_consent_label a:hover {
	text-decoration: none !important;
}

.gform_wrapper.gravity-theme .name_first,
.gform_wrapper.gravity-theme .name_last {
	padding-right: 0 !important;
	margin-bottom: 0 !important;
}

.gform_wrapper.gravity-theme .gform_footer {
	display: block !important;
}

.gform-icon--circle-error::before {
	display: none !important;
}

/* Complianz */

#cmplz-document {
	color: #000 !important;
	max-width: 100% !important;
	line-height: 1.6em !important;
}

#cmplz-document h2 {
	margin-top: 20px;
}

#cmplz-document div {
	text-align: left !important;
}

#cmplz-document .cmplz-categories div,
#cmplz-document .cmplz-categories span,
#cmplz-cookies-overview .cmplz-dropdown div {
	text-align: left !important;
	font-size: 14px !important;
	line-height: 1.6em !important;
}

#cmplz-document input[type="checkbox"] {
	accent-color: #9bb089 !important;
}

#cmplz-document a {
	color: #000;
	border-bottom: 1px solid #000;
	transition: all 400ms ease;
}

#cmplz-document a:hover {
	text-decoration: none !important;
	color: #7aa3b5;
	border-bottom-color: #7aa3b5;
}

@media screen and (min-width: 768px) {
	.cmplz-message,
	.cmplz-categories {
		width: 650px !important;
	}
}

#cc-window {
	font-family: "Roboto", "Open sans", sans-serif !important;
}

/* Classes utilities */

.underlined:hover {
	text-decoration: underline !important;
}

.none:hover {
	text-decoration: none !important;
}

.scale {
	will-change: transform;
	transform-origin: bottom;
	transform: scale(1.0) translateY(0);
	transition: transform 300ms ease;
}

.scale:hover {
	transform: scale(1.05) translateY(-4px);
}

/* Styles encarts homepage */

#encart-one .mg-space {
	margin: 0 1vw 0 0 !important;
}

@media screen and (max-width: 980px) {
	#encart-one .mg-space {
		margin: 0 0 1.25rem 0 !important;
	}
}

.header-btn-bg-picto {
	background-image: url('/wp-content/uploads/2026/01/picto-phone1.png') !important;
	background-position: 98.5% center;
    background-size: 1.56vw auto;
    background-repeat: no-repeat;
}

@media screen and (max-width: 980px) {
	.header-btn-bg-picto {
		background-size: 1.56vw auto !important;
	}
}

.btn-bg-picto {
	background-image: url('/wp-content/uploads/2026/01/picto-bt1.svg') !important;
	background-position: 92.5% center;
    background-size: 1.04vw auto;
    background-repeat: no-repeat;
}
.btn-bg-picto-bleu {
	background-image: url('/wp-content/uploads/2026/01/picto-bt-1.svg') !important;
	background-position: 92.5% center;
    background-size: 1.04vw auto;
    background-repeat: no-repeat;
}

.btn-bg-picto-cta .et_pb_button.et_pb_promo_button {
	background-image: url('/wp-content/uploads/2026/01/picto-bt1.svg') !important;
	background-position: 92.5% center;
    background-size: 1.04vw auto;
    background-repeat: no-repeat;
}

@media screen and (max-width: 980px) {
	.btn-bg-picto,
	.btn-bg-picto-cta .et_pb_button.et_pb_promo_button {
		background-size: 20px auto !important;
	}
}

/* Back to top */
.et_pb_scroll_top.et-pb-icon {
    background: #5089a1!important;
    padding: 5px !important;
    color: #fff;
    bottom: 25%;
    right: 5%;
    border-radius:40px;
    font-size:44px;
}

@media (max-width:981px){
  .et_pb_section_parallax .et_pb_parallax_css, .et_pb_slides .et_parallax_bg.et_pb_parallax_css {
    background-attachment: initial !important;
  }
}
#et_pb_submit {
  background-color: #d8ede3!important;
  border: 2px solid #d8ede3!important;
  color: #000 !important;
}
#et_pb_submit:hover {
	background-color: #f9f9f9!important;
  color: #d8ede3 !important;
}