@charset "utf-8";
/* CSS Document */

	#nav {
	height:2.09em;
	font: bold 96% arial;
	color: #00F;
		} /*Appears to mainly affect the font on the button and drop downs*/

#nav, #nav ul {
		padding: 0;
		margin: 0;
		list-style: none;
		margin: 5px;
		} /*This keeps the drop down left border lined up with the left side of the button*/

		
	#nav li {
	position: relative;
	background: #FFCD05;
	float: left;
	width: 131px;
	display:block;
	margin: 0;
	padding:0;
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #000;

		}/*width of the buttons*/
		
	#nav a, #nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	text-decoration:none;
	cursor:pointer;
	color:#000;
	display: block;
	padding: 4px 5px 2px
		} /*this is size of the drop downs as well as the colour of the font before mouse over*/
	
	#nav a: hover { color:#000}
	
	#nav li ul {
	background: #f6f6f6 no-repeat 100% 100%;
	width: 10px;
	font-size:90%;
	margin-top:3px;
	position: absolute;
	font-weight:normal;
	left: -999em;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #000;
	color: #000;
		}/*when this is gone the drop downs are present not hidden until rollover*/
		
	#nav li:hover ul, #nav li.sfhover ul {left: 0;z-index:99999} /*when this is gone no drop downs occur at all*/
	
	#nav li li {
	float:none;
	border:none;
	border: 1px solid #999;
	border-top:1px solid #fff;
	border-right:none;
	border-left:none;
	padding-left:0;
	background-color: #FFCD05;
	background-image: none;
	color: #ffcd05;
}
	#nav li li.last {border-bottom:none}
	
	#nav li li a, #nav li li a:link, #nav li li a:visited, #nav li li a:hover {
	color:#000;
	padding: 3px 10px 2px;
	width: 8em
}/*This is the roll over that increases size to the left*/

	
	#nav li.active {
	background-color:#FFCD05;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	color: #00C;
}
	#nav li.active ul {
	border:none;
	background: #FFCD05 no-repeat 100% 100%;
	color: #000;
}
	#nav li.active a:link, #nav li.active a:visited, #nav li.active a:hover, #nav li.active a:active {}
	#nav li.active a:hover {color:#000}
	
	#nav li.active li {
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #000;
	border-bottom-color: #000;
}
	#nav li.active li.last {border-bottom: none}
	#nav li.active li a:link, #nav li.active li a:visited, #nav li.active li a:hover, #nav li.active li a:active {
	color:#000
}
	#nav li.active li a:hover {
	color:#000;
	background-color: #CCC;
	background-repeat: repeat-x;
	background-position: 0 99%;
}
