#nav {
width: 960px;
margin: 0 auto;
list-style: none;
}

#nav ul { /* toutes les listes */
	padding:0;
    margin: 0;
	list-style: none;
	line-height: 25px;
}

#nav a {
	display: block;
	width: 137px; 
	font-size:14px;
	text-indent:0px;
	font-weight:bold;
	text-decoration:none;
	color:#ffffff; 
}
#nav li a.bg {
background:url(/boutons2009/fond-bouton.gif); 
text-align:center;
font-weight:bold;
line-height:40px;
color:#ffffff;
white-space: nowrap;
}
#nav li a.bg:hover {
background:url(/boutons2009/fond-bouton.gif); 
text-align:center;
font-weight:bold;
line-height:40px;
color:#fefe3c;
white-space: nowrap;

} 
#nav li a.bg:active {
background:url(/images/fond-bouton-over.gif); 
text-align:center;
font-weight:bold;
line-height:40px;
color:#ff8000;
white-space: nowrap;
} 
#nav li { /* tous les items de liste */
	float: left;
	width: 137px; /* largeur obligatoire, sinon opera devient fou */

}

#nav li ul { /* listes de deuxième niveau */
	position: absolute;
	background: #0a6426;
	border:1px solid #fefe3c;
	width: 137px;
	left: -999em; /* on met left plutôt que display pour cacher les menus parce que display: none n'est pas lu par les lecteurs d'écran */
   z-index: 1000;

}
#nav li ul a {
color:#ffffff; 
text-indent:10px;
font-size:12px;

}

#nav li ul a:hover{ /* listes de deuxième niveau */
	text-decoration:underline;
    color:#fefe3c;
    font-size:12px;
	}
#nav li ul ul { /* listes de troisième niveau et plus */
	margin: -25px 0 0 137px;
}
/*deuxième niveau 250px*/                
#nav ul a {width: inherit;
}
#nav ul.niveau2bis ul {left: 220px;}  
#nav ul.niveau2bis {display:block; width:220px;border:1px solid #ffffff;}      
#nav ul.niveau2bis li a {width: 220px;font-size:12px;}
#nav li ul.niveau2bis ul { /* listes de troisième niveau et plus 250 px*/
	margin: -40px 0 0 220px;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}
#nav li:hover, #nav li.sfhover{
	background: #0a6426;
}
