/*
* Navigation CSS, based on SuckerFish CSS Menus
*
* @author	Duncan Mundell <duncan@lantech.co.nz>
* @version	1.0
* @updated	31/10/06
*/

#navmain {
	background: url(../images/interface/nav.bg.png) repeat-x;
	height: 37px;
	padding-top: 9px;
	font-size: 1.1em;
	}
	
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
	background-color: #3F647F;
	color: #B3C5D1;
}

#nav ul {
	margin-top: 5px;
	}
	
#nav a {
	display: block;
	color: #C4D1DB;
	text-decoration: none;
	margin-left: 5px;
	padding: 0 5px;
}	
	
/*
* width needed or else Opera goes nuts
* Remove padding for lower items
*/
#nav li ul a {
	width: 10em;
	padding: 7px 0;
	}

/* Indicate sub menus */
#nav a.daddy {
	background: url(../images/interface/nav.submarker.gif) no-repeat right center;
	}
	
/* all list items */
#nav li { 
	float: left;
	padding: 5px 0;
}

/*
* List items below main menu items
* width needed or else Opera goes nuts
*/
#nav li ul li {
	padding: 0;
	width: 10em;
	border-bottom: 1px solid #4f748E;
	}
	
#nav li ul li.last {
	border: none;
	}
	
#nav li ul li:hover,
#nav li.sfhover {
	background-color: #597992;
	border-color: #6688A1;
	}

#nav li.current,
#nav li:hover,
#nav li.sfhover {
	background-color: #597992;
	}
	
#nav a.current {
	font-weight: bold;
	color: #FFF !important;
	}


/* second-level lists */
#nav li ul { 
	position: absolute;
	width: 10em;
	margin-left: -1px;
	border: 1px solid #052635;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	}

/* third-and-above-level lists */
#nav li ul ul { 
	margin: -26px 0 0 10.4em;
	}

#navmain > #nav li ul ul {
	margin: -26px 0 0 10em;
	}
	
#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 { /* lists nested under hovered list items */
	left: auto;
	}

/* Width overrides for particular menus */
#practiceareas {
	width: 21em !important;
	}
	
#practiceareas ul,
#practiceareas li,
#practiceareas a {
	width: 21em !important;
	}
	
#practiceareas ul {
	margin-left: 21.4em !important;
	}

#navmain > #nav #practiceareas ul {
	margin-left: 21em !important;
	}

/* Have to use parent selector here to enforce !important */
#navmain #disputeresolution {
	width: 23em !important;
	}
	
#disputeresolution ul,
#disputeresolution li,
#disputeresolution a {
	width: 23em !important;
	}
	
#disputeresolution ul {
	margin-left: 23em !important;
	}
	
	
/* Have to use parent selector here to enforce !important */
#navmain #personalproperty,
#navmain #corporate {
	width: 23em !important;
	}
	
#personalproperty ul,
#personalproperty li,
#personalproperty a,
#corporate ul,
#corporate li,
#corporate a {
	width: 23em !important;
	}
	
#personalproperty ul,
#corporate ul {
	margin-left: 23em !important;
	}

/* Careers */
#news,
#careers,
#aucklandcareers,
#wellingtoncareers {
	width: 13em !important;
	}
	
#news ul,
#news li,
#news a,
#careers ul,
#careers li,
#careers a,
#aucklandcareers ul,
#aucklandcareers li,
#aucklandcareers a,
#wellingtoncareers ul,
#wellingtoncareers li,
#wellingtoncareers a {
	width: 13em !important;
	}
	
#news ul,
#careers ul,
#aucklandcareers ul,
#wellingtoncareers ul {
	margin-left: 13.4em !important;
	}


#navmain > #nav #news ul,
#navmain > #nav #careers ul,
#navmain > #nav #aucklandcareers ul,
#navmain > #nav #wellingtoncareers ul {
	margin-left: 13em !important;
	}
