/* ************************************* */
/* Common styles for the theme           */
/* ************************************* */

/* Normal, standard links. */
a:link {
	color: #736c5c;
	text-decoration: none;
}

a:visited {
	color: #736c5c;
	text-decoration: none;
}

a:hover {
    	color: #a99465;
}

/* Tables should show empty cells. */
table {
	empty-cells: show;
}

/* set a fontsize that will look the same in all browsers. */
body {
    	line-height: 135%;
	font-family: tahoma, sans-serif;
	font-size: 11px;
    	margin: 0px;
    	padding: 0;
	background: #252525 url(images/custom/bg.png) 0 0 repeat-x;
}

/* use dark grey for the text, leaving black for headers etc */
body, td, th , tr {
    	color: #afafaf;
}

/* lets give all forms zero padding/margins */
form {
	padding: 0px;
	margin: 0px;
}

/* 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;
}

/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7 {
	color: white;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

/* No image should have a border when linked. */
a img {
	border: 0;
}

/* No lines around buttons in Firefox! */
a {
	outline: none;
}

/* Reset all lists. */
ul, ul li {
	padding: 0;
	margin: 0;
	list-style: none;
}

/* We can define lists to be lists tho! */
ul.normallist {
	padding-left: 2em;
}

ul.normallist li {
	list-style: disc;
}

/* NOTE: REMOVE THIS??!?!?!! */
/* But do use them in the posts area! */
.post ul {
	padding-left: 2em;
}

.post ul li {
	list-style: disc;
}

.post ul li li {
	list-style: circle;
}

/* ************************************* */
/* Some handy custom classes             */
/* ************************************* */

.floatright {
	float: right;
}

.floatleft {
	float: left;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext {
    	font-size: x-small;
    	font-family: tahoma, sans-serif;
}

.middletext {
    	line-height: 18px;
    	text-indent: 10px;
}

.normaltext {
	font-size: 1em;
}

.largetext {
	font-size: 1.4em;
}

/* This style will make sure all headers use the same padding throughout. */
.headerpadding {
	padding: 0.5em;
}

/* smaller padding used in paragraphs, sections etc */
.smallpadding {
	padding: 0.2em;
}

/* larger padding used in paragraphs, sections etc */
.largepadding {
	padding: 0.7em;
}

/* A small space to the next section. */
.marginbottom {
	margin-bottom: 1em;
}

/* On the top too. */
.margintop {
	margin-top: 1em;
}

/* remove bold/italic styles */
span.plainstyle {
	font-weight: normal;
	font-style: normal;
}

/* float a list horisontally */
ul.horizlist {
	width: 100%;
}

ul.horizlist li {
	float: left;
	padding: 0.2em 0.4em 0.2em 0.4em;
	vertical-align: top;
}

/* make a inline-list */
ul.nolist li {
	display: inline;
}

/* Helping style to clear floated items. */
.clearfix:after  {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* Hides from IE-mac. \*/
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

/* End hide from IE-mac. */

/* ************************************* */
/* Some specific SMF elements            */
/* ************************************* */

/* A quote, perhaps from another post. */
blockquote {
    	background: #272727;
    	color: #afafaf;
    	border: 1px solid #212121;
    	margin: 10px 0pt;
   	padding: 5px;
    	width: auto;
    	font-size: x-small;
    	line-height: 120%;
}

/* A code block - maybe even PHP ;). */
code {
    	color: #afafaf;
    	background: #222;
	display: block;
	font-family: "courier new", "times new roman", monospace;
	font-size: x-small;
	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%;
	overflow: auto;
	white-space: nowrap;
	/* 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: x-small;
    	line-height: 1.2em;
}

/* For links to change the code stuff... */
.codeoperation {
	font-weight: normal;
}

/* Styling for BBC tags */
.bbc_color a {
	color: inherit;
}

.bbc_img {
	border: 0;
}

.bbc_list {
	margin-top: 0;
	margin-bottom: 0;
}

.bbc_size {
	line-height: 1.3em;
}

.bbc_table {
	font: inherit;
	color: inherit;
}

.bbc_table td {
	font: inherit;
	color: inherit;
	vertical-align: top;
}

.bbc_u {
	text-decoration: underline;
}

/* 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;
}

/* A more discreet highlight colour, for selected membergroups etc. */
.highlight2 {
	background-color: #B3F4B0;
	color: black;
}

/* ************************************* */
/* Real common classes                   */
/* ************************************* */

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body {
    	padding: 5px;
    	border-bottom: 2px solid #1a1a1a;
}

.windowbg2 {
    	padding: 5px;
    	border-bottom: 2px solid #1a1a1a;
}

.windowbg3 {
    	background: #1f1f1f;
    	border-bottom: 2px solid #1a1a1a;
}

/* Color for background of posts requiring approval */
.approvebg {
	color: #000000;
	background-color: #F6E0D4;
}

/* Color for background of *topics* requiring approval */
.approvetbg {
	color: #000000;
	background-color: #E4A17C;
}

/* 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, #credits h3 {
    	color: #cfcfcf;
    	font-style: normal;
	background: #1e1e1e url(images/titlebg.png) no-repeat;
	padding-left: 10px;
	padding-right: 10px;
	line-height: 18px;
}

.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: 130%;
    	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 {
}

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage {
	width: 100%;
	overflow: auto;
	line-height: 1.3em;
}

/* add a visual divider between subject and post */ 
.post {
	margin-top: 0.7em;
	padding-top: 0.7em;
	border-top: solid 1px #313131;
}

/* 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;
}

/* Calendar colours for birthdays, events and holidays */
.birthday {
	color: #920AC4;
}

.event {
	color: #078907;
}

.holiday {
	color: #000080;
}

/* Colours for warnings */
.warn_mute {
	color: red;
}

.warn_moderate {
	color: orange;
}

.warn_watch {
	color: green;
}

a.moderation_link, a.moderation_link:visited {
	color: red;
	font-weight: bold;
}

.openid_login {
	background: white url(images/openid.gif) no-repeat;
	padding-left: 18px;
}

/* 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;
}

#ajax_in_progress a {
	color: white;
	text-decoration: underline;
	font-size: smaller;
	float: right;
}

/* ************************************* */
/* Buttons and menus                     */
/* ************************************* */

.buttonlist ul, .buttonlist_bottom ul {
}

.buttonlist ul li, .buttonlist_bottom ul li {
	margin: 0;
	padding: 0;
	display: inline;
}

.buttonlist ul li a, .buttonlist_bottom ul li a {
	float: left;
	display: block;
	color: #ccc;
	font-size: 0.8em;
	font-family: tahoma, sans-serif;
	text-transform: uppercase;
}

.buttonlist ul li a:hover, .buttonlist_bottom ul li a:hover {
    	text-decoration: underline;
}

.buttonlist ul li a span, .buttonlist_bottom ul li a span {
	display: block;
    	padding: 5px 10px 5px 10px;
    	background: #645c4a;
}

.buttonlist ul li a.active, .buttonlist_bottom ul li a.active {
}

.buttonlist ul li a.active span em, .buttonlist_bottom ul li a.active span em {
	display: block;
}

.buttonlist ul li a.active span, .buttonlist_bottom ul li a.active span {
}

.buttonlist ul li a span.last, .buttonlist_bottom ul li a span.last {
    	padding: 5px 10px 5px 10px;
}

/* For links that are basically submit buttons. */
.buttonlist_submit {
	background: transparent;
	color: white;
	text-transform: uppercase;
	vertical-align: top;
	text-decoration: none;
	font-size: 9px;
	font-family: tahoma, sans-serif;
	border: 0;
}

.buttonlist_submit:hover {
	color: #e0e0ff;
}

/* ..for the "bottom" menu */
.buttonlist_bottom ul {
}

.buttonlist_bottom ul li a span {
}

.buttonlist_bottom ul li a.active {
}

.buttonlist_bottom ul li a.active span em {
}

.buttonlist_bottom ul li a.active span {
}

.buttonlist_bottom ul li a span.last {
    	padding: 5px 10px 5px 10px;
}

/* the old type of menu, with images */
.oldbuttonlist {
	text-align: right;
	padding: 0.5em;
}

/* ************************************* */
/* The below is deprecated.              */
/* ************************************* */

/* 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;
    	min-width: 750px;
    	margin: 0 auto;
	padding: 0;
}

#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.gif) 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;
}

/* ************************************* */
/* This is where I changed 242424 to fff on #userarea and */
/* 221e17 to fff on #userarea a:link, #userarea a:visited.     */
/* ************************************* */

#userarea {
    	font-size: 11px;
    	color: #fff;
    	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: #fff;
    	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: 0px;
      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 { 
      padding: 0 12px 0 0;
}

#nav ul li a:hover {
      color: #000;
      background: url(images/custom/navhl.gif) 0 0 no-repeat;
}

#nav ul li a:hover span {
      display: block;
      width: auto;
      background: url(images/custom/navhr.gif) 100% 0 no-repeat;
}

#nav ul li a.current {
      color: #fff;
      background: url(images/custom/navl.gif) 0 0 no-repeat;
}

#nav ul li a.current span {
      display: block;
      width: auto;
      background: url(images/custom/navr.gif) 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-family:tahoma;
    	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;
}