
/*****************************************************************************
**  The following is the drop down menu code for the State Archives.  
The menu code was created by K. Chayka, licensed by a Creative Commons License.
*****************************************************************************/


@media screen, projection {
/* This next rule exploits a parsing bug in MacIE5 so @media rules will be applied on screen */
.BeNiceToMacIE5 {
  font-family: "\"}\"";
  font-family: inherit;
}
/* WinIE5 hoses the selector following a box model hack, 
   so a dummy selector here will resync it */
.resyncWinIE5 {
}
     
#navbar {
	position: absolute;
	top: 45px;
	left: 0;
	width: 100%;
	font-size: 90%;}
	
/* hide the heading off-screen and don't let it affect list position */
#navbar h2 {
	position: absolute;
	top: -10em;
	left: 0;
	margin: 0;
}
#navbar ul,
#navbar li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* default list styles are for the disappearing submenu lists */
#navbar ul {
	border-top-width: 0;
	display: none;    /* hidden by default */
	 background-color: #034703;
	color: #ffffff;
	position: relative;
	z-index: 1;
	width: 100%;      /* 100% of parent */
/* overflow should only clip very long words and prevents WinIE from erroneously widening the box */
	overflow: hidden
}
/* override default for top-level items */
#navbar ul.mainmenu {
	display: block;
	border-width: 0;
	overflow: visible;
}

/* the default styles for submenu links */
#navbar li a {
	padding: .3em;
	color: #034703;
	background-color: #c2e0c2;
	display: block;
	margin: 0;
	text-decoration: none;
	position: relative; 
	/* prevent WinIE weirdness */
}

#navbar li a:link {
	color: #034703;
	background-color: #c2e0c2;
	}
#navbar li a:visited {
	color: #034703;
	background-color: #c2e0c2;
	}
#navbar li a:hover {
	color: #034703;
	background-color: #c2e0c2;
	font-weight:bold;
	}

/* The list items for the 7 main menu groups:
   Might set widths in ems instead. */
   
#mainmenu1 {
	position: absolute;
	width: 10.7%;
	top: 37px;
	left: 0;
	z-index: 1;
}
#mainmenu2 {
	position: absolute;
	width: 13.4%;
	top: 37px;
	left: 10.7%;
	z-index: 2;
}
#mainmenu3 {
	position: absolute;
	width: 11.7%;
	top: 37px;
	left: 24.1%;
	z-index: 3;
}
#mainmenu4 {
	position: absolute;
	width: 12.7%;
	top: 37px;
	left: 35.8%;
	z-index: 4;
}
#mainmenu5 {
	position: absolute;
	width: 16.0%;
	top: 37px;
	left: 48.5%;
	z-index: 5;
}

#mainmenu6 {
	position: absolute;
	width: 12.2%;
	top: 37px;
	left: 64.5%;
	z-index: 6;
}

#mainmenu7 {
	position: absolute;
	width: 10.8%;
	top: 37px;
	left: 76.7%;
	z-index: 7;
}

#mainmenu8 {
	position: absolute;
	width: 12.5%;
	top: 37px;
	left: 87.5%;
	z-index: 8;
}



/* the main menu link, styled as a 'CSS button' */
#navbar a.mainmenu {
	border: medium ridge #c2e0c2;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	display: block;
	padding: .3em;
	margin: 0	
	visibility: visible;
	background-color: #034703;
	color: #ffffff;
}
/* submenu indicator, hide from MacIE \*/
#navbar a.mainmenu.more {
	background-position: 100% .8em;
} /* end submenu indicator */

/* main menu links get different colors than submenus */
#navbar a.mainmenu:link {
	color: #ffffff;
	background-color: #034703;
}
#navbar a.mainmenu:visited {
	color: #ffffff;
	background-color: #034703;

	  /* for top-level links, unvisited and visited are same color */
}
#navbar a.mainmenu:hover {
	color: #034703;
	background-color: #c2e0c2;
	border-style: groove;  /* or inset */
}

/* hack to prevent excessive spacing in WinIE */
* html #navbar ul.mainmenu li {
	display: inline;
} /* end hack */

} /* end screen rules */

/* print media rules */
@media print {
body {
	padding-top: 0;
}
div#navbar {
	display: none;
}

} /* end print media rules */


/* End drop down menu code */
