/*  -----------------------------------------------
/*            menu de haut de 
/*  ---------------------------------------------- */


ul#nav{
	width: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 0;
	border: solid 1px #6d6d6d;	/*Ombre du menu*/
	border-radius: 15px;  	
	/*couleur de fond*/
	background: #a9a9a9; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #a9a9a9,  #7a7a7a); /* for firefox 3.6+ */
	/*Ombre du menu*/
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	float:left;/*sans ça je n'ai pas le fond coloré*/
	height:25px;
}

ul#nav li{
	float: left;/*pour avoir un menu horizontal*/
	display: block;
	width:12.5%;/*parce qu'ici j'en ai 8*/
	text-align: center;
}

/*style des liens du premier niveau*/
ul#nav li a {
	text-decoration:none;
	text-transform: uppercase;
	font-size: 0.71em;
	font-weight: bold;
	color: white;
	display: block;
	padding:  0 10px;
	margin-top: 0;
	margin-bottom: 2px;
	border-top: solid 1px transparent;
	border-radius: 1.6em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

/* état lors du survol d'une entrée de menu */
ul#nav li a:hover{
	background: #d1d1d1; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#a1a1a1'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#a1a1a1)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #ebebeb,  #a1a1a1); /* for firefox 3.6+ */
	color: #444;
	border-top: solid 1px #f8f8f8;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

/*second niveau de menu*/
ul#nav li ul{
	list-style-type: none;
	display: none;
	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top : 35 px;
	border : solid 1px #b4b4b4;
	border-radius: 10 px;
	/*ombre de la boite*/
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
	background: #ddd; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cfcfcf'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#cfcfcf)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fff,  #cfcfcf); /* for firefox 3.6+ */
	background: linear-gradient(#fff,  #cfcfcf); 
	}
ul#nav li:hover> ul{
	display: block;
	border-radius: 10 px;

	}
	
ul#nav li ul li{
	float: none;/*comme ça les entrées de menu ne se chevauchent pas*/
	margin: 0;
	padding: 0;
	border:0;
	width:100%;
	}
ul#nav li ul li a{
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
	background: none;
	border: none;
	padding: none;
	margin:none;
	color: #666;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	}
/* sub levels link hover */
ul#nav li ul li a:hover{
	color: #666;
	border-radius: 0;
	/*-moz-border-radius: 0;*/
	/*border-radius: 0;*/
	text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
	border-top: 0px;
/* Background subtle gradient, with fallback to solid color */
	 background: #d0e3fa;
	/* background: -moz-linear-gradient(top, #d0e3fa, #a4a4a4);
 	 background: -webkit-gradient(linear, left top, left bottom, from(#d0e3fa), */to(#6699cc));

}
ul#nav li ul li:first-child > a {
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-right-radius: 0;
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;
	border-top-left-radius: 9px;
	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
	border-top-right-radius: 9px;
}
ul#nav li ul li:last-child > a {
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topleft: 0;
	border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topright: 0;
	border-top-right-radius: 0;
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;
	border-bottom-left-radius: 9px;
	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
	border-bottom-right-radius: 9px;
}
