/* Top bar */

.top_bar {
	padding: 9px 5px;
}

.top_bar .oxy-header-container {
	padding: 0;
}

.top_bar .menu-item a {
	font-weight: 400 !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1;
}

.top_bar .pll-parent-menu-item {
	position: relative;
	border-left: 1px solid #dddddd;
}

.top_bar .pll-parent-menu-item a {
	text-transform: uppercase;
}

.top_bar .pll-parent-menu-item a::after {
	transform: none !important;
	border: none !important;
	background-image: url(/wp-content/uploads/2022/05/langues_icon.svg) !important;
	width: 11px !important;
	height: 11px !important;
}

.top_bar .pll-parent-menu-item .sub-menu {
	visibility: visible !important;
	padding-top: 9px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	pointer-events: none;
	transform: translate(0, 20px);
	transition: 0.3s;
}

.top_bar .pll-parent-menu-item:hover .sub-menu {
	opacity: 1 !important;
	transform: translate(0, 0px);
	pointer-events: auto;
}

.top_bar .pll-parent-menu-item .sub-menu a {
	padding: 7px 22px !important;
}

/* Menu */

.ydu_main_menu > .menu-item > a {
	font-weight: 600;
	font-size: 0.9em;
	color: white;
}

.ydu_main_menu > .menu-item-has-children > .sub-menu {
	background-color: white;
	border-radius: 7px;
	-webkit-box-shadow: 0px 6px 20px 0px rgb(33 0 56 / 35%) !important;
    box-shadow: 0px 6px 20px 0px rgb(33 0 56 / 35%) !important;
}

.ydu_main_menu > .menu-item-has-children > .sub-menu a {
	color:#370c52 !important;
	line-height: 1.2;
	font-size: 0.9em;
	transition: 0.3s;
}

.ydu_main_menu > .menu-item-has-children > .sub-menu a:hover {
	padding-left: 15px !important;
}

.ydu_main_menu > .menu-item-has-children .sub-menu li {
	margin-bottom: 20px;
}

/* Bouton menu */

.ydu_main_menu .menu_btn a {
	padding: 10px 15px 10px 15px !important;
	background-color: #be1e5d;
	border-radius: 5px;
	border: 2px solid #be1e5d;
	transition: 0.3s;
	font-size: 13px;
	font-weight: 700;
}

.ydu_main_menu .menu_btn a:hover {
	background-color: white;
	color: #be1e5d !important;
}

/* Menu burger */

.main_menu_wrap.mobile_full {
	justify-content: center;
}

.menu_burger_icon {
	height: 28px !important;
	width: 42px !important;
}

.menu_burger_icon span {
	border-radius: 10px;
	background-color: white;
}

.menu_burger_icon span:nth-child(2) {
	width: 85%;
}

.menu_burger_icon span:last-child {
    width: 60%;
}

/* Menu mobile */

@media screen and (max-width: 1400px) {
	
	.ydu_main_menu > .menu-item > a {
		font-size: 0.8em;
	}
	
}

@media screen and (max-width: 991px) {
	
	.main_menu_wrap .menu-menu-principal-container {
		box-shadow: 0px 9px 27px rgb(77 138 255 / 51%);
	}
	
	.ydu_main_menu .menu-item a {
		color:#370c52 !important;
	}
	
	.menu_burger_icon.icon_burger_open span {
		background-color: #370c52;
	}
	
	.menu_burger_icon.icon_burger_open span:last-child {
		width: 0%;
	}
	
	.menu_burger_icon.icon_burger_open span:nth-child(2) {
		width: 100%;
		transform: rotate(45deg);
		top: 50%;
	}
	
	.menu_burger_icon.icon_burger_open span:first-child {
		transform: rotate(-45deg);
		top: 50%;
	}
	
	.ydu_main_menu .menu_btn a {
		color: white !important;
	}
	
	.ydu_main_menu > .menu-item-has-children > .sub-menu {
    	box-shadow:none !important;
	}
	
}

@media screen and (max-width: 480px) {
	
	.top_bar .menu-item a {
		padding-left: 7px !important;
    	padding-right: 7px !important;
	}
	
	.top_bar .pll-parent-menu-item .sub-menu a {
		 padding: 7px 15px !important;
	}
	
}
