.desktopmenu {
	background: #13131a;
	width: 100%;
}
.desktopmenu .row {
	margin-left: 0;
	margin-right: 0;
}
.desktopmenu ul {
	margin: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	align-items: stretch;
}
.desktopmenu ul li {
	list-style: none;
	position: relative;
	color: white;
	display: flex;
	justify-content: flex-start;
	flex: 1;
}
.desktopmenu ul li a {
	display: flex;
	padding: 14px 15px;
	flex-grow: 1;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
	color: white;
	font-family: "Open Sans Condensed";
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	line-height: 18px;
	max-width: 185px;
	word-wrap: break-word;
	transition: 300ms ease all;
}
.desktopmenu ul li a:hover {
	background: #36364d;
	transition: 300ms ease all;
}
.desktopmenu ul li a img {
	height: 25px;
	width: auto;
}

.desktopmenu ul li ul {
	display: none; /* Masquer le menu déroulant par défaut */
	transition: 300ms ease all;
	position: absolute;
	background: transparent;
	width: auto; /* Largeur du menu déroulant */
	top: 100%; /* Position sous l'élément parent */
	left: 0;
	z-index: 1; /* Assure que le menu déroulant s'affiche au-dessus du contenu */
	padding: 0;
	list-style: none;
}

.desktopmenu ul li ul li {
	padding: 0;
	width: auto;
}

.desktopmenu ul li:hover ul.second-level {
	display: block !important; /* Afficher le menu déroulant au survol */
	transition: 300ms ease all;
}
.desktopmenu ul li ul.second-level li:hover ul.third-level {
	display: block;
}

/* Style pour les liens du menu déroulant */
.desktopmenu ul li ul li a {
	padding: 10px 20px;
	color: #13131a;
	text-decoration: none;
	display: block;
	font-size: 14px;
	transition: 300ms ease all;
}

.desktopmenu ul li ul li a:hover {
	background: #36364d;
	color: white;
	transition: 300ms ease all;
}
.desktopmenu ul li ul li:nth-child(even) a {
	background: #f4f4f4;
}
.desktopmenu ul li ul li:nth-child(odd) a {
	background: #ffffff;
}
.desktopmenu ul li ul.second-level li ul.third-level li {
	width: 200px;
}
.desktopmenu ul li ul.second-level li ul.third-level li:nth-child(even) a {
	background: #f4f4f4;
}
.desktopmenu ul li ul.second-level li ul.third-level li:nth-child(odd) a {
	background: #ffffff;
}
.desktopmenu ul li ul.second-level li ul.third-level li a img {
	width: 20px !important;
	height: auto !important;
	margin-right: 20px;
	transition: 300ms ease all;
}

.desktopmenu ul li ul li a:hover {
	background: #5b5b7e; /* Couleur de fond au survol */
}
.desktopmenu ul.third-level li a:hover {
	color: #f06449;
}

.desktopmenu ul li ul.second-level li ul.third-level {
	display: none; /* Masquer le troisième niveau par défaut */
	position: absolute;
	background: transparent;
	width: auto; /* Largeur du troisième niveau */
	top: 0; /* Position au même niveau que le deuxième niveau */
	left: 100%; /* Position à droite du deuxième niveau */
	z-index: 9999; /* Assure que le troisième niveau s'affiche au-dessus du contenu */
	padding: 0;
	list-style: none;
}

.desktopmenu ul li ul ul li {
	padding: 0;
}

.desktopmenu ul li ul li:hover ul {
	display: block; /* Afficher le troisième niveau au survol */
	transition: 300ms ease all;
}

.carousel {
	box-shadow: rgba(0, 0, 0, 0.14902) 1px 1px 7px 0px;
	margin-bottom: 0;
}

#carousel.carousel .carousel-inner {
	height: 600px;
}

#carousel.carousel .carousel-item .caption {
	top: unset;
	left: unset;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

@media (min-width: 1600px) {
	.desktopmenu ul li a {
		display: flex;
		padding: 10px 15px;
	}

	.desktopmenu ul li a img {
		display: inline-block;
	}
}
@media (max-width: 1599px) {
	.desktopmenu {
		padding: 0 20px;
	}
	.desktopmenu ul li a img {
		display: none;
	}
}
@media (min-width: 1441px) {
	.desktopmenu ul li a {
		padding: 10px 15px;
	}
}
@media (max-width: 1440px) {
	.desktopmenu ul li a {
		padding: 10px 15px;
	}
}
@media (max-width: 1199px) {
	.desktopmenu ul li a img {
		display: none;
	}
}

@media (min-width: 1024px) {
	.hidden-1024-up {
		display: none;
	}
	.hidden-1024-down {
		display: none !important;
	}
	.desktopmenu ul li a {
		padding: 10px 10px;
		font-size: 15px;
	}
}
@media (max-width: 1024px) {
	.hidden-1024-down {
		display: none !important;
	}
	.desktopmenu {
		display: none;
	}
	#header .header-nav .top-logo {
		padding-top: 5px;
		float: left;
		width: 160px;
	}
	#header .header-top .position-static {
		position: static;
		margin: 0 auto;
		width: 100% !important;
	}
	#header .header-top .search-widget {
		width: 100% !important;
	}
	#header .header-top .container {
		text-align: center;
	}

	#header .header-top a[data-depth="0"] {
		color: #fff;
	}
	#mobile_top_menu_wrapper {
		padding: 15px;
		background: transparent !important;
	}
}
