/* The AJAX notifier */
#ajax_in_progress {
	background: #32CD32;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 18pt;
	padding: 3px;
	width: 75%;
	position: fixed;
	top: 0;
	left: 0;
}

/* Normal, standard links. */
a:link, a:visited {
	color: #736c5c;
	text-decoration: none;
}

a:hover {
	color: #a99465;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited {
	color: #bfbfbf;
	text-decoration: none;
}

a.nav:hover {
	color: #bfbfbf;
	text-decoration: none;
}

/* Tables should show empty cells. */
table {
	empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th, tr {
	color: #afafaf;
	line-height: 135%;
	font-family: tahoma, sans-serif;
	font-size: 12px;
}

/* The main body of the entire forum. */
body {
	margin: 0;
	padding: 0;
	background: #252525 url(images/custom/bg.png) 0 0 repeat-x;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button {
	color: #353535;
	font-family: verdana, sans-serif;
}

input, button {
	font-size: small;
	margin: 1px;
}

input, textarea {
	background: #ccc;
	font-size: small;
	border: solid 1px #303030;
}

input:focus {
	background: #bbb;
}

textarea {
	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 {
	border: solid 1px #303030;
	background: #2d2d2d;
	font-size: small;
	font-weight: normal;
	color: #838383;
	font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
	height: 1px;
	border: 0;
	color: #313131;
	background-color: #303030;
}

/* No image should have a border when linked */
a img {
	border: 0;
}

/* A quote, perhaps from another post. */
.quote {
	background: #272727 url(images/startquote.gif) 4px 4px no-repeat;
	color: #afafaf;
	border: 1px solid #212121;
	margin: 10px 0pt;
	padding: 10px 10px 20px 50px;
	width: auto;
	font-size: 11px;
	line-height: 120%;
}

/* A code block - maybe even PHP ;). */
.code {
	color: #afafaf;
	background: #222;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.3em;
	/* Put a nice border around it. */
	border-bottom: 3px solid #5b5446;
	border-top: 3px solid #5b5446;
	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: #505050;
	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 {
	padding: 5px;
	border-bottom: 2px solid #1a1a1a;
}

.windowbg2 {
	padding: 5px;
	border-bottom: 2px solid #1a1a1a;
}

.windowbg3 {
	background: #1f1f1f;
	border-bottom: 2px solid #1a1a1a;
}

/* the today container in calendar */
.calendar_today {
	background-color: #222;
}

/* 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: #cfcfcf;
	font-style: normal;
	background: #1e1e1e url(images/titlebg.gif) no-repeat;
	padding: 10px;
	line-height: 20px;
}

.titlebg, .titlebg a:link, .titlebg a:visited {
	color: #cfcfcf;
	font-style: normal;
}

.titlebg a:hover {
	color: white;
}

/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited {
	color: #cfcfcf;
	font-style: normal;
	text-decoration: underline;
}

.titlebg, .titlebg2 {
	font-size: 120%;
	font-family: "Segoe UI", "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.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: #1e1e1e;
	color: #ababab;
	padding-left: 10px;
	padding-right: 10px;
	border-top: 2px solid #7c7360;
}

.catbg2, tr.catbg2 td {
	background: #1e1e1e;
	color: #cdcdcd;
	padding-left: 10px;
	padding-right: 10px;	
}

.catbg, .catbg2 {
	font-size: 14px;
	font-family: "Segoe UI", "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.catbg, .catbg2 {
	background: #1e1e1e;
	line-height: 20px;
}

.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
	color: #cdcdcd;
	text-decoration: none;
}

.catbg a:link, .catbg a:visited, .catbg2 a:link, .catbg2 a:visited {
	color: #cdcdcd;
	text-decoration: none;
}

.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
	color: #fff;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {}

/* This is used on tables that should just have a border around them. */
.tborder {}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext, .middletext {
	font-size: 11px;
	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: #ffffd0;
	font-style: italic;
}

/* 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 {
	color: #ccc;
	vertical-align: top;
	text-transform: uppercase;
}

.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
	color: #ccc;
	text-decoration: none;
	font-size: 10px;
	font-family: tahoma, sans-serif;
	padding: 5px 10px 5px 10px;
}

.maintab_first,.mirrortab_first {
	display: none;
}

.maintab_back,.mirrortab_back {
	background: #645c4a;
	color: #ccc;
}

.maintab_last,.mirrortab_last {
	display: none;
}

.maintab_active_first, .mirrortab_active_first {
	display: none;
}

.maintab_active_back, .mirrortab_active_back {
	background: #7c7360;
}

.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: #bfbfbf;
	text-decoration: none;
}

.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
	color: #333;
	text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
	text-decoration: underline;
}

.wrapper {
	width: 980px;
	margin: 0 auto;
	padding: 0;
}

#bodybg {
	background: #252525 url(images/custom/bg.png) 0 0 repeat-x;
}

#header {
	background: #262626 url(images/custom/head-bg.gif) 0 0 repeat-x;
	position: relative;
	height: 90px;
}

#hdr-l {
	background: url(images/custom/head-l.gif) 0 100% no-repeat;
	padding-left: 40px;
}

#hdr-r {
	background: url(images/custom/head-r.gif) 100% 100% no-repeat;
	padding-right: 40px;
	height: 230px;
}

#bdy-tl {
	background: url(images/custom/bdy-tl.gif) 0 0 no-repeat;
	padding-left: 40px;
}

#bdy-tr {
	background: url(images/custom/bdy-tr.gif) 100% 0 no-repeat;
	padding-right: 40px;
}

#bdy-l {
	background: url(images/custom/bdy-l.gif) 0 50% repeat-y;
}

#bdy-r {
	background: url(images/custom/bdy-r.gif) 100% 50% repeat-y;
}

#logo {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 320px;
	height: 85px;
	background: url(images/custom/logo.png) no-repeat;
	cursor: pointer;
}

#bnr {
	background: url(images/custom/banner.jpg) 0 0 repeat-x;
	height: 100px;
	padding: 0;
	margin: 0;
}

#db-avatar {
	float: left;
	padding-right: 10px;
}

#userarea {
	font-size: 11px;
	color: #242424;
	font-family: tahoma, sans-serif;
	padding-top: 10px;
	padding-left: 25px;
	clear: both;
}

#userarea ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#userarea a:link, #userarea a:visited {
	color: #221e17;
	font-weight: bold;
}

#userarea a:hover {
	text-decoration: underline;
}

.loginput {
	background: #ebede2;
	border: solid 1px #484132;
}

.logbutton {
	background: #978f7e;
	border: solid 1px #484132;
}

#toolbar {
	height: 41px;
	padding: 0;
	margin: 0;
	background: #212121 url(images/custom/tlb-bg.gif) 0 100% repeat-x;
}

#nav {
	display: block;
	position: relative;
	height: 28px;
	font-size: 11px;
	font-weight: bold;
	margin: 0;
	float: left;
	padding: 2px 0 0 5px;
	font-family: "Segoe UI", "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
}

#nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: auto;
	float: left;
}

#nav ul li {
	display: block;
	float: left;
	margin: 0 1px;
}

#nav ul li a {
	display: block;
	float: left;
	color: #fff;
	text-decoration: none;
	padding: 0 0 0 12px;
	height: 28px;
	line-height: 28px;
}

#nav ul li a span {
	display: block;
	width: auto;
	padding: 0 12px 0 0;
}

#nav ul li a:hover {
	color: #000;
	background: url(images/custom/nav.png) 0 100% no-repeat;
}

#nav ul li a:hover span {
	background: url(images/custom/nav.png) 100% 100% no-repeat;
}

#nav ul li a.current {
	color: #fff;
	background: url(images/custom/nav.png) 0 0 no-repeat;
}

#nav ul li a.current span {
	background: url(images/custom/nav.png) 100% 0 no-repeat;
}

#searcharea {
	float: right;
	padding: 13px 15px 0 0;
	margin: 0;
	clear: right;
}

#time {
	font-size: 13px;
	font-family: "Segoe UI", "Lucida Grande", Tahoma,Arial, Helvetica, sans-serif;
	float: right;
	padding: 15px 20px 0 0;
}

#bodyarea {
	background: #1a1a1a url(images/custom/top-m.gif) 0 0 repeat-x;
	padding: 1ex;
	margin: 0;
}

#ftr {
	background: #000 url(images/custom/foot-m.gif) 0 100% repeat-x;
}

#ftr-r {
	background: url(images/custom/foot-r.gif) 100% 100% no-repeat;
	height: 130px;
}

#ftr-l {
	background: url(images/custom/foot-l.gif) 0 100% no-repeat;
}

#footerarea {
	padding: 15px 0 0 45px;
	color: #888;
	font-size: 11px;
	text-align: left;
}

#footerarea a:link, #footerarea a:visited {
	color: #888;
}

#footerarea a:hover {
	color: #847b66;
	text-decoration: none;
}

.popuptext a:link, .popuptext a:visited {
	color: #eee;
}