/* this stylesheet is from http://sperling.com/examples/menuh/ with modifications to let it be centered in a page */
/* CSS Document */
body {
	margin:0;
	padding:0;
	text-align:center;
}
h1 {font-size:18px;text-align:center;}
#wrapper {
	text-align:center;
}
.content{
padding:10px; text-align:left;width:800px;margin:0 auto;}
.container {
	clear:both;
	text-decoration:none;
	background:yellow;  /* just a flag; shows up on screen if something is wrong with layout */
	}
#menuh {
}
/* Begin CSS Drop Down Menu */


#menuh {
	display:table;   /* based on Stu Nichols http://www.cssplay.co.uk/menus/centered.html */
	background:green;  /* just a flag; shows up on screen if something is wrong with layout */
	margin: 0 auto;
	font-size: small;
	font-family: arial, helvetica, sans-serif;
	/*width:100%;
	float:left;
	margin:2em;
	margin-top:1em;*/
	}
#menuh a {
	text-align: center;
	display:block;
	border: 1px solid #555;
	white-space:nowrap;
	margin:0;
	padding: 0.5em 1.5em 0.5em 1em; /* this padding adjusted when fixed width was removed */
}
#menuh a:link, #menuh a:visited, #menuh a:active	/* menu at rest */ {
	color: white;
	background-color: royalblue;
	text-decoration:none;
}
#menuh a:hover	/* menu at mouse-over  */ {
	color: white;
	background-color: cornflowerblue;
	text-decoration:none;
}
#menuh a.top_parent, #menuh a.top_parent:hover  /* attaches down-arrow to all top-parents */ {
	background-image: url(navdown_white.gif);
	background-position: right center;
	background-repeat: no-repeat;
}
#menuh a.parent, #menuh a.parent:hover 	/* attaches side-arrow to all parents */ {
	background-image: url(nav_white.gif);
	background-position: right center;
	background-repeat: no-repeat;
}
#menuh ul {
	list-style:none;
	margin:0;
	padding:0;
	float:left;/*width:9em;*/	/* removed fixed width of all menu boxes */
	}
#menuh li {
	display:table-cell;  /* based on Stu Nichols http://www.cssplay.co.uk/menus/centered.html was position:relative;*/
	min-height: 1px; 			/* Sophie Dennis contribution for IE7 */
	vertical-align: bottom; /* Sophie Dennis contribution for IE7 */
}
#menuh ul ul {
	position:absolute;
	z-index:500;
	top:auto;
	display:none;
	padding: 1em;
	margin:-1em 0 0 -1em;
}
#menuh ul ul ul {
	top:0;
	left:100%;
}
/*#menuh ul li {float:left;width:100px;}*/

#menuh ul li ul {   /* added to make fix width of dropdowns after removing width on parent ul; otherwise dropdown goes sideways */
	width:9em;
} 
#menuh ul ul li {  /* added to get drop down going down, and flyout in the right place */
	position:relative;
	float:left;
	width:9em;
}
div#menuh li:hover {
	cursor:pointer;
	z-index:100;
}
div#menuh li:hover ul ul, div#menuh li li:hover ul ul, div#menuh li li li:hover ul ul, div#menuh li li li li:hover ul ul {
	display:none;
}
div#menuh li:hover ul, div#menuh li li:hover ul, div#menuh li li li:hover ul, div#menuh li li li li:hover ul {
	display:block;
}

/* End CSS Drop Down Menu */

