/*
* We try to use no padding at all, because that's treated entirely different between IE and the
* rest of the civilized world.
* Therefore we fake it with subcontainers with margins.
*/

* {
	padding: 0;
}

body, td {
	font-family: 'Lucida Grande', 'Lucida Sans', 'Trebuchet MS', arial, sans-serif;
	font-size: 14px;
}

body {
	margin: 0;
	padding: 0;
	background-color: #FDFDD0;
	color: #200000;
	text-align:center;
}

td {
	padding-right: 10;
	color:#454545;
	background-color: #FFFFFF;
	text-align:left;
}

#container {
	width:980px;
	margin:0 auto;
}

#contentContainer {
	/* IE Hack, can't remember why this was necessary again */
	_width: 960px;
}

#container, #paddedContainer {
	padding: 0;
	position:relative;
	background-color: transparent;
	text-align:left;
}

#paddedContainer {
	margin: 10px;
}

#contentContainer, #paddedContentContainer {
	background-color: #FBEB91;
	padding: 0;
	margin: 0;
	position:relative;
	color:#454545;
	text-align:left;
	height: auto;
	float: left;
	clear: both;
	display: inline;
}

#paddedContentContainer {
	background: url(images/herman.jpg) top right no-repeat;
	margin: 5px;
}

h1 {
	border-bottom: 1px dotted #aaa;
	text-align: left;
	font-weight: normal;
	font-family: 'Lucida Grande', 'Lucida Sans', 'Trebuchet MS', arial, sans-serif;
}

#pageHeader {
	position: absolute 0 0;
	margin: 0;
	padding: 0;
	background-color: #F7D200;
	width: 100%;
	height: 156px;
	text-align: center;
	clear: both;
}

#topmenu {
	position: absolute 0 0;
	margin: 0;
	padding: 0;
	background-color: #FBEB91;
	background-color: #F7D200;
	width: 100%;
	text-align: left;
	font-size: 16px;
}

#sideContentLeft, #sideContentRight {
	width: 220px;
	padding: 0;
	margin: 0;
	background-color: transparent;
	float: left;
}

#sideContentRight {
	float: right;
}

#content, #paddedContent {
	background-color: #ffffff;
	padding: 0;
	text-align: left;
	float: left;
}

#content {
	width: 500px;
	/* Fscking IE7 thinks padding is not added to the div width, and parses properties with crap (such as underscores) in front */
	/*_width: 480px;*/
	margin: 0px 5px 0px 5px;
}

#paddedContent {
	width: 400px;
	margin: 20px 50px 150px 50px;
	display: inline;
}

#footer {
	margin: 0;
	padding: 0;
/*	height: 20px;*/
	width: 100%;
	background-color: #F7D200;
	color: #ffffff;
	clear: both;
	text-align: center;
	vertical-align: bottom;
}

#footer a {
	color: #FBEB91;
	font-weight: bold;
	text-decoration: none;
}

#footer a:visited {
	color: #FBEB91;
}

.clean {
	border: none;
	text-decoration: none;
	margin: 0;
	padding: 0;
}

.quote {
	vertical-align: middle;
}

p.quote {
	font-weight: bold;
	color: #777777;
	text-align: center;
	margin-top: 100px;
}

/*
*
* Tab-style navigation
*
*/

ul.menulevel1 {
	list-style-type: none;
	display: inline;
	margin: 5px;
	padding: 0;
}

ul.menulevel1 li {
	font-weight: bold;
	display: inline;
	background-color: #EBDB81;
	margin: 3px 5px 0px 5px;
/*
	The only padding in this style sheet because it's relatively harmless and kind of inevitable
	(we can't use the subdiv hack in generated content)
*/
	padding: 3px 10px 0px 10px;
}

ul.menulevel1 li.sdoc {
	color: #200000;
	background-color: #FBEB91;
}

ul.menulevel1 li.doc {
	color: #777777;
}

ul.menulevel1 li a {
	text-decoration: none;
}

ul.menulevel1 li.doc a {
	color: #606060;
}

ul.menulevel1 li.doc a:visited {
	color: #808080;
}

ul.menulevel1 li.doc a:hover {
	color: #000000;
}

/* For testing purposes */
/*
div {
 	_border: 1px solid #ff0000;
	outline: 1px solid #ff0000;
}
*/
