/* Market Hardware - menu.css */
/* * * * Functionality Menu Code  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#nav {
	margin-bottom: 130px;
	margin-top: 6px;
	position: relative;
	z-index: 2;
}

#nav * {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav ul {
width: 200px;
}
#nav li {
	position: relative; /* positioning content for the nested ul (drop down) */
	float: left;
	width: 100%;
}

#nav a {
	display: block; /* no divider needed to the left of first list items */
}	



/* start of drop style */


#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: 0;
	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:0; /* 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 {
	padding:0; 
	border:0; 
	margin: 0;
}
	
#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 */
} 


/* * * * Customizable Menu Code  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */



#nav li:hover,
#nav li.hover,
#nav li.hover a,
#nav li:hover a,
#nav a:hover,
.home #nav #nav-home a,
.about #nav #nav-about a,
.educational #nav #nav-educational a,
.store #nav #nav-store a,
.products #nav #nav-products a,
.testimonials #nav #nav-testimonials a,
.request #nav #nav-request a,
.feedback #nav #nav-feedback a,
.promotions #nav #nav-promotions a,
.contact #nav #nav-contact a {
	background: #af5549;
}

.home #nav #nav-home ul li a,
.about #nav #nav-about ul li a,
.educational #nav #nav-educational ul li a,
.store #nav #nav-store ul li a,
.products #nav #nav-products ul li a,
.testimonials #nav #nav-testimonials ul li a,
.request #nav #nav-request ul li a,
.feedback #nav #nav-feedback ul li a,
.promotions #nav #nav-promotions ul li a,
.contact #nav #nav-contact ul li a,
#nav ul.group ul a {
	background: #857362;
	width: 100%;
}

.home #nav #nav-home ul li a:hover,
.about #nav #nav-about ul li a:hover,
.educational #nav #nav-educational ul li a:hover,
.store #nav #nav-store ul li a:hover,
.products #nav #nav-products ul li a:hover,
.testimonials #nav #nav-testimonials ul li a:hover,
.request #nav #nav-request ul li a:hover,
.feedback #nav #nav-feedback ul li a:hover,
.promotions #nav #nav-promotions ul li a:hover,
.contact #nav #nav-contact ul li a:hover,
#nav ul.group ul a:hover {
	background: #af5549;
	color: #fff;
}


#nav a {
	color:#f3e9d7;	/* sets the color of all menu types */
	padding: 3px 10px; /* pads the link away from the list item - do no set vertical paddings */
	text-decoration: none;
	height: 100%;
}

#nav ul li ul li {
	padding: 0;
}


