body {
	margin: 0; padding: 0;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 12px;
	line-height: 17px;
	background-color: #ffffff;
}

a { color: #880000; }
a:hover { color: #dd7722; }

h1 {
	border-bottom: 2px solid #ddaa00;
	padding-bottom: 5px;
}

h2 {
	border-bottom: 1px solid #ddaa00;
	padding-bottom: 3px;
}

pre {
	border-left: 1px dotted #000066;
	background-color: #e0e0ff;
	margin-left: 25px; padding-left: 5px;
	font-family: monospace;
	font-size: 11px;
	line-height: 0.5;
}

/****** header *****/
div#header {
	position: absolute;
	top: 0; left: 0; margin: 0;
	z-index: 10;
	width: 100%;
	height: 120px;
	background: scroll #964016 url("/gfx/header-background.png") 0 0 repeat-y;
}

div#header a { text-decoration: none; }

img#logo {
	margin-top: 15px;
	margin-left: 1em;
}

/*** search box ***/
div#searchbox {
	position: absolute;
	top: 25px; right: 30px;
	z-index: 11;
	padding: 5px;
}

div#searchbox form {
	display: inline;
	padding: 0; margin: 0;
}

div#searchbox input { border: 1px solid #886622; }
input#searchbox-text { background-color: #caa090; }
input#searchbox-text:hover { background-color: #ead0b0; }
input#searchbox-text:focus { background-color: #ead0b0; }
input#searchbox-submit {
	border: 1px solid #000000;
	background-color: #aa5b20;
	color: #eeeeee;
}

/*** buttons ***/
div#buttons {
	position: absolute;
	top: 91px; right: 10px;
	z-index: 12;

	/* IE hacks */
	_top: 103px;
}

div#buttons div {
	background: url("/gfx/topbutton.png") no-repeat;
	display: table-cell;
	width: 100px;
	height: 29px;
	text-align: center;
	vertical-align: middle;
	padding-right: 1px;
	overflow: hidden;

	/* IE hacks */
	_display: inline;
	_margin-left: 5px;
	_padding: 25px;
	_background: #442200;
	_font-size: 12px;
}

div#buttons a { font-weight: bold; font-size: 12px; color: #e0e0e0; text-decoration: none; }
div#buttons a:hover { color: #ffffff; text-decoration: underline; }

/*** top bar ***/
div#topbar {
	width: 100%;
	height: 12px;
	position: absolute;
	z-index: 11;
	top: 120px;
	background: url("/gfx/verticalshadow.png") repeat-x;
}

/***** left bar *****/
div#leftbar {
	position: absolute;
	top: 127px;
	width: 180px;
	background-color: #e5e5e5;
	z-index: 20;
	padding-top: 10px; padding-bottom: 10px;
}

/*** menu ***/
div.menu a {
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
	text-align: left;
	vertical-align: middle;
	display: table-cell;
	width: 180px;
	height: 30px;
	background: #000000 url("/gfx/button-background.png") repeat-x;
	padding-left: 10px;
	font-size: 12px;

	/* IE hacks */
	_width: auto;
	_display: block;
	_background-color: #000000;
	_height: 25px;
	_padding-top: 5px;
}
div.menu a:hover { color: #ffffff; text-decoration: underline; }

div.menu div a {
	height: 25px;
	background: #581000;
	padding-left: 20px;
	border-top: 1px solid #663333;
	border-left: 1px solid #663333;
	border-bottom: 1px solid #3a0000;
	border-right: 1px solid #3a0000;
	font-size: 12px;
	font-weight: normal;
}
div.menu div a:hover { background-color: #881111; }

/*** banners ***/
div.leftinfo {
	background-color: #d4d4d4;
	border: 1px solid #c3c3c3;
	margin-top: 20px; margin-bottom: 20px;
	padding: 5px;
	font: italic 12px serif;
	text-align: center;
}

div.leftinfo a { text-decoration: none; }
div.leftinfo img { border: none; margin: 5px; }

/****** main *****/
div#main {
	position: absolute;
	top: 130px;
	left: 190px;
	z-index: 50;
	margin-right: 10px;
	padding: 5px;
}

div.note {
	background-color: #e6e8f8;
	border: 1px dashed #a5a6a6;
	padding: 0 10px 0 10px;
	font-family: serif;
	font-style: italic;
	font-size: 15px;
	margin-bottom: 5px;
}

div.note h1 { padding: 0; border: none; }
div.note p { font-size: 15px; }

div#iewarn {
	border: 2px solid #ff0000;
	background-color: #ffc0c0;
}

div.box {
	border: 1px solid #e0e0e0;
	background-color: #fafafa;
	padding-top: 5px;
	margin: 0 10px 7px 10px;
}

div.topic {
	width: auto;
	background-color: #eaeaea;
	margin: 0px;
	padding: 5px;
	font-weight: bold;
	font-size: 15px;
}

div.topic span.by { font: italic 10px serif; }
div.box p {
	margin: 10px;
	text-align: justify;
	text-indent: 2em;
	line-height: 1.2;
}

/***** footer *****/
div#footer {
	border-top: 1px solid #ccbbbb;
	margin-top: 30px;
	padding-top: 5px;
	color: #bbbbbb;
	font-family: serif;
	font-style: italic;
	text-align: center;
	font-size: 10px;
}
div#footer a { text-decoration: none; color: inherit; }
div#footer a:hover { text-decoration: underline; color: #886666; }
div#footer:hover { color: #666666; }
