html, body {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	position: relative;
	min-height: 100%;
	color: white;
	background: #369 url(img/mazewarpblue.jpg);
	font-family: Trebuchet MS,Tahoma,Verdana,Arial,Helvetica,Sans-serif,sans-serif;
	font-size: 11pt;
}
/*
 * IE hack - IE doesn't know min-height but does incorrectly interpret
 * height, effectively causing the same effect as min-height should in
 * this case. Uses IE's root ghost hack to only apply to IE.
 */
* html body {
	height: 100%;
}
#content {
	position: relative;
	clear: both;
	margin-left: 15em;
	margin-right: 2em;
	margin-bottom: 2em;
	background: #ccc url(img/mazewarpbig.jpg);
	color: black;
	border: 2px solid #14b;
	padding: 1em 2em 5em 2em;
}
html>body #content {
	height: auto; 
	min-height: 80%;
}

li { padding-bottom: 0.75em; }

#header {
	height: 50px;
	padding: 0;
	margin: 0;
	margin-left: 50px;
}
#header h1 {
	font-size: 30px;
	padding: 5px;
	margin: 0;
}
#sidebar {
	position: absolute;
	top: 50px;
	left: 0;
	width: 11em;
	margin: 0 1em;
	padding: 0;
}
html>body #sidebar {
	width: 13em;
}
#sidebar ul {
	margin: 0;
	padding: 0 1px 1px;
	background: black;
}
#sidebar li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid black;
	text-align: left;
}
#sidebar li a {
	display: block;
	padding: 0.25em 0.5em 0.25em 0.75em;
	text-decoration: none;
	font-weight: bold;
	border-left: 1em solid #444;
	background: #fff url(img/blur.jpg) top right repeat-y;
	width: 100%;
}
html>body #sidebar li a {
	width: auto;
}
#sidebar li a:link { color: #14b; }
#sidebar li a:visited { color: #14b; }


#sidebar li a:hover {
	border-color: #222;
	background: #ccc url(img/blur_grey.jpg) top right repeat-y;
}

#sidebar li#active a {
	border-color: #c00;
	background: #ccc url(img/blur_grey.jpg) top right repeat-y;
	color: black;
}

#footer {
	position: absolute;
	bottom: 0;
	margin: 1em;
	padding: 1em 0;
	border: 2px dashed white;
	border-left: none;
	border-right: none;
}

#footer a {
	color: white;
}

#editdiv {
	width: 100%;
	text-align: right;
}
#editdiv a {
	color: white;
	padding: 1em 2em;
}

img { border: none; }

form#sitesearch {
	text-align: center;
	margin-left: 1em;
}

form#sitesearch input#searchbox {
	width: 11em;
	margin-bottom: 5px;
}

