/* Based partially on Matthew Carroll's keyboard accessible flavor of Suckerfish
 * Dropdowns by Patrick Griffiths and Dan Webb.
 * http://carroll.org.uk/sandbox/suckerfish/bones2.html
 */

/* ----[ LINKS ]----*/

/* all menu links */
#nav a, #subMenusContainer a{
	text-decoration:none;
	display:block;
	padding:6px 12px 0px 8px;

}
#subMenusContainer a{
	width: 160px;
	padding:6px 6px 8px;
}
#nav li a{
	background-image: url(../images/menu/menu_px.png);
	background-position: right center;
	background-repeat: no-repeat;
	float:left;
	height:24px;
}

#nav .last a{
	background-image: none;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#nav a{
	margin:0;
	float:left;
}

/* Just sub menu links */
#subMenusContainer a, #nav li li a{
	text-align:left;
}

#nav .first a{
	text-align:left;
	padding-left: 80px;
}
#nav .actif{
	background-image: url(../images/menu/menu_hor_hover.png);
	color:#FFF;
}

/* All menu links on hover or focus */
#nav a:hover,
#nav a:focus,
#subMenusContainer a:hover,
#subMenusContainer a:focus,
#nav a.mainMenuParentBtnFocused,
#subMenusContainer a.subMenuParentBtnFocused{
	color:#FFF;
}

/* sub menu links on hover or focus */
/* #nav li a,*/
#nav a.mainMenuParentBtnFocused,
#nav li a:hover,
#nav li a:focus{
	background-image: url(../images/menu/menu_hor_hover.png);
	background-position: left top;
	background-repeat: repeat-x;
	color:#FFF;
/*	height: 30px; */
}


#subMenusContainer a,
#subMenusContainer a:focus,
#subMenusContainer a.subMenuParentBtnFocused{
	background-image: url(../images/menu/menu_sous.png);
	background-position: left top;
	background-repeat: repeat-x;
	color:#FFF;
	height: 18px;
	font-size: 11px;
	padding: 3px 1px 0 4px;
}

#subMenusContainer a:hover{
	background-image: url(../images/menu/menu_sous_sel.gif);
	background-position: left top;
	background-repeat: repeat-x;
	color:#429cd6;
	border: 1px solid #1687d2;
	padding: 3px 0 0 3px;
	height: 16px;

}








/* Parent Sub Menu Links ---[javascript users only]*/
/*.subMenuParentBtn{
	background: url(../img/arrow_right.gif) right center no-repeat;
}*/

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
/*.subMenuParentBtnFocused{
	background: url(../img/arrow_right_over.gif) right center no-repeat;
}*/

/* Parent Main Menu Links ---[javascript users only]*/
/*.mainMenuParentBtn{
	 background: url(../img/arrow_down.gif) right center no-repeat;
}*/

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
/*.mainMenuParentBtnFocused{
	background: url(../img/arrow_down_over.gif) right center no-repeat;
}*/

/* ----[ OLs ULs, LIs, and DIVs ]----*/

/* Submenu Outer Wrapper - each submenu is inside a div with this class - javascript users only */
.smOW{
	display:none;
	position: absolute;
	overflow:hidden;
	margin-right:15px;
	padding-right:15px;
	right:15px;
	/*the 2px left & right padding lets you have a 1px border
	  on the ul or ol inside since overflow is set to hidden*/
}

/* All ULs and OLs */
#nav,
#nav ul,
#nav ol,
#subMenusContainer ul,
#subMenusContainer ol {
	padding: 0;
	margin: 0;
	list-style: none;
	/*line-height: 1em;*/
}

/* All submenu OLs and ULs */
#nav ol,
#nav ul,
#subMenusContainer ul,
#subMenusContainer ol {
	/*border around submenu goes here*/
	background:transparent;
	width:170px;
	padding-right:5px;
	margin-right:5px;
	left:0;
	border: none;
}


/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#nav li {
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
	height: 30px;
}
#nav li a{
	color: #ffffff;
}

#subMenusContainer li{
	list-style: none;
	height:21px;
}

/* main menu ul or ol elment */
#nav{
	margin:0 0 0 0;
	z-index:5;
	text-align: center;
	background-image: url(../images/menu/menu_hor.png);
	background-position: left top;
	background-repeat: no-repeat;
	height: 30px;
	font-size: 16px;
	float: left;
	width: 979px;
}

#subMenusContainer{
	display:block;
 	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:21px;
	overflow:visible;
	z-index:1000000000;
}


/* --------------------------[ The below is just for non-javscript users ]--------------------------*/
#nav li li{	float:none; }

#nav li li a{ /* Just submenu links*/
	position:relative;
	float:none;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 10em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:2.2em;
}

/* third-and-above-level lists */
#nav li ul ul { margin: -1em 0 0 -1000em; }
#nav li:hover ul ul {	margin-left: -1000em; }

 /* lists nested under hovered list items */
#nav li:hover ul{	margin-left: 0; }
#nav li li:hover ul {	margin-left: 10em; margin-top:-2.5em;}

/* extra positioning rules for limited noscript keyboard accessibility */
#nav li a:focus + ul {  margin-left: 0; margin-top:2.2em; }
#nav li li a:focus + ul { left:0; margin-left: 1010em; margin-top:-2.2em;}
#nav li li a:focus {left:0;  margin-left:1000em; width:10em;  margin-top:0;}
#nav li li li a:focus {left:0; margin-left: 2010em; width: 10em;  margin-top:-1em;}
#nav li:hover a:focus{ margin-left: 0; }
#nav li li:hover a:focus + ul { margin-left: 10em; }


.ss_menu_2{
	padding-left: 5px;
	}
