/* Layout
 ------------ */
* {
	/* Reset browsers default margin and padding */
	margin: 0;
	padding: 0;
}

html, body {
	background-image: url("/Images/Background.png");
	background-attachment: fixed;
	font-family: Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 1em;
	color: black;
}

#body-simple {
	padding: 0px 5px 0px 5px;
}

#maintable {
	margin: 0 auto;
	padding: 0;
	width: 950px;
}

/* Misc stuff */
img {
	border: 0px;
	margin: 3px;
}

.large {
	font-size: 1.1em;
}

.small {
	font-size: 0.9em;
}

h1 {
	font-family: "Black Chancery", Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 2em;
	letter-spacing: 1px;
	line-height: 120%;
}

h2 {
	font-family: "Black Chancery", Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 1.5em;
	letter-spacing: 1px;
	line-height: 120%;
}

h3 {
	font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Arial, "Liberation Sans", sans-serif;
	font-size: 1.2em;
	letter-spacing: 1px;
	line-height: 120%;
}

h4 {
	font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Arial, "Liberation Sans", sans-serif;
	font-size: 1em;
	font-weight: bold;
}

.titles {
	font-family: "Black Chancery", Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
}

.forumlink {
	font-family: "Black Chancery", Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
}

.topictitle {
	font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Arial, "Liberation Sans", sans-serif;
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
}

.error {
	color: maroon;
}

.spacer {
	height: 10px;
}

hr {
	width: 90%;
	text-align: center;
}

.pagination {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
}

/* Links
 ------------ */
a:link, a:visited {
	color: black;
	text-decoration: none;
}

a:active, a:link:hover, a:visited:hover {
	color: maroon;
	text-decoration: none;
}

.forumdesc a:link, .forumdesc a:visited,
.postbody a:link, .postbody a:visited {
	color: maroon;
	text-decoration: none;
}

.forumdesc a:active, .forumdesc a:link:hover, .forumdesc a:visited:hover,
.postbody a:active, .postbody a:link:hover, .postbody a:visited:hover {
	color: red;
	text-decoration: none;
}

/* Tables */
table {
	border-collapse: collapse;
}

table.border {
	border: solid 2px black;
	width: 100%;
}

caption {
	font-family: "Black Chancery", Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	padding-left: 20px;
	text-align: left;
}

th {
	font-weight: bold;
	white-space: nowrap;
	text-align: center;
	border: solid 2px black;
	padding: 4px;
}

td.row, td.row1, td.row2, td.row3 {
	border: solid 2px black;
	padding: 4px;
}

td.profile {
	padding: 4px;
}

td.cat {
	padding: 0 3px;
	border: solid 2px black;
	text-indent: 4px;
}

/* SubNavigation buttons */
.subnav div {
	padding: 4px;
	text-align: left;
}
.subnav div.right {
	float: right;
}
.subnav div.left {
	float: left;
}
.subnav b, .subnav strong {
	font-weight: normal;
}

/* Content */
#contentrow {
	padding: 5px 10px;
}

/* Board notification box */
.notification {
	border: solid 2px black;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
}

.notification-header {
	font-family: "Black Chancery", Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	margin-bottom: 10px;
}

/* Breadcrumbs */
p.breadcrumbs {
	float: left;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	white-space: nowrap;
	float: right;
}

.rtl p.datetime {
	float: left;
}

/* Footer */
#footerrow, #wrapfooter {
	font-size: 0.8em;
}

/* Index / viewforum */
.legend {
	text-align: left; 
	margin: 0 auto;
	padding: 2px;
}

/* viewtopic */
table.poll img {
	margin: 0;
}

td.postdate {
	padding: 2px;
	height: 1.2em;
	font-size: 1em;
	white-space: nowrap;
	text-align: center;
	vertical-align: middle;
}
.postauthor {
	color: black;
	font-size: 1.1em;
	margin-bottom: 3px;
	font-weight: bold;
}
.posterrank {
	font-size: 0.9em;
}
.postonline {
	margin-bottom: 2px;
}
.postdetails { 
	font-size: 0.9em;
}


.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
	margin: 1px 0px;
	color: maroon;
	font-weight: bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active {
	color: maroon;
	font-weight: bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postsubject {
	font-size: 1.1em;
	font-weight: bold;
	color: black;
}
.postbody {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 3px 0;
}
.signature {
	font-size: 0.9em;
	color: black;
	margin-top: 5px;
}
.signature .line { color: black; }

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
	color: black;
	font-weight: bold;
}
.folder-current a:hover { color: maroon; }

td.pm_marked_colour { background: #888; }
td.pm_marked_colour_left { border-left: solid 3px black; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px black; padding-right: 2px; }

td.pm_replied_colour { background: black; }
td.pm_replied_colour_left { border-left: solid 3px black; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px black; padding-right: 2px; }

td.pm_friend_colour { background: black; }
td.pm_friend_colour_left { border-left: solid 3px black; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px black; padding-right: 2px; }

td.pm_foe_colour { background: maroon; }
td.pm_foe_colour_left { border-left: solid 3px black; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px black; padding-right: 2px; }


/* Form Elements
 ------------ */
textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Arial, "Liberation Sans", sans-serif;
	color: black;
	border: 2px solid black;
}
#helpline { color: black; }

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1.1em; 
	line-height: 1.4em;
	padding: 2px;
}
select {
	font-size: 1.1em;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

.rtl option {
	padding: 0 0 0 1em;
}

.post {
	border-style: solid;
	border-width: 2px;
}

.btnbbcode {
	font-size: 1.1em;
	border: 2px solid black;
}
.btnbbcode:hover {
	border-color: black;
	color: black;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	/*background-color: transparent;*/
	color: black;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: black;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: black;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: black; 
	color: black;
}

label:hover { 
	color: maroon; 
}

/* BB Code styles
----------------------------------------*/
/* Quote block */
div.quotewrapper {
	clear: both;
	border: 3px ridge black;
	font-size: 0.95em;
	margin-left: 20px;
	margin-right: 20px;
	padding: 5px;
}

div.quotewrapper div.quotetitle {
	/* Username/source of quoter */
	font-style: normal;
	font-weight: bold;
	margin-left: 20px;
	display: block;
}

/* Code block */
dl.codebox {
	padding: 3px;
	border: 3px ridge black;
	font-size: 1em;
}

dl.codebox dt {
	text-transform: uppercase;
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 3px;
	font-size: 0.8em;
	font-weight: bold;
	display: block;
}

blockquote dl.codebox {
	margin-left: 0;
}

dl.codebox code {
	overflow: auto;
	display: block;
	height: auto;
	max-height: 200px;
	white-space: normal;
	padding-top: 5px;
	font-size: 0.9em;
	font-family: "Courier New", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
	line-height: 1.3em;
	color: #8b8b8b;
	margin: 2px 0;
}

.syntaxbg		{ color: #FFFFFF; }
.syntaxcomment	{ color: #000000; }
.syntaxdefault	{ color: #bcbcbc; }
.syntaxhtml		{ color: #000000; }
.syntaxkeyword	{ color: #585858; }
.syntaxstring	{ color: #a7a7a7; }


/* More misc stuff */
p.moderators {
	margin: 0px;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0px;
}

p.topicdetails {
	margin: 1px 0px;
}

table.colortable td {
	padding: 0;
}

pre {
	font-family: "Courier New", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: normal;
}

.sep {
}


/* The top logo and navigation bar */
#topbar {
	position: relative;
	width: 600px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0;
	text-align: center;
}

#topbar h1 {
	width: 219px;
	height: 154px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

#topbar h1 img {
	width: 219px;
	height: 154px;
	margin: 0;
	padding: 0;
}

#topbar ul {
	position: absolute;
	top: 0px;
	width: 154px;
	height: 154px;
	margin: 0;
	padding: 0;
	background: url("/Images/Parchment.png");
}

#topbar ul li:first-child {
	margin-top: 27px;
}

* html #topbar ul {
	/* As IE6 dosn't support transparent PNG. */
	background: url("/Images/Parchment.gif");
	/* As IE6 dosn't support:first-child. Only works becouse of the broken box model of IE6 */
	padding-top: 27px;
}

#topbar ul.left {
	left: 0px;
}

#topbar ul.right {
	right: 0px;
}

#topbar ul li {
	list-style-type: none;
	font-family: Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	margin: 0;
	padding: 0;
}

#topbar a:link, #topbar a:visited {
	color: black;
}

#topbar a:active, #topbar a:link:hover, #topbar a:visited:hover {
	color: maroon;
}

#topbar hr {
	margin: 0;
}

#topbar .tagline {
	font-family: Arial, "Liberation Sans", Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
	font-size: 1.1em;
	margin: 0;
}