﻿/*///////////////////////////////////////////////////////////////
////////				NAV.CSS			    	       //////////
/////////////////////////////////////////////////////////////////
*/

#nav {
	width: auto;
	float: right;
	margin-top: 166px;
}
#nav ul, #nav ul ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1 !important;
}

#nav ul a {
	/*display: block;*/
}

#nav ul li { /* all list items */
	float: left;
	width: auto; /* width needed or else Opera goes nuts */
	overflow: visible;
	border-left: 1px solid #e8e8e8;
	position: relative;
	height: 34px;
}

#nav ul li a {
	font-size: 0.625em;
	text-decoration: none;
	color: #12457f;
	width: auto;
	/*padding: 0.5em;*/
	/*background-color: transparent;*/
	/*background-color: red;*/
	background: url(../images/nav-a-bg.gif) 0px 36px repeat-x;
	text-align: center;
	text-transform: uppercase;
	padding: 8px 8px 16px 8px;
	display: inline;
	display: block;
	/*line-height: 1.833em;*/
	/* don't add borders here */
	/* don't add line-height here - for IE */
	
	/*height: auto;
	height: 1em;
	min-height: 1em;*/
	/*height: 100%;  hack for IE6 not showing submenu */
	/*height: 40px;*/
	 
}

#nav ul li a:hover, #nav ul li a:active, #nav ul li a.active   {
	color: #12457f;
	background-position: 0px 30px;
}
/*-- sets individual widths for li's --*/

/*
#nav ul li#home {
	width: 50px;
}
#nav ul li#about {
	width: 76px;
}
#nav ul li#ourservices {
	width: 100px;
}
#nav ul li#recentprojects {
	width: 120px;
}
#nav ul li#jobswithbalon {
	width: 120px;
}
#nav ul li#contact {
	width: 88px;
}

*/
/*-- SECOND NAV --*/
#nav ul li ul { /* second-level lists */
	/*margin-top: 0px;*/
	position: absolute;
	width: 165px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	/*background: url(/art/subnav-bg.gif) 0 0 no-repeat #ececec;*/
	top: 34px;
	z-index: 100;
}
#nav ul li ul li {
	width: 100%;
	border-bottom: 1px solid #fff;
	border-left: none;
	height: auto;
	height: 24px;
	background-color: #ececec;

}

#nav ul li ul li a {
	background-image: none;
	text-align: left;
	height: auto;
	width: auto;
	padding: 6px 10px 4px 10px;
}

#nav ul li ul li a:hover {
	color: #eeeeee;
	background-color: #12457f;
	padding: 6px 10px 10px 10px;
	height: auto;
	width: auto;
}
/*-- THIRD NAV --*/
#nav ul li ul li ul { /* third-and-above-level lists */
	margin: -34px 0 0 165px;
	padding-left: 1px;
	background-image: none;
	background-color: #ececec;
}

#nav ul li ul li ul li {
	border-left: 1px solid #fff;

}


#nav ul li:hover ul ul, #nav ul li.sfhover ul ul {
	left: -999em;
}

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