
html, body {
	background: #285784 url(../images/bgtile.gif);
	background-repeat: repeat-y;
	background-position: top center;
	color: #ffffff;
	margin: 0;
	padding: 0;
	font-family: "Comic Sans MS", cursive;
	font-size: 12px;
}

a {
	color: #0000ff;
}

table.keyvalue th, .formcontrol-forms-TabularKeyValueLayout table th {
	text-align: left;
}
table.keyvalue th, table.keyvalue td, table.keyvalue tr, .formcontrol-forms-TabularKeyValueLayout table th, .formcontrol-forms-TabularKeyValueLayout table td, .formcontrol-forms-TabularKeyValueLayout table tr {
	vertical-align: top;
}

#everything {
	margin: 0;
	padding: 0;
	background-image: url(../images/bgphoto.jpg);
	background-repeat: no-repeat;
	background-position: top center;
}

#pagecontainer {
	width: 830px;
	margin-left: auto;
	margin-right: auto;
	background-image: url(../images/pagecontenttile.gif);
	margin-bottom: 50px;
	position: relative;
}

#top {
	height: 228px;
	background-image: url(../images/topbanner.jpg);
}
#top #sitetitle {
	display: none;
}

#middle {
	background-image: url(../images/pagecontentbg.jpg);
	background-repeat: no-repeat;
	min-height: 461px;
	color: #000000;
	position: relative;
}
* html #middle {
	width: 100%;
}
#midend {
	height: 0;
	clear: both;
	overflow: hidden;
}
#randomextracontainer {
	background: url(../images/youthassembly.gif);
	background-repeat: no-repeat;
	background-position: 8px bottom;
}
* html #randomextracontainer {
	width: 100%;
}
#tyalink {
	position: absolute;
	bottom: 0;
	left: 8px;
	width: 220px;
	height: 196px;
	text-indent: -12000px;
}

#maincontentarea {
	float: right;
	width: 533px;
	margin-right: 36px;
	margin-bottom: 30px;
}
* html #maincontentarea {
	margin-right: 18px;
}
#maincontentarea h1, #maincontentarea h2, #maincontentarea h3, #maincontentarea h4, #maincontentarea h5, #maincontentarea h6 {
	color: #265582;
	font-size: 14px;
	padding-bottom: 8px;
	border-bottom: #FDFDFD 4px solid;
}
#maincontentarea h1 {
	font-size: 16px;
}

#sidebar {
	float: left;
	margin-left: 8px;
	margin-bottom: 195px;
}
* html #sidebar {
	margin-left: 4px;
}

#navbar, #navbar li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
}
#navbar li ul {
	display: none;
	margin: 0;
	padding: 0;
	list-style: none;
}
#navbar li.active ul {
	display: block;
}
#navbar li a {
	display: block;
	width: 201px;
	background: #B0BCAC url(../images/nav-inactiveandsub.gif);
	height: 24px;
	margin-bottom: 1px;
	padding-left: 20px;
	padding-top: 11px;
	text-decoration: none;
	color: #221600;
	background-repeat: no-repeat;
}
#navbar li a:hover {
	color: #ffffff;
}
#navbar li a.current {
	background: #295784 url(../images/nav-active.gif);
	color: #FFFFFF;
}
#navbar li ul {
	background: #B4BDAD url(../images/nav-inactiveandsub.gif) #ffffff;
	background-position: -221px 0;
	background-repeat: no-repeat;
	padding: 1px;
}
#navbar li ul a {
	background: none;
	height: auto;
	width: auto;
	padding: 0;
	margin: 10px 31px;
	color: #000000;
}
#navbar li ul a:hover {
	color: #000000;
}
#navbar li ul a.current {
	font-weight: bold;
	background: none;
	color: #000000;
}

#navbar li.active ul li ul {
display: none;
}

#navbar li.active ul li.active ul {
display: block;
}

#navbar li ul li ul li a {
margin: 0px 0 5px 45px;
}

#bottom {
	clear: both;
	background-image: url(../images/bottom-tile.gif);
	height: 61px;
	margin-left: 8px;
	margin-right: 8px;
}
#bottom a {
	color: #ffffff;
}

#copyright {
	float: left;
	margin-left: 10px;
	margin-top: 13px;
	font-weight: bold;
}
#powered {
	float: right;
	margin-right: 10px;
	margin-top: 15px;
	font-size: 10px;
	text-transform: uppercase;
}

#toollinks a {
	display: block;
	width: 116px;
	height: 31px;
	position: absolute;
	top: 147px;
	text-indent: 27px;
	padding-top: 17px;
	color: #000000;
	text-decoration: none;
	font-family: "Comic Sans MS", cursive;
}
#toollinks a:hover {
	text-decoration: underline;
}
#toollinks #loginlink a {
	right: 242px;
}
#toollinks #registerlink a {
	right: 125px;
}
#toollinks #sitemaplink a {
	right: 8px;
}


/* Admin Bar */
#adminlinks {
padding: 0.5em 0.5em 0.5em 0.5em;
background: url(/images/blackalpha.png);
color: #ffffff;
position: fixed;
top: 0;
left: 0;
right: 0;
border-bottom: 2px solid #ffffff;
margin-left: 0;
margin-right: 0;
width: auto;
font-size: 0.9em;
z-index: 332;
}
#adminlinks * {
margin: 0;
padding: 0;
}
#adminlinks h2 {
display: none;
}
#adminlinks #adminusername {
margin: 0;
padding: 0;
float: right;
}
#adminlinks ul {
margin: 0;
padding: 0;
list-style: none;
}
#adminlinks ul li {
display: inline;
margin-right: 0.5em;
white-space: nowrap;
}
#adminlinks a {
color: #ffffff;
background: inherit;
}

/* Home Page bits */

#hometop {
background: #AEBBC6 none;
padding: 10px;
color: #265582;
border: 2px solid #ffffff;
margin-bottom: 205px;
}
* html #hometop {
margin-bottom: 75px;
}
#hometop p {
margin: 0.5em 0;
padding: 0;
font-size: 14px;
}

#homebottom {
position: absolute;
bottom: 0;
left: 229px;
right: 8px;
height: 198px;
overflow: hidden;
background: url(../images/homebottompaneltile.gif);
}
* html #homebottom {
position: relative;
left: 0;
top: 0;
bottom: 0;
right: 0;
border: 2px solid white;
margin-top: 15px;
}

.homepage #top {
background-image: url(../images/topbanner-home.jpg);
}
.homepage #middle {
background-image: url(../images/pagecontentbg-home.jpg);
}
.homepage #pagecontainer {
background-image: url(../images/pagecontenttile-home.gif);
}
.home #maincontentarea h1 {
font-size: 18px ! important;
}

#homepagenews {
position: absolute;
right: 0;
top: 0;
width: 290px;
margin-top: 5px;
margin-right: 5px;
}

#homepagenews h2 {
margin: 0;
padding: 0;
border: 0;
height: 34px;
font-size: 14px;
color: #fecf74;
text-transform: uppercase;
font-weight: bold;
background: #271f11 none;
padding-left: 15px;
padding-top: 15px;
}

#homepageshortcutlinks {
position: absolute;
left: 0;
top: 0;
width: 290px;
margin-top: 5px;
margin-left: 5px;
}
#homepageshortcutlinks h2 {
display: none;
}
#shortcutlinks, #shortcutlinks li {
margin: 0;
padding: 0;
list-style: none;
}
#shortcutlinks a {
display: block;
background: url(../images/homebottompanelbutton.gif);
width: 217px;
height: 31px;
border: 1px solid #4a3100;
margin-bottom: 1px;
padding-left: 60px;
padding-top: 15px;
color: #fecf74;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
}
* html #shortcutlinks a {
width: 161px;
}

.homepagenewsarticle {
margin-top: 15px;
}
.homepagenewsarticledate {
color: #fecf74;
}
.homepagenewsarticletitle a {
color: #ffffff;
}

#homepagepoll {
position: absolute;
right: 0;
top: 0;
width: 289px;
margin-top: 5px;
margin-right: 5px;
background: #271f11 none;
color: #ffffff;
height: 183px;
border: 1px solid #4a3100;
display: none;
}
#homepagepoll.pollresults {
display: block;
}
#homepagepoll h2 {
margin: 0;
padding: 0;
border: 0;
height: 34px;
font-size: 14px;
color: #fecf74;
text-transform: uppercase;
font-weight: bold;
background: #271f11 none;
padding-left: 15px;
padding-top: 15px;
}
#homepagepoll form {
margin: 0;
padding: 0;
}
#homepagepoll ul, #homepagepoll li {
list-style: none;
margin: 0;
padding: 0;
}
#homepagepoll p, #homepagepoll ul {
margin: 0 15px;
margin-bottom: 5px;
}
#homepagepoll div {
position: absolute;
bottom: 15px;
right: 15px;
}
#homepagepoll div input {
font-size: 10px;
}

/* Forum Bits */

.forumFormLabel {
	float: left;
	width: 5em;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}

.forumFormLabelError {
	float: left;
	width: 5em;
	color: #FF0000;
	margin-bottom: 0.5em;
}

.forumFormValue {
	margin-left: 5em;
	margin-bottom: 0.5em;
}

.forumboardset {
	width: 100%;
}

.forumboardsetheaders {
	font-weight: bold;
	background-color: #0084ff;
	padding: 0.4em;
}

.forumboardsetsection {
	color: black;
}

.forumboardsetchildboardset {
	font-weight: bold;
	padding-left: 0.5em;
	padding-top: 1.0em;
	padding-bottom: 0.3em;
	background-color: #c2ddf4;
	margin-top: 0.3em;
}

.forumboardsetboard {
}

.forumboardsetboardwords {
	padding: 0.4em;
	background-color: #dee9ed;
}

.forumboardsetboardstatstopics {
	text-align: center;
	background-color: #e7efff;
}

.forumboardsetboardstatsmessages {
	text-align: center;
	background-color: #dee9ed;
}

.forumboardsetboardlatest {
	background-color: #e7efff;
}

.forumboardtopics {
	width: 100%;
}

.forumboardtopic-td {
	padding: 0.4em;
}

/* FORUM: Topic */

.forumtopicmessageposterinfo {
	width: 70px;
	background-color: #e7efff;
	padding-left: 10px;
}

.forumtopicmessagemeta {
	background-color: #e7efff;
	padding: 0.4em;
}

.forumtopiccontrols {

	background-color: #e7efff;
	padding: 0.2em;
	padding-left: 0.4em;
}

.forumtopicbottom {
	margin-bottom: 0.1em;
	line-height: 5px;
}

.forumtopicmessagesubject {
	font-weight: bold;
	padding-bottom: 0.4em;
}

.forumtopicmessagebody {
	padding: 0.4em;
}

/* Usermessage Bits */

.usermessagelist th {
	background-color: #0084ff;
	padding: 0.4em;
}
.usermessagelist .usermessagelistmessageunread {
	font-weight: bold;
}

.usermessagecommands, .usermessagecommands li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.usermessagecommands {
	margin-bottom: 0.5em;
	border-bottom: 4px solid #ffffff;
	padding-bottom: 0.5em;

}
.usermessagecommands li {
	display: inline;
	margin-right: 1em;
}

/* Profile bits */

table.simpleprofilesection {
	width: 100%;
}
table.simpleprofilesection th {
	width: 20%;
}
