/* CSS Document */

/* horizontal navigation */

* {
margin: 0;
padding: 0;
}


body {
	font-family: Arial, "Times New Roman", Helvetica, sans-serif;  
	font-size:62.5%;

}

/* BEGINNING OF DROP DOWN MENU */

/* the horizontal menu starts here */

div#menucontainer {
 	width:740px;  /* makes the div full width */
  /*	float: left; /*makes the div enclose the list */
	border-top:1px solid #000; /* draws line on top edge of div */
	border-bottom:1px solid #000; /* draws line on bottom edge of div */
	font-size:1.2em; /* set font size here */
	background-color:#F2CD20;  /*  background color (Green Background) */
	margin:auto;
	height:27px;
	z-index:10;
    font-family:sans-serif;
    font-size:15px;	
}

div#menusubcontainer {
   margin:0 auto;
   width:700px;
}


div#listmenu {
    margin-left:15%;
	margin-right:15%;
	margin-top:3px;
 	width:700px;  /* makes the div full width */
	float: left; /*makes the div enclose the list */
/*	background-color:#F2CD20;  /* Orange Background Color */
	text-align:center;
  /*  padding-left:60px;   /* Center the current Menu  */
}
	
div#listmenu li {
    float:left; /* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none; /* removes the bullet off each list item */
	background-color:#F2CD20; /*sets the background of the menu items */
	padding:0px 6px;
	z-index:10;
	
}

div#listmenu li:first-child {
 	padding:0 6px;
	z-index:10;
}

div#listmenu ul {
	 margin: 0px;
	 padding: 0px;
}



* html a {
	display:block;
}

div#listmenu a {
	display:block;
	padding:2px 2px 5px 5px; /*creates space each side of menu item's text */
	text-decoration:none; 	 /* removes the underlining of the link */
	color:#000;  /*sets the font color */
	background:#F2CD20; /* sets background color */
	font-size:1em;
}

div#listmenu a:hover {
	color:#c91305; 
}

div#listmenu li:hover { 
	color:#fff; 

}

/* the horizontal menu ends here */




/* the drop-down starts here */ 
div#listmenu ul li ul {
	margin:0; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:9em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left: 5px; /*aligns the drop exactly under the menu */
	}
	
div#listmenu ul li ul li {
	width:90%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #000; /*  three sides of each drop-down item */
	border-bottom:1px solid #000;
	border-right:1px solid #000;
	}
div#listmenu ul li ul li:first-child {
	border-top:1px solid #000; /*the top edge of the dropdown */

	}

div#listmenu ul li ul li a {
	padding-bottom: 4px; /*creates space below menu item's text */
}


/* make the drop-down display as the menu is rolled over */
div#listmenu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* THE HACK ZONE - */
/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#listmenu ul {
	float:left; /* makes the ul wrap the li's */
	border-left:1px solid #000; /* adds the rightmost menu vertical line to the ul */
	margin-left:5px; /* IE doubles the given value above - why? */
	}
* html a {display:block;} /* makes IE5 & 5.5 accept the padding on the link */
/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#listmenu ul li ul {
	border-top:1px solid #000;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* end of hack zone */
/* END OF LIST-BASED MENU */

