/* --------------------------------------------------------------
nav.css
-------------------------------------------------------------- */
#nav {
	clear:both;
	float:left;	
	height:41px;
	list-style:none;
	position:relative;
	margin-top:22px;
	width:514px;
}
#nav li {
	display:block;
	float: left;
	margin:0;
	padding:0;
	position:relative;
	text-indent:-999em;
}
#nav li a {
	background-color:transparent;
	background-image:url('images/nav.jpg');
	background-repeat:no-repeat;
	display:block;
	float:left;
	height:41px;
}
#nav #frontpage, #nav #frontpage a {
	background-position:0 0;
	width:84px;
}
#nav #about, #nav #about a {
	background-position:-84px 0;
	width:87px;
}
#nav #case-studies, #nav #case-studies a {
	background-position:-171px 0;
	width:137px;
}
#nav #services, #nav #services a {
	background-position:-308px 0;
	width:107px;
}
#nav #contact, #nav #contact a {
	background-position:-415px 0;
	width:99px;
}

#nav #frontpage a:hover {
	background-position:0 -41px;
}
#nav #about a:hover, #nav #about.hover a {
	background-position:-84px -41px;
}
#nav #case-studies a:hover {
	background-position:-171px -41px;
}
#nav #services a:hover {
	background-position:-308px -41px;
}
#nav #contact a:hover {
	background-position:-415px -41px;
}


/*Main navigation subnav*/
#nav ul {
	background:#c0c0c0;
	border:1px #a5a4a4 solid;
	border-bottom:none;
	border-top:none;
	display:none;
	float:none;
	left:0;
	padding:0;
	position:absolute;
	top:41px;
	width:150px !important;
	z-index:40;
}
#nav ul li {
	border-bottom:1px #a5a4a4 solid;
	display:block;
	float:none;
	font-size:1.1em;
	height:auto;
	line-height:1.636em;
	margin:0;
	position:relative;
	text-indent:0;
	width:auto !important;
}
#nav ul li a {
	background:none;
	display:block;
	color:#fff;
	float:none;
	height:auto;
	margin:0;
	padding:5px 10px;
	position:relative;
	text-decoration:none;
	width:auto !important;
}
#nav ul li a:hover, #nav ul li a:active {
	background:#a5a4a4;
	color:#fff;
}