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

html {
	font-size: 100%;
}

body {
	color: #000;
	background-color: #d4d5be;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	margin: 0;
	padding: 3px;
}

/* CSS for the box starts here */
.box {
	padding:0 20px 0 0;
	background:#fff url(images/borders.gif) 100% 0 repeat-y;
}
.bi {
	padding:0 0 0 20px;
	background:#fff url(images/borders.gif) 0 0 repeat-y;
}
.bt {
	height:20px;
	margin:0 -19px;
	background:url(images/box.gif) 100% 0 no-repeat;
}
.bt div {
	width:20px;
	height:20px;
	background:url(images/box.gif) 0 0 no-repeat;
}
.bb {
	height:20px;
	margin:0 -19px;
	background:url(images/box.gif) 100% 100% no-repeat;
}
.bb div {
	width:20px;
	height:20px;
	background:url(images/box.gif) 0 100% no-repeat;
}

#body-simple {
	background: #FAFBFC;
	padding: 5px;
}

#wrapper {
	background: url(images/bg_body_top.gif) top left repeat-x;
	padding: 0px;
	margin: 0 auto;
	max-width: 990px;
	min-width: 760px;
	width: expression(document.body.clientWidth > 990 ? "990px" : "auto");
}

/* the bodge for IE6 browsers 
* html #wrapper {border-left:760px solid #fff; position:relative; float:left; z-index:1;}
* html #wrapper_container {margin-left:-760px; position:relative; float:left; z-index:2; text-align:left;}
*/
/* Misc stuff */
img {
	border: none;
}

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

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

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

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error, table td .error {
	background-color: #FFFFDD;
	color: red;
	font-weight: normal;
	font-size: 9pt;
	display: block;
	padding: 8px;
	border: 2px solid red;
	text-align: center;
}

.notice, table td .notice {
	color: red;
}

.spacer {
	background: #458D3E url(images/spacerbg.gif) top left repeat-x;
}

hr	{ height: 0; border: solid #35822E 0; border-top-width: 1px;}

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

.topic_info {
	display: block;
	float: left;
	padding: 0 6px 0 0;
}

.topic_pagination {
	display: block;
	float: right;
	width: auto;
	margin-top: 0;
	padding: 3px 3px 3px 18px;
	font-size: 1.1em;
	background: transparent url(images/icon_pages.gif) 4px 50% no-repeat;
	white-space: nowrap;
}

/* Links
 ------------ */
a {
	color: #35822E;
	text-decoration: none;
}

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

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

a.forumlink {
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.3em;
}

a.topictitle {
	margin: 1px 0;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
}

a.topictitle, .postbody a {
	color: #35822E;
}
a.topictitle:visited, .postbody a:visited {
	color: #4B9A44;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #FF1010;
}
a.topictitle:hover, .postbody a:hover {
	color: #FF1010;
}

/* Header and logo */
#maintable {
	border: solid 1px #999;
	border: none;
	margin: 0 auto;
	background-color: #FAFBFC;
}
#logorow {
	/*background: #FAFBFC url(images/bg_logo.gif) top left repeat-x;*/
	background: #FAFBFC;
	text-align: left;
	padding: 0 0 6px 0;
	min-height: 70px;
}

.pm-notify-new, .pm-notify-unread {
	border: solid 2px #35822E;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}
.pm-notify-new a, .pm-notify-new a:visited, .pm-notify-unread a, .pm-notify-unread a:visited { text-decoration: underline; }
.pm-notify-header {
	margin-bottom: 10px;
	color: #666;
}
.pm-notify-new, .pm-notify-unread:hover {
	border: solid 2px #FF1010;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navtd {
	padding: 0 0 5px 0;
}
.navrow-right { float: right; }
.navrow {
	background: #F1F1F1 url(images/bg_nav.gif) top left repeat-x; 
	border: solid 1px #E0E0E0;
	padding: 5px;
	color: #FF1010;
	text-align: left;
	font-size: 11px;
}
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #35822E;
	text-decoration: none;
}
.navrow a:hover { 
	color: #FF1010; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #D11010; }
a.link-new:hover, a.link-new:visited:hover { color: #FF1010; }

/* Content and tables */
#contentrow {
	padding: 5px 0;
}

.tablebg {
	border: solid 1px #BBB;
	border-top-color: #C8C8C8;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
}

.row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	padding: 4px;
}
th {
	color: #FFF; 
	font-size: 11px; 
	font-weight: bold;
	background: #48A44F url(images/bg_thead.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-style: solid;
	border-width: 1px;
	border-color: #70BC7A #35963C #48A44F #70BC7A;
}
th a, th a:visited {
	color: #FFF !important;
	text-decoration: underline;
}
th a:hover {
	color: #35822E;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
}
.cat {
	height: 24px;
	padding: 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}

.legend {
	padding: 4px;
}


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
}
.cap-left {
	background: url(images/tcat_left.gif) top left no-repeat;
	padding-left: 20px;
}
.cap-right {
	background: url(images/tcat_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 13px;
	line-height: 1.2em;
	font-weight: bold;
	color: #35822E;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #35822E;
	text-decoration: underline;
}
caption a:hover {
	color: #FF1010;
	text-decoration: underline;
}

/* Footer */
#wrapfooter {
	text-align: center;
	color: #666;
	padding-top: 10px;
	clear: both;
}

.copyright {
	color: #666;
	font-weight: normal;
	font-size: 9px;
	line-height: 1.2em;
}
.copyright a, .copyright a:visited {
	color: #444;
	text-decoration: underline;
}
.copyright a:hover { color: #FF1010; }


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #AAA;
	font-weight: bold;
	white-space: normal;
	font-size: 1.1em;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 1.1em;
}

.rtl p.datetime {
	float: left;
}

/* Index/viewforum */
.subforum.read { 
	background: url(images/sub_old.gif) top left no-repeat;
	padding-left: 12px;
}
.subforum.unread { 
	background: url(images/sub_new.gif) top left no-repeat;
	padding-left: 12px;
}
.legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
}
.legend-viewforum { 
	margin: 0; 
	text-align: left; 
}

.forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border-left-color: #AAA;
	border-top-color: #AAA;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #D11010;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #35822E;
}

.postsubject a, .postsubject img {
	vertical-align: middle;
}

td.postbottom { 
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	font-size: 10px;
	color: #444;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #666;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #444;
}
.posterrank		{ font-size: 9px; color: #666; }
.posterprofile	{ font-size: 10px; color: #666; }

.postauthor {
	color: #35822E;
	font-size: 12px;
	margin-bottom: 3px;
	font-weight: bold;
}
.postonline { margin-bottom: 2px; }

.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
	margin: 1px 0px;
	color: #D11010;
	font-weight: bold;
	vertical-align: middle;
	line-height: 120%;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active {
	color: #00FF00;
	font-weight: bold;
}

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

.postbody {
	font-size: 12px;
	line-height: 1.4em;
	margin: 3px 0;
}
.signature {
	font-size: 11px;
	color: #888;
	margin-top: 5px;
}
.signature .line { color: #AAA; }

.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: #FFCC00;
}

.postbody a, .postbody a:visited { text-decoration: underline; }

.postrankimg {
	padding: 2px 0;
}
/* UCP */
.folder-current a, .folder-current a:visited {
	color: #000;
	font-weight: bold;
}
.folder-current a:hover { color: #FF1010; }

td.pm_marked_colour { background: #FF0033; }
td.pm_marked_colour_left { border-left: solid 3px #FF0033; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #FF0033; padding-right: 2px; }

td.pm_replied_colour { background: #35822E; }
td.pm_replied_colour_left { border-left: solid 3px #35822E; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #35822E; padding-right: 2px; }

td.pm_friend_colour { background: #6699FF; }
td.pm_friend_colour_left { border-left: solid 3px #6699FF; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px #6699FF; padding-right: 2px; }

td.pm_foe_colour { background: #DD8100; }
td.pm_foe_colour_left { border-left: solid 3px #DD8100; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD8100; padding-right: 2px; }


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

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #888;
	background-color: #FFF;
}
#helpline { color: #444; }

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1.3em; 
	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: 1px;
}

.btnbbcode {
	font-size: 1.1em;
	border: 1px solid #86B184;
}
.btnbbcode:hover {
	border-color: #444;
	color: #000;
}

.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: #444;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #888;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #35822E;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #275A25; 
	color: #000;
}

label { 
	vertical-align: middle;
	line-height: 180%;
}

label input { 
	vertical-align: middle;
}

label:hover { 
	color: #FF1010; 
}

/* BBCode
 ------------ */
.quotetitle, .attachtitle, .codetitle {
	margin: 0;
	padding: 2px 4px;
	border-bottom: solid 1px #327534;
	border-left: solid 1px #327534;
	color: #327534;
	background-color: #EEF5EF;
	font-size: 0.85em;
	font-weight: bold;
}

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

.attachcontent {
	font-size: 1em;
}


.attachtitle {
	font-size: 1em;
	padding: 4px 4px;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #327534;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #EEF5EF;
	color: #444;
}

.quotewrapper, .codewrapper, .attachwrapper {
	clear: both;
	margin: 10px 5px;
	padding-left: 19px;
	border: solid 1px #327534;
}

.quotewrapper { background: #4F9251 url(images/quote_header.gif) top left no-repeat; }
.codewrapper { background: #4F9251 url(images/code_header.gif) top left no-repeat; }
.attachwrapper { background: #4F9251 url(images/attach_header.gif) top left no-repeat; }

.quotewrapper .quotecontent, .codewrapper .codecontent, .attachwrapper .attachcontent {
	margin: 0; 
	border-width: 0 0 0 1px;
}

.attachcomment, .attachinfo {
	clear: both;
	font-size: 1em;
}

.attachcomment {
	padding: 0 0 4px 0;
}

.attachinfo {
	padding: 4px 0 0 0;
}

.attachinline {
	margin: 8px 0;
}

.attachinline .attachcomment {
	margin: 2px 0;
	padding: 0;
	font-size: 0.85em;
}

.attachinline .attachinfo {
	margin: 2px 0;
	padding: 0;
	font-size: 0.85em;
}

.syntaxbg {
	color: #000;
}

.syntaxcomment {
	color: #666;
}

.syntaxdefault {
	color: #000;
}

.syntaxhtml {
	color: #000;
}

.syntaxkeyword {
	color: #D18110;
}

.syntaxstring {
	color: #35822E;
}

.smile {
	display: block;
	width: 35px;
	height: 32px;
	float: left;
	text-align: middle;
}

.smile img {
	display: block;
	text-align: middle;
	vertical-align: middle;
	margin: auto auto;
}


/* More misc stuff */
h1 {
/*	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; */
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	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: #808080;
	font-weight: normal;
}

.rtl p.moderators {
	float: right;
}

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

.rtl p.linkmcp {
	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;
}

p.topicdetails a, p.topicdetails img {
	vertical-align: middle;
}

td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #DDD;
}

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

.sep {
	color: #444;
}

/* Rules & Netiquette */
.rules {
	padding: .6em;
	font-size: 1.2em;
}

.rules p {
	font-size: 12px; 
	margin-bottom: 1.2em;
}

.rules li {
	margin-bottom: .4em;
}

.rules ul {
	margin-top: .4em;
	margin-bottom: 1.2em;
}

.rules h1 {
	margin-top: .4em;
	margin-bottom: .8em;
	font-size: 18px;
}


/* bugs */
@media all and (min-width: 0)
{
	/* reset file input style for Opera - it changes only text color and border, but not bg color */
	.btnfile, .btnfile:hover, .btnfile:focus { 
		border: none; 
		background-color: #FFF;
		color: #000;
	}

}

.rcb {
	display: table;
	width: 100%;
}

.rcb embed {
	display: block;
	float: left;
	margin: 0 5px 0 0;
}

.rcb .playout {
	display: block; 
	float: left;
	border: 1px solid #327534;
}

.rcb .playout a {
	padding: 0 8px;
	height: 21px;
	font-size: 8pt;
	line-height: 21px;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
}

.rcb a:active, .rcb a:visited {
	color: #35822E;
	text-decoration: none;
}

.rcb a:hover {
	color: #FF1010;
	text-decoration: underline;
}

.notes {
	margin: 12px 0 0 0;
	padding: 0 0 0 20px;
	background: url(images/comment.gif) no-repeat;
	background-position: 0 1px;
	min-height: 18px;
	height: auto !important;
	height: 18px;
	line-height: 150%;
}

.bumped {
	margin: 12px 0 0 0;
	padding: 0 0 0 20px;
	background: url(images/bumped.gif) no-repeat;
	background-position: left top;
	min-height: 18px;
	height: auto !important;
	height: 18px;
	line-height: 150%;
}
