/* Printing CSS */

body {
	background-color:white;
	color:black;
}

h1 {
	margin:0;
	padding:0;
	text-align:center;
}

/* Header and footers */

td.header     {
	border:1px solid #555555; 
	font-weight:bold; 
}
a.header       {color:black; text-decoration:none;}

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

/* $qsf->table and $qsf->etable */
.stand table.stand  {border-collapse:collapse; width:98%; 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;
}

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

/* File attachment formatting */
table.filebox {
	width:95%;
	padding-left:20px;
	background-repeat:no-repeat;
	background-position:top left;
	background-image:url(./images/icons/attach.png);
}
.file        {color:#333333; border:1px #555555 solid;}

/* Quote formatting */
table.quotebox {
	width:95%;
	padding-left: 20px;
	background-repeat:no-repeat;
	background-position:top left;
	background-image:url(./images/icons/quoted.png);
}
.quote        {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; 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:61em; 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; font-family:Verdana, Arial, Helvetica, sans-serif; border:1px solid #555555; padding:1px;}
.select       {font-size:0.9em; font-family:Verdana, Arial, Helvetica, sans-serif;}

.tablelight   {border:1px solid #555555; }
.tabledark    {border:1px solid #555555; }

a.small       {color:black;}

a             {color:black;}
a.postlink    {color:black;}

.iconslegend  {text-align:center;}
.iconslegend table {border-collapse:collapse; margin-left:auto; margin-right:auto;}

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

.copyright { margin-bottom:0; text-align:center; }

div.spoilerbox   {
	padding-left:20px;
	margin-top:5px;
	background-repeat:no-repeat;
	background-position:top left;
	background-image:url(./images/icons/spoiler.png);
}
.spoiler      {border:1px #555555 solid; color:gray;}

.pages        {font-size:0.9em; color:#333333;}
.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;
}

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

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) }


/* Rounded rectangle effect */

#container {
	text-align:left;
	font-family:"Trebuchet MS", "Lucida Sans Unicode", Arial, sans-serif;
	font-size:0.7em;
	/* Forcing background white in opera */
	background:white;
	color:black;
}

/* Format the RSS Reader annoucements section to look like a normal menu field except with bullet points */
.rssreader {
	border:1px solid #999999;
	padding:10px;
	margin:3px 0px 3px 0px
}

.rssreader .rsstitle {
	border:1px solid #999999;
	padding:3px 5px 0px 5px;
	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 {
	list-style-type:none;
	margin-left:2em;
}

/* Admin CP stuff */
.tiny         {font-size:0.85em; font-weight:400}
.small        {font-size:0.9em}
.med          {font-size:1.2em; font-weight:700}
.highlighted  {font-size:0.9em; }
div.fieldset  {border:1px solid #999999; padding:10px; margin:3px 0px 3px 0px}
div.legend    {border:1px solid #999999; padding:3px 5px 0px 5px; 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; font-weight:bold}
.labeldark    {border:1px solid #555555; 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}

/* Hidden Elements */
ul.nav, td.footer, .adminstat, .useroptions, .validchecks, .posttop, .button, .bigbutton, .round-top, .round-bottom {
	display:none;
}
td.subheader div img { display:none; }
td.posterinfo span.userimages { display:none; }
.newerolder   {display:none;}
#clickablesmilies {display:none;}
#quicksmilies { display:none;}
.messageicons {display:none;}
div#qsf_bbcode_buttons {display:none;}

/* QSF Portal code */
#left
{
	float:left;
	width:150px;
	padding:.5em;
}

h4
{
	margin-left:2px;
	margin-top:2px;
}

#right
{
	float:right;
	width:150px;
	padding:.5em;
}

#middle
{
	background-color:#e0e0e0;
	margin-left:175px;
	margin-right:175px;
	margin-top:.5em;
	padding:.5em;
	border:1px solid black;
}

.clear
{
	clear:both;
}

div.newsfieldset
{
	background-color:#f3f3f3;
	border:1px solid #999999;
	margin:3px auto;
	padding:10px;
	text-align:center;
	width:90%;
	margin-bottom:.8em;
}

div.newslegend
{
	background-color:#f3f3f3;
	background-image:url(./images/header_gradient.png);
	background-repeat:repeat-x;
	border:1px solid #999999;
	color:black;
	display:inline;
	font-weight:700;
	height:18px;
	padding:3px 5px;
	position:relative;
	top:-15px;
	white-space:nowrap;
}

div.newsfooter
{
	background-color:#f3f3f3;
	background-image:url(./images/header_gradient.png);
	background-repeat:repeat-x;
	border:1px solid #999999;
	bottom:-15px;
	color:black;
	display:inline;
	font-weight:700;
	height:18px;
	padding:3px 5px;
	position:relative;
	right:-20%;
	white-space:nowrap;
}

div.filemenu
{
	background-color:#5ca0e6;
	border:1px solid #555555;
	bottom:-10px;
	color:white;
	display:inline;
	font-weight:700;
	height:auto;
	padding:3px 5px;
	position:relative;
	width:70%;
}

.category
{
	/* width:100%; */
	padding:1em;
	text-align:left;
}

.mb_box
{
	background-color:#e0e0e0;
	border:1px solid #555555;
	margin-bottom:1em;
	width:100%;
}

.mb_box_header
{
	background-image:url(./images/header_gradient.png);
	border-bottom:1px solid #555555;
	color:black;
	font-size:1.1em;
	font-weight:700;
	height:24px;
	text-align:center;
	width:100%;
}

.mb_box_content
{
	color:black;
	margin:0.5em;
	overflow:hidden;
}

.mb_box_content a
{
	color:black;
	text-decoration:underline;
}

.mb_box_content p
{
	border-bottom:1px dotted #555555;
	color:black;
	padding-bottom:0.5em;
}

.mb_box_content hr
{
	border:0;
	border-top:1px dotted #555555;
	height:1px;
	padding-bottom:.3em;
}

.mb_box_footer
{
	background-color:#5ca0e6;
	border-top:1px solid black;
	height:1em;
}
