/* Fil d'Ariane */
.breadcrumb {
    padding-bottom: 24px;
	z-index: 1;
}
.breadcrumb span, .breadcrumb a {
	font-size: 1.4rem!important;
	color: var(--white)!important;
	font-family: "Barlow", sans-serif;
}
.breadcrumb a:hover {
	text-decoration: underline;
	color: var(--white)!important;
	font-weight: 500!important;
}
.breadcrumb span {
	padding: 0 8px;
}
.breadcrumb span:first-child {
	padding-left:0;
}

/* Menu */
.nested{
	background-color: var(--color-primary-active);
	padding: 16px 80px;
}
/* .nested nav{
	display: flex;
	width: 100%;
} */

@media screen and (min-width:768px) {
	.thirdLevel {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 99;
		background: var(--color-primary-active);
		color: var(--white);
		padding: 15px;
	}
}

nav li::before {
	display: none;
}
.secondLevel-new > li {
	position: relative;
	padding: 0;
}
.secondLevel-new .nav-drop-item:hover .thirdLevel {
	display: block;
}
body .mm-panel_opened-parent + .mm-panel_opened {
	display: block!important;
}
.secondLevel-new .thirdLevel li {
	margin-bottom: 10px;
}
.secondLevel-new {
	display: none;
}
.secondLevel-new.active {
	display: flex!important;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap:56px;
	width: 100%;
}

.secondLevel-new > li > a {
	color: var(--white)!important;
	font-size: 1.6rem;
	display: flex;
	transition:0.8s all;
	font-family: "Figtree", sans-serif;
	font-weight: normal!important;
}
.secondLevel-new > li > a:after {
	content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease-in-out;
    z-index: 99999;
    opacity: 0;
}
.secondLevel-new > li > a:hover:after {
	transform: scaleX(1);
    transition: transform .2s ease-in-out;
    opacity: 1;
}
.secondLevel-new > li.current-menu-item > a:after {
	transform: scaleX(1);
    transition: transform .2s ease-in-out;
    opacity: 1;
}

/*troisième niveau*/
.thirdLevel li a {
	color: var(--white);
}

#headerInner{
	left: 0;
}
.nested ul.firstLevel {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		 -ms-flex-direction: column;
		flex-direction: column;
	margin: 0;
	background-color: #fff;
	border-radius: 0 10px 10px 0;
	-webkit-border-radius: 0 10px 10px 0;
	-moz-border-radius: 0 10px 10px 0;
	-ms-border-radius: 0 10px 10px 0;
	-o-border-radius: 0 10px 10px 0;
	position: relative;
	-webkit-box-shadow: 0px 11px 21px 0px rgba(143,143,143,1);
	box-shadow: 0px 11px 21px 0px rgba(143,143,143,1);
}
.nested ul.firstLevel > li {
	padding: 10px 0 10px 0;
	position: initial;
	min-height: 125px;
	min-width: 125px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
			-ms-flex-direction: column;
	flex-direction: column;
		-webkit-box-align: center;
			 -ms-flex-align: center;
	align-items: center;
		-webkit-box-pack: center;
			-ms-flex-pack: center;
	justify-content: center;
}
.nested ul.firstLevel > li:hover > a span{
	color: var(--color00);
}
.nested ul.firstLevel > li > ul {
	position: absolute;
	margin: 0;
	top: 100%;
	left: 0;
	background-color: #fff;
	min-width: 250px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	height: 0;
	opacity: 0;
	overflow: hidden;
	-webkit-transform: translateY(-10px);
		-ms-transform: translateY(-10px);
			transform: translateY(-10px);
		-webkit-transition: opacity .5s, -webkit-transform .5s;
			transition: opacity .5s, -webkit-transform .5s;
		-o-transition: transform .5s, opacity .5s;
		transition: transform .5s, opacity .5s;
		transition: transform .5s, opacity .5s, -webkit-transform .5s;
}
.nested ul.firstLevel > li.itemRight > ul {
	left: initial;
	right: 0;
}
.nested ul.firstLevel > li:hover > ul {
	-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
			transform: translateY(0);
	opacity: 1;
	height: initial;
	position: absolute;
	top: 0;
	left: 100%;
	height: 100%;
}
.nested ul.firstLevel > li > ul{
	z-index: 10000;
}
.nested ul.firstLevel > li > ul > li {
	padding: 1rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-direction: column;
	flex-direction: column;
}
.nested ul.firstLevel > li > ul > li::after{
	content: '';
	display: block;
	width: 20%;
	height: 2px;
	position: absolute;
	bottom: 0;
	left: 0;
	border-radius: 20px;
}
.nested ul.firstLevel > li > ul > li > a {
	color: var(--color-primary);
	padding: 2px 10px 2px 10px;
	display: block;
	height: 100%;
	width: 100%;
}
.nested ul.firstLevel > li > ul > li > a:hover {
	color: var(--color02);
}
.nested ul.firstLevel > li > ul > li > a span{
	text-transform: uppercase;
}
.thirdLevel span:hover{
	color: var(--color02);
}
nav li{
	cursor: pointer;
}
.nested .thirdLevel li::before{
	content: "\2022";
	color: var(--color02);
	font-weight: bold;
	display: inline-block; 
	width: 1em;
	margin-left: -1em;
}
.menu-top li{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
		-ms-flex-direction: row;
	flex-direction: row;
}
#contents ul li{
	color: var(--color01);
}
#contents ul{
	margin-bottom: 1rem;
}


/*MENU TOP - PREMIER NIVEAU*/
					
.menu-top .firstLevel {
	display: flex;
	align-items: center;
	gap:32px;
}
.menu-top .firstLevel li {
	padding: 0;
}
.menu-top .firstLevel li a, .choise-type li a {
	padding:16px 48px;
	border-radius: 999px 0px;
	color: var(--color-primary-dark)!important;
	background-color: var(--color-primary-x-light);
	text-align: center;
	line-height: 120%;
	font-weight: 500!important;
	transition:0.8s all;
	cursor: pointer;
}
.menu-top .firstLevel li a > span > strong, .choise-type li a > span > strong {
	font-weight: 700;
	font-size: 1.8rem;
}
.menu-top .firstLevel li a:hover, .choise-type li a:hover {
	background-color: var(--color-secondary-light);
	transition:0.8s all;
}
.menu-top .firstLevel li a.active, .choise-type li a.active, .choise-type li a:hover {
	background-color: var(--color-primary-active);
	color: var(--white);
	transition: all .3s;
}
.menu-top .firstLevel li a.active {
	border-top-left-radius: 24px!important;
	border-top-right-radius: 24px!important;
	border-radius: 0;
	padding:40px;
	position: relative;
	color: var(--white)!important;
	font-weight: 500!important;
}
.menu-top .firstLevel li a.active::before,
.menu-top .firstLevel li a.active::after {
	content:"";
	position: absolute;
	bottom: -0px;
    left: -16px;
	background-image: url(/wp-content/themes/mediapilote/img/charte/menu-ellipse.png);
	width: 16px;
    height: 19px;
}
.menu-top .firstLevel li a.active::after {
	right: -16px!important;
	bottom: -2px;
    rotate: 450deg!important;
	left:inherit!important;
}
/* .menu-top .firstLevel li a.active:hover {
	box-shadow: none;
} */
/*.mm-panels>.mm-panel {
	display: none!important;
}*/
li.nav-drop-item.menu-item.menu-item-type-post_type.mm-listitem {
    display: none;
}
.secondLevel-new.active li.nav-drop-item.menu-item.menu-item-type-post_type.mm-listitem {
    display: initial;
}
.mobile-button {
	pointer-events: none;
}
body[cz-shortcut-listen=true] .mobile-button{
	pointer-events: initial;
}
.mm-panels>.mm-panel.active {
	z-index: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
	display: block!important;
} 
.choise-type li a {
	text-align: center;
	justify-content: center;
}
.choise-type li a:hover span{
	color: var(--color02);
}

/*@changelog 2025-06-05 (Antso) [FIX] [Projet] Rézolibri - Menu et scripts (202506050006) */
ul.secondLevel-new.hidden{
	display: none !important;
}


/* ---------------
--- PAGINATION ---
-----------------*/

.tool-pagination .pages{
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap:8px;
}
.tool-pagination .pages li{
	padding: 0!important;
}
.tool-pagination .pages li::before{
	display: none;
}
.tool-pagination .pages li a,
.tool-pagination .pages li .page-number{
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--white);
	color: var(--color-primary-active)!important;
	border:1px solid var(--color-primary-light);
	border-radius: 12px;
	min-width: 46px;
	height: 49px;
	font-weight: 400;
}
.tool-pagination .pages li a:hover {
	background-color: var(--color-primary-x-light);
}
.tool-pagination .pages li .page-number.current{
	background-color: var(--color-primary-light);
}


/*RESPONSIVE
01 - DESKTOP */
@media screen and (max-width: 1400px), (max-device-width: 1400px){
}
@media screen and (max-width: 1200px), (max-device-width: 1200px){
	#headerInner {
		padding: 0 20px;
	}
	.nested {
		padding: 16px 20px;
	}
	.nested ul.firstLevel li:not(:first-child) {
		margin: 0 0 0 20px;
	}
	.nested ul.firstLevel > li > a {
		font-size: 1.4rem;
	}
}
/*02 TABLETTE*/
@media screen and (max-width: 1024px), (max-device-width: 1024px){
	/* #header {
		padding:20px 0
	} */
	.nested ul.firstLevel {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	span.mobile-buton {
        display: flex!important;
    }
	.headertopBar,
	.nested-header {
        display: none;
    }

	.secondLevel-new .choise-type {
		display: block!important;
	}

	.secondLevel-new.active {
		flex-direction: column;
	}

	.mm-panels {
		margin: 0 20px;
		background: var(--white)!important;
	}
	.mm-panels .secondLevel-new li.menu-parent a.active {
		color: var(--white)!important;
	}
	.mm-panels .secondLevel-new li.menu-parent a:hover {
		background-color: var(--color-secondary-light)!important;
	}
	.mm-panels .secondLevel-new li a {
		display: block;
		color: var(--color-primary-dark)!important;
	}
	.mm-panels .secondLevel-new .choise-type li {
		margin-bottom: 15px!important;
		width: 100%!important;
	}
	.menu-top .firstLevel li a > span > strong, .choise-type li a > span > strong {
		font-size: 1.6rem;
	}
	.secondLevel-new > li > a {
		font-size: 1.5rem;
	}
	.secondLevel-new.active {
		gap:20px;
	}
		
		

}
/*03 MINI-TABLETTE et MOBILE */
@media screen and (max-width: 767px), (max-device-width: 767px){
	.nested nav {
		display: none;
	}
	span.mobile-buton.absolute {
		width: 40px;
		height: 40px;
		top: 0;
		left: 0;
	}
	.mm-navbar__title{
		background-color: var(--color02);
		color: var(--color00) !important;
	}

	li.candidat::before, 
	li.entreprise::before, 
	li.agences::before{
		display: none;
	}
	.mm-menu a, .mm-menu a:active, .mm-menu a:hover, .mm-menu a:link, .mm-menu a:visited{
		text-transform: uppercase;
	}

	.secondLevel-new.mm-listview .picto-actu {
		display: none;
	}
}