/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0px;
	padding: 0px;
}

html {
	font-size: 100%;
	border: 1px black solid;
	background-color:#D6D6D6;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #000000;
	background-color: #FFFFFF;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 7px;
	border: 1px black solid;
}

#wrapheader {
	min-height: 104px;
	height: auto !important;
	height: 104px;
}

#wrapcentre {
	margin: 5px 5px 0px 5px;
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
	width: 100%;
	background-color: #ECECEC;
	border: 1px black solid;
}

#logodesc {
	border-bottom: 1px solid #000000;
	padding-top: 1px;
	padding-bottom: 1px;
	background-image: url('./images/background.gif');
	background-repeat: repeat-x;
	background-position: center;
	height:104px;
	margin-bottom:0px;
}

#menubar {
	margin: 0px 5px;
}

#datebar {
	margin: 0px 5px 0px 5px;
}

#findbar {
	width: 100%;
	margin: 0px;
	padding: 0px;
	border: 0px;
}

.forumrules {
	background-color: #F9CC79;
	border: 1px solid #000000;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
}

.forumrules h3 {
	color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: black;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	float: left;
	color: black;
	white-space: normal;
	font-size: 1.2em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #000000;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: black;
	font-weight: bold;
}
.hlinks {
	position: absolute;
	top: 15px;
	right: 2%;
	vertical-align:middle;
}

.hlinks a:link, .hlinks a:active,  .hlinks a:visited {color: #000000; text-decoration:none;}
.hlinks a:hover {color: #000000; text-decoration:underline;}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {
	
}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: #000000;
	font-weight: normal;
}

.titles {
	font-weight: bold;
	/*font-size: 1.3em;*/
	text-decoration: none;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
/*	color: #FFA34F;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #006699;
	background-image: url('./images/cellpic3.gif');
	white-space: nowrap;
	padding: 7px 5px;*/
	
	color: #000000; 
	font-size: 1.1em; 
	font-weight : bold;
	background-color: silver; 
	height: 25px;
}

td {
	padding: 0px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #FFFFFF;
	border-collapse:collapse;
	border: 1px solid black;
}

.catdiv {
/*	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: white url('./images/cellpic2.jpg') repeat-y scroll top left;*/
	background-color: silver;
}
.rtl .catdiv {
	/*background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;*/
	background-color: white;
}

.cat {
/*	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #C7D0D7;
	background-image: url('./images/cellpic1.gif');
	text-indent: 4px;*/
	background-color:#D4D4D4; 
	border: 0px #FFFFFF solid; 
	height: 28px;
}

.row {
	background-color: #FFFFFF;
	padding: 0px 0px 2px 0px;
}

.row1 {
	background-color: #FFFFFF;
	padding: 4px;
}

.row2 {
	background-color: #F5F5F5;
	padding: 4px;
}

.row3 {
	background-color: #FFFFFF;
	padding: 4px;
}

.spacer {
	background-color: #D1D7DC;
}

hr {
	height: 1px;
	background-color: #000000;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */
a:link {
	color: #c82c2c;
	text-decoration: none;
}

a:active,
a:visited {
	color: #000000;
	text-decoration: none;
}

a:hover {
	color: #c82c2c;
	text-decoration: underline;
}

/* Forum title: Text and link to the forums used in: index.php 006699  DD6900*/
.forumlink		{ font-weight: normal; font-size: 12px; color : #a72222; }
a.forumlink 	{ text-decoration: none; color : #a72222; }
a.forumlink:hover{ text-decoration: underline; color : #c82c2c; }


/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-weight: normal; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #a72222; }
a.topictitle:visited { text-decoration: none; color : #000000; }
a.topictitle:hover	{ text-decoration: underline; color : #c82c2c; }

th a,
th a:visited {
	color: #C82C2C !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: underline;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

/*input {
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #A9B8C2;
	background-color: #FAFAFA;
}

textarea {
	background-color: #FAFAFA;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 1px;
}
*/
input,textarea, select {
	color : #000000;
	border : 1px #000000 solid;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	border: 1px solid;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	background-color: #EFEFEF;
	border: 1px #000000 solid;
}

.btnmain {
	font-weight: bold;
	background-color: #ECECEC;
	border: 1px solid #000000;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #000000;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #000000;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #DEE3E7;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #333333;
	background-color: #A9B8C2;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #000000;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	background-color: #FAFAFA;
	color: #000000;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #000000;
	color: #333333;
	background-color: #A9B8C2;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #000000;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	/*font-family: Monaco, 'Courier New', monospace;*/
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	/*font-weight: bold; ADMIN, MOD COLORING*/
}