/* ------- NAV META  -------  */


#nav{
	width:100%;
	height:28px;
}

#nav, 
#nav ul { 
	padding: 0;
	margin: 0;
	list-style-type: none;
	background-color: #684200;
	border:0px;
	font: bold 1.1em "Trebuchet MS", georgia, serif;
	text-align:right;
}
#nav ul{
float:right;
}
#nav li {
	height:28px;
	float: left;
	width:9em;
/* width needed or else Opera goes nuts */
	font-weight:bold;
	border-left: 1px #000000 solid;
}
#nav a,
#nav a:link, 
#nav a:visited {
	display: block;
	color:#ffffff;
	background:#684200;
	font-weight: bold;
	padding-top:5px;
	text-align: center;
	text-decoration:none;
	width:100%;
	height:1.4em;;
}

#nav a:hover, 
#nav a:active, 
#nav a:focus
{
	color: #000000;
	background-color:#FFAA00;
	text-decoration: none;
	display: block;
	font-weight: bold;
	padding-top:5px;
	text-align: center;
	width:100%;
	height:1.4em;
	font-style:italic;
}

#nav a.selected:link,
#nav a.selected:visited,
#nav a.selected:hover,
#nav a.selected:active,
#nav a.selected:focus
 {
	color: #000000;
	background-color:#FFAA00;
	text-decoration: none;
	width:100%;
	height:1.4em;
}
#nav li ul {
	position: absolute;
	width:11em;
	left: -999em; 
/*using left instead of display to hide menus because display: none isn't read by screen readers */
	border-left:solid 1px #cccccc;
	border-right:solid 1px #cccccc;
	font-style: normal;
	font-size:.9em;
	height:auto;
	}



#nav li ul li{
	min-height:1em;
	height:auto;
	border-top:1px solid #000;
	width:11em;

}


#nav li:hover ul, #nav li.sfhover ul { 
/* lists nested under hovered list items */
	left: auto;

}



/* ------- SUBNAVIGATION  -------  */



#nav-section ul {
border-top: solid 1px #FFAA00;
list-style: none;
border-bottom: solid 2px #FFAA00;
margin: 0;
padding: 0;
width:100%;
display: block;
}

#nav-section li a:link, 
#nav-section li a:visited {
display: block;
border-bottom: solid 1px #ddd;
background-color: #b8c76d;
padding: 0.125em 0em 0.125em 0em;
color: #000;
width:100%;
text-decoration: none;
}

#nav-section li a:hover, 
#nav-section li a:active, 
#nav-section li a:focus,
#nav-section li a.selected:link,
#nav-section li a.selected:visited,
#nav-section li a.selected:active,
#nav-section li a.selected:focus
 
 {
background-color: #684200;
color: #fff;
display: block;
width:100%;
border-bottom: solid 1px #ddd;
padding: 0.125em 0em 0.125em 0em;
text-decoration: none;
}

#footernav li.normal,#footernav li.selected{
	display:inline;
list-style-type: none;
}

a.cont{
display:block;
text-align:right;
width:100%;
}
#tabs{
margin:0;
padding:0;
height:20px;
margin-bottom:10px;

}
#tabs ul{
display:block;
margin:0;;
padding:0;
}
#tabs ul li{
width:60px;
display:inline;
border:1px solid #333333;
list-style:none;
margin:0;
height:40px;
background-color:#684200;
text-align:center;
color:#ffffff;
}
#tabs li a{
display:inline-block;
color:#ffffff;
margin:5px;
}
#tabs li a:hover{
background-color:#FFAA00;
color:#6D84B4;
margin:5px;
}