
html, body {
	height: 100%;
}

body {
	border: 0;
	padding: 0;
	margin: 0;
	font-family: "Gill Sans", Arial, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	color: #89aba0;
	font-size: 12pt;
	background-color: #56786d;
}

a {
	font-weight: bold;
	color: #98d7ca;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
	text-decoration: none;
}
a:hover {
	color: #58d7bd;
	text-decoration: underline;
}

h1 {
	color: #c4d5cf;
	font-size: 160%;
	font-weight: normal;
}
h2 {
	color: #a6c0b8;
	font-style: italic;
	font-size: 120%;
}

h1, h2 {
	font-family: "Trebuchet MS", Trebuchet, sans-serif;
	margin: 1em 0 0;
}

h1, h2, h3 {
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
}

strong, b {
	text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
}

p {
	margin: 0.5em 0;
}

h1 + p, h2 + p, h3 + p {
	margin-top: 0;
}

/*---------------------------------------------------------*/

.container {
	position: relative;
	margin: 0 auto;
	max-width: 1024px;
}

#headerarea {
	position: relative;
	height: 116px;
	width: 100%;
	background-color: #524763;
	background-image: url(../images/gradient.png.php?l=116&d=1&sr=0.321568627451&sg=0.278431372549&sb=0.388235294118&er=0.792156862745&eg=0.4&eb=0.666666666667);
	background-repeat: repeat-x;
	background-position: 0% 100%;
}
#headerfade {
	height: 100%;
	width: 100%;
	position: absolute;
			background-image: url(../images/diagstripe.png.php?thickness=5&space=1&fade=10&fadedirection=u&r1=1&g1=1&b1=1&a1=1&r2=1&g2=1&b2=1&a2=0.85);
		background-repeat: repeat-x;
		background-position: 0% 100%;
	}
#headerarea .container {
	height: 100%;
}
img#headertext {
	display: block;
	position: absolute;
	left: 32px;
	bottom: -70px;
	z-index: 5;
	}
img#headerfigure {
	display: block;
	position: absolute;
	left: 4px;
	top: 94px;
	z-index: 6;
	}

#contentarea {
	position: relative;
	background-color: #6b9688;
	color: #ffffff;
	border-width: 1px;
	border-top-color: #658d80;
	border-bottom-color: #537469;
	border-style: solid none;
	z-index: 2;
}
#contentareashadow {
	bottom: -20px;
	height: 20px;
	width: 100%;
	position: absolute;
	background-image: url(../images/diagstripe.png.php?thickness=3&space=1&fade=5&fadedirection=d&r1=0&g1=0&b1=0&a1=1&r2=0&g2=0&b2=0&a2=0.85);
	background-repeat: repeat-x;
	background-position: 0% 0%;
	z-index: 1;
}
#contentpad {
	padding: 1.5em 80px 3.5em;
	min-height: 300px;
}

#footer {
	position: relative;
	z-index: 3;
	text-align: right;
	font-size: 75%;
	padding: 0.2em 0.5em;
}

#footer a {
	color: #98b6ac;
	text-decoration: none;
}
#footer a:hover, #footer a:active {
	color: #a6c0b8;
	text-decoration: none;
}

#mainmenu {
	bottom: 0;
	font-weight: bold;
	position: absolute;
	line-height: 1em;
	left: 320px;
	right: 0.5em;
	margin: 0;
	font-size: 75%;
	text-align: right;
}
#mainmenu li {
	float: none;
	display: inline-block;
}
#mainmenu a {
	text-decoration: none;
}
#mainmenu li a, #mainmenu li span.active, #mainmenu li a.active, #mainmenu li span.disabled {
	display: block;
	position: relative;
	margin-left: -1px;
	background-color: #61877a;
	border-color: #56786d;
	border-width: 1px;
	border-style: solid solid none;
	color: #b5cbc3;
	padding: 0.2em 0.2em 0.4em;
	top: 0.2em;
	background-image: url(../images/gradient.png.php?l=12&d=1&sr=0.378635294118&sg=0.530470588235&sb=0.479858823529&er=0.336564705882&eg=0.471529411765&eb=0.426541176471);
	background-repeat: repeat-x;
	background-position: 0% 100%;
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
}
#mainmenu li span.active, #mainmenu li a.active {
	background-color: #6b9688;
	border-color: #648c7e;
	color: white;
	top: 1px; /* to overlap contentarea border */
	background-image: url(../images/gradient.png.php?l=16&d=1&sr=0.478635294118&sg=0.630470588235&sb=0.579858823529&er=0.420705882353&eg=0.589411764706&eb=0.533176470588);
	background-position: 0% 0%;
	z-index: 4;
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
}
#mainmenu li a:hover {
	top: 0.1em;
}

.editpagelink {
	font-size: 90%;
	float: right;
	width: 10em;
	background-color: #798;
	border: 1px solid #465;
	padding: 0.2em;
	text-align: center;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
textarea.markdown {
	font-family: monospace;
}


.boxout {
	border: 1px solid #61877a;
	background-color: #7aa194;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 3px 3px 10px -5px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 3px 3px 10px -5px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 3px 3px 10px -5px rgba(0, 0, 0, 0.8);
}

