/* CSS Document */

#nav, #nav ul { /* all lists */
		padding: 0;
		margin: 0;
		list-style: none;
		float : left;
		font-size: 0.8em;
	}
	
#nav {
	font-size: 0.8em;
	padding-bottom: 6px;
	background: url(../images/nav_bottom.gif) bottom right no-repeat;
}

#nav ul {
	width: 228px;
	margin: 0;
}
	
	#nav li { /* all list items */
		position : relative;
		float : left;
		line-height : 30px;
		width: 228px;
		padding: 0;
	}
	
	#nav li ul { /* second-level lists */
		position : absolute;
		left: -999em;
		margin-left : 227px;
		margin-top : -30px;
		background: #fff;
		font-size: 1em;
		border: 1px solid #ccc;
	}
	
	#nav li ul ul { /* third-and-above-level lists */
		left: -999em;
	}
	
	#nav li a {
		width: 228px;
		display : block;
		text-decoration : none;
		height: 30px;
		line-height: 30px;
		text-indent: 18px;
		text-align: left;
	}
	
	#nav li a:hover {
		color : white;
		background-color : black;
	}
	
	#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;
	}

#nav li:hover, #nav li.hover {
    position: static;
}

/* Coloured Sections */

	#nav li.about a {
		color: #7Ac142;
	}
	
	#nav li.about a:hover {
		background: #7Ac142;
		color: #fff;
	}
		
	
	#nav li.community a {
		color: #0084A9;
	}
	
	#nav li.community a:hover {
		background: #0084A9;
		color: #fff;
	}
	
	#nav li.community a {
		color: #0084A9;
	}
	
	#nav li.community a:hover {
		background: #0084A9;
		color: #fff;
	}
	
	#nav li.environment a {
		color: #679049;	
	}
	
	#nav li.environment a:hover {
		background: #679049;
		color: #fff;	
	}
	
	#nav li.design a {
		color: #E36F1E;
	}
	
	#nav li.design a:hover {
		background: #E36F1E;
		color: #fff;
	}
	
	#nav li.news a {
		color: #AD9600;
	}
	
	#nav li.news a:hover {
		background: #AD9600;
		color: #fff;
	}
	
/* SubNav */

	#subnav {
		list-style: none;
		font-size: 0.8em;
		position: absolute;
		right: 50px;
		bottom: 50px;
	}
	
		#subnav li {
			float: left;
			border-right: 1px solid #005295;
			padding: 0;
		}
		
		#subnav li.last {
			border: none;
		}
		
		#subnav li a {
			color: #005295;
			text-decoration: none;
			padding: 0 0.5em;
		}
		
		#subnav li a:hover {
			text-decoration: underline;
		}