.main #body-simple {
	background: #FFF;
	padding: 5px;
}

/* Misc stuff */
.main .gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

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

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

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

.main .error, table td .error {
	color: #FF7200;
}

.main .spacer {
	background: #9DBE99 url(images/cathead.gif) top left repeat-x;
}

.main hr	{ height: 0px; border: solid #AAC9AC 0px; border-top-width: 1px;}

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

/* Links
 ------------ */
.main a {
	color: #218370;
	text-decoration: none;
}

.main a:active,
.main a:visited {
	color: #218370;
	text-decoration: none;
}

.main a:hover {
	color: #FF7200;
	text-decoration: underline;
}

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

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

.main a.topictitle, .postbody a {
	color: #218370;
}
.main a.topictitle:visited, .postbody a:visited {
	color: #196254;
}
.main a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #218370;
}
.main a.topictitle:hover, .postbody a:hover {
	color: #FF7200;
}

/* Header and logo */
.main #maintable {
	margin: 0 auto;
	background-color: #FFF;
}
.main #header, .row-left, .row-right { padding: 0; }

.main .row-left { width: 4px; overflow: hidden; background: url(images/row_left.gif) top left repeat-y; }
.main .row-right { width: 4px; overflow: hidden; background: url(images/row_right.gif) top right repeat-y; }

.main .pm-notify-new, .pm-notify-unread {
	border-left: solid 1px #9DC99F;
	border-right: solid 1px #8CBE8E;
	border-top: solid 1px #9DC99F;
	border-bottom: solid 1px #8CBE8E;
	background: #F0F6EE url(images/cell.gif) top left repeat-x;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}
.main .pm-notify-new a, .main .pm-notify-new a:visited, .main .pm-notify-unread a, .main .pm-notify-unread a:visited { text-decoration: underline; }
.main .pm-notify-header {
	margin-bottom: 10px;
	color: #FF7200;
}
.main .pm-notify-new { padding: 30px; }

/* Navigation buttons */
.main .navrow {
	background: url(images/buttons.gif) top left repeat-x; 
	height: 21px;
	overflow: hidden;
	color: #A1BE9D;
	text-align: center;
	font-size: 11px;
	padding-top: 4px;
}
/* * html .navrow { padding: 0; } */
.main .navrow b, .navrow strong { font-weight: normal; }
.main .navrow a, .navrow a:visited {
	color: #218370;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
}
.main .navrow a:hover { 
	color: #FF7200; 
	text-decoration: underline; 
}

.main a.link-new, .main a.link-new:visited { color: #FF7200; }
.main a.link-new:hover, .main a.link-new:visited:hover { color: #E07B29; }

/* footer */
.main .row-bottom { 
    padding: 0;
    overflow: hidden;
    background: url(images/bottom_bg.gif) top left repeat-x; 
    height: 10px;
}
.main .row-bottom div {
    height: 10px;
    background: url(images/bottom_left.gif) top left no-repeat;
}
.main .row-bottom div div {
    background: url(images/bottom_right.gif) top right no-repeat;
}

/* Content and tables */
.main #contentrow {
	padding: 8px;
}

.main .tablebg {
	border: solid 1px #CCDFDF; 
	background: #F0F6EE url(images/cell.gif) top left repeat-x;
}
.main .block-start .tablebg { 
    border-top-width: 0; 
    border-bottom-width: 0; 
    border-color: #1E6658;
}

.main .row1, .main .row2, .main .row3, .main .legend, .main .forumrules, .main tr.row1 .row, .main tr.row2 .row, .main tr.row3 .row, .main .postbottom {
	border-left: solid 1px #fff;
	border-right: solid 1px #AAC9AC;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #AAC9AC;
	background: #F0F6EE url(images/cell.gif) top left repeat-x;
	padding: 4px;
}
.main th {
	color: #75B2A6; 
	font-size: 11px; 
	font-weight: bold;
	background: #F3F8F2 url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #fff;
	border-right: solid 1px #AAC9AC;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #AAC9AC;
}
.main th a, .main th a:visited {
	color: #75B2A6 !important;
	text-decoration: underline;
}
.main th a:hover {
	color: #FF7200;
	text-decoration: underline;
}

.main td {
	padding: 2px;
}
.main td.profile {
	padding: 4px;
}
.main .catdiv, .main .cat, .cathead {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #A6C3A1;
	border-right: solid 1px #AAC9AC;
	border-top: solid 1px #6D9A6A;
	border-bottom: solid 1px #AAC9AC;
	background: #9FBF9E url(images/cathead.gif) top left repeat-x;
	color: #EEF7EE;
}

.main .cat, .main .cathead {
	text-indent: 4px;
}

.main .catdiv a, .main .cathead a, .main .cat a {
    color: #EEF7EE;
    text-decoration: underline;
}
.main .catdiv a:hover, .main .cathead a:hover, .main .cat a:hover {
    color: #fff;
    text-decoration: underline;
}


/* Table header */
.main caption { 
	margin: 0; 
	padding: 0;
	background: url(images/hdr_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 27px;
	text-align: left;
}
.main .cap-left {
	/*background: url(images/hdr_left.gif) top left no-repeat;*/
}
.main .cap-right {
	/*background: url(images/hdr_right.gif) top right no-repeat;*/
	padding-top: 6px;
	padding-left: 23px;
	height: 21px;
}
.main caption, .main caption h1, .main caption h2, .main caption h3, .main caption h4, .main caption span { 
	font-size: 12px;
	font-weight: bold;
	color: #EEF7EE;
}
.main caption h1, .main caption h2, .main caption h3, .main caption h4, .main caption span { 
	display: inline;
}
.main caption a, .main caption a:visited {
	color: #EEF7EE;
	text-decoration: underline;
}
.main caption a:hover {
	color: #FFF;
	text-decoration: underline;
}

.main .block-start { background: url(images/ftr_mid.gif) bottom left repeat-x; }
/*.main .block-end-left { background: url(images/ftr_left.gif) top left no-repeat; }
.main .block-end-right { background: url(images/ftr_right.gif) top right no-repeat; }
.main .block-end-left, .main .block-end-right { height: 4px; overflow: hidden; padding: 0; }*/

/* Footer */
.main #wrapfooter {
	text-align: center;
	color: #CCC;
	padding-top: 10px;
}

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


/* Breadcrumbs */
.main .breadcrumb .row1 { 
    border-width: 1px 0 0 1px; 
    background: #E0EBEB;    
}
.main p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #8EB38B;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}
.main .rtl p.breadcrumbs {
	float: right;
}

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

.main .rtl p.datetime {
	float: left;
}

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

.main .forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border-left: solid 1px #B9D3BC;
	border-right: solid 1px #AAC9AC;
	border-top: solid 1px #B9D3BC;
	border-bottom: solid 1px #AAC9AC;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.main .forumrules h3 {
	color: #FF7200;
}

/* Post */
.main .postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #218370;
}
.main td.postbottom { 
	background: #F4F9F3 url(images/profile.gif) top left repeat-x; 
	font-size: 10px;
	color: #88AD84;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
	border-left: solid 1px #F0F7F0;
	border-top: solid 1px #F0F7F0;
	border-right: solid 1px #A8C4A7;
	border-bottom: solid 1px #A8C4A7;
}
.main td.postbuttons { padding-top: 3px; }
.main .postdetails { 
	color: #8EB088;
	font-size: 10px; 
	text-align: left;
}
.main .postdetails b {
	color: #8EB088;
}
.main .posterrank		{ font-size: 9px; color: #719E6E; }
.main .posterprofile	{ font-size: 10px; color: #218370; }

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

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

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

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

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

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

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

.main .posthilit {
	background-color: #AECAAA;
}

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

.main .postbody a { text-decoration: underline; }

/* UCP */
.main .folder-current a, .main .folder-current a:visited {
	color: #FF7200;
	font-weight: bold;
}
.main .folder-current a:hover { color: #FF7200; }

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

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

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

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


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

.main textarea, .main select, .main .post, .main .btnbbcode, .main .btnmain, .main .btnlite, .main .btnfile, .main .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #AAC9AC;
	background-color: #F2F8F2;
}
.main .cat .btnmain, .main .cat .btnlite, .main .cat select {
    color: #444;
    background-color: #E1ECEC;
    border-color: #8EB288;
}

.main input {
	font-size: 1.1em;
	padding: 1px;
}
.main textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}
.main select {
	font-size: 1.1em;
	padding: 1px;
}

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

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

.main .post {
	border-style: solid;
	border-width: 1px;
}

.main .btnbbcode {
	font-size: 1.1em;
	color: #218370;
	border: 1px solid #C7DDCA;
}
.main .btnbbcode:hover {
	border-color: #AAC9AC;
	color: #000;
}

.main .btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.main .btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.main .btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.main .helpline {
	background-color: transparent;
	color: #AAA;
	border-style: none;
}
.main #helpline { color: #AAA; }

* html .main  textarea, * html .main select, * html .main .post, * html .main .btnmain, * html .main .btnlite, * html .main .btnfile {
	border-color: #AAC9AC;
}
* html .main .cat .btnmain, * html .main .cat .btnlite {
    border-color: #AAC9AC;
}
.main textarea:hover, .main select:hover, .main .post:hover, .main .btnmain:hover, .main .btnlite:hover, .main .btnfile:hover {
	border-color: #83AB84;
}
.main textarea:focus, .main select:focus, .main .post:focus, .main .btnmain:focus, .main .btnlite:focus, .main .btnfile:focus {
	border-color: #608A61; 
	color: #000;
}
.main .cat .btnmain:hover, .main .cat .btnlite:hover, .main .cat select:hover {
    border-color: #375336;
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
    border-color: #375336;
    color: #000;
}

label:hover { 
	color: #FF7200; 
}

/* BBCode
 ------------ */
.quotetitle, .attachtitle, .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px;
	border: solid 1px #C6DBC7;
	color: #218370;
	background-color: #EAF2E9;
	font-size: 0.85em;
	font-weight: bold;
}

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

.quotecontent, .attachcontent {
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #C6DBC7;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
/*	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */
	background-color: #EFF7EE;
	color: #444;
}

.attachcontent {
	font-size: 0.85em;
}

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

.quotewrapper, .codewrapper, .attachwrapper {
	clear: both;
	margin: 10px 5px;
	background: #EAF2E9 url(images/code_header.gif) top left no-repeat;
	padding-left: 19px;
	border: solid 1px #C6DBC7;
	border-bottom-color: #AAC9AC;
	border-right-color: #AAC9AC;
}
.quotewrapper { background-image: url(images/quote_header.gif); }
.quotewrapper .quotetitle, .codewrapper .codetitle, .attachwrapper .attachtitle { 
	margin: 0; 
	border-width: 0 0 1px 1px;
}
.quotewrapper .quotecontent, .codewrapper .codecontent, .attachwrapper .attachcontent {
	margin: 0; 
	border-width: 0 0 0 1px;
}
.attachcontent, html>body .postbody {
	overflow: auto;
	overflow-x: auto;
}

.syntaxbg {
	color: #EFF7EE;
}

.syntaxcomment {
	color: #218370;
}

.syntaxdefault {
	color: #444;
}

.syntaxhtml {
	color: #5E8858;
}

.syntaxkeyword {
	color: #427F3B;
}

.syntaxstring {
	color: #598754;
}


/* 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: 0px;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0px;
	float: left;
	color: #218370;
	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;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #FFF;
}

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


/* bugs */
@media all and (min-width: 0px)
{
	/* 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;
	}

}