#cssmenu {
	position: relative;
	/*height: 50px; *//*65px*/
	/*ajout pour coller les bords sur smartphone - a voir */
	margin-left: -15px;
	margin-right: -15px;
	}
#cssmenu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	line-height: 1;
	}
#cssmenu > ul {
	position: relative;
	display: block;
	width: 98%;
	z-index: 500;
	text-align: center; /* aligner menu à droite */
	margin-bottom: -1px; /* 5px*/
	}
#cssmenu:after,
#cssmenu > ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
	}
#cssmenu.align-right > ul > li {
	float: right;
	}
#cssmenu.align-center ul {
	text-align: center;
	}
#cssmenu.align-center ul ul {
	text-align: left;
	}

#cssmenu > ul > li {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 5px 0 0 0;
	border-right: 1px solid #1a1a1a;
	}
#cssmenu > ul > li:last-child {
	border-right: none;
	}
#cssmenu > ul > #menu-button {
	display: none;
	}
#cssmenu ul li a {
	display: block;
	text-decoration: none;
	font-weight: bold;
	}
#cssmenu > ul > li > a {
	color: #1a1a1a;
	padding: 14px 14px 18px 14px;
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-ms-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	}
#cssmenu > ul > li.has-sub > a {
	padding-right: 25px;
	}
#cssmenu > ul > li:nth-of-type(n+2):hover > a {
	color: #003974; 
	}
#cssmenu > ul > li:hover { /* pour que le fond du li se colore - normal */
	/*background-color: #000;*/
	color: #003974;
	}
#cssmenu >	ul > li:nth-of-type(n+2):hover{ /* pour que le fond du li se colore - quand on ne veut pas que menu smartphone soit inclus*/
	/*background-color: #000;*/
	}
#cssmenu .active{
	/*background-color: #000; */ /* quand le li est actif */
	}
#cssmenu .active > a{ /*quand le li est actif pour le txt*/
	color: #003974;
	}
#cssmenu li.has-sub::after {
	display: block;
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	}
#cssmenu > ul > li.has-sub::after {
	right: 10px;
	top: 25px;
	border: 5px solid transparent;
	border-top-color: #1a1a1a; /* puce menu */
	}
#cssmenu > ul > li.active::after{
	border-top-color: #003974;
	}
#cssmenu > ul > li:hover::after {
	border-top-color: #003974;
	}
#indicatorContainer {
	position: absolute;
	/*height: 12px;*/
	width: 100%;
	bottom: 0px;
	overflow: hidden;
	z-index: -1;
	}
#pIndicator {
	position: absolute;
	height: 0;
	width: 100%;
	border: 12px solid transparent;
	border-top-color: #445456;
	z-index: -2;
	-webkit-transition: left .25s ease;
	-moz-transition: left .25s ease;
	-ms-transition: left .25s ease;
	-o-transition: left .25s ease;
	transition: left .25s ease;
	}
#cIndicator {
	position: absolute;
	height: 0;
	width: 100%;
	border: 12px solid transparent;
	border-top-color: #445456;
	top: -12px;
	right: 100%;
	z-index: -2;
	}
#cssmenu ul ul {
	position: absolute;
	left: -9999px;
	top: 70px;
	opacity: 0;
	text-align: left;
	-webkit-transition: opacity .3s ease, top .25s ease;
	-moz-transition: opacity .3s ease, top .25s ease;
	-ms-transition: opacity .3s ease, top .25s ease;
	-o-transition: opacity .3s ease, top .25s ease;
	transition: opacity .3s ease, top .25s ease;
	z-index: 1000;
	}
#cssmenu ul ul ul {
	top: 37px;
	padding-left: 5px;
	}
#cssmenu ul ul li {
	position: relative;
	}
#cssmenu > ul > li:hover > ul {
	left: 0;
	top: 45px; /* décalage du sous-menu par rapport au menu */
	opacity: 1;
	}
#cssmenu.align-right > ul > li:hover > ul {
	left: auto;
	right: 0;
	opacity: 1;
	}
#cssmenu ul ul li:hover > ul {
	left: 190px; /* décalage du sous-menu2 par rapport au sous-menu. Celui vers la droite */
	top: 0;
	opacity: 1;
	}
#cssmenu.align-right ul ul li:hover > ul {
	left: auto;
	right: 170px;
	top: 0;
	opacity: 1;
	padding-right: 5px;
	}
#cssmenu ul ul li a { /* détails sous-menu, couleur etc */
	width: 200px;
	padding: 10px 15px; 
	color: #1a1a1a;
	background-color: #f8f8f8;
	-webkit-transition: all .35s ease;
	-moz-transition: all .35s ease;
	-ms-transition: all .35s ease;
	-o-transition: all .35s ease;
	transition: all .35s ease;
	font-weight: normal;
	font-size: 0.8rem;
	}
#cssmenu ul ul li.active a{ /* quand le li est actif pour le sous-menu */
	background-color: #003974; 
	color: #ffffff;
	}
#cssmenu.align-right ul ul li a {
	text-align: right;
	}
#cssmenu ul ul li:hover > a {
	background: #003974; /* couleur quand on passe sur li du sous-menu */
	color: #ffffff;
	}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last > a {
	border-bottom: 0;
	}
#cssmenu > ul > li > ul::after { /* petite pointe du dessus sous-menu */
	content: '';
	border: 6px solid transparent;
	width: 0;
	height: 0;
	border-bottom-color: #ffffff;
	position: absolute;
	top: -12px;
	left: 30px;
	}
#cssmenu.align-right > ul > li > ul::after {
	left: auto;
	right: 30px;
	}
#cssmenu ul ul li.has-sub::after {
	border: 4px solid transparent;
	border-left-color: #1a1a1a; /* couleur de la petite flèche à droite dans un sous-menu */
	right: 10px;
	top: 12px;
	-moz-transition: all .2s ease;
	-ms-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	-webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
	}
#cssmenu ul ul li.active::after {
	border-left-color: #ffffff; /* lpe 21122018 */
	}
#cssmenu.align-right ul ul li.has-sub::after {
	border-left-color: transparent;
	border-right-color: #1a1a1a;
	right: auto;
	left: 10px;
	}
#cssmenu ul ul li.has-sub:hover::after {
	border-left-color: #1a1a1a;
	right: -5px;
	-webkit-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
	}
#cssmenu.align-right ul ul li.has-sub:hover::after {
	border-right-color: #ffffff;
	border-left-color: transparent;
	left: -5px;
	-webkit-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
	}

/* lpe : 29/03/2019 : états des sous-menus du niveau 3 quand le sous-menu de niveau 2 est actif */
#cssmenu ul ul li.active ul li a{ /* quand le li du second menu est actif pour les sous-menus de niveau 3  */
	color: #1a1a1a;
	background-color: #f8f8f8;
	}
#cssmenu ul ul li.active ul li:hover a, #cssmenu ul ul li.active ul li.active a{ /* quand le li du second menu est actif pour les sous-menus de niveau 3 hover et actif */
	background-color: #003974; 
	color: #ffffff;
	}

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
	.iconeMenu{
		display: none; /* cache les icones pour le menu responsive*/
		}
	#MenusContainerQuarz { /* specific */
		padding: 0px 0px 0px 0px;
		/*height: 45px;*/
		clear: left; /* annule le float de l'uppermenutop*/
		}
	#cssmenu {
		width: auto;
		}
	#cssmenu.align-center ul {
		text-align: left;
		}
	#cssmenu.align-right > ul > li {
		float: none;
		}
	#cssmenu ul {
		width: auto;
		text-align: left;
		background-color: #333; /* couleur de background (pour le menu et le fond ouvert*/
		}
	#cssmenu > ul > li > a{
		color: #1a1a1a;
		}
	#cssmenu ul ul li a { /* détails sous-menu, couleur etc */
		color: #1a1a1a;
		}
	#cssmenu .submenuArrow,
	#cssmenu #indicatorContainer {
		display: none;
		}
	#cssmenu > ul {
		height: auto;
		display: block;
		}
	#cssmenu > ul > li {
		float: none;
		}
	#cssmenu li,
	#cssmenu > ul > li {
		display: none;
		}
	#cssmenu ul ul,
	#cssmenu ul ul ul,
	#cssmenu ul > li:hover > ul,
	#cssmenu ul ul > li:hover > ul,
	#cssmenu.align-right ul ul,
	#cssmenu.align-right ul ul ul,
	#cssmenu.align-right ul > li:hover > ul,
	#cssmenu.align-right ul ul > li:hover > ul {
		position: relative;
		left: auto;
		top: auto;
		opacity: 1;
		padding-left: 0;
		padding-right: 0;
		right: auto;
		}
	#cssmenu ul .has-sub::after {
		display: none;
		}
	#cssmenu ul li a {
		padding: 12px 20px;
		}
	#cssmenu ul ul li a {
		border: 0;
		background: none;
		width: auto;
		padding: 8px 35px;
		}
	#cssmenu.align-right ul ul li a {
		text-align: left;
		}
	#cssmenu ul li > a:nth-child(n+2) { /* sélectionne tous les li de 1ere niveau (menu principal) pour retirer le li du menu qui est dedans*/
		/*background-color: #539327;*/
		}
	#cssmenu ul li > a:nth-child(n+2):hover{ /* couleur quand on passe sur les li principaux*/
		color: #003974;
		}
	#cssmenu ul ul li:hover > li { /* couleur quand on passe sur les li secondaires */
		/*background-color: #6f952c;*/
		}

	#cssmenu > ul > li:nth-of-type(n+2):hover > a {
	color: #003974;
	}
	#cssmenu > ul > li:hover { /* pour que le fond du li se colore - normal */
	/*background-color: #20569c;*/
	}
	#cssmenu >	ul > li:nth-of-type(n+2):hover{ /* pour que le fond du li se colore - quand on ne veut pas que menu smartphone soit inclus*/
	color: #003974;
	}
	#cssmenu .active{
	olor: #003974;  /* quand le li est actif */
	}
	#cssmenu .active > a{ /*quand le li est actif pour le txt*/
	color: #003974;
	}
	#cssmenu ul ul ul a {
		padding: 8px 50px;
		}
	#cssmenu ul ul ul ul a {
		padding: 8px 65px;
		}
	#cssmenu ul ul ul ul ul a {
		padding: 8px 80px;
		}
	#cssmenu ul ul ul ul ul ul a {
		padding: 8px 95px;
		}
	#cssmenu > ul > #menu-button {
		display: block;
		cursor: pointer;
		}
	#cssmenu #menu-button > a {
		padding: 14px 20px;
		}
	#cssmenu ul.open li,
	#cssmenu > ul.open > li {
		display: block;
		}
	#cssmenu > ul.open > li#menu-button > a {
		color: #003974;
		border-bottom: 1px solid rgba(150, 150, 150, 0.1);
		}
	#cssmenu ul ul::after {
		display: none;
		}
	#cssmenu #menu-button::after {
		display: block;
		content: '';
		position: absolute;
		height: 7px;
		width: 22px;
		border-top: 2px solid #1a1a1a;
		border-bottom: 2px solid #1a1a1a;
		right: 20px;
		top: 15px;
		}
	#cssmenu #menu-button::before {
		display: block;
		content: '';
		position: absolute;
		height: 3px;
		width: 22px;
		border-top: 2px solid #1a1a1a;
		right: 20px;
		top: 25px;
		}
	#cssmenu ul.open #menu-button::after,
	#cssmenu ul.open #menu-button::before {
		border-color: #003974;
		}
}
