/*
* Navigation CSS, based on SuckerFish CSS Menus
*
* @author	Duncan Mundell <duncan@lantech.co.nz>
* @version	1.0
* @updated	31/10/06
*/

#navmain {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	background: url(../images/interface/nav.bg.png) repeat-x;
	height: 28px;
	padding-top: 2px;
	}
	
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
	background-color: #9fb773;
	color: #E1E8D2;
	}

#nav {
	font-weight: bold;
	}
	
#nav li ul {
	font-weight: normal;
	}
	
#nav ul {
	margin-top: 5px;
	}
	
#nav a {
	display: block;
	color: #474747;
	text-decoration: none;
	margin-left: 5px;
	margin-right: 5px;
	}

#nav li:hover a,
#nav a:hover,
#nav li.sfhover a {
	color: #FFF !important;
	}	
	
/*
* width needed or else Opera goes nuts
* Remove padding for lower items
*/
#nav li ul a {
	width: 15em;
	padding: 7px 0;
	}

/* Indicate sub menus */
#nav a.daddy {
	background: url(../images/widgets/nav.submarker.gif) no-repeat 95% center;
	}

/* Use a transparent png for real browsers */
#nav li > a.daddy {
	background-image: url(../images/widgets/nav.submarker.png);
	}
	
	
/* 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: 15em;
	border-bottom: 1px solid #88915E;
	}
	
#nav li ul li.last {
	border: none;
	}
	
#nav li ul li:hover,
#nav li ul li.sfhover {
	background-color: #276D85;
	border-color: #6688A1;
	}

#nav li.current,
#nav li:hover,
#nav li.sfhover {
	background-color: #276D85;
	}

#nav li.nulllink:hover {
	background-color: transparent;
	}
	
#nav a.current {
	font-weight: bold;
	color: #FFF !important;
	}


/* second-level lists */
#nav li ul { 
	position: absolute;
	width: 15em;
	margin-left: 0;
	border: 1px solid #67754C;
	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: -28px 0 0 15.4em;
	}

#navmain > #nav li ul ul {
	margin: -28px 0 0 15em;
	}
	
#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 */
#publications,
#careerdevelopment {
	width: 19em !important;
	}
	
#publications ul,
#publications li,
#publications a,
#careerdevelopment ul,
#careerdevelopment li,
#careerdevelopment a {
	width: 19em !important;
	}
	
#publications ul,
#careerdevelopment ul {
	margin-left: 19.4em !important;
	}

#navmain > #nav #publications ul,
#navmain > #nav #careerdevelopment ul {
	margin-left: 19em !important;
	}

#navmain #journal,
#navmain #otinsight,
#navmain #council,
#navmain #lans {
	width: 13em !important;
	}
	
#journal ul,
#journal li,
#journal a,
#otinsight ul,
#otinsight li,
#otinsight a,
#council ul,
#council li,
#council a,
#lans ul,
#navmain #lans li,
#lans a {
	width: 13em !important;
	}

#journal ul,
#otinsight ul,
#council ul,
#lans ul {
	margin-left: 13.4em !important;
	}

#navmain > #nav #journal ul,
#navmain > #nav #otinsight ul,
#navmain > #nav #council ul,
#navmain > #nav #lans ul {
	margin-left: 13em !important;
	}
	
#resources  {
	width: 17em !important;
	}
	
#resources ul,
#resources li,
#resources a {
	width: 17em !important;
	}

#resources ul {
	margin-left: 17.4em !important;
	}

#navmain > #nav #resources ul {
	margin-left: 17em !important;
	}

#currentsigs {
	display: none !important;
	}
