/* 2005-03-05: rewrote JS and menu styles */
/* 2003-10-02: dropped @media handheld in favor of @media screen, projection */
/* One of my standard ways to hide CSS from deficient browsers is with @media rules.
   This also prevents mobile devices from attempting CSS they shouldn't */

@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 {
}
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
}
body {
	padding-top: 2.5em;  /* space for horizontal navbar */
	font-size: 100%;     /* prevent weird scaling in WinIE */
	font-weight: bold; font-size: 16px; padding: 0px 0px 6px 0px; color:#999999
}
.copyright,
.content {
	padding: .5em 1em;
}
#navbar {
	position: absolute;
	top: 0;
	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 {
	display: none;    /* hidden by default */
	border: 1px solid #FFFFFF;
	border-top-width: 0;
	background-color: #999999;
	position: relative;
	z-index: 14;
	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: #cccccc;
	display: block;
	margin: 0;
	border-top: 1px solid #999999;
	text-decoration: none;
	position: relative; /* prevent WinIE weirdness */
}
/* the colors here are the same as links embedded in the content area, but don't have to be */
#navbar li a:link {
	color: #cccccc;
	text-decoration: none;
}
#navbar li a:visited {
	color: #cccccc;
	text-decoration: none;
}
#navbar li a:hover {
	color: #666666;
	text-decoration: none;
}

/* The list items for the 8 main menu groups:
   each 12.5% of window width, positioned at 20% increments.
   Might set widths in ems instead. */
#mainmenu1 {
	position: absolute;
	width: 11%;
	top: 5px;
	left: 0;
	z-index: 13;
	line-height: 10px;
}
#mainmenu2 {
	position: absolute;
	width: 12.5%;
	top: 5px;
	left: 10%;
	z-index: 13;
	line-height: 10px;
}
#mainmenu3 {
	position: absolute;
	width: 14.5%;
	top: 5px;
	left: 21.5%;
	z-index: 13;
	line-height: 10px;
}
#mainmenu4 {
	position: absolute;
	width: 11.5%;
	top: 5px;
	left: 197px;
	z-index: 13;
	line-height: 10px;
}
#mainmenu5 {
	position: absolute;
	width: 16.5%;
	top: 5px;
	left: 254px;
	z-index: 13;
	line-height: 10px;
}
#mainmenu6 {
	position: absolute;
	width: 16%;
	top: 5px;
	left: 339px;
	z-index: 13;
	line-height: 10px;
}
#mainmenu7 {
	position: absolute;
	width: 14%;
	top: 5px;
	left: 423px;
	z-index: 13;
	line-height: 10px;
}
#mainmenu8 {
	position: absolute;
	width: 11%;
	top: 5px;
	left: 497px;
	z-index: 13;
	line-height: 10px;
}

/* the main menu link, styled as a 'CSS button' */
#navbar a.mainmenu {
	font-weight: bold;
	font-size: 16px;
	padding: .3em;
	text-decoration: none;
	text-align: center;
	margin: 0;
	visibility: visible;
}
/* 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: #cccccc;
}
#navbar a.mainmenu:visited {
	color: #cccccc;    /* for top-level links, unvisited and visited are same color */
}
#navbar a.mainmenu:hover {
	color: #666666;
}

/* 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 */

