:root {
	--hauteur_barre: 49px;
}
/** Logo au dessus de la barre**/

.logo_site_spip {
	display: inline-block;
	margin-top: var(--hauteur_barre);
	margin-bottom:  calc(var(--gouttiere-layout)/2);
	min-width: 100%;
}
/* Conteneur de la barre */

.navigation {
	background: #fefefe none repeat scroll 0 0;
	border-bottom: 1px solid rgb(41, 41, 41);
	border-top: medium none;
	left: 0;
	margin-bottom: 20px;
	padding-left: 15px;
	padding-right: 15px;
	position: fixed;
	right: 0;
	text-align: left;
	top:0px;
	width: auto;
	z-index: 80;

}

/* Nom du site */
 .nav_nom {
	display: inline-block;
	height: var(--hauteur_barre);
	text-align: left;
	width: auto;
	margin-right: 20px;
}
 .nav_nom h1,  .nav_nom .h1 {
	font-size: 1em;
	margin: 0;
	height: var(--hauteur_barre);;
	line-height: var(--hauteur_barre);;
	letter-spacing: 3px;
}
 .nav_nom a {
	color: #262626;
}
 .nav_nom a:hover,
 .nav_nom a:active,
 .nav_nom a:focus {
	background: none repeat scroll 0 0 transparent;
	color: #262626;
}

/* Eviter les problèmes de ciblage lié à la position fixed du menu, cf. https://stackoverflow.com/a/70397427/3206025 */
:target {
	padding-top: var(--hauteur_barre);
	margin-top: calc(-var(--hauteur_barre));
}
/* Menu hamburger */
.navigation input[type=checkbox]{ display: none; }

.navigation .show-menu {
	background-color: transparent;
	background-image: linear-gradient(to top, #999999, #333333), linear-gradient(to top, #999999, #333333), linear-gradient(to top, #999999, #333333);
	background-position: center top, center center, center bottom;
	background-repeat: no-repeat;
	background-size: 2rem 0.25rem;
	border: 0 none;
	color: #fff;
	cursor: pointer;
	display: none;
	float: right;
	font-family: Helvetica,Arial,sans-serif;
	height: 1.1rem;
	margin-bottom: 0;
	margin-top: 15px;
	padding: 0;
	text-align: center;
	text-decoration: none;
	width: 22px;
	z-index: 80;
}
.navigation input[type=checkbox]:checked ~ label.show-menu {
	background-color: #fafafa;
	background-image: linear-gradient(to top, #fafafa, #fafafa), linear-gradient(to top, #999999, #333333), linear-gradient(to top, #fafafa, #fafafa);
}
.navigation input[type=checkbox]:checked ~ .nav_box {
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}
.navigation input[type=checkbox]:checked ~ .nav_box .menu-liste{
	display: block;
}


/* Nav Box = Menu de navigation horizontal en haut */
.nav_box {
	background: #fff none repeat scroll 0 0;
	display: inline-block;
}
.nav_box ul {
	display: inline-block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.nav_box ul li {
	display: inline;
	margin: 0;
	text-transform: uppercase;
	font-weight: lighter;
	letter-spacing: 1px;
	text-align: center;
}
.nav_box ul li.accueil {
	display: none;
}
.nav_box ul li.on {
	border-bottom: none;
}
.nav_box ul li a {
	border: medium none;
	color: #4F4039;
	display: inline;
	font-weight: normal;
	line-height: 1;
	padding: 14px;
}
.nav_box ul li a:hover {
	color: #777;
	background: #eee none repeat scroll 0 0;
	border-bottom: 1px solid rgb(41, 41, 41);
	padding-bottom: 11px;
	text-decoration: none;
}
.nav_box ul li a:active,  .nav_box ul li a:focus,  .nav_box ul li a:visited {
	color: #777;

}
/*Make all menu links full width*/
.nav_box ul li,  .nav_box li a {
	width: 100%;
}
.nav_box ul li.on a {
	background: #eee none repeat scroll 0 0;
	border-bottom: 1px solid rgb(41, 41, 41);
	color: #000;
	display: inline;
	font-weight: normal;
	padding-bottom: 11px;
}


/* Nav Top = Lien vers le haut */
.nav_top {
	bottom: inherit;
	display: inherit;
	float: right;
	height: inherit;
	margin-top: inherit;
	position: static;
	right: inherit;
	width: inherit;
}
.nav_top a {
	bottom: inherit;
	color: transparent;
	display: inline-block;
	height: 32px;
	padding: 8px 0;
	position: static;
	right: inherit;
	width: 32px;
	z-index: inherit;
}
.nav_top a:hover,
.nav_top a:visited,
.nav_top a:focus,
.nav_top a:active {
	background-color: transparent;
}
.nav_top a .top_arrow {
	background-image: url(img/top-arrow.svg);/*https://thenounproject.com/icon/top-arrow-to-top-4425745/ */
	background-size: 32px 32px;
	display: inline-block;
	height: 32px;
	width: 32px;
}


/*Reste de l'entete */

.nav {
	display: inline-block;
	margin: 0 auto;
	border: none;
	height: 40px;
}
 .nav ul li {
	display: inline-block;
	padding: 0;
}

 .nav ul li a {
	display: inline-block;
	color: #333;
	line-height: 32px;
	font-weight: normal;
	padding: 0;
	margin: 9px;
	border: none;
	background: none repeat scroll 0 0 transparent;
	text-transform: uppercase;
}
 .nav ul li a:focus,  .nav ul li a:hover,  .nav ul li a:active {
	background: none repeat scroll 0 0 transparent;
	color: #777777;
}

 .nav ul li.on a {
	color: #000;
	font-weight: bold;
}


/* Recherche */
 .nav_recherche {
	float: right;
}
 .nav_recherche #formulaire_recherche {
	float: right;
	position: inherit;
	padding: 0;
	margin: 11px 15px;
	height: 27px;
}
 .nav_recherche #formulaire_recherche input.text {
	background-color: rgba(255, 255, 255, 0.9);
	background-position: 5px center;
	border-radius: 12px 12px 12px 12px;
	height: 25px;
	opacity: 0.8;
	padding-left: 25px;
	vertical-align: initial;
}

.nav_recherche .formulaire_recherche label,  .nav_recherche .formulaire_recherche .submit {
	display:none;
}


@media (max-width: 1250px) {
	 .nav_box {
		display: block;
		margin: 1px 0;
		max-width: 200px;
		position: fixed;
		right: 0;
		top: 48px;
		z-index: 80;
	}
	 .nav_box ul {
		position: static;
		display: none;
		font-size: 0;
		z-index: 80;
	}
	 .nav_box ul li:first-child {
		display: inline-block;
	}
	 .nav_box ul li {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		display: inline-block;
		float: left;
		font-size: 14px;
		margin: 0;
		position: relative;
		z-index: 80;
	}
	 .nav_box ul li a {
		color: #777;
		display: block;
	}
	 .nav_box ul li a:hover {
		display: block;
		border-bottom: none;
	}
	 .nav_box ul li.on a {
		background: #eee none repeat scroll 0 0;
		border-bottom: 1px dashed #ccc;
		color: #000;
		display: block;
		font-weight: normal;
		padding-bottom: 12px;
	}
	/*Display 'show menu' link*/
	 .navigation .show-menu {
		display:block;
	}

}


@media (max-width: 900px) {
	#formulaire_recherche { display: block; }
}
