html, body {
	padding: 0;
	margin: 0;
}

body {
	background-color: #ddd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8pt;
	color: #222;
}

h1 {
	font-size: 12pt;
	font-weight: bold;
}

h2 {
	font-size: 10pt;
	font-weight: bold;
}

h3 {
	font-size: 9pt;
	font-weight: bold;
}

h4 {
	font-size: 8pt;
	font-weight: bold;
}

hr {
	border-width: 0px;
	border-top: 1px dotted #ccc;
	height: 1px;
}

pre {
	margin: 0.5em 0;
	padding: 0.5em;
	background-color: #eee;
	border-top: solid #ccc 1px;
	border-left: solid #ccc 1px;
	border-bottom: solid #ddd 1px;
	border-right: solid #ddd 1px;
}

small {
	font-size: 85%;
}

big {
	font-size: 120%;
}

li {
	margin: 0.5em 0;
}

dt {
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 0.25em;
}

table {
	border: 0;
	border-spacing: 0;
}

td {
	padding: 0 1em 0 0;
	border: 0;
	margin: 0;
}

th {
	font-weight: bold;
	text-align: left;
	padding-right: 1em;
	padding-bottom: 0.25em;
}

textarea {
	background-color: #eee;
	margin: 0.25em 0;
	font-family: Courier, "Courier New", monospace;
	font-size: 8pt;
}

input[type="submit"], input[type="reset"],
input[type="button"], input[type="file"], button {
	font-size: 8pt;
	font-weight: normal;
}

input[type="text"], input[type="password"] {
	background-color: #eee;
	margin: 0.25em 0;
	font-size: 8pt;
	font-weight: normal;
}

select {
	font-size: 8pt;
}

img {
	border: 0;
}

#container {
	margin: 0 auto auto 0;
	padding: 0;
	max-width: 90em;
}

#header {
	background-color: #333;
	width: 99.5%;
	height: 3em;
	border-top: 1px solid #aaa;
	border-left: 1px solid #bbb;
	border-right: 1px solid #111;
	border-bottom: 1px solid black;
}

#header h1 {
	margin: 0.5em 0 0 0.5em;
	letter-spacing: 0.20em;
	font-size: 11pt;
	font-weight: bold;
	color: white;
}

a:link, a:visited {
	color: #048;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#content {
	margin: 0 11em auto 12em;
	width: auto;
	min-width: 30em;
	min-height: 30em;
	background-color: white;
	padding: 1em;
	border-top: solid #ddd 1px;
	border-right: solid #888 1px;
	border-bottom: solid #666 1px;
	border-left: solid #aaa 1px;
}

#content p, #content li, #content dd, #content td {
	line-height: 1.5em;
}

#content img.figure {
	width: 10em;
	border: 1px #222 dotted;
	cursor: crosshair;
}

#navigation {
	float: left;
	width: 12em;
	color: black;
	border: 0;
	margin: 0;
	padding: 0;
}

#navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #888;
	color: white;
	border-bottom: solid 1px #eee;
}

#navigation li {
	margin: 0;
}

#navigation ul li a:link, #navigation ul li a:visited {
	margin: 0;
	display: block;
	padding: 3px 10px 2px 6px;
	letter-spacing: 0.1em;
	color: white;
	border-top: solid #aaa 1px;
	border-left: solid #aaa 1px;
	border-bottom: solid #666 1px;
	border-right: solid #666 1px;
}

#navigation ul li a:hover {
	margin: 0;
	color: #222;
	background-color: white;
	text-decoration: none;
	border-right: solid #ccc 1px;
}

#navigation p {
	margin-left: 0.75em;
}

#control {
	float: right;
	margin: 0 0 auto auto;
	width: 9em;
	padding: 1em;
}

#control ul, #control li {
	margin: 0;
	padding: 0 1em 0.5em 0;
	list-style: none;
}

#control a:link, #control a:visited {
	padding-right: 1em;
	letter-spacing: 0.1em;
}

#optionPanel {
	float: right;
	width: 8em;
	display: block;
	z-index: 10;
}

#optionPanel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#optionPanel li {
	margin: 0.25em;
}

#optionPanel ul li a:link, #optionPanel ul li a:visited {
	text-decoration: none;
	padding: 0.1em 0.25em;
	display: block;
}

#optionPanel ul li a:hover {
	color: white;
	background-color: black;
}

#optionPanel div.controlGroup {
	padding: 0.12em;
	display: none;
}

#optionPanel div.controlCompound:hover div.controlGroup {
	display: block;
	background-color: #ffc;
	border-top: solid #ddd 1px;
	border-left: solid #ddd 1px;
	border-right: solid #888 1px;
	border-bottom: solid #888 1px;
}

#optionPanel option.optionItem {
	background-color: #ffc;
}

#bottom {
	clear: both;
	padding: 0.5em 0.5em 0.5em 17em;
	font-size: 80%;
}

#navigation a:link,
#navigation a:visited,
#control a:link,
#control a:visited,
#bottom a:link,
#bottom a:visited {
	color: #444;
	text-decoration: none;
}

#navigation a:hover,
#control a:hover,
#bottom a:hover {
	color: black;
}

div.editPanel img {
	margin: 0;
	padding: 1px;
	border-top: solid #eee 1px;
	border-left: solid #eee 1px;
	border-right: solid #999 1px;
	border-bottom: solid #888 1px;
}

div.editPanel a:hover img {
	border-bottom: solid #eee 1px;
	border-right: solid #eee 1px;
	border-left: solid #bbb 1px;
	border-top: solid #aaa 1px;
	background-color: #ccc;
}
