/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	width:750px; 
	font-size:0.85em;

	z-index:100;
}
.menu img {
  border:none;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}
/** debut ajout **/
.menu li.long,
.menu li.long a {
	width: 240px;
}



/* ajouté pour espacer les entrées des menus*/

.menu>ul>li{
	margin: 0 15px;
}

.menu ul li ul li a {
	filter:alpha(opacity=90); 
	-moz-opacity: 0.9;
	opacity: 0.9;
}

.menu ul li a {
	background: url("images/bg_menu_ferme.png") no-repeat center right #E6DEE6;
	color : purple;
	padding-left: 10px;
	margin: 0 15px;
}
.menu ul ul li a  {
	background-image: url("images/puce_titre.png");
	background-repeat:  no-repeat;
	background-position:  center right;
}
.menu ul ul li a.fleche  {
	background-image: url("images/puce_fleche.png");
}

.menu ul ul li a:hover {
	background-image: url("images/puce_titre_selected.png");
	background-repeat:  no-repeat;
	background-position:  center right;
	-moz-opacity: 1;
	opacity: 1;
}
.menu ul ul li a.fleche:hover  {
	background-image: url("images/puce_fleche_selected.png");
}

/** fin ajout **/

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	width:190px;
	position:relative;
}
/* style the links for the top level */
/*.menu a, .menu a:visited {*/
.menu a {
	display:block;
	font-size:11px;
	text-decoration:none; 
	font-weight : bolder;
	color:#fff; 
	width:189px; 
	height:24px; 
	background:#aaa; 
	line-height:24px;
}

/* style the third level background */
.menu ul ul ul a {
	color : black;
	background-color:#F3E9F2;
	background-image : none;
	border: 1px solid purple;
	font-weight: lighter;
}
.menu ul ul ul a span {
  font-weight : bold;
  font-size : 1.2em;
}
/*.menu ul ul ul a:visited, .menu ul ul ul a:hover {*/
.menu ul ul ul a:hover {
	background-image : none;
	border: 1px solid purple;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:24px;
	left:0; 
	width:190px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:23px;
t\op:24px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left:199px; 
	top:0;
	width:199px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-199px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
/*.menu ul ul a, .menu ul ul a:visited {*/
.menu ul ul a {
	background:#lightgrey; 
	color:purple; 
	height:auto; 
	line-height:1em; 
	padding:5px; 
	width: 189px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color:#fff; 
	background-color: purple;
}

.menu ul ul a:hover {
	color:#fff;
	background-color: purple;
	background-image: url("images/puce_titre_selected.png");
	background-repeat: no-repeat;
	background-position: center right;
}
/*.menu ul ul :hover > a {
	color:#fff;
	background-color: purple;
	background-image: url("images/puce_titre_selected.png");
	background-repeat: no-repeat;
	background-position: center right;
}
.menu ul :hover > a {
	color:#fff;
	background-image: url("images/bg_menu_ouvert.png");
	background-color: purple;
	background-repeat: no-repeat;
	background-position: center right;
}*/
.menu ul a:hover {
	color:#fff;
	background-image: url("images/bg_menu_ouvert.png");
	background-color: purple;
	background-repeat: no-repeat;
	background-position: center right;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
