/* Normal, standard links. */

.quote img {
	max-width: 40px;
	max-height: 40px;
}

a { 
	text-decoration: none; 
}
a:link { color: #6d3f32; }
a:visited, a:active { color: #6d6f62; }
a:hover { border-bottom: 1px solid; }

.catbg td a,
td a:link
{
	color: #FFBF44;
	text-decoration: none;
}
.tborder a:visited,
td a:visited
{
	color: #C49231;
	text-decoration: none;
}

td.middletext { color: #000; }

#footerarea,
#footerarea a:link,
td.middletext a:link,
.nav a:link,
a[href="#bot"],
a[href="#top"]
{ color: #6d3f32 !important; }

#footerarea a:visited,
#footerarea a:active,
td.middletext a:visited, 
td.middletext a:active,
.nav a:active,
.nav a:visited,
a[href="#bot"],
a[href="#top"]
 { color: #6d6f62 !important; }

a[onclick] { color: #FFBF44 !important; }

#bodyarea {
	margin: 16px 45px 0 45px;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
	color: #723612;
	text-decoration: none;
}
a.nav:hover
{
	color: #8B4217;
	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: #FEDD9C;
	color: #6d3f32;
	font-size: small;
	font-family: verdana, sans-serif;
}

.post,
.post td,
.post th,
.post tr,
#headerimg,
.tborder td {
	// color: #FEDD9C;
}

/* The main body of the entire forum. */
body
{
	// background-color: #9f7f52;
	// background: rgb(203,199,160);
	background: rgb(227,212,156);
	margin: 0px;
	// padding: 12px 30px 4px 30px;
	// ADD
	padding: 0;
}

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

textarea
{
	font-size: 100%;
	color: #723612;
	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: #723612;
	font-family: verdana, sans-serif;
}

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

/* No image should have a border when linked */
a img
{
	border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
	color: rgb(243,239,220);
	//background-color: #C8A97A;
	background: #3d0f02;
	border: 1px solid #723612;
	margin: 1px;
	padding: 1px;
	font-size: x-small;
	line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
	color: #000000;
	background-color: #dddddd;
	font-family: "courier new", "times new roman", monospace;
	font-size: x-small;
	line-height: 1.3em;
	/* Put a nice border around it. */
	border: 1px solid #000000;
	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: #C49231;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: x-small;
	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: #FFBF44;
}

/* 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,
.windowbg td,
#preview_body
{
	//color: #FEDD9C;
	color: rgb(243,239,220);
	//background-color: #895739;
	background: #5d3f32;
}
.windowbg2,
.windowbg2 td
{
	//color: #FEDD9C;
	color: rgb(243,239,220);
	//background-color: #8B4217;
	background-color: #7d5f52;
}
.windowbg3,
.windowbg3 td
{
	//color: #FEDD9C;
	color: rgb(243,239,220);
	//background-color: #8B4217;
	background-color: #7d5f52;
}
/* the today container in calendar */
.calendar_today
{
	background-color: #FFFFFF;
}

/* 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: #FEDD9C;
	font-style: normal;
	// background: url(images/titlebg.jpg) #723612 repeat-x;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6d3f32), to(#3d0f02)) !important;
	background: -moz-linear-gradient( top, #6d3f32, #3d0f02 ) !important;
	background: #3d0f02;
	border-bottom: solid 1px #FFD3AF;
	border-top: solid 1px #FFD3AF;
	padding-left: 10px;
	padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
	font-weight: bold;
	color: #FEDD9C;
	font-style: normal;
}

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

.titlebg2 a:hover
{
	text-decoration: underline;
}

/* Exception for the titlebg2 found in the NEWS area */
#upshrinkHeader2 td.titlebg2 .smalltext{
	font-size: 12pt !important;
}

/* CUSTOM */
#header {
	width: 100%;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6d3f32), to(#3d0f02)) !important;
	background: -moz-linear-gradient( top, #6d3f32, #3d0f02 ) !important;
	background: #3d0f02;
    -webkit-box-shadow: 0 4px 10px #432;
    -moz-box-shadow: 0 4px 10px #432;
    box-shadow: 0 4px 10px #432;
    margin: 0;
    padding: 0;
}
#headerimg {
	height: 100px;
	margin: 0px 45px;
}
#headerimg h1 { margin: 0; padding: 0; }

/* 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: url(images/catbg.jpg) #AB9A88 repeat-x;
	color: #FEDD9C;
	padding-left: 10px;
	padding-right: 10px;
	
	//ADD
	width: 100%;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6d3f32), to(#3d0f02)) !important;
	background: -moz-linear-gradient( top, #6d3f32, #3d0f02 ) !important;
	background: #3d0f02;
    -webkit-box-shadow: 0 4px 10px #432;
    -moz-box-shadow: 0 4px 10px #432;
    box-shadow: 0 4px 10px #432;
}
.catbg2 , tr.catbg2 td
{
	// background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#8d5f52), to(#5d2f22)) !important;
	background: -moz-linear-gradient( top, #6d3f32, #3d0f02 ) !important;
	background: #3d0f02;
	color: #FEDD9C;
	padding-left: 10px;
	padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
	border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
	font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
	font-size: 95%;
	color: #FEDD9C;
	text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
	color: #FEDD9C;
	text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
	color: #FEDD9C;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
	//background-color: #FEDD9C;
	background-color: #3d0f02;
	padding: 0px;
}

/* This is used on tables that should just have a border around them. AAA*/
.tborder
{
	padding: 1px;
	border: 1px solid #3d0f02;
	background-color: #FEDD9C;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: x-small;
	font-family: verdana, sans-serif;
}
.middletext
{
	font-size: 90%;
}
.normaltext
{
	font-size: small;
}
.largetext
{
	font-size: large;
}


/* 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
{
	color: #FEDD9C;
	text-transform: uppercase;
	vertical-align: top;
	background-color: #6d3f32;
}
.maintab_back, .maintab_active_back
{
	color: #FEDD9C;
	text-decoration: none;
	font-size:  9px;
	vertical-align: top;
	padding: 2px 6px 6px 6px;
	font-family: tahoma, sans-serif;
}

.maintab_first
{
	background: url(images/maintab_first.gif) left bottom no-repeat;
	width: 10px;
}
.maintab_back
{
	background: url(images/maintab_back.gif) left bottom repeat-x;
}
.maintab_last
{
	background: url(images/maintab_last.gif) left bottom no-repeat;
	width: 8px;
}
.maintab_active_first
{
	background: url(images/maintab_active_first.gif) left bottom no-repeat;
	width: 6px;
}
.maintab_active_back
{
	background: url(images/maintab_active_back.gif) left bottom repeat-x;
}
.maintab_active_last
{
	background: url(images/maintab_active_last.gif) left bottom no-repeat;
	width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
	color: #FED481;
	text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
	color: #8B4217;
	text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
	color: #8B4217;
	text-transform: uppercase;
	vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
	color: #8B4217;
	text-decoration: none;
	font-size: 9px;
	vertical-align: bottom;
	padding: 6px 6px 2px 6px;
	font-family: tahoma, sans-serif;
}

.mirrortab_first
{
	background: url(images/mirrortab_first.gif) no-repeat;
	width: 10px;
}
.mirrortab_back
{
	background: url(images/mirrortab_back.gif) repeat-x;
}
.mirrortab_last
{
	background: url(images/mirrortab_last.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_first
{
	background: url(images/mirrortab_active_first.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_back
{
	background: url(images/mirrortab_active_back.gif) repeat-x;
}
.mirrortab_active_last
{
	background: url(images/mirrortab_active_last.gif) no-repeat;
	width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
	color: #FEDD9C;
	text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
	color: #FEDD9C;
	text-decoration: none;
}

/* 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;
}


#cse {
	min-width: 150px;
}

/* a#newicon1,
img#upshrink,
td img { border: 0px !important; } */

a img,
a:link img,
a:active img,
a:visited img { border: 0; !important; }

.spoiler { background: #3d1f31 !important; }
