body {
	padding: 10px;
	margin: 0;
	background: #003099;
}
div#wrapper {
	border: 1px solid #66ffff;
	background-color: #0030ff;
	color: #ff0;
	font: 0.8em Verdana;
	background-image: url("images/background.jpg");
	background-repeat: no-repeat;
	background-position: top right;
	padding-right: 240px;
	position: relative;
	max-width: 1024px;
	margin: 0px auto;
}
body.wide div#wrapper {
	padding-right: 0;
}
body.wide h1, body.wide .narrow {
	margin-right: 220px;
}
hr {
	background: 0;
	border: 0 none;
	border-top: #ff0 dotted medium;
}
h2, h3, h4, span.h3 {
	/*color: #ff9f00;*/
}
h1 {
	text-align: left;
	margin-left: 35px;
	margin-bottom:0;
}
h2 {
	margin-top: 0;
	margin-bottom: 0.5em;
	/*text-align: center;*/
}
h3, span.h3 {
	font-size: 1.1em;
	border-bottom: #ff9f00 1px solid;
	border-color: #ff0;
	margin-bottom: 1em;
	font-weight: bold;
}
h4 {
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 0;
}
h4 dfn {
	font-weight: normal;
}
p {
	margin-top: 0;
}
a {
	color: #ffbf00;
}
a img {
	border: none;
}
a.button {
	background-color: #009;
	border: 2px outset #009;
	padding: 2px;
}
a.button:hover {
	background-color: #00c;
}
a.button:active {
	background-color: #009;
	border: 2px inset #009;
}
div#menu {
	width: 110px;
	height: 560px;
	margin-left: 10px;          /* some weird IE bug causes it to double this margin on a floated box; corrected later */
	margin-bottom: -20px;
	padding: 20px;
	float: left;
	position: relative;

	border: #ff0 outset 1px;
	background-color: #ff0;
	background-image: url('images/menubase.png');
	background-repeat: no-repeat;
	background-position: bottom center;

	font-size: 0.9em;
	font-weight: bold;
	text-align: center;
}
html>body div#menu {
	margin-left: 20px;
}
div#menu ul {
	margin: 0;
	padding: 0;
}
div#menu li {
	margin: 0;
	padding: 5px 0;
	list-style-type: none;
}
div#menu, div#menu a {
	color: #ff1a1a;
	text-decoration: none;
}
div#menu a:hover {
	color: red;
}
div#content {
	margin-left: 200px;
	/*font-weight: bold;*/
}
div#content p {
	text-align: justify;
}
table.data {
	background-color: white;
	color: black;
	font-weight: normal;
	font-size: 80%;
	border-collapse: collapse;
	border: 2px solid black;
	clear: right;
}
table.data th {
	color: blue;
	text-align: left;
	border: 1px solid #ccc;
	padding: 2px;
}
table.data td {
	border: 1px solid #ccc;
	padding: 2px;
	text-align: center;
}
table.data tr.header th {
	font-weight: bold;
	font-style: italic;
	color: #909;
}
table.data th.heading {
	font-size: 150%;
	font-style: italic;
	color: #909;
}
table.data .best, span.best {
	background-color: #f99;
	color: black;
}
table.data .good, span.good {
	background-color: #99f;
	color: black;
}
form table {
	width: 350px;
}
form th {
	vertical-align: top;
	text-align: right;
}
form td {
	padding-left: 2px;
	padding-right: 2px;
}
td,th {
	vertical-align: middle;
	padding-bottom: 5px;
}
input, textarea, select {
	width: 100%;
}
input.nottext {
	width: auto;
}
img.support {
	border: 1px solid black;
	margin: 10px;
	clear: right;
	position: relative;
}
img.thm {
	border: 1px solid black;
	margin: 5px;
	vertical-align: middle;
}
p.credits {
	clear: left;
	text-align: right;
	font-size: 10px;
	margin: 0;
	margin-top: 2em;
	margin-right: -230px;   /* since there's a big padding-right on the div#wrapper */
	color: #66f;
}
body.wide p.credits {
	margin-right: 0;
}
p.credits a {
	color: #66f;
	text-decoration: none;
}
p.credits a:hover {
	color: #66f;
	text-decoration: none;
}

.inlet td {
	vertical-align: top;
}

/* Standard Table */
table.s {
	border-collapse:collapse;
	width:100%;
}
table.s th {
	background:#FFFF00;
	color:#000;
	padding:3px 10px;
	border:1px solid #80987f;
	text-align:left;
}
table.s td {
	border:1px solid #80987f;
	padding:3px 10px;
}
table.s td.gap {
	border:0;
	padding: 5px 10px;
}
