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

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #FFFFFF/*#a0a0a0*/;
	background: #000000 /*#232623*/;
	font-size: 11px /*11px*/;
	margin: 2;
	padding: 10px;
        max-width: 1000px;
        width: expression(document.body.clientWidth > 1000 ? "1000px" : "100%" );
	margin-left: auto;
	margin-right: auto;



}
#body-simple {
	background: #003333 /*#1F241F*/;
	padding: 5px;

}

/* 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.2em;
	text-decoration: none;
}

.error, table td .error {
	color: #989B44;
}

.spacer {
	color: #FFFFFF /*607460*/;
	background: #003333/*#293029*/ ;
	/*border: solid 1px #002122  /*373B37*/;
	padding: 1px;*/
}

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

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

/* Links
 ------------ */
a {
	color: #FFFFFF /*759375*/;
	text-decoration: none;
}

a:active,
a:visited {
	color: #a0a0a0 /* #759375*/;
	text-decoration: none;
}

a:hover {
	color: #FFFFFF /*#989B44*/;
	text-decoration: underline;
}

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

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

a.topictitle, .postbody a {
	color: #FFFFFF /*#759375*/;
}
a.topictitle:visited, .postbody a:visited {
	color: #c6c6c6 /*#678366*/;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #FFFFFF /*#819D81*/;
}
a.topictitle:hover, .postbody a:hover {
	color: #FFFFFF /*#989B44*/;
}

/* Header and logo */
#maintable {
    margin: 0 auto;
}

#logorow { background: #000000 /*#1F241F*/ ; }
#logorow1 { background: ; }
#logo-left {
    background: ;
    padding: 0;
    padding-bottom: 4px;
    text-align: left;
}
#logo-right {
    background: ;
    padding: 0;
    padding-bottom: 4px;
    text-align: right;
}
#logo-mid { 
    text-align: center;
    padding: 1px;
}
#logo1 { background: ; }
#logo2 { background: ; }

#contentrow { background: #003333/*#1F241F*/ ;         
padding: 1px;
        border: solid 1px #FFFFFF;
}
#contentrow1 { background: ; }
#content1 { background: ; }
#content2 { background: ; }
#content-left { background: ; }
#content-right { background: ; }
#content-mid { padding: 7px 1px; }

.pm-notify-new, .pm-notify-unread {
    border: solid 1px #505850;
	background: #002122 /*#181B18*/ ;
	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: #FFFFFF /*#989B44*/;
}
.pm-notify-new { 
    border: solid 1px #FFFFFF /*#989B44*/;
    padding: 30px; 
}

/* Navigation buttons */
.navrow {
	height: 21px;
	overflow: hidden;
	color: #FFFFFF;
	text-align: center;
	font-size: 11px;
	padding: 5px;
}
/* * html .navrow { padding: 0; } */
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #a0a0a0 /*#759375*/;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
}
.navrow a:hover { 
	color: #FFFFFF; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #FFFFFF /*#989B44*/; }
a.link-new:hover, a.link-new:visited:hover { color: #AEB15C; }

/* Content and tables */
.tablebg {
	border: solid 0px #000000 /*1px #505850*/; 
	background-color: #000;
}
.block-start .tablebg, .block-start .tablebg .block-start .tablebg { 
    border-top-width: 0; 
    border-bottom-width: 0; 
}
.block-start .tablebg .tablebg { 
    border-top-width: 1px; 
    border-bottom-width: 1px; 
}

.row1, .row2, .row3, .legend, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	background: #003333 /*#181B18*/ ;
	/*border: solid 0px #000000 /* #373B37*/;
	padding: 1px /*1px*/;*/
        

}
th {
	color: #FFFFFF /*#607460*/; 
	font-size: 12px; 
	font-weight: bold;
	background: #002122 /*#293029*/ ;
	border: solid 0px #000000; /*1px #373B37;*/
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
}
th a, th a:visited {
	color: #607460 !important;
	text-decoration: underline;
}
th a:hover {
	color: #748874;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv, .cat, .cathead {
	height: 24px;
	padding: 0 3px;
	background: #002122 /*#161E16*/ ;
	border: solid 1px #000000 /* #373B37*/;
}

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

/* Table header */
caption, .cap-div { 
	margin: 0; 
	padding: 0;
	background: ;
	white-space: nowrap;
	height: 27px;
	text-align: center;
}
.cap-left {
	background: ;
}
.cap-right {
	background: ;
	padding-top: 6px;
	height: 21px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span,
.cap-div, .cap-div h1, .cap-div h2, .cap-div h3, .cap-div h4, .cap-div span { 
	font-size: 12px;
	font-weight: bold;
	color: #c4c4c4;
}
caption h1, caption h2, caption h3, caption h4, caption span,
.cap-div h1, .cap-div h2, .cap-div h3, .cap-div h4, .cap-div span { 
	display: inline;
}
caption a, caption a:visited, .cap-div a, .cap-div a:visited {
	color: #c4c4c4;
	text-decoration: underline;
}
caption a:hover, .cap-div a:hover {
	color: #dcdcdc;
	text-decoration: underline;
}

.block-start { background: ; }
.block-end-left { background: ; }
.block-end-right { background: ; }
.block-end-left, .block-end-right { height: 4px; overflow: hidden; padding: 0; }

/* Footer */
#wrapfooter {
	text-align: center;
	color: #8a8a8a;
	padding-top: 10px;
}

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


/* Breadcrumbs */
.breadcrumb { background-color: #000; }
.breadcrumb .row1 { 
    background: #002122 /*#181B18*/;
}
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #FFFFFF /*#a0a0a0*/;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 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: solid 1px #505850;
	background: #002122 /*#181B18*/;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #FFFFFF /*#989B44*/;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF /*#759375*/;
}
td.postbottom { 
	background: #003333 /*#171C17*/ url(images/profile.gif) top left repeat-x; 
	font-size: 10px;
	color: #FFFFFF /*#909090*/;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
	/*border: solid 1px #373B37;*/
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #a9a9a9 /*#b0b0b0*/;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #FFFFFF /*#b0b0b0*/;
	font-weight: normal;
}
.posterrank		{ font-size: 10px; color: #909090; }
.posterprofile	{ font-size: 10px; color: #FFFFFF /*#759375*/; }

.postauthor {
	color: #FFFFFF /*#759375*/;
	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: #989B44;
	font-weight: bold;
}

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

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

.postbody {
	font-size: 13px;
	line-height: 1.4em;
	margin: 3px 0;
}
.signature {
	font-size: 11px;
	color: #909090;
	margin-top: 5px;
}
.signature .line { color: #797979; }

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

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF /*#759375*/;
}

.postbody a { text-decoration: underline; }

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

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

td.pm_replied_colour { background: #FFFFFF /*#759375*/; }
td.pm_replied_colour_left { border-left: solid 3px #FFFFFF /*#759375*/; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #FFFFFF /*#759375*/; padding-right: 2px; }

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

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


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

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #FFFFFF /*#a0a0a0*/;
	border: 1px solid #505850;
	background-color: #002122 /*#1D281D*/;
}
.cat .btnmain, .cat .btnlite, .cat select {
	color: #FFFFFF /*#a0a0a0*/;
	background-color: #002122 /*#1D281D*/;
    border-color: #505850;
}

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;
	color: #a0a0a0;
	border: 1px solid #373B37;
	background-color: #002122 /*#181B18*/;
}
.btnbbcode:hover {
	color: #fff;
}

.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: #b0b0b0;
	border-style: none;
}
#helpline { color: #b0b0b0; }

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
}
* html .cat .btnmain, * html .cat .btnlite {
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #7E877E;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #919B91; 
	color: #a8a8a8;
	background-color: #002122 /*#212D21*/;
}
.cat .btnmain:hover, .cat .btnlite:hover, .cat select:hover {
    border-color: #7E877E;
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
    border-color: #919B91;
    color: #fff;
}

label:hover { 
	color: #a8a8a8; 
}

/* BBCode
 ------------ */
.bb-wrapper {
	clear: both;
	margin: 10px 20px;
}
.bb-wrapper .bb-wrapper {
	margin: 5px 10px;
}
.bb-left-top, .bb-right-top, .bb-left-bot, .bb-right-bot {
    width: 4px;
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-left-top { background: ; }
.bb-right-top { background: ; }
.bb-left-bot { background: ; }
.bb-right-bot { background: ; }
.bb-top, .bb-bot {
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-top { background: #1F241F ; }
.bb-bot { background: #1F241F ; }
.bb-left, .bb-right {
    width: 4px;
    overflow: hidden;
    background-color: #1F241F;
    padding: 0;
}
.bb-left { border-left: solid 1px #344034; }
.bb-right { border-right: solid 1px #344034; }
.bb-content {
    background-color: #1F241F;
    padding: 0 2px;
}
.bb-quote { 
    background-image: url(images/bg_quote.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
.bb-code { 
    background-image: url(images/bg_code.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
.bb-attach { 
    background-image: url(images/bg_attach.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
  
 
.quotetitle, .attachtitle, .codetitle {
	color: #FFFFFF /*#759375*/;
	font-size: 0.85em;
	font-weight: bold;
	padding-bottom: 3px;
}
.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
/*	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */
	color: #FFFFFF /*a0a0a0*/;
}
.attachcontent {
	font-size: 0.85em;
}

.codecontent {
	direction: ltr;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	color: #FFFFFF /*a0a0a0*/;
}

.attachcontent, html>body .postbody {
	overflow: auto;
	overflow-x: auto;
}

.syntaxbg {
	color: #a0a0a0;
}

.syntaxcomment {
	color: #808080;
}

.syntaxdefault {
	color: #a0a0a0;
}

.syntaxhtml {
	color: #b0b0b0;
}

.syntaxkeyword {
	color: #ccc;
}

.syntaxstring {
	color: #759375;
}


/* 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: #759375;
	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: #363D36;
}

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


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

}