html, body {
	background: #E2E3ED url(images/body.gif);
	padding: 0;
	margin: 0;
	height: 100%;
}
body { padding: 0 5px; }

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a, a:visited { color: #523275; }
a:hover		{ text-decoration: underline; color: #E30304; }
hr	{ height: 0px; border: solid #523275 0px; border-top-width: 1px;}
form { display: inline; padding: 0; margin: 0; }
img { border: 0; }
br.spacer { height: 5px; font-size: 5px; line-height: 5px; overflow: hidden; }
caption { margin: 0; padding: 0; }
iframe { border: none; background-color: #EDEFF5; }

/* new links */
.col-new a, .col-new a:visited { color: #E30304; }
.col-new a:hover { color: #FA4B4B; }


/* Header and Logo */
.border-left { background: url(images/border_left.gif) top right repeat-y; }
.border-right { background: url(images/border_right.gif) top left repeat-y; }
#logotable td { background: url(images/logo_mid.gif) top left repeat-x; height: 71px; overflow: hidden; }
.logo-row { background: url(images/logo_left.gif) top left no-repeat;  height: 71px;  overflow: hidden; }
.logo-row2 { background: url(images/logo_right.gif) top right no-repeat; height: 71px; vertical-align: middle;  overflow: hidden; }
#buttonstable td { background: url(images/buttons.gif) top left repeat-x; height: 25px; }
#header-buttons {
	font-size: 11px;
	color: #A1A4D0;
	padding-top: 5px;
}
#header-buttons a, #header-buttons a:visited {
	color: #E9E7F0;
	text-decoration: none;
}
#header-buttons a:hover { color: #FFF; text-decoration: underline; }
.mainrow { background: #EDEFF5 url(images/content.gif); }
.content { padding: 2px 5px; }
.content-simple { background: #EDEFF5 url(images/content.gif); }

/* This is the outline round the main forum tables */
.forumline	{ 
	border: solid 1px #684C88; 
	background: #FFFFFF url(images/forumline.gif);
	border-width: 0 1px 1px 1px;
}
.forumline-top { border: solid 1px #684C88; }
html>body .forumline {	/* Workaround for Mozilla bug */
	margin-top: -2px;
	background: inherit;
}
@media all and (min-width: 0px)
{
	html>body .forumline {	/* Don't let Mozilla workaround to mess up display with Opera */
		margin-top: 0;
		background: #FFFFFF url(images/forumline.gif);
	}
}

/* Forum header */
.forumheader td { 
	background: url(images/hdr_mid.gif) left bottom repeat-x;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	color: #F1F1F8;
}
.forumheader-mid { 
	padding-top: 2px;
}
.forumheader a, .forumheader a:visited {
	color: #F1F1F8;
	text-decoration: underline;
}
.forumheader a:hover {
	color: #D3D2E6;
	text-decoration: underline;
}

/* pm popup */
.pm-old { display: none; }
.pm-new { margin: 30px; }
.pm-new a, .pm-new a:visited { 
	border: solid 1px #E30304; 
	padding: 25px 45px;
	color: #523275;
	text-decoration: underline;
	font-size: 12px;
	font-weight: bold;
}
.pm-new a:hover, .pm-new a:active {
	color: #E30304;
}
/* Main table cell colours and backgrounds */
td.row1, td.row2, td.row3, td.row3Right, td.postbottom {
	border-left: solid 1px #8D76A4;
	border-right: solid 1px #7D689B;
	border-top: solid 1px #725A91;
	border-bottom: solid 1px #684C88;
	background: #DBDAE7 url(images/row.gif) top left repeat-x;
}
tr.col-new td.row1, tr.col-new td.row2, tr.col-new td.row3, tr.col-new td.row3Right {
	border-left: solid 1px #C42E35;
	border-right: solid 1px #CB1D23;
	border-top: solid 1px #D60E12;
	border-bottom: solid 1px #E30304;
	background: #ECEEF4 url(images/row_new.gif) top left repeat-x;
}

/* Header cells - the blue and silver gradient backgrounds */
th, td.spaceRow, td.th {
	color: #E7E6F0; 
	font-size: 10px; 
	font-weight: bold;
	text-transform: uppercase;
	background: #705B8E url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 3px;
	text-align: center;
	height: 22px;
	border: solid 1px #463262;
}
th.left { text-align: left; }

td.catBottom {
	background: #EAEAF1 url(images/catbottom.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #8D76A4;
	border-right: solid 1px #7D689B;
	border-top: solid 1px #725A91;
	border-bottom: solid 1px #684C88;
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.spaceRow2 {
	background: #EAEAF1 url(images/catbottom.gif) top left repeat-x;
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #8D76A4;
	border-right: solid 1px #7D689B;
	border-top: solid 1px #725A91;
	border-bottom: solid 1px #684C88;
}
td.spaceRow, td.spaceRow2 { height: 2px; overflow: hidden; font-size: 2px; line-height: 2px; padding: 0; }
.cat,.catHead,.catSides,.catLeft,.catRight,.catBottom { font-size: 12px; }


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.catHead { font-size: 12px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
			text-decoration: none; line-height : 120%; color : #000000;
}


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #523275; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #E30304; text-decoration: underline; }

.generror { color: #F31111; }
.progress { background-color: #E30304; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000 }
a.mainmenu		{ text-decoration: none; color : #523275;  }
a.mainmenu:hover{ text-decoration: underline; color : #E30304; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #523275; }
a.forumlink 	{ text-decoration: none; color : #523275; }
a.forumlink:hover{ text-decoration: underline; color : #E30304; }
.col-new a.forumlink, .col-new a.forumlink:visited { color: #E30304; }
.col-new a.forumlink:hover { color: #FA4B4B; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; color : #523275; }
a.nav:hover		{ text-decoration: underline; }


/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #523275; }
a.topictitle:visited { text-decoration: none; color : #6C4B91; }
a.topictitle:hover	{ text-decoration: underline; color : #E30304; }
.col-new a.topictitle, .col-new a.topictitle:visited { color: #E30304; }
.col-new a.topictitle:hover { color: #FA4B4B; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size: 11px; }
.postername		{ font-size: 11px; font-weight: bold; color: #523275; line-height: 1.5em; }

/* Location, number of posts, post date etc */
.postdetails		{ font-size: 10px; }
.posterrank		{ font-size: 9px; color: #65577A; }
.posterprofile	{ font-size: 10px; color: #65577A; }

/* The content of the posts (body of text) */
.postbody { font-size: 12px;}
.postbody a	{ text-decoration: none; color: #523275; }
.postbody a:visited { text-decoration: none; color: #6C4B91; }
.postbody a:hover { text-decoration: underline; color: #E30304; }

/* Other post stuff */
td.postbottom { 
	background: #C3C4CE url(images/profile.gif) top left repeat-x; 
	font-size: 10px;
	color: #523275;
	white-space: nowrap;
}

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #523275;
}

/* Quote & Code blocks */
.quote-table, .code-table {
	border: solid 1px #523275;
	margin: 5px 0;
}
.quote-corner, .code-corner {
	background-color: #6F4F92;
	border-right: solid 1px #523275;
}
.quote-left {
	background: #6F4F92 url(images/quote_left.gif) center center no-repeat;
	border-right: solid 1px #523275;
}
.code-left {
	background: #6F4F92 url(images/code_left.gif) center center no-repeat;
	border-right: solid 1px #523275;
}
.quote-header, .code-header {
	border-bottom: solid 1px #523275;
	padding: 0 5px;
	text-align: left;
	vertical-align: middle;
	font-size: 11px;
	color: #523275;
	background-color: #E5E4EE;
}
.quote-text {
	color: #000;
	text-align: left;
	vertical-align: top;
	font-size: 11px;
	line-height: 125%;
	padding: 3px 5px;
	background-color: #E9EBF1;
}

.code-text {
	font-family: Courier, 'Courier New', sans-serif;
	color: #000;
	text-align: left;
	vertical-align: top;
	font-size: 11px;
	line-height: 125%;
	padding: 3px 5px;
	background-color: #E9EBF1;
}

/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}

/* Form elements */
input,textarea, select {
	color: #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
}

input.post, textarea {
	border: solid 1px #523275;
	background-color: #FFF;
}
* html input.post, * html textarea { border-color: #000; }
input.post:hover, textarea:hover { border-color: #E30304; color: #523275; }
input.post:focus, textarea:focus { border-color: #000; color: #000; }


select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color: #DBDAE7;
	color: #523275;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
	border: solid 1px #C5A1C6;
}
input.button:hover { 
	background-color: #E9EBF1; 
	color: #000;
}
* html input.button { color: #000; }

/* The main submit button option */
input.mainoption {
	background-color: #FFF;
	font-weight : bold;
	border: solid 1px #000;
}

/* None-bold submit button */
input.liteoption {
	background-color: #F1E9EC;
	font-weight : normal;
	border: solid 1px #000;
}

input.mainoption:hover, input.liteoption:hover { color: #523275; border-color: #523275; }
input.mainoption:focus, input.liteoption:focus { color: #523275; border-color: #000; }


/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DBDAE7; border: solid 1px #DBDAE7; }


/*
	Styled checkboxes and radio buttons.
	Created by Philip Howard, GamingHeadlines.co.uk
	Web: http://www.gamingheadlines.co.uk/wod/formstyle/index.html
*/
.checkbox {
	background: url(images/CheckboxUnchecked.gif) no-repeat center center;
	display: block; 
	width: 16px; 
	height:16px;
}
a.checkbox, a.checkboxchecked {
	display: block;
	width: 16px;
	height: 16px;
	cursor: pointer;
	cursor: hand;
}
a.checkbox {
	background: url(images/CheckboxUnchecked.gif) no-repeat center center;
}
a.checkboxchecked {
	background: url(images/CheckboxChecked.gif) no-repeat center center;
}

.radiobox {
	background: url(images/RadioboxUnchecked.gif) no-repeat center center;
	display: block; 
	width: 16px; 
	height:16px;
}
a.radiobox, a.radioboxchecked {
	display: block;
	width: 16px;
	height: 16px;
	cursor: pointer;
	cursor: hand;
}
a.radiobox {
	background: url(images/RadioboxUnchecked.gif) no-repeat center center;
}
a.radioboxchecked {
	background: url(images/RadioboxChecked.gif) no-repeat center center;
}

.inputhidden { display: none; }