/* 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 {        /* next 2 lines are known as the "box model hack" */
  font-family: "\"}\"";
  font-family: inherit;
}
/* WinIE5 hoses the selector following a box model hack, 
   so a dummy selector here will resync it */
.resyncWinIE5 {
}
body {
	font-size: 100%;     /* prevent weird scaling in WinIE */
}
.copyright,
.content {
	margin-left: 10em;
}
#navbar {
	float: left;
	width: 140px;
	font-size: 60%;
}
/* 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;
	position: relative;
	overflow: hidden;
}
/* hide from MacIE \*/
div#navbar ul,
div#navbar li {
	overflow: visible;
} /* end hack */

/* default list styles are for the disappearing submenu lists */
#navbar ul {
	display: none;       /* hidden by default */
	border: 1px solid #403017;
	background-color: #fff;
	color: #000;
	position: absolute;
	left: 140px;           /* main menu width */
	top: -1em;
	z-index: 1;
	width: 18em;
}
/* override default for top-level items */
#navbar ul.mainmenu {
	display: block;
	border:0px;
	position: relative;
	background:none;
	top: 0;
	left: 0;
	width: 140px;
}

/* the default styles for submenu links */
#navbar li a {
	padding: .3em;
	color: #FFF0DC;
	background-color: #fff;
	display: block;
	margin: 0;
	
	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: #000;
	background-color: #FFF0DC;
}
#navbar li a:visited {
	color: #000;
	background-color: #FFF0DC;
}
#navbar li a:hover {
	color: #fff;
	background-color: #403017;
}

/* the main menu link, styled as a 'CSS button' */
#navbar a.mainmenu {
	border:0px;
	padding:0px;
	width:140px;
	text-decoration: none;
	text-align: right;
	display: block;
	margin: 0px;
	visibility: visible;
/* for mozilla browsers, (optionally) round the top corners to give a 'tab' appearance */
/*  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em; */
}

/* submenu indicator (set via JS), except in MacIE \*/
#navbar a.mainmenu:hover {
	background:none;

}


/* hack to prevent excessive spacing in WinIE */
* html #navbar ul.mainmenu li {
	display: inline;
} /* end hack */
/* hack to prevent weird widths in WinIE5 \*/
* html #navbar ul.mainmenu li a {
	height: 1%;
} /* end hack */

} /* end screen rules */

/* print media rules */
@media print {
body {
	padding-top: 0;
}
div#navbar {
	display: none;
}

} /* end print media rules */
