/* CSS Dropdown menu https://sperling.com/examples/menuh/ */

header
	{
	position: absolute;
    /* margin: 0;		 */
	top: 6px;
	left: 6px;
	}

nav
	{
	font-size: 14px;
	font-family: arial, helvetica, sans-serif;
	width:100%;
	float:left;
	margin:2px;
	margin-top: 2px;
	}

nav a
	{
	text-align: left;
	display:block;
	/* border: 1px solid #292929; */
	white-space:nowrap;
	margin:0;
	padding: 0.3em;
	}

nav a.check {
	padding-left: 25px;	/* make room for the checkbox */
	background-image: url(Resources/UnChecked.png);
	background-position: left center;
	background-repeat: no-repeat;
}

nav a:link, nav a:visited, nav a:active	/* menu at rest */
	{
	color: white;
	background-color: #848484;
	text-decoration:none;
	}
	
nav a:hover						/* menu on mouse-over  */
	{
	color: white;
	background-color: #424242;
	text-decoration:none;
	}	
	
nav a.top_level, nav a.top_level:hover  /* attaches down-arrow to all top-parents */
	{
	background-image: url(Resources/navdown_white.gif);
	background-position: right center;
	background-repeat: no-repeat;
	height: 24px;
	line-height: 24px;
	/* border-right: -6em;
	width: 6em; */
	}
	
nav a.parent, nav a.parent:hover 	/* attaches side-arrow to all parents */
	{
	background-image: url(Resources/nav_white.gif);
	background-position: right center;
	background-repeat: no-repeat;
	}

nav ul
	{
	list-style:none;
	margin:0;
	padding:0;
	float:left;
	width:11em;
	}

nav li
	{
	position:relative;
	}

nav ul ul
	{
	position:absolute;
	z-index:500;
	top:auto;
	display:none;
	padding: 1em;
	margin:-1em 0 0 -1em;
	}

nav ul ul ul
	{
	top:0;
	left:100%;
	}

nav li:hover
	{
	cursor:pointer;
	z-index:100;
	}

nav li:hover ul ul,
nav li li:hover ul ul,
nav li li li:hover ul ul,
nav li li li li:hover ul ul
{display:none;}

nav li:hover ul,
nav li li:hover ul,
nav li li li:hover ul,
nav li li li li:hover ul
{display:block;}

/* End CSS Drop Down Menu */