/*------------------Menu---------------*/
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

/*
Si problème avec sous-menu qui apparaît sous des ul/li du site, il faut : 

- Vérifier pour mettre position: absolute dans le conteneur;
- Vérifier s'il y a d'autre layers qui sont en absolute;
- Mettre position: relative dans le div général du menu;
*/

/*Top level list items*/
#nav {
width:102%;
}

#nav li{
display: block;
float: left;
position:relative;
z-index:99;
}

/*Top level menu link items style*/
#nav li ul li a{
display: block;
text-decoration:none;
}
#nav li ul li a.selectionne,.conteneurnav #nav li a.selectionne:hover{
color: #006699;
}
#nav li ul li a:hover{
background-color: #E0D9C3;
color:#555555;
}

/*1st sub level menu*/
#nav li ul{
display: block;
visibility: hidden;
position: absolute;
left: -10px;
top: 1em; /* no need to change, as true value set by script */
width: 147px;
height:auto;
padding: 0;
margin: 0;
background-image:none;
background-color:#EFECE1;
border-left:#E0E0E0 1px solid;
border-right:#E0E0E0 1px solid;
z-index: 99;
}

#nav #dernierLienNav ul{
display: block;
visibility: hidden;
position: absolute;
left: -40px;
top: 1em; /* no need to change, as true value set by script */
width: 147px;
height:auto;
padding: 0;
margin: 0;
background-image:none;
background-color:#EFECE1;
border-left:#E0E0E0 1px solid;
border-right:#E0E0E0 1px solid;
z-index: 99;
}

/*Sub level menu list items (undo style from Top level List Items)*/
#nav li ul li{
display: block;
text-align:left;
margin: 0;
padding:0;
background-image: none;
background-color: #EFECE1;
border-top:#E0E0E0 1px solid;
z-index: 40;
/*border-left:none;
float: none;
list-style-position:outside;
z-index: 2;
position: relative;*/
position:relative;
z-index:99;
}

/*All subsequent sub menu levels offset after 1st level sub menu */
#nav li ul li ul{ 
left: 145px; /* no need to change, as true value set by script */
top: 0;
}

/* Sub level menu links style */
#nav li ul li a{
display:block;
width:147px;
padding:4px 0 4px 10px;
font-size:11px;
font-family:Arial;
color:#555555;
font-weight: normal;
z-index: 3;
position: relative;
}

html #nav li ul li ul li ul  {
	margin-left:180px;
}

* html p#iepara{ /*For a paragraph (if any) that immediately follows suckertree menu, add 1em top spacing between the two in IE*/
padding-top: 1em;
}
	
/* Holly Hack for IE \*/
* html #nav li { float: left; height: 1%; display: block; }
* html #nav li a { height: 1%; }
/* End */
