/*
Theme Name: Divi Child
Description: Child theme for Divi by Tom Campion
Author: Tom Campion
Author URI: https://tomcampion.fr/
Template: Divi
Version: 1.0
*/

/** NEW HOME **/
@media (min-width:980px){
	body.accueil #header-home-row-2 h1 {
		font-size: 32px !important;
		max-width: 1000px;
	}
}

/** GENERAL **/
body{
	letter-spacing:0.1px;
}
.underline-c:after{
	content: "";
	width: 26px;
	display: block;
	background: #050505;
	height: 0.75px;
	margin: auto;
	margin-top: 10px;
}

/** footer **/
span.footer-tiret {
    top: -2px;
    position: relative;
    margin: 0 5px;
}
@media (max-width:767px){
	span.footer-tiret{
		display: none !important;
	}
	#custom-footer .et_pb_column_0_tb_footer{
		flex-direction: column;
	}
	#custom-footer .et_pb_column_0_tb_footer div{
		text-align: center;
	}
}
/** MENU **/
.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}

@media (max-width:980px){
	body.scrolled #custom-header-section .mobile_menu_bar:before,
	body.scrolled #custom-header-section span.wpml-ls-native,
	body.scrolled #custom-header-section .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after,
	body.scrolled #custom-header-section .et_mobile_menu li.menu-item>a,
	body.scrolled #custom-header-section .wpml-ls-display{
		color:black !important;
	}
	body.scrolled #custom-header-section #header-row-mobile .et_pb_image_wrap {
		filter:invert(1) !important;
	}
	body.scrolled #mobile-header-socials li a.icon:before{
		filter:invert(1);
	}
	body.scrolled #custom-header-section .et_mobile_menu>li:after, #custom-header-section #header-row-mobile .wpml-ls-legacy-dropdown .wpml-ls-item:not(:last-child):not(.wpml-ls-current-language):after{
		background:#00000075 !important;
	}
	body div#floating-overlay{
		background: rgba(255, 255, 255, 0.80) !important;
	}
	body.scrolled #custom-header-section ul#mobile_menu2,
	body.scrolled #custom-header-section ul.wpml-ls-sub-menu{
		border-color: #00000069 !important;
	}
	#mobile-header-socials .et_pb_social_media_follow_network_name{
		display:none !important;
	}
}

@media (max-width: 980px) {
    #custom-header-section .wpml-ls-sidebars-.wpml-ls.wpml-ls-touch-device.wpml-ls-legacy-dropdown.js-wpml-ls-legacy-dropdown {
        width: fit-content;
    }
	div#header-row-mobile {
		display: flex;
		align-items: center;
	}
	div#header-row-mobile .et_pb_text_inner{
		align-items: center;
    	display: flex;
	}
	
	#header-row-mobile li.wpml-ls-current-language{
		margin-left:20px;
	}
}
body.home:not(.scrolled) #custom-header-section,
body.evenements:not(.scrolled) #custom-header-section{
	transform: translate(-50%, 0px) !important;
}
#custom-header-section {
    transition: all 0.6s ease !important;
}


body.scrolled #custom-header-section,
body.scrolled #floating-overlay{
	background: rgba(255, 255, 255, 0.75) !important;
}
body.scrolled .et-menu-nav li a{
	color:black !important;
}
body.scrolled #custom-header-section{
	border-bottom: 0.5px solid #00000069;
}
body.scrolled #custom-header-section li.menu-item.wpml-ls-item a,
body.scrolled #custom-header-section .sub-menu,
body.scrolled #custom-header-section .et-menu li:not(.wpml-ls-current-language) .sub-menu li a,
body.politique-de-confidentialite #custom-header-section li.menu-item.wpml-ls-item a,
body.politique-de-confidentialite #custom-header-section .sub-menu,
body.politique-de-confidentialite #custom-header-section .et-menu li:not(.wpml-ls-current-language) .sub-menu li a,
body.conditions-generales-dutilisation #custom-header-section li.menu-item.wpml-ls-item a,
body.conditions-generales-dutilisation #custom-header-section .sub-menu,
body.conditions-generales-dutilisation #custom-header-section .et-menu li:not(.wpml-ls-current-language) .sub-menu li a,
body.mentions-legales #custom-header-section li.menu-item.wpml-ls-item a,
body.mentions-legales #custom-header-section .sub-menu,
body.mentions-legales #custom-header-section .et-menu li:not(.wpml-ls-current-language) .sub-menu li a{
	border-color: #00000069 !important;
}
body.scrolled #custom-header-section .et-menu li li a:hover,
body.politique-de-confidentialite #custom-header-section .et-menu li li a:hover,
body.conditions-generales-dutilisation #custom-header-section .et-menu li li a:hover,
body.mentions-legales #custom-header-section .et-menu li li a:hover{
	background: black !important;
	color: white !important;
}


body.scrolled  #custom-header-section .et-menu li>a,
body:not(.home):not(.evenements)  #custom-header-section .et-menu li>a{
	color: black !important;	
}
body.scrolled #custom-header-section .et_pb_menu__logo img,
body.a-propos  #custom-header-section .et_pb_menu__logo img,
body.conditions-generales-dutilisation #custom-header-section .et_pb_menu__logo img,
body.mentions-legales #custom-header-section .et_pb_menu__logo img,
body.politique-de-confidentialite #custom-header-section .et_pb_menu__logo img{
	filter: invert(1)
}
body.scrolled #custom-header-section #menu-main-menu>li:not(.wpml-ls-item):after,
body:not(.home):not(.evenements) #custom-header-section #menu-main-menu>li:not(.wpml-ls-item):after{
	background: black !important;	
}
body.scrolled #custom-header-section,
body:not(.home):not(.evenements) #custom-header-section,
body.scrolled  #custom-header-section li.menu-item.wpml-ls-current-language a,
body.conditions-generales-dutilisation #custom-header-section li.menu-item.wpml-ls-current-language a,
body.mentions-legales #custom-header-section li.menu-item.wpml-ls-current-language a,
body.politique-de-confidentialite #custom-header-section li.menu-item.wpml-ls-current-language a,
body.a-propos #custom-header-section li.menu-item.wpml-ls-current-language a{
	border-color: #0000008a !important;
}
/*mobile */
@media (max-width:980px){
	#custom-header-section #mobile_menu2.et_mobile_menu>li>a,
	#custom-header-section #mobile_menu2.et_mobile_menu>li{
		transition: all 0.3s ease;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(2){
		opacity:0.4;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(3){
		opacity:0.3;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(4){
		opacity:0.2;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(5){
		opacity:0.1;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(6){
		opacity:0;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li>a{
		padding-top: 10px;
        padding-bottom: 10px;
	}
	#header-row-mobile #mobile_menu2 .sub-menu li{
		padding-left:0px !important;
	}
	
	
	.et_mobile_menu .menu-item-has-children:not(.wpml-ls-item)>a:before {
		font-size: 16px;
		content: '\33' !important;
		font-family: 'ETmodules';
		position: absolute;
		right: -10px;
		font-weight: 700;
		font-size: 14px;
		font-weight: 100;
	}
	body #custom-header-section ul.sub-menu li:last-child a {
		margin-bottom: 15px;
	}
	#custom-header-section #mobile_menu2.et_mobile_menu>li>a,
	#custom-header-section #mobile_menu2.et_mobile_menu>li{
		transition: all 0.3s ease;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(2){
		opacity:0.4;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(3){
		opacity:0.3;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(4){
		opacity:0.2;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(5){
		opacity:0.1;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li:nth-child(6){
		opacity:0;
	}
	#custom-header-section #mobile_menu2.submenu-open.et_mobile_menu>li>a{
		padding-top: 10px;
        padding-bottom: 10px;
	}
	
	#header-row-mobile ul#mobile_menu2 {
		max-height: 479px;
		overflow: hidden;
	}
	#header-row-mobile ul#mobile_menu2:after{
		content:"";
	}
	#header-row-mobile div#container-lottie {
		margin: auto;
		width: 100%;
		left: 0px;
		margin-top: -12px;
	}
	#mobile-header-socials{
		display: flex !important;
        flex-direction: row;
        background-color: transparent !important;
        position: relative !important;
        margin: 0 !important;
        justify-content: end;
        width: 100% !important;
        gap: 0 !important;
		margin-top: 15px !important;
	}
	#mobile-header-socials li {
		margin-left: 5px;
	}
	#mobile-header-socials li a.icon:before {
		color: white !important;
        border: 1px solid white;
        width: 20px;
        height: 20px;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2px;
        font-size: 12px;
	}
	#custom-header-section ul.wpml-ls-sub-menu {
		border: 0.5px solid #ffffff69 !important;
		background: transparent;
		margin-top: 0px !important;
		margin-left: 0px !important;
		min-width: 189px;
		/* top: 0px !important; */
	}
	#custom-header-section .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
		border: none;
		background: none !important;
		color: white;
		min-width: 189px;
	}
	#custom-header-section  a.js-wpml-ls-item-toggle.wpml-ls-item-toggle {
		background: transparent !important;
		color: white !important;
		border: none !important;
		width: fit-content;
		font-size: 17px;
	}
	#custom-header-section  .wpml-ls-sidebars-.wpml-ls.wpml-ls-touch-device.wpml-ls-legacy-dropdown.js-wpml-ls-legacy-dropdown {
		width: fit-content;
	}
	#custom-header-section  .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
		font-family: 'ETmodules';
		content: "3" !important;
		border: none !important;
		font-weight: 100 !important;
		top: 0 !important;
		position: relative;
		right: 0 !important;
		font-size: 12px;
	}

	
	#custom-header-section .et_mobile_menu .visible > ul.sub-menu {
		max-height: 250px;
		opacity: 1;
	}
	body #custom-header-section ul.sub-menu a,
	body #custom-header-section ul.sub-menu a h1{
		font-size: 14px !important;
	}
	body #custom-header-section ul.sub-menu a {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	#custom-header-section #header-row-mobile ul.sub-menu {
		border: none !important;
		background-color: unset !important;
		backdrop-filter: none !important;
		margin-left: 0px !important;
		margin-top: 0px !important;
	}
	#custom-header-section .et_mobile_menu .menu-item-has-children:not(.wpml-ls-item)>a:before {
        font-size: 14px;
        font-weight: 100;
    }
	#custom-header-section .et_mobile_menu>li:after,
	#custom-header-section #header-row-mobile .wpml-ls-legacy-dropdown .wpml-ls-item:not(:last-child):not(.wpml-ls-current-language):after{
		content: "";
		width: 17px;
		height: 1px;
		display: block;
		background: #ffffff75;
		float: right;
		margin-right: 10px;
	}
	#custom-header-section #header-row-mobile .wpml-ls-legacy-dropdown .wpml-ls-item:not(.wpml-ls-current-language) a span {
    	text-align: left;
		width: 100%;
        padding-left: 15px;
	}
	#custom-header-section #header-row-mobile .wpml-ls-legacy-dropdown .wpml-ls-item:after{
		float: left !important;
        margin-left: 25px;
        margin-top: 11px;
	}
	#custom-header-section #header-row-mobile .wpml-ls-legacy-dropdown .wpml-ls-item{
		font-size: 19px;
		padding-top: 12px;
		padding-bottom: 12px;
	}
	#custom-header-section .et_mobile_menu li a{
		opacity:1 !important;
		background-color:unset !important;
		border:none !important;
		padding-top: 15px;
        padding-bottom: 15px;
	}
	#custom-header-section .et_mobile_menu li a,
	#custom-header-section .et_mobile_menu li h1{
		text-align: right;
		font-size: 18px !important;
		font-weight: 100 !important;
		margin-right: 0 !important;
		font-family: 'Brandon Light', Helvetica, Arial, Lucida, sans-serif;
	}
	#custom-header-section .et_mobile_menu .wpml-ls-menu-item{
		display:none !important;
	}
	#custom-header-section .mobile_menu_bar:before {
		margin-right: 20px;
	}
	#custom-header-section ul#mobile_menu2 {
		background-color: unset !important;
		max-width: 285px;
		right: 0;
		left: auto;
		position: absolute;
		border: 0.5px solid #ffffff69 !important;
		margin-top: 0px !important;
		margin-right: 0px;
		padding-top:0px !important;
		padding-bottom:0px !important;
		/*height: max-content !important;*/
		padding-right: 20px;
        padding-left: 0px;
		padding-bottom: 30px !important;
		box-shadow: none !important;
	}

	#custom-header-section .et_mobile_nav_menu,
	#custom-header-section .et_pb_menu_inner_container.clearfix,
	#custom-header-section .et_pb_menu,
	#custom-header-section .et_pb_column--with-menu{
		position: unset;
	}
}
/********/
#custom-header-section #container-lottie svg {
    width: 50px !important;
    height: 74px !important;
}
#custom-header-section .et-menu .menu-item-has-children>a:first-child:after{
	font-weight: 100;
    position: relative;
    transform: none !important;
}
#custom-header-section  .et-menu li:not(.wpml-ls-current-language).menu-item-has-children>a:first-child:after {
    top: -2px !important;
}
#custom-header-section .et-menu li:not(.wpml-ls-current-language).menu-item-has-children>a:first-child{
	padding:0px !important;
}
#custom-header-section  .et_pb_menu .et-menu>li {
    padding-left: 17.5px;
    padding-right: 17.5px;
}
#custom-header-section ul.sub-menu {
    border: none !important;
    padding: 0 !important;
}
#custom-header-section .nav li li {
    padding: 0;
    background: transparent;
    width: 100%;
}
#custom-header-section .nav li li a {
    background: transparent;
    width: 100%;
}
#custom-header-section ul.sub-menu {
	border: none !important;
	padding: 0 !important;
	background-color: rgba(255, 255, 255, 0.10) !important;
	backdrop-filter: blur(22.5px);
	margin-top: 6px;
	margin-left: 17px;
	border-radius: 0px !important;
    border: 0.5px solid #ffffff69 !important;
	box-shadow: none;
}
#custom-header-section ul.sub-menu:after{
	content:"";
}
#custom-header-section .nav li li {
    padding: 0 !important;
    width: 100%;
    background: transparent;
}
#custom-header-section .et-menu li li a {
    width: 100%;
    background: transparent;
}
#custom-header-section .et-menu li li a {
	padding: 12px 20px;
	transition: all 0.3s ease;
}
#custom-header-section .et-menu li li a:hover {
	background:white !important;
	color : black !important
}
#custom-header-section .et-menu li li a:hover h1{
	color:black !important;
}
#custom-header-section  .nav ul li a:hover,
#custom-header-section .et-menu a:hover{
	opacity: 1 !important;
}
#custom-header-section #menu-main-menu>li:not(.wpml-ls-item):after {
    content: "";
    display: block;
    width: 0px;
    height: 1px;
    background: white !important;
    margin: auto;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}
#custom-header-section #menu-main-menu>li:not(.wpml-ls-item):hover:after {
	width:15px;
}
body div#floating-overlay {
    background: unset !important;
}
.fluid-width-video-wrapper{
	height:100vh;
}
@media only screen and (min-width: 980px) {
	body #custom-header-section ul.sub-menu {
		background-color: unset !important;
		background: unset !important;
		margin-top: 2px;
    	border-top: 0px !important;
		margin-left: 0px;
	}
	#custom-header-section .et-menu li:not(.wpml-ls-current-language) .sub-menu li a {
		padding: 3px 15px !important;
		font-size: 11px;
		letter-spacing: 0.3px;
	}
	#custom-header-section .et-menu li:not(.wpml-ls-current-language) .sub-menu li:not(:last-child) a {
   	 	border-bottom: 0.5px solid #ffffff69 !important;
	}
	#custom-header-section .nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}
	#custom-header-section .nav li li {
		white-space: nowrap;
	}
	#custom-header-section .nav li li a {
		width: auto !important;
	}
	#custom-header-section .wpml-ls-display{
		font-size: 11px !important;
    	letter-spacing: 0.3px;
	}
	body #custom-header-section .sub-menu li.menu-item.wpml-ls-item a{
		padding-left:15px !important;
	}
	#custom-header-section .sub-menu li.menu-item.wpml-ls-item:not(:last-child) a {
   	 	border-bottom: 0.5px solid #ffffff69 !important;
	}
	#custom-header-section li.wpml-ls-current-language ul.sub-menu{
		background-color:transparent !important;
		margin-top: 1.5pxpx;
    	margin-left: 17px;
	}
	#custom-header-section .sub-menu li.menu-item.wpml-ls-item a {
		justify-content: left !important;
	}
	body #custom-header-section .wpml-ls-current-language li>a {
		justify-content: left !important;
		padding-left: 15px !important;
	}
	#custom-header-section li.menu-item.wpml-ls-item a{
		padding-left: 8px !important;
		padding-right: 8px !important;
		justify-content: center !important;
	}
	#custom-header-section li.menu-item.wpml-ls-current-language>a{
		border: 0.5px solid #ffffff69 !important;
		min-width: 106px !important;
	}
}
#custom-header-section li.menu-item.wpml-ls-item a,
#custom-header-section .wpml-ls-current-language li>a{
    min-width: 104px;
    display: flex;
    justify-content: center;
}
#custom-header-section .sub-menu li.menu-item.wpml-ls-item a {
    padding: 8px 10px !important;
    border: none !important;
}