#tabnav {
    /* Main 'tab-like' navigation, heavy CSS */
    background-color: transparent;
    padding: 0em 0em 0em 0px; /* 2 is for IE */
    white-space: nowrap;
    list-style: none;
    margin: 0;
    height: auto;
    line-height: normal;
}
#tabnav li { /*make things display side by side, not in newlines */
    display: inline;
}
#tabnav li.normal a {
    /* The normal, unselected tabs. */
    background-color: f0ead8;
    background-color: B1BFC5;
    border-color: #B1BFC5;
    border-width: 1px;
    border-style: solid solid none solid;
    color: #434343; /*text color */

    height: auto;
    margin-right: 0em;  /* [Title]^^^[Title]*/
    padding: 0em 1.5em; /* [^^^Title^^^^]*/
    text-decoration: none;
}
#tabnav li.selected a {
    /* The selected tab. Only one of this */
    background-color: #CBD1DB;
    border: 1px solid #B1BFC5;
    border-bottom: #CBD1DB 1px solid;
    color: #434343;

    height: auto;
    margin-right: 0em;  /* [Title]^^^[Title]*/
    padding: 0em 1.5em; /* [^^^Title^^^^]*/
    text-decoration: none;
}
#tabnav li a:hover {
    background-color: #CBD1DB;
    border-color: #B1BFC5;
    border-bottom-color: #CBD1DB;
    color: #434343;
}


/* Screen CSS */
body          {font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; cursor:default; background-color:white;margin:0;}
table.stand   {border-collapse:collapse; width:100%; text-align:left;}
td            {font-size:11px; font-family:Verdana, Arial, Helvetica, sans-serif;}
td.searchbox {font-size:8pt;}

h1{
    margin-top:8;
    font-size:160%;
    color:#6B8ABF;
    color:#434343;
}
h2{
    font-size:140%;
    color:#434343;
}
h3{
    font-size:130%;
    color:#434343;
}
h4{
	margin-top:4px;
	margin-bottom:2px;
    font-size:124%;
    color:#434343;
}
h5{
	margin-top:4px;
	margin-bottom:2px;
    font-size:120%;
    color:#434343;
}

span.title{
	font-size:14pt;
	color:#455A7C;
}
p.main{
	font-size:9pt;
}
p.maincatheader{
	font-size:9pt;
	margin-bottom:4px;
}
td.backoffset{
	width:5px;
	background-color:#CBD1DB;
}
td.border{
	background-color:#627AA3;
}
div.output{
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size:11pt;
}
td.blockleft{
	background-color:#B1BEC4;
}
td.blockright{
	background-color:#B1BFC5;
}

td.welcome{
	width:30%;
	white-space:nowrap;
	font-size:10pt;
}

a:link.forumadmin{
    text-decoration:none;
    font-weight: bold;
    color:white;
	font-size:8pt;
}

 a:visited.forumadmin{
    text-decoration:none;
    font-weight: bold;
    color:white;
	font-size:8pt;
}

 a:hover.forumadmin{
    text-decoration:underline;
    font-weight: bold;
    color:white;
	font-size:8pt;
}

a:link.navtop{
    text-decoration:none;
    color:#336CA1;
    font-weight:bold;
    margin-bottom:0;
}

 a:visited.navtop{
    text-decoration:none;
    color:#336CA1;
    font-weight:bold;
    margin-bottom:0;
    margin-bottom:0;
}

 a:hover.navtop{
    text-decoration:none;
    font-weight:bold;
    color:#455A7C;
    margin-bottom:0;
}

a:link{
    text-decoration:none;
    color:#293F5F;

    margin-bottom:0;
}

 a:visited{
    text-decoration:none;
    color:#293F5F;

    margin-bottom:0;
    margin-bottom:0;
}

 a:hover{
    text-decoration:underline;

    color:#455A7C;
    margin-bottom:0;
}

a.post_link{
	text-decoration:underline;
	color:#2363BF;
	color:#1554AF;
	color:#00458F;
	
}
a.post_link:hover{
	color:#50738F;
}

p.browse{
    margin-bottom:0;
    margin-top:3;
}


p.blockleftheadline{
    font-size:10.5pt;
    font-weight:bold;
	color:#A5333A;
	color:#7F1720;
	color:#9F0019;
	color:#00266F;
	color:#0D286F;
	margin-bottom:0px;
	margin-top:8px;
}

.leftnav{
    font-family: Tahoma,Verdana, Arial, Helvetica, sans-serif;
    font-size:10.4pt;
	margin-top:4px;
}
    .leftnav a:link{
        color:	#08253F;
        text-decoration:none;
        font-weight: normal;

    }

    .leftnav a:visited{
        color:		#08253F;
        text-decoration:none;
        font-weight: normal;

    }

    .leftnav a:hover{
        color:	#224B6F;
        color:	#50738F;
        text-decoration:underline;
        text-decoration:none;
        font-weight: normal;

    }

/* Links at top */
ul.nav {
	text-align: center;
	display: block;
	background-color: #738F8F;
	background-image: url(./images/nav_gradient.gif);
	background-repeat: repeat-y;
	background-position: right;
	border-top: 1px solid #5ca0e6;
	border-bottom: 1px solid #5ca0e6;
	margin: 0;
	font-size: 8px;
}

ul.nav li {
	display: inline;
	list-style-type: none;
	letter-spacing: 2pt;
	padding-top: .5em;
	padding-bottom: .5em;
	padding-left: 1em;
	padding-right: 1em;
	font-weight: bold;
}

ul.nav a {
	color: #ffffaa;
	text-decoration: none;
}

ul.nav a:visited {
	color: #ffffaa;
}

ul.nav a:hover {
	color: #b9dafc;
}

li a.navbold, li a.navbold:visited {
	color: #88ffff;
}

/* Header and footers */
td.header     {
	border:1px solid #555555;
	color:black;
	font-weight:bold;
	background-image:url(./images/header_gradient.png);
	background-color:#5ca0e6;
	font-size:8pt;
}

div.header     {
	padding:5px;
	border:1px solid #555555;
	color:black;
	font-weight:bold;
	background-image:url(./images/header_gradient.png);
	background-color:#5ca0e6;
}

a.header       {color:black;}
a.header:hover {color:#0D286F;}

td.subheader      {color:black; font-weight:bold; border:1px solid #555555; background-color:#CEDFFF; font-size:10pt;}
a.subheader       {color:black; font-weight:bold; text-decoration:none}
a.subheader:hover {text-decoration:underline}

td.footer     {
	font-size: 0.90em;
	border:1px solid #555555;
	background-color:#85C0F4;
	color:black;
}

div.footer     {
	padding:5px;
	font-size: 0.90em;
	border:1px solid #555555; border-top:0;
	background-color:#5ca0e6;
	color:black;
}

td.header .statistics {
	background-repeat: no-repeat;
	background-position: left center;
	background-image: url(./images/icons/chart_pie.png);
	padding-left: 20px;
}

td.header .activeusers {
	background-repeat: no-repeat;
	background-position: left center;
	background-image: url(./images/icons/members.png);
	padding-left: 20px;
}

/* $qsf->table and $qsf->etable */
.stand table.stand  {border-collapse:collapse; width:100%; text-align: left; margin-left: auto; margin-right: auto;}
.stand        {text-align: center; }

/* Post Formatting */
td.posterinfo {
	width: 20%;
	vertical-align: top;
	text-align: left;
	color: black;
}

.posttop      {vertical-align:top; height:1em; color:black;}
.post         {vertical-align:top; color:black; font-size:11pt;}
.postbottom   {vertical-align:bottom; height:2.5em; color:black;}
div.signature {font-size:0.9em; color:#333333;}

/* Quote formatting */
div.quotebox      {
	padding-left:20px;
	margin-top:5px;
	background-repeat: no-repeat;
	background-position: top left;
	background-image: url(./images/icons/quoted.png);
}
.quote        {background-color:#fefefe; color:#333333; border:1px #555555 solid;}

/* Code formatting */
div.code      {
	padding-left:20px;
	margin-top:5px;
	background-repeat: no-repeat;
	background-position: top left;
	background-image: url(./images/icons/code.png);
}
div.phpcode {
	background-image: url(./images/icons/php.png);
}
div.codetitle {font-size: 1.1em; color:black; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight:bold; margin-bottom:2px;}
.codelines    {width: 1em; background-color:#eeeeee; color:#333333; border:1px #555555 solid; border-right:0; font-family:"Courier New", Courier, serif; text-align:right; float:left; padding:3px;}
pre.codedata  {width: 44em; background-color:#fefefe; color:#333333; border:1px #555555 solid; font-family:"Courier New", Courier, monospace; text-align:left; overflow:auto; padding:3px;}

/* Other styling */
hr            {height:1px; border:0px; border-top:1px solid #666666;}
form          {margin:0px;}
img           {border:0px;}

.input        {font-size:0.9em; background-color:white; color:black; font-family:Verdana, Arial, Helvetica, sans-serif; border:1px solid #555555; padding:1px;}
.select       {font-size:0.9em; background-color:white; color:black; font-family:Verdana, Arial, Helvetica, sans-serif;}

.tablelight   {border:1px solid #555555; background-color:#eeeeee; color:black; font-size:8pt;}
.forumtopic   {border:1px solid #555555; background-color:#eeeeee; color:black; font-size:10pt;}
.tabledark    {border:1px solid #555555; background-color:#e0e0e0; color:black; font-size:8pt;}
div.tablelight{padding:5px; border-top:0;}
div.tabledark {padding:5px; border-top:0;}


a.bdaylink      {font-size:0.9em; color:black;}
a:hover.bdaylink{text-decoration:none;}

a.activeuser      {font-size:0.9em;}
a.lastpost {font-size:9pt;}
a.forumindex {font-size:10pt;}

a.postlink    {color:black;}
a.pages:hover {color:#cc0000;}
a.pagelinks:hover{color:#cc0000;}
span.pagelinks{font-size:8pt;}
.iconslegend  {text-align: center;}
.iconslegend table {border-collapse: collapse; margin-left: auto; margin-right: auto;}
#clickablesmilies { text-align: center; }
#clickablesmilies div { width: 140px; margin-left: auto; margin-right: auto; }
#clickablesmilies strong { display: block; border:1px #555555 solid; background-color:#e0e0e0; padding: 5px; }
#clickablesmilies ul { padding-left: 0; margin-left: 0; padding-top: 0; margin-top: 10px;}
#clickablesmilies ul li {display: inline; padding: 2px; list-style-type: none;}

ul.messageicons { padding: 0; margin: 0; }
ul.messageicons li {display: inline; padding: 2px; list-style-type: none; }
html>body ul.messageicons li {white-space: nowrap;} /* Avoid IE */

.mainmessage  {text-align: center;}
.mainmessage .stand table.stand {text-align: center; width: 60%;}

.copyright { margin-bottom: 0; text-align: center; font-size:7pt}

.spoiler      {border:1px #555555 solid; background-color:#fefefe; color:#fefefe;}
.pages        {font-size: 0.9em; color:#333333;}
.mbcSelect    {font-size: 0.9em; background-color:#ececec; color:black;}
.mbcButton    {font-size: 0.9em; background-color:#ececec; color:black; border:1px #555555 solid;}
#qsf_bbcode_buttons select {font-size: 0.9em; background-color:#ececec; color:black; margin: 1px;}
#qsf_bbcode_buttons input  {font-size: 0.9em; background-color:#ececec; color:black; border:1px #555555 solid; margin: 1px;} 
.stats        {font-weight:bold;}
.adminstat    {text-align:center; font-size: 0.7em;}
td textarea   {width:100%} /* help give larger text areas */

p.reminder  {padding:2em; text-align:center; color:red;}
.validchecks{text-align:center;}

/* Topic state icons */
td.topicicons {
	text-align: center;
	margin: 0;
	padding: 0;
	border:1px solid #555555;
	background-color:#eeeeee;
	color:black;
}

td.topicicons div {
	background-repeat: no-repeat;
	background-position: center center;
	height: 26px;
}

a.forumname {
	font-size:10pt;
	font-weight:bold;
}
a.topicnew {
	font-size:10pt;
	font-weight:bold;
}
a.topicread {
	font-size:10pt;	
}

div.open { background: url(./images/topicicons/open.png) }
div.hot { background: url(./images/topicicons/hot.png) }
div.newopen { background: url(./images/topicicons/newopen.png) }
div.newhot { background: url(./images/topicicons/newhot.png) }
div.dotopen { background: url(./images/topicicons/dotopen.png) }
div.dothot { background: url(./images/topicicons/dothot.png) }
div.newdotopen { background: url(./images/topicicons/newdotopen.png) }
div.newdothot { background: url(./images/topicicons/newdothot.png) }

div.openpoll { background: url(./images/topicicons/openpoll.png) }
div.hotpoll { background: url(./images/topicicons/hotpoll.png) }
div.newopenpoll { background: url(./images/topicicons/newopenpoll.png) }
div.newhotpoll { background: url(./images/topicicons/newhotpoll.png) }
div.dotopenpoll { background: url(./images/topicicons/dotopenpoll.png) }
div.dothotpoll { background: url(./images/topicicons/dothotpoll.png) }
div.newdotopenpoll { background: url(./images/topicicons/newdotopenpoll.png) }
div.newdothotpoll { background: url(./images/topicicons/newdothotpoll.png) }

div.moved { background: url(./images/topicicons/moved.png) }
div.locked { background: url(./images/topicicons/lockedopen.png) }
div.newlocked { background: url(./images/topicicons/lockedopennew.png) }
div.lockedpoll { background: url(./images/topicicons/lockedopenpoll.png) }
div.newlockedpoll { background: url(./images/topicicons/lockedopennewpoll.png) }

/* Pin overlaps other topic icons */
div.pinned { background: url(./images/icons/pin_faded.png) }

/* Button effects */
.button {
	float: left;
	border: 1px solid black;
	background-image: url(./images/small_blue_gradient.gif);
	background-repeat: repeat-x;
	padding: 0.3em;
	font-size: 0.8em;
	margin-right: 3px;
}

div.button a {
	text-decoration: none;
	font-weight: bold;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 18px;
	padding-right: 2px;
}

.button .messenger { background-image: url(./images/icons/messenger.png); }
.button .email { background-image: url(./images/icons/email.png); }
.button .home {	background-image: url(./images/icons/homesite.png); }
.button .icq { background-image: url(./images/icons/icq_logo.png); }
.button .aim { background-image: url(./images/icons/aim_logo.png); }
.button .yahoo { background-image: url(./images/icons/yahoo_logo.png); }
.button .msn { background-image: url(./images/icons/msn_logo.png); }
.button .gtalk { background-image: url(./images/icons/gtalk_logo.png); }
.button .quotepost { background-image: url(./images/icons/post_quote.png); }
.button .delete { background-image: url(./images/icons/post_delete.png); }
.button .edit { background-image: url(./images/icons/post_edit.png); }

.bigbutton {
	float: right;
	border: 1px solid black;
	background-image: url(./images/large_blue_gradient.gif);
	background-repeat: repeat-x;
	padding: 0.2em;
	font-size: 12px;
	margin-left: 5px;
}

.bigbutton a {
	text-decoration: none;
	font-weight: bold;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 18px;
	padding-right: 2px;
}

.bigbutton .messenger {	background-image: url(./images/icons/messenger.png) }
.bigbutton .reply { background-image: url(./images/icons/message_reply.png) }
.bigbutton .delete { background-image: url(./images/icons/message_delete.png) }
.bigbutton .poll { background-image: url(./images/icons/poll.png) }
.bigbutton .topic { background-image: url(./images/icons/new_topic.png) }
.bigbutton .topicreply { background-image: url(./images/icons/post_reply.png) }
.bigbutton .subscribe {	background-image: url(./images/icons/subscribe.png) }

td div.butright {
	float: right;
}

.greybutton {
	float: right;
	border: 1px solid black;
	background-color: #eeeeee;
	padding: 0.2em;
	font-size: 1.2em;
	margin-left: 5px;
}

.greybutton span {
	font-weight: bold;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 18px;
	padding-right: 2px;
}

.greybutton .locked { background-image: url(./images/icons/topic_locked.png) }

/* Rounded rectangle effect */

div.container {
	background-color: white;
	color: black;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	border-left: 5px solid #5ca0e6;
	border-right: 5px solid #5ca0e6;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", Arial, sans-serif;
	font-size: 0.7em;
}

/* Hack to force font settings on IE */
.container td {
	font-size: 0.7em;
	font-size: inherit;
	color: black;
}

.round-top, .round-bottom {
	margin-left: auto;
	margin-right: auto;
	height: 19px;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

.round-top div, .round-bottom div {
	margin: 0;
	padding: 0;
	height: 19px;
}

.round-top {
	background-image: url(./images/corner-top.png);
	background-repeat: repeat-x;
	background-position: bottom left;
}

.round-top div {
	background-image: url(./images/corner-top-right.png);
	background-repeat: no-repeat;
	background-position: bottom right;
}
.round-bottom {
	background-image: url(./images/corner-bottom.png);
	background-repeat: repeat-x;
	background-position: top left;
}

.round-bottom div {
	background-image: url(./images/corner-bottom-right.png);
	background-repeat: no-repeat;
	background-position: top right;
}


/* Format the RSS Reader annoucements section to look like a normal menu field except with bullet points */
.rssreader {
	border:1px solid #999999;
	padding:10px;
	background-color:#f3f3f3;
	margin:3px 0px 3px 0px;
}
.rssreader .rsstitle {
	border:1px solid #999999;
	padding:3px 5px 0px 5px;
	background-color:#f3f3f3;
	font-weight:bold;
	font-size: 1.2em;
	position:relative;
	top:-15px;
	white-space:nowrap;
	border-bottom:0px;
	display:inline;
	height:18px;
	margin-left: 0;
}
.rssreader li {
	margin-left: 2em;
}

/* Admin CP stuff */

body#admincp {
	background-image: none;
	background-color: white;
	color: black;
	font-size: 0.75em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Hack to force font settings on IE */
body#admincp td {
	font-size: 0.7em;
	font-size: inherit;
}

/* Stuff for the AdminCP mods */
ul            {line-height:150%;}
.tiny         {font-size: 0.85em; font-weight:normal;}
.small        {font-size: 0.9em;}
.med          {font-size: 1.2em; font-weight:bold;}
.highlighted  {font-size: 0.9em; background-color:#ff0000; color:black;}
div.fieldset  {border:1px solid #999999; padding:10px; background-color:#f3f3f3; margin:3px 0px 3px 0px;}
div.legend    {border:1px solid #999999; padding:3px 5px 0px 5px; background-color:#f3f3f3; font-size:1.2em; font-weight:bold; position:relative; top:-15px; white-space:nowrap; border-bottom:0px; display:inline; height:18px;}
.labellight   {border:1px solid #555555; background-color:#eeeeee; color:black; font-weight:bold;}
.labeldark    {border:1px solid #555555; background-color:#dddddd; color:black; font-weight:bold;}
input.free, select.free {display:block; float:left; width:150px; margin:0px; margin-bottom:10px;}
input.freec   {display:block; float:left; margin:0px; margin-bottom:10px; padding:0px;}
label.free    {display:block; float:left; width:100px; text-align:right; padding-right:20px;}
br.free       {clear:left;}
span.red      {color:red;}

