html {
	height: 100%;
	margin-bottom: 1px;
}

/* Normal, standard links. */
a:link, a:visited {
	color: #c1930b;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited {
	color: #000000;
	text-decoration: none;
}

a.nav:hover {
	color: #cc3333;
	text-decoration: underline;
}

/* Tables should show empty cells. */
table {
	empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr {
	color: #3F3B3B;
	font-size: 13px;
	line-height: 140%;
	font-family: tahoma, sans-serif;
}

/* The main body of the entire forum. */
body {
	background: #4C483C url('images/bodyback.gif') repeat;
	font: 12px Tahoma;
	color: #E5E1C1;
}
/* *** Put In Additional CSS Definitions *** */
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button {
	color: #000000;
	font-family: verdana, sans-serif;
}

input, button {
	font-size: 90%;
}

textarea {
	font-size: 100%;
	color: #000000;
	font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check {}

/* Selects are a bit smaller, because it makes them look even better 8). */
select {
	font-size: 90%;
	font-weight: normal;
	color: #000000;
	font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
	height: 1px;
	border: 0;
	color: #bbb;
	background-color: #bababa;
}

/* No image should have a border when linked */
a img {
	border: 0;
}

/* A quote, perhaps from another post. */
.quote {
	color: #5c5c5c;
	background-color: #fff;
	border: 1px solid #dddcd5;
	margin: 1px;
	padding: 5px;
	font-size: 11px;
	line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code {
	color: #525252;
	background-color: #d8d6cb;
	font-family: "courier new", "times new roman", monospace;
	font-size: 11px;
	line-height: 1.3em;
	/* Put a nice border around it. */
	border-top: 2px solid #bebcb1;
	border-bottom: 2px solid #bebcb1;
	margin: 1px auto 1px auto;
	padding: 1px;
	width: 99%;
	/* Don't wrap its contents, and show scrollbars. */
	white-space: nowrap;
	overflow: auto;
	/* Stop after about 24 lines, and just show a scrollbar. */
	max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */

.quoteheader, .codeheader {
	color: #3f3f3b;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: 11px;
	line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help {
	cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {
	color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor {
	width: 96%;
}

/* Highlighted text - such as search results. */
.highlight {
	background-color: yellow;
	font-weight: bold;
	color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, .windowbg2, .windowbg3, #preview_body {
	background: #E5E1C1 url(images/background.jpg) repeat;
}

.windowbg2 {
	color: #5b5b5b;
}

.windowbg4 {
	background: #e3e1d6;
	border: solid 1px #bebdb2; 
	margin-bottom: 2px;
	padding: 4px;
	text-align: center;
	color: #3f3f3f;
	width: 94%;
}

/* the today container in calendar */
.calendar_today {
	background-color: #fff;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
	color: white;
	font-size: 11px;
	font-style: normal;
	background: #4d4d4d url(images/titlebg.gif) repeat-x;
	border-bottom: 1px solid #2d2d2d;
	border-top: 1px solid #626262;
}

.titlebg, .titlebg a:link, .titlebg a:visited {
	font-weight: bold;
	color: white;
	font-style: normal;
}

.titlebg2 a:link, .titlebg2 a:visited {
	color: white;
	font-style: normal;
	text-decoration: underline;
}

.titlebg a:hover, .titlebg2 a:hover {
	text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td {
	background: #d8d6cb url(images/catbg.gif) repeat-x;
	color: white;
	font-size: 11px;
	border-bottom: 1px solid #fff;
}

.catbg2 , tr.catbg2 td {
	background: #d8d6cb url(images/custom/catbg.png) repeat-x;
	color: white;
	
	border-bottom: 1px solid #fff;
}

.catbg, .catbg2, .catbg3 {}

.catbg, .catbg2, .catbg3 {
	font-size: 14px;
		color: white;
	
	font-weight: normal;
}

.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
		color: white;
	text-decoration: none;
	font-weight: bold;
}

.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited {
	color: #474747;
	text-decoration: none;
}

.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
	color: #c1930b;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {
	padding: 1px;
	border: 1px solid #ececec;
}

/* This is used on tables that should just have a border around them. */
.tborder {
	padding: 1px;
	border: 1px solid #ececec;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext, .middletext {
	font-size: 12px;
	font-family: tahoma, sans-serif;
}

.normaltext {
	font-size: 16px;
}

.largetext {
	font-size: 18px;
}

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage {
	width: 100%;
	overflow: auto;
	line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature {
	width: 100%;
	overflow: auto;
	padding-bottom: 3px;
	line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error {
	color: red;
}

/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
	vertical-align: top;
	text-transform: uppercase;
}

.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
	text-decoration: none;
	font-size: 11px;
	padding: 5px;
}

.maintab_first,.mirrortab_first {
	 display: none;
}

.maintab_back,.mirrortab_back {}

.maintab_last,.mirrortab_last {
	display: none;
}

.maintab_active_first, .mirrortab_active_first {
	display: none;
}

.maintab_active_back, .mirrortab_active_back {
	text-decoration: overline;
}

.maintab_active_last, .mirrortab_active_last {
	display: none;
}

/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
	color: #222;
	text-decoration: none;
}

.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
	color: #282828;
	text-decoration: none;
	font-weight: bold;
}

.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
	color: #c1930b;
	text-decoration: overline;
}

/* The AJAX notifier */
#ajax_in_progress
{
	background: #32CD32;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 18pt;
	padding: 3px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
}


/* CONTENT */
#content {
	width: 100%;
	margin: 0px auto;
}
/* END / CONTENT */

/* HEADER */
#header {
	background: url('images/bg-h-ex.gif') repeat-x;
	height: 248px;
}
#header .right {
	background: url('images/bg-h-r.gif') no-repeat;
	height: 248px;
	width: 492px;
	float: left;
}
#header .left {
	background: url('images/bg-h-l.gif');
	height: 248px;
    float: right;
}
#header .middle {
	background: url('images/bg-h-ex.gif') no-repeat;
	height: 248px;
	margin-right: auto;
	margin-left: auto;
}
#avatar {
    	float: right;
    	padding-right: 10px;

}

#userarea {
    	font-size: 11px;
    	color: #E5E1C1;
    	font-family: tahoma, sans-serif;
    	padding-top: 00px;
    	padding-right: 25px;
    	clear: both;
}

#userarea ul {
    	padding: 0;
    	margin: 0;
    	list-style: none;
}

#userarea a:link, #userarea a:visited {
    	color: #E5E1C1;
    	font-weight: bold;
}

#userarea a:hover {
    	text-decoration: underline;
}

.loginput {
    	background: #ebede2;
    	border: solid 1px #484132;
}

.logbutton {
    	background: #978f7e;
    	border: solid 1px #484132;
}

#searcharea {
    	float: right;
    	padding: 50px 15px 0 0;
    	margin: 0;
    	clear: right;
    	border: solid 1px #484132;
}

#time {
    	font-size: 13px;
		color: #c1930b;
    	font-family: "Segoe UI", "Lucida Grande", Tahoma,Arial, Helvetica, sans-serif;
    	float: right;
    	padding: 10px 20px 0 0;
}

/* END / HEADER */
/* con */
#con {
	background: url('images/con-h-ex-l.gif') repeat-x;
	height: 89px;
}
#con .right {
	background: url('images/con-h-r.gif') no-repeat;
	height: 89px;
	width: 67px;
	float: right;
}
#con .left {
	background: url('images/con-h-l.gif');
	height: 89px;
	width: 89px;
	float: left;
}
#con .middle {
	background: url('images/con-h-ex.gif') no-repeat;
	height: 89px;
	margin-right: auto;
	margin-left: auto;

}
/* END / con */
/* fram */
#fram {
	background: url('images/fram-h-ex.gif') repeat-x;
	height: 70px;
}
#fram .right {
	background: url('images/fram-h-r.gif') no-repeat;
	height: 70px;
	width: 173px;
	float: right;
}
#fram .left {
	background: url('images/fram-h-l.gif');
	height: 70px;
	width: 89px;
	float: left;
}
#fram .middle {
	background: url('images/fram-h-ex.gif') no-repeat;
	height: 70px;
	margin-right: auto;
	margin-left: auto;
	width: 618px;
}
/* END / fram */
/* SHADOW */
.shadowleft {
	background: url('images/shadow-l.gif') repeat-y left;
	padding-left: 53px;
}
.shadowright {
	background: url('images/shadow-r.gif') repeat-y right;
	padding-right: 30px;
}
/* END / SHADOW */
/* xxx */
#in_container {
	background: #ABA257;
	text-align: center;
	color: #fff;
}
/* xxx */
/* FOOTER */
#footer {
	background: url('images/con-f-ex.gif') repeat-x;
	height: 152px;
	color: #ededed;
}
#footer .right {
	background: url('images/con-f-r.gif') no-repeat;
	float: right;
	height: 152px;
	width: 85px;
}
#footer .left {
	background: url('images/con-f-l.gif') no-repeat;
	float: left;
	height: 152px;
	width: 89px;
}
#footer .middle {
	background: url('images/copyright.gif') no-repeat;
	height: 152px;
	width: 390px;
	margin-right: auto;
	margin-left: auto;
}
/* END / FOOTER */

/* fram-f */
#fram-f {
	background: url('images/fram-f-ex.gif') repeat-x;
	height: 35px;
}
#fram-f .right {
	background: url('images/fram-f-r.gif') no-repeat;
	float: right;
	height: 35px;
	width: 31px;
}
#fram-f .left {
	background: url('images/fram-f-l.gif') no-repeat;
	float: left;
	height: 35px;
	width: 89px;
}
#fram-f .middle {
	background: url('images/fram-f-ex.gif') no-repeat;
	height: 35px;
	width: 18px;
	margin-right: auto;
	margin-left: auto;
	color: #3F3B3B;
	font-size: 12px;
	line-height: 140%;
	font-family: tahoma, sans-serif;
}

/* END / fram-f *//* *** Put In Additional CSS Definitions *** */

ul#topnav{
	margin:0;
	padding:0;
	list-style-type:none;
	width:auto;
	position:relative;
	display:block;
	height:36px;
	text-transform:uppercase;
	font-size:12px;
	font-weight:bold;
	background:transparent url("bgOFF.gif") repeat-x top left;
	font-family:Helvetica,Arial,Verdana,sans-serif;
	border-bottom:8px solid #4C483C;
	}

ul#topnav li{
	display:block;
	float:right;
	margin:0;
	padding:0;
	}

ul#topnav li a{
	display:block;
	color:#874B46;
	text-decoration:none;
	padding:12px 20px 0 20px;
	height:24px;
	background:transparent url("bgDIVIDER.gif") no-repeat top right;
	}

ul#topnav li a:hover{
	background:transparent url("bgHOVER.gif") no-repeat top right;
	}

ul#topnav li a.current,ul#topnav li a.current:hover{
	color:#fff;
	background:transparent url("bgON.gif") no-repeat top right;
	}
