/******* ALEX MEGAMENU V2 ********/

#primary {
	position: inherit;
}

.remove_overflow {
	overflow: visible !important;
}

header .ast-container {
	width: calc(100% - 116px);
	margin: 0 58px;
	padding: 0;
	max-width: unset;
}

header .ast-container * {
	outline: none !important;
}

.fancy_menu.megamenu {
	width: 120px;
}

.hide_desktop {
	display: none;
}

.ydu_custom_megamenu * {
	line-height: 1.2;
}

.ydu_custom_megamenu a {
	color: #fff;
	text-decoration: none !important;
}

.fancy_menu:hover::before {
	box-shadow: -11px 11px #f2b934, 11px -11px #87b3af, 11px 11px #e79057, -11px -11px #6d96cb, 11px 0 #eba29d, -11px 0 #44a5b7, 0 -11px #e2cf80, 0 11px #71759e !important;
	transition: all .1s linear !important;
}

.ydu_custom_megamenu_lvl2 {
	position: absolute;
	left: 512px;
	top: 0;
	opacity: 0;
	z-index: -1;
	height: 100%;
	width: calc(100vw - 512px);
	padding: 60px 150px;
	transition: opacity .5s ease;
}

.ydu_custom_megamenu_lvl3_titre > a {
	background-image: linear-gradient(transparent calc(100% - 1px), white 1px);
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition: background-size 1s;
	width: max-content;
	display: inline;
}

.megamenu_active {
	overflow: hidden !;
}

.ydu_custom_megamenu_lvl2_bloc {
	gap: 20px;
	margin-top: 30px;
	padding: 0 10px;
	column-count: 2;
	padding-top: 40px;
	margin-bottom: 35px;
}

.ydu_custom_megamenu_lvl3_titre > a:hover {
	background-size: 100% 100%;
}

.ydu_custom_megamenu_lvl2_bloc > div {
	width: 90%;
	break-inside: avoid;
	margin-bottom: 50px;
}

.ydu_custom_megamenu_lvl3_titre {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: 400;
}

.ydu_custom_megamenu_lvl2_titre {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 16px;
	padding-left: 30px;
	position: relative;
	margin-bottom: 30px;
}

.ydu_custom_megamenu_lvl2_titre::before {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: #fff;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: .3s ease all;
	display: inline-block;
}

.ydu_custom_megamenu_lvl2_titre:not(.no_link):hover::before {
	transform: translateY(-50%) rotate(45deg);
	box-shadow: 3px 0 0 rgba(255, 255, 255, .5), 0 3px 0 rgba(255, 255, 255, .5), 0 -3px 0 rgba(255, 255, 255, .5), -3px 0 0 rgba(255, 255, 255, .5);
}

.ydu_custom_megamenu_lvl2_titre_lv1 {
	font-weight: 200;
	/* font-size: 1.875em; */
	font-size: 28px;
	text-transform: uppercase;
	line-height: 1;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255,255,255,0.15);
	margin: 0 10px;
}

.ydu_custom_megamenu_lvl2.active {
	opacity: 1;
	z-index: 100;
}

.ydu_custom_megamenu {
	background-color: #555783;
	position: fixed;
	top: 73px;
	left: 0;
	width: 100vw;
	height: calc(100vh - 73px);
	z-index: 100;
	color: white;
	transform: translateX(-100%);
	transition: all .5s ease;
}

.ydu_custom_megamenu.active {
	transform: translateX(0);
	overflow: auto;
}

.ydu_custom_megamenu_lvl1 {
	width: 512px;
	border-right: 1px solid rgba(255,255,255,0.15);
	height: 100%;
}

.ydu_custom_megamenu_lvl1_titre.active, .ydu_custom_megamenu_lvl1_titre:hover {
	border-right: 2px solid rgba(255,255,255,1);
	background-color: rgba(255, 255, 255, 0.1);
}

.ydu_custom_megamenu_lvl1_titre {
	height: 78px;
	padding: 0 100px 0 58px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(255,255,255,0.15);
	position: relative;
	cursor: pointer;
	text-transform: uppercase;
}

.ydu_custom_megamenu .ydu_submenu_arrow {
	right: 20px;
	z-index: 99;
	top: 50%;
	transform: translateY(-50%);
	height: 40px;
	width: 70px;
	position: absolute;
	background: transparent;
	pointer-events: none;
}

.ydu_custom_megamenu .ydu_submenu_arrow::before {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-right: 1px solid #fff;
	border-top: 1px solid #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
    transform-origin: center;
    padding: 3px;
    background-color: #fff;
    background-clip: content-box;
}

.open.fancy_menu::before, .open.menu-toggle.main-header-menu-toggle .menu-toggle-icon::before  {
	box-shadow: -11px 11px #f2b934, 11px -11px #87b3af, 11px 11px #e79057, -11px -11px #6d96cb, 11px 11px transparent, -11px -11px transparent, 11px -11px transparent, -11px 11px transparent !important;
	transition: all .3s linear, opacity 1s linear !important;
}

.ydu_custom_megamenu_lvl1 > .svg_lkdn {
	margin: 30px 0 0 58px;
	display: block;
	background-color: white;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
}


.ydu_custom_megamenu_lvl2_titre_lv1 > svg {
	display: none;
	cursor: pointer;
}

@media (max-height:800px) and (min-width:1100px){
	.ydu_custom_megamenu_lvl2 {
		padding: 30px !important;
	}

	.ydu_custom_megamenu_lvl2_titre_lv1 {
		padding-bottom: 30px;
	}

	.ydu_custom_megamenu_lvl2_bloc {
		margin-top: 0;
	}
}

@media (max-width: 1500px) and (min-width: 1200px) {
	.ydu_custom_megamenu_lvl2 {
		padding: 50px;
	}
}

@media (max-width: 1300px) {

	.ydu_custom_megamenu_lvl1 {
		width: 300px;
	}

	.ydu_custom_megamenu_lvl2 {
		left: 300px;
		padding: 30px 75px;
		width: calc(100vw - 300px)
	}

	.ydu_custom_megamenu_lvl2_titre_lv1 {
		padding-bottom: 35px;
	}

	.ydu_custom_megamenu_lvl2_titre {
		margin-bottom: 20px;
	}

	.ydu_custom_megamenu_lvl2_bloc > div {
		margin-top: 35px;
	}

	.menu-toggle {
		transform: translateY(0px) !important;
	}
}

@media (max-width: 1230px) {
	html[lang="fr-FR"] .mobile_menu, html[lang="fr-FR"] .ast-main-header-bar-alignment {
		display: none !important;
	}
}

@media (max-width: 1200px) {

	header .ast-container {
		width: initial;
		margin: initial;
		padding: 0 45px !important;
		max-width: initial;
	}

	.hide_desktop {
		display: block;
	}

	.hide_mobile {
		display: none;
	}

	.ydu_custom_megamenu_lvl1 {
		width: 100%;
	}

	.ydu_custom_megamenu_lvl2 {
		left: 0;
		width: 100%;
		background-color: #555783;
		padding: 25px 45px;
		z-index: 1000;
	}

	.ydu_custom_megamenu_lvl2_titre_lv1 {
		font-size: 16px;
		padding-bottom: 20px;
		font-weight: 400;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.ydu_custom_megamenu_lvl2_bloc > div {
		width: 100% !important;
		margin-top: 25px !important;
	}

	.ydu_custom_megamenu_lvl2_bloc > div:nth-of-type(1){
		margin-top: 0 !important;
	}

	.ydu_custom_megamenu_lvl2_titre {
		margin-bottom: 15px;
		font-size: 14px;
	}

	.ydu_custom_megamenu_lvl2_titre_lv1 > svg {
		display: block;
	}

	.ydu_custom_megamenu_lvl2 {
		opacity: 1;
		transform: translateX(-100%);
		transition: transform .5s ease;
	}

	.ydu_custom_megamenu_lvl2.active {
		transform: translateX(0);
	}

	.ydu_custom_megamenu_lvl2_bloc {
		flex-wrap: nowrap;
	}

	.ydu_custom_megamenu {
		top: 73px;
		height: calc(100vh - 73px);
	}
}

@media (max-width: 540px) {
	.ydu_custom_megamenu {
		top: 65px;
		height: calc(100vh - 65px);
	}

	.ast-header-break-point .site-logo-img .custom-mobile-logo-link img {
		max-width: 148px;
	}
}

@media (max-width: 480px) {
	.ydu_custom_megamenu {
		top: 65px;
		height: calc(100vh - 65px);
	}

	.ast-header-break-point .site-logo-img .custom-mobile-logo-link img {
		max-width: 148px;
	}

	.ydu_custom_megamenu_lvl1_titre > a, .ydu_custom_megamenu_lvl1_titre > div, .ydu_custom_megamenu_lvl2_titre_lv1 > a, .ydu_custom_megamenu_lvl2_titre_lv1 > div {
		font-size: 17.5px;
	}

	.ydu_custom_megamenu_lvl2_titre > a, .ydu_custom_megamenu_lvl2_titre > div {
		font-size: 16px;
	}

	.ydu_custom_megamenu_lvl2_titre {
		margin-bottom: 25px;
	}

	.ydu_custom_megamenu .ydu_submenu_arrow {
		right: 0;
	}

	.ydu_custom_megamenu_lvl1_titre {
		padding: 0 100px 0 30px;
	}

	.ydu_custom_megamenu_lvl1 > .svg_lkdn {
		margin: 30px 0 0 30px;
	}

	.ydu_custom_megamenu_lvl2 {
		padding: 25px 20px;
	}

	.ydu_custom_megamenu_lvl2_bloc > div {
		margin-top: 15px !important;
	}

	.ydu_custom_megamenu_lvl1 {
		overflow-y: auto;
		padding-bottom: 100px;
	}
}

/* @media (max-height: 900px) {
	.ydu_custom_megamenu_lvl1 {
		width: 300px;
	}

	.ydu_custom_megamenu_lvl2 {
		left: 300px;
		padding: 30px 75px;
		width: calc(100vw - 300px)
	}

	.ydu_custom_megamenu_lvl2_titre_lv1 {
		padding-bottom: 35px;
	}

	.ydu_custom_megamenu_lvl2_titre {
		margin-bottom: 20px;
	}

	.ydu_custom_megamenu_lvl2_bloc > div {
		margin-top: 35px;
	}
} */