/******************************** VERSION CONTROL ******************************** 
* $URL: http://christina/svn/InflectoWebsite/Website/_css/cssDropDownMenu.css $ 
* $Rev: 11 $ 
* $Date: 2008-04-18 11:11:25 +0100 (Fri, 18 Apr 2008) $
* $Author: rmmason $ 
* 
* CHANGE HISTORY 
* 2008-04-14   -   Created by Ross 
*
*********************************************************************************
*/

.menu 
{
	width: 455px;
	float:left;
	clear: both;
	height: 40px;
	/*z-index:9999*/
}
#nav li .centre
{
	text-align: center;
}
	
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	z-index:9999
}

/*   -- This is what we should do but as IE 6 does not support child selectors we have to use the 
following two statements to applyu the style then remove. 
#nav > li {
	float: left;
	position: relative;
	height: 18px;
	padding: 11px 0px 10px 0px;
	cursor: default;
	border-right: 1px solid #A5B9A1;
	border-width: 1px; 
	z-index:9999
}
*/

#nav li
{
	float: left;
	position: relative;
	height: 18px;
	padding: 11px 0px 10px 0px;
	cursor: default;
	border-right: 1px solid #A5B9A1;
	border-width: 1px; 
	z-index:9999;
}

#nav li ul li
{
	height: auto;
	padding: 0px;
}


#nav a {
	display: block;
	color: #36393D;
	text-decoration: none;
	line-height: 20px;
}

#nav li { /* all list items */
	float: left;
	width: 150px; /* width needed or else Opera goes nuts */
}



#nav li ul { /* second-level lists */
	position: absolute;
	top: 100%;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	padding-bottom: 5px;
	background: url(/images/Menu_bottom.gif) no-repeat left bottom;
}
#nav li ul li /* second-level list items */
{
	background: #D6EBAD;
	border-bottom:  1px solid #A5B9A1;
	width: 150px;
}

#nav li ul li a
{
	padding: 10px 5px 10px 5px;
}

#nav li ul li:first-child, #nav li ul li.first  /* second-level list item ( first clild) shouldn't need the sceond entry but needed for ie6 bug*/
{ 
	border-top:  1px solid #A5B9A1;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 10em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li:hover, #nav li.sfhover
{
	background-color: #D7EAD0;
}