
/* "generic" styles */

body {
	position: relative;
	margin: 0; padding: 0;
	text-align: center;
	line-height: 1.125em;
	font-size: 100%;
	background: #DDD; color: #000;
}

a {
	text-decoration: none;
	font-weight: bold;
}

a:link, a:visited {
	color: #3E5187;
}

a:hover {
	color: #000066;
	background-color: inherit;
}

a img {
	border: none;
}

p {
	margin: 0 0 1.5em;
}

/* miscellaneous */

.bolditalic {
	font-weight: bold;
	font-style: italic;
}

.large {
	font-size: 1.5em;
	font-weight: bolder;
	padding-top: 1.5em;
}

.red {
	color: #B90000; background: #FFF;
	font-weight: bold;
}

#sitemap li.indent {
	list-style: none;
	margin-left: 2.5em;
}

.left {
	text-align: left;
}

.right {
	float: right;
	text-align: right;
}
.author {
	text-align: center;
	font-style: italic;
	font-weight: bold;
}

.poem {
	display: block;
	text-align: center;
	line-height: 1.5em;
}

/* page layout */

#wrap {
	width: 820px; height: 100%;
	text-align: left;
	font: 0.75em Verdana, Arial, Helvetica, sans-serif;
	margin: 0 auto; padding: 0;
	background: #FFF url(images/bgwrap.gif) repeat-y;
	color: #000;
}

#header {
	position: relative;
	margin:0; padding:0;
	top: 0; left: 0;
	background: #FFF url(images/bgheader.gif) repeat-y;
	height: 120px; width: 820px;
}

#sidebar {
	width: 200px; top: 120px;
	margin: 0; padding: 0;
	float: left;
	background: #009900; color: #FFF;
	display: inline;
}

#content {
	top: 120px; width: 600px; 
	background: #FFF; color: #000;
	float: left;
	margin: 0; padding: 0 10px 0 10px;
	display: inline;
}

/* header */

#header img {
	position: absolute;
	top: 15px; left: 25px;
	height: 85px;
}	

/* sidebar navigation */

#navlinks {
	margin: 0; padding: 0;
	text-align: left;
}

#navlinks li {
	display: block;
	font-weight: bold;
	margin-left: 0; padding-left: 1em;
	margin-bottom: 0.75em;
}

#navlinks li.submenu {
  	margin: 0 0 0.75em 0.75em;
	display: block;
}

#navlinks a {
	color: #FFF;
	margin-left: 0; padding-left: 0.75em;
	border-left: 3px solid #000;
	margin-bottom: 0.5em;
	background-color: inherit;
}

#navlinks a:hover {
	color: #000;
	margin-left: 0; padding-left: 0.75em;
	border-left: 3px solid #FFF;
	margin-bottom: 0.5em;
	background-color: inherit;
}

/* border rounded corners*/

.t {background: url(./images/dot.gif) 0 0 repeat-x; width: 500px;}
.b {background: url(./images/dot.gif) 0 100% repeat-x}
.l {background: url(./images/dot.gif) 0 0 repeat-y}
.r {background: url(./images/dot.gif) 100% 0 repeat-y}
.bl {background: url(./images/bl.gif) 0 100% no-repeat}
.br {background: url(./images/br.gif) 100% 100% no-repeat}
.tl {background: url(./images/tl.gif) 0 0 no-repeat}
.tr {background: url(./images/tr.gif) 100% 0 no-repeat; padding: 10px;}

/* content */

h1, h2, h3 {
	color: #009900;
	background: #FFF;
	font-weight: bold;
	text-align: center;
}

h1 {
	margin: 0 0 0.25em 0em; 
	padding: 0.25em 0 0.5em 0em;
	font-size: 1.5em;
}

h2 {
	margin: 0.5em 0; 
	padding-bottom: 0.25em;
	font-size: 1.25em;
}

h3 {
	margin: 0.5em 0; 
	padding-bottom: 0.25em;
	font-size: 1.0em;
}

#content ul {
	display: block;
	margin: 0; padding: 0;
}

#content ul li {
   margin: 0 0 4px 1.5em;
	padding: 0 0 1em 0.25em;
	list-style: outside square;
}

#content li.nostyle {
   margin: 0 0 4px 1em;
	padding: 0 0 1em 0;
	list-style: none;
}

#content a {
	text-decoration: underline;
}

#content a.noline {
	text-decoration: none;
}

/* images */

#content img.right {
	margin: 0.5em 1em 1em 0.5em; 
	padding: 0;
	border: 0;
	float: right;
}

#content img.left {
	margin: 0.5em 1em 1em 0; padding: 0;
	border: 0;
	float: left;
}

div.figureright50 {
	width: 50%;
	float: right;
	border: 1px silver solid;
	margin: 0.5em 0.5em 1.0em 1.0em;
	padding: 0.5em;
}

div.figureright50 p {
  text-align: left;
  font-size: smaller;
  text-indent: 0;
  margin: 0 0 0.5em;
}

img.scaled {
  width: 100%;
}

/* tables */

table {
	margin: 0.5em; 
	padding: 0.5em 0 2em;
	text-align: left;
	width: 500px;
}

th {
	text-align: center;
	padding: 5px;
	font-weight: bold;
	background: #000; color: #FFF;
}

td {
	padding: 10px 10px;
	vertical-align: text-top;
}

/* footer */

#footer {
	clear: both;
	text-align: left;
	padding: 0.5em;
	border-top: 3px solid #000;
	background: #FFF; color: #000;
}

#footer p {
	margin: 0;
}

#footer a:hover {
	color: #000066;
	background: #FFF;
}
