/* Market Hardware - menu.css */
/* * * * Functionality Menu Code  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#nav {
	width: 188px;
float: left;
padding-top: 20px;
	z-index: 2;
}

#nav * {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav li {
	float: left; /* makes the list items sit side by side. note: if you try to get the list items to stack by unfloating the li elements, IE6+ leaves gaps */
	position: relative; /* positioning content for the nested ul (drop down) */
}

#nav a {
	display: block; /* no divider needed to the left of first list items */
}	



/* start of drop style */

#nav ul li ul li ul  {
	top:-1px; /* set to negative value of border-top for perfect pop-out alignment -set to 0 if border is 0 - don't remove! */
} 

#nav li ul {
	display: none; /* hides the drop-down (revealed when hovered. see below) */
	left: 100%; /* precisely positions the drop-down */
	position: absolute; /* positions the drop-down relative to the parent li position context */
	top: -1px;
	width: 200px;	/* sets the width of the drop-down */
}		

#nav li:hover ul,
#nav li.hover ul {	
	display: block; /* displays the menu when hovered */
}

#nav li ul li {	
	width: 100%; /* makes each li the width of the ul and therefore stack */
}



/* * * * drop-downs start here * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#nav ul li ul { 
	border:0; /* stops inheritance from level 1 ul */
	margin-left:0px; /* stops inheritance from level 1 ul */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
}

#nav ul li ul li {
	width:100%;
	padding:0; /* stops inheritance */
	border-left:0; /* stops inheritance */
	border-right:0; /* stops inheritance */
}
	
#nav ul li ul {
	display:none; /* conceals the drop-down when menu not hovered */
} 
	
#nav ul li:hover ul,
#nav ul li.hover ul {
	display:block; /* shows the drop-down when the menu is hovered */
	/* z-index:1000; /* Safari needs this to display menu on top of other page elements */
} 

#nav .vertical li ul li:first-child {
	border-top: none; /* removes top border from first drop-down li */
}	


/* pop-outs starts here (n-level) */
body #nav ul li ul li ul  {
	left:100%;
	position:absolute; /* associated menu with parent li positioning context */
	visibility:hidden; /* ensures that level 3 menu is not reveal when level 2 is reveled */
	top:-1px; /* aligns level 3 and 4 pop-out with previous level */
}
	
#nav ul li ul li:hover ul,
#nav ul li ul li.hover ul {
	visibility:visible;
} /* shows level 3 menu when associated level 2 li is hovered */

/* second and third level popouts here*/
#nav ul li ul li:hover ul li ul,
#nav ul li ul li.hover ul li ul {
	visibility:hidden; /* ensures that level 4 is not reveal when level 3 is reveled */
}
 
#nav ul li ul li ul li:hover ul,
#nav ul li ul li ul li.hover ul {
	visibility:visible; /* shows level 4 menu when associated level 3 li is hovered */
}  


/* * * * Customizable Menu Code  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#nav li {
	background: #3b60af url('../images/nav.jpg') no-repeat;
width: 160px;
margin-left: 10px;
display: block;
line-height: 30px;
height: 30px;

}

#nav li:hover,
#nav li.hover,
#nav li.hover a,
#nav li:hover a,
#nav a:hover {
	color: #ffaa52;
}

#nav ul.group ul {
	background: #3b60af;
	padding-top: 3px;
}

body.home a#nav-home,
body.about a#nav-about,
body.advantage a#nav-advantage,
body.designbuild a#nav-designbuild,
body.process a#nav-process,
body.pricing a#nav-pricing,
body.financing a#nav-financing,
body.green a#nav-green,
body.portfolio a#nav-portfolio,
body.testimonials a#nav-testimonials,
body.request a#nav-request,
body.contact a#nav-contact {
color: #ffaa52;
background: url('../images/nav_on.jpg') 0 2px no-repeat;
margin-left: 0px;
padding-left: 10px;
}

#nav ul.group ul a,
.portfolio a#nav-portfolio li a {
	color: #fff;
}

#nav ul.group ul a:hover {
	background: #3b60af;
	color: #ffaa52;
}

#nav ul li.first  {
	border-top: none; /* no divider needed to the left of first list item */
}	

#nav ul li.last  {
	border-bottom: none; /* no divider needed to the right of first last item */
}	

#nav a {
color: #fff;
font-weight: normal;
text-decoration: none;
padding-left: 10px;
line-height: 15px;
}

/* start of drop style */
#nav ul li ul {
	width: 160px; /* sets the width of menu levels 2 - 4 */
}

/* lines between menu choices - set to 0px if not wanted */
#nav li li {

margin-left: 0;
} 
