/* whole page defaults */
html {
	/* for percentages, we need height on all parent elemnts up to html */
	height: 100%;
}

body {
	background-color: #DDDDEE;
	background-repeat: repeat;
	color: #111111;
	font-family: monospace,courier,sans-serif;
	font-size: 14px;
	text-align: center;
	margin: 0;
	padding: 0;
	height: 100%;
}

img {
	border: 0px;
}

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

a:hover {
	text-decoration: underline;
}

em {
	color: #690000;
	font-weight: bold;
	font-style: normal;
}

/* ensure our content gets pushed up vertically to the very top (over the bg) */
div#vertical_container {
	padding: 0;
	margin: 0 auto;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

/* div#container holds all content */
div#container {
	min-width: 240px;
	max-width: 800px;
	border-bottom: none;
	padding: 0;
	margin: 0 auto;
}

/* holds logo at top of page */
div#container div#logo {
	text-align: center;
	background-color: #FBFBFF;
	border: 1px dashed #454550;
	border-top: none;
}

/* navigation bar */
div#container div#nav {
	font-size: 16px;
	text-align: center;
	padding-top: 12px;
	padding-bottom: 11px;
}

/* boxes around nav links */
div#container div#nav span {
	margin: 0.4em;
	padding: 3px 5px;
	background-color: #FBFBFF;
	border: 1px solid #666666;
}

/* special case color for current page in nav bar */
div#container div#nav a.current {
	color: #75759F;
}

div#container div#nav span.current strong {
	color: #A00000;
}

/* divs to make up special background */
div#background				   { z-index: -1; }
div#background div.bg_gradient   { background-color: #004; }
div#background div.bg_gradient#a { height: 37px; margin-top: 0;	background-color: #4949A0; }
div#background div.bg_gradient#b { height: 30px; margin-top: 30px; background-color: #5757AA; }
div#background div.bg_gradient#c { height: 26px; margin-top: 24px; background-color: #6767B5; }
div#background div.bg_gradient#d { height: 21px; margin-top: 20px; background-color: #7878BF; }
div#background div.bg_gradient#e { height: 15px; margin-top: 14px; background-color: #8B8BC9; }
div#background div.bg_gradient#f { height: 12px; margin-top: 10px; background-color: #9E9ED3; }
div#background div.bg_gradient#g { height:  9px; margin-top:  6px; background-color: #B3B3DD; }
div#background div.bg_gradient#h { height:  5px; margin-top:  4px; background-color: #C7C7E5; }

/* main content goes here */
div#container div#content {
	text-align: left;
	background-color: #FBFBFF;
	padding-top: 4px;
	padding-bottom: 0;
	padding-right: 8px;
	padding-left: 6px;
	margin: 0;
	border: 1px solid #454550;
}

/* 'post' separator */
div#container div#content h1 {
	font-size: 25px;
	background-color: #CFCFDA;
	border-top: 1px solid #454550;
	border-bottom: 1px solid #454550;
	margin-bottom: 1px;
}

/* heading separator */
div#container div#content h2 {
	font-size: 19px;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* paragraph styles */
div#container div#content p + p {
	text-indent: 1.5em;
	margin-top: 1px;
	margin-bottom: 2px;
	padding-top: 0.3em;
}

/* list styles */
div#container div#content ul {
	margin-top: 0;
	padding-top: 0;
}

/* post date */
div#container div#content p.date {
	margin-top: 0;
	margin-bottom: 0.25em;
	text-indent: 0.5em;
}

/* holds footer stuff */
div#footer_container {
	background-color: #CFCFDA;
	margin-top: 2em;
	margin-bottom: 2em;
	border-top: 1px solid #454550;
	border-bottom: 1px solid #454550;	
}

div#footer_container img {
	vertical-align: middle;
}

td {
	padding-left: 5px;
	padding-right: 5px;
}

td h3 {
	text-align: center;
	display: block;
	margin: 0 auto;
}

td img {
	align: center;
	display: block;
	margin: 0 auto;
}

td.two_col {
	width: 50%;
}

td.three_col {
	width: 33%;
}

td.four_col {
	width: 25%;
}
