/*
*************************************************

file : nav.css
client : Webfirm
author : Karl Brightman
date created : 9th May 2007

Modified by Guy Lillico for Legend Boat Builders Website.

*************************************************
*/

/*#nav {
	position: relative;
	top: 90px;
	left: 52px;
	text-align: left;
	color: #FFF;
	width: 615px;
}*/

#nav {
	display: block;
	position: relative;
	top: 90px;
	left: 50px;
	z-index: 200;
}

#nav, #nav ul {
	/* applied to all lists in navigation */
	list-style: none; /* hide bullet points */
	margin: 0;
	padding: 0;
	position: relative;
}

#nav li {
	/* applied to all list items in nav */
	float : left;
	line-height : 1.25em;
	margin-bottom : -1px; /* collapse borders */
	margin-right: -1px;
	position : relative; /* required - used to position subs */
}

#nav li ul {
	/* second level subs */
	display: block;
	left: -9999em;
	position : absolute; /* required - positions subs in parent list item */
	width: 102px;
}


#nav li a {
	display : block;
	height: 30px;
	overflow: hidden;
	text-decoration : none;
	text-indent: -999px;
}

#nav li a:hover { background-position: 0 -34px !important;}	


#nav li ul a {
	background-color : #e9f0fd;
	border : 1px solid #000;
	color : #333333;
	display : block;
	font-size: 1.2em;
	height: 20px;
	text-decoration : none;
	text-indent: 3px;
	padding : 5px 5px;
	width: 102px; /* set to base width minus padding (example: 200px - 5px -5px = 190px) */
}	

#nav li ul a:hover { background-color : #728fc6; color : #ffffff; }	

/* images */
#nav-home { background: url('../images/nav/nav-home.gif') no-repeat 0 0; width: 78px; }
#nav-team { background: url('../images/nav/nav-team.gif') no-repeat 0 0; width: 122px; }
#nav-employment { background: url('../images/nav/nav-employment.gif') no-repeat 0 0; width: 112px; }
#nav-contact { background: url('../images/nav/nav-contact.gif') no-repeat 0 0; width: 92px; } 
#nav-enquiry { background: url('../images/nav/nav-enquiry.gif') no-repeat 0 0; width: 211px; } 

/* hide subs on current list */
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -9999em;
}

/* show subs on hover */
#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: 0;
}

