
body, html {
	height: 100%;
	}

body {
	margin: 0px auto;
	padding: 0px;
	font-family: verdana, arial, helvetica, sans-serif;
	background: url(../images/bg.gif) repeat top left;
	color: #000000;
}

#wrapper {
	margin: 0px auto;
	text-align: left;
	width: 830px;
	background: url(../images/content_bg.png) repeat top center;
}

/* Banner across top of page that says the name of the whole site */

#main-title {
	margin: 0px 15px 0px 15px;
	font-size: .7em;
	letter-spacing: 5px;
	text-align: right;
	padding-bottom: 8px;
	font-weight: bold;
	padding-top: 8px;
	padding-right: 20px;
	background-color: #174374;
	color: #ffffff;
	border-top: 1px #000000 solid;
	border-bottom: 1px #000000 solid;
}

/* To create the main image near the top of the page. */

#header-image {
	margin: 0px 15px 0px 15px;
	background-color: #336a74;
	/*background-image: url(../images/header_image.jpg);
	background-repeat: no-repeat;
	background-position: center top;*/
	height: 177px;
	border-top: 2px #174374 solid;
	border-bottom: 2px #174374 solid;
	width:800px;
}

/* For the main navigation bar for the site. */

#navbar {
	margin: 0px 15px 0px 15px;
	font-size: .65em;
	text-align: center;
	padding-bottom: 8px;
	font-weight: bold;
	padding-top: 8px;
	background-color: #174374;
	color: #ffffff;
	word-spacing: 8px;
	border-bottom: 2px #174374 solid;
}

#navbar a:link, #navbar a:visited {
	color: #ffffff;
	word-spacing: none;
}

#navbar a.current {
	color: #ffffff;
}

#navbar a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* For the pullquote or other text directly under the navigation bar. */

#headline {
	font-size: .65em;
	padding-top: 30px;
	text-align: justify;
	background-color: #ffffff;
	padding-left: 100px;
	padding-right: 100px;
	margin-bottom: 0;
	line-height: 1.5em;
}

/* For the byline on the pullquote. */

p.byline {
	text-align: right;
	margin-bottom: 0;
}

h1 {
	margin-left: 20px;
	margin-right: 20px;
	font-size: 1.1em;
	padding-bottom: 3px;
	padding-top: 23px;
	padding-left: 0;
	padding-right: 0;
	color: #000000;
	border-bottom: 1px #174374 solid;
	letter-spacing: 2px;
	font-weight: bold;
	background-color: #ffffff;
	margin-top: 0;
	margin-bottom: 0;
}

/* Contains all the main body of text on the page, including the h2 elements. */

#main-text {
	width: 600px;
	float: left;
	margin: 0px 0px 0px 15px;
	padding: 0px;
	font-size: .7em;
	line-height: 1.8em;
	background-color: #ffffff;
}

#main-text p {
	text-align: justify;
	margin-left: 20px;
	margin-right: 20px;
}

#login form {
	text-align: justify;
	margin-left: 20px;	
	margin-right: 20px;
	margin-bottom: 5px;
	margin-top: 5px;
}

#login label {
float: left;
width: 70px;
padding: 0px;
margin: 0px;
}

#login .input {
padding: 5px;
margin: 0px;
}

#login .submit {
padding: 5px;
margin: 0px;
}

#profile form {
text-align: justify;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 5px;
margin-top: 5px;
}

#profile label {
float: left;
width: 180px;
padding: 0px;
margin: 0px;
}

#profile .input {
padding: 5px;
margin: 0px;
}

#profile .submit {
padding: 5px;
margin: 0px;
}

#due_form form {
text-align: justify;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 5px;
margin-top: 5px;
}

#due_form label {
float: left;
width: 250px;
padding: 0px;
margin: 0px;
}

#due_form .input {
padding: 5px;
margin: 0px;
}

#due_form .submit {
padding: 5px;
margin: 0px;
}

h2 {
padding-bottom: 3px;
padding-right: 0;
color: #000000;
border-bottom: 1px #000000 solid;
letter-spacing: 5px;
font-weight: normal;
margin-left: 20px;
margin-right: 20px;
font-size: 1em;
margin-top: 15px;
padding-top: 10px;
}

p, ul, ol, table {
margin-top: 17px;
margin-bottom: 0;
}

ol, ul {
margin-left: 45px;
margin-right: 45px;
}

a:link, a:visited {
text-decoration: none;
font-weight: bold;
color: #174374;
}

a:hover {
text-decoration: underline;
}

/* Styles for the footer at the bottom of the page */

#footer {
	clear: both;
	margin: 20px 15px 0px 15px;
	text-align: center;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: .7em;
	padding-right: 50px;
	background-color: #174374;
	color: #ffffff;
	font-weight: bold;
	border-top: 1px #000000 solid;
	border-bottom: 1px #000000 solid;
}

#footer a:link, #footer a:visited {
color: #ffffff;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
color: #ffffff;
}

.board {
float:left;
width:345px;
text-align:center;
margin-bottom:10px;
}

.border {
border:1px solid #000;
}


div#secondarycontent {
	width: 185px;
	float: right;
	margin: 0px 16px 0px 0px;
	padding: 0px;
	font-size: 0.65em;
	background-color: #ffffff;
}


/* Menu Styles */
.contextmenu {
	text-align: left;
	padding: 0;
	margin: 0 0 5px 0;
	}
.contextmenu {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 185px;
	border-left: 1px solid #174374;
	border-bottom: 1px solid #174374;
	background-color: #eeeeec;
	border-bottom: 0;
	}
.contextmenu li {
	list-style: none;
	margin: 0;
	padding: 0;
	}
.contextmenu li strong {
	display: block;
	height: 1%;
	width: 165px;
	margin: 0;
	padding: 5px 10px;
	border-bottom: 1px solid #174374;
	text-decoration: none;
	color: #000;
	}
.contextmenu li a {
	display: block;
	height: 1%;
	width: 165px;
	margin: 0;
	padding: 5px 10px;
	border-bottom: 1px solid #174374;
	text-decoration: none;
	color: #174374;
	}

.contextmenu li a:visited {
	color: #174374 !important;
	}

[class="secondarymenu"] li a:visited:after {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	content: "   \00A0\221A";
	}

.contextmenu li a:hover {
	background-color: #174374 !important;
	color: #FFFFFF !important;
	}
#galleryright {
	width:252px;
	border:3px solid #CCC;
	background-color:#e8e8e8;
	float:right;
	margin-left:10px;
	font-size:.9em;
	text-align:center;
	padding:10px;
	line-height:.9em;
	}
#galleryright img {
	border:1px solid #000;
	margin-bottom:4px;
	margin-top:4px;
	}
.center {
	text-align:center;
}