/* 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: #000;
	background: #E5E6EA url(images/body.gif);
	font-size: 10px;
	margin: 0;
	padding: 0 10px;
}
#body-simple {
	background: #EFF0F3 url(images/content.gif);
	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.3em;
	text-decoration: none;
}

.error, table td .error {
	color: #E33303;
}

.spacer {
	color: #E8EAEE; 
	background: #697283 url(images/th.gif) top left repeat-x;
	border: solid 1px #3D4657;
	padding: 1px;
}

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

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

/* Links
 ------------ */
.rtl a {
	direction: rtl;
	unicode-bidi: embed;
}

a {
	color: #414E66;
	text-decoration: none;
}

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

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

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

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

a.topictitle, .postbody a {
	color: #414E66;
}
a.topictitle:visited, .postbody a:visited {
	color: #424956;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #757E8F;
}
a.topictitle:hover, .postbody a:hover {
	color: #E33303;
}

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

#mainrow {
    border-left: solid 1px #5A657A;
    border-right: solid 1px #5A657A;
    border-bottom: solid 1px #5A657A;
    background: #fff url(images/borders.gif);
    padding: 0 2px 2px;
}
#mainrow>div, #logorow, .navrow, #contentrow {
    margin-left: 0;
    margin-right: 0;
    border-left: solid 1px #5A657A;
    border-right: solid 1px #5A657A;
}
#mainrow>div#contentrow, #contentrow {
	border-bottom: solid 1px #5A657A;
}

#logorow { 
    background: #1D1F26 url(images/logo_bg.gif) top left repeat-x; 
}
#logo1 { 
    background: url(images/logo_left.jpg) top left no-repeat; 
    padding: 0; 
    min-height: 71px;
    max-height: 71px;
    height: 71px;
    overflow: hidden;
    text-align: center;
}
#logo2 { 
    background: url(images/logo_right.jpg) top right no-repeat; 
    padding: 0; 
    min-height: 71px;
}
#logo-text {
    padding-top: 2px; /* adjust this to center your logo */
}

#contentrow { background: #EFF0F3 url(images/content.gif); padding: 4px 7px; }

.pm-notify-new, .pm-notify-unread {
	background: #DDDFE4 url(images/cell.gif) top left repeat-x;
	border-left: solid 1px #818999;
	border-top: solid 1px #677184;
	border-bottom: solid 1px #5A657A;
	border-right: solid 1px #747D8F;
	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: #E33303;
}
.pm-notify-new { 
    border: solid 1px #E33303;
    padding: 30px; 
}

/* Navigation buttons */
.navrow {
	height: 15px;
	overflow: hidden;
	color: #ACB1C5;
	background: #fff url(images/navbar.gif) top left repeat-x;
	border-top: solid 1px #5A657A;
	border-bottom: solid 1px #5A657A;
	text-align: center;
	font-size: 11px;
	padding: 4px;
}
/* * html .navrow { padding: 0; } */
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #E9EBEE;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
}
.navrow a:hover { 
	color: #fff; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #E33303; }
a.link-new:hover, a.link-new:visited:hover { color: #D26547; }

/* Content and tables */
.tablebg {
	border: solid 1px #5A657A; 
    background: #fff url(images/table.gif);
}
.block-start .tablebg, .block-start .tablebg .block-start .tablebg { 
    border-top-width: 0; 
}
.block-start .tablebg .tablebg { 
    border-top-width: 1px; 
}

.row1, .row2, .row3, .legend, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	background: #DDDFE4 url(images/cell.gif) top left repeat-x;
	border-left: solid 1px #818999;
	border-top: solid 1px #677184;
	border-bottom: solid 1px #5A657A;
	border-right: solid 1px #747D8F;
	padding: 4px;
}
th {
	color: #E8EAEE; 
	font-size: 11px; 
	font-weight: bold;
	background: #697283 url(images/th.gif) top left repeat-x;
	border: solid 1px #3D4657;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 20px;
}
th a, th a:visited {
	color: #E8EAEE !important;
	text-decoration: underline;
}
th a:hover {
	color: #fff;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv, .cat, .cathead {
	height: 24px;
	padding: 0 3px;
	background: #E7E9EC url(images/cathead.gif) top left repeat-x;
	border-left: solid 1px #818999;
	border-top: solid 1px #677184;
	border-bottom: solid 1px #5A657A;
	border-right: solid 1px #747D8F;
}

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

/* Table header */
caption, .cap-div { 
	margin: 0; 
	padding: 0;
	background: url(images/hdr_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 21px;
	text-align: left;
}
.cap-left {
	background: url(images/hdr_left.gif) top left no-repeat;
	padding-left: 17px;
}
.cap-right {
	background: url(images/hdr_right.gif) top right no-repeat;
	padding-right: 17px;
	padding-top: 5px;
	height: 16px;
}
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: 11px;
	font-weight: bold;
	text-transform: uppercase;
	color: #F3F4F6;
}
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: #F3F4F6;
	text-decoration: underline;
}
caption a:hover, .cap-div a:hover {
	color: #fff;
	text-decoration: underline;
}

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

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


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #5F6572;
	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-left: solid 1px #818999;
	border-top: solid 1px #677184;
	border-bottom: solid 1px #5A657A;
	border-right: solid 1px #747D8F;
	background: #DDDFE4 url(images/cell.gif) top left repeat-x;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #E33303;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #414E66;
}
td.postbottom { 
	background: #D1D2D7 url(images/profile.gif) top left repeat-x; 
	font-size: 10px;
	color: #5F6572;
	white-space: nowrap;
	padding: 2px 4px;
	vertical-align: middle;
	border-left: solid 1px #818999;
	border-top: solid 1px #677184;
	border-bottom: solid 1px #5A657A;
	border-right: solid 1px #747D8F;
}
td.postbuttons { padding-top: 4px; }
.postdetails { 
	color: #5F6572;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #5F6572;
	font-weight: normal;
}
.posterrank		{ font-size: 9px; color: #5F6572; }
.posterprofile	{ font-size: 10px; color: #414E66; }

.postauthor {
	color: #414E66;
	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: #E33303;
	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;
	padding-top: 5px;
}

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

.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: #fff;
	color: #E33303;
}

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #414E66;
}

.postbody a { text-decoration: underline; }

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

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

td.pm_replied_colour { background: #414E66; }
td.pm_replied_colour_left { border-left: solid 3px #414E66; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #414E66; 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: #B5634D; }
td.pm_foe_colour_left { border-left: solid 3px #B5634D; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #B5634D; 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: #000;
	border: 1px solid #818999;
	background-color: #F0F2F4;
}
.cat .btnmain, .cat .btnlite, .cat select {
	color: #414E66;
	background-color: #F0F2F4;
    border-color: #818999;
}

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: #5F6572;
	border: 1px solid #C5C7CD;
	background-color: #E6E8EB;
}
.btnbbcode:hover {
	color: #414E66;
	border-color: #98A0AF;
}

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

* 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: #313C4F;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #313C4F; 
	color: #000;
	background-color: #fff;
}
.cat .btnmain:hover, .cat .btnlite:hover, .cat select:hover {
	border-color: #414E66;
	color: #313C4F; 
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
	border-color: #313C4F; 
    color: #000;
}

label:hover { 
	color: #414E66; 
}

textarea.posting-textarea, #ie8#fix {
    width: 98%;
}

/* 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: url(images/bb_left_top.gif) top left no-repeat; }
.bb-right-top { background: url(images/bb_right_top.gif) top right no-repeat; }
.bb-left-bot { background: url(images/bb_left_bot.gif) bottom left no-repeat; }
.bb-right-bot { background: url(images/bb_right_bot.gif) bottom right no-repeat; }
.bb-top, .bb-bot {
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-top { background: #E6E8EB url(images/bb_top.gif) top left repeat-x; }
.bb-bot { background: #E6E8EB url(images/bb_bot.gif) bottom left repeat-x; }
.bb-left, .bb-right {
    width: 4px;
    overflow: hidden;
    background-color: #E6E8EB;
    padding: 0;
}
.bb-left { border-left: solid 1px #949AA6; }
.bb-right { border-right: solid 1px #949AA6; }
.bb-content {
    background-color: #E6E8EB;
    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: #414E66;
	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: #3B3E43;
}
.attachcontent {
	font-size: 0.85em;
}

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

.attachcontent, .codecontent {
	overflow: auto;
	overflow-x: auto;
}

.syntaxbg {
	color: #3B3E43;
}

.syntaxcomment {
	color: #5F6572;
}

.syntaxdefault {
	color: #3B3E43;
}

.syntaxhtml {
	color: #3B3E43;
}

.syntaxkeyword {
	color: #3D4451;
}

.syntaxstring {
	color: #414E66;
}


/* 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: #414E66;
	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;
	color: #E33303;
}

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


/* reset style for file input */
.btnfile, .btnfile:hover, .btnfile:focus { 
    border: none; 
    background-color: #FFF;
    color: #000;
}
