/* Layout
 ------------ */

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

 html .mainCell  {
	font-size: 100%;
}

 body .mainCell  {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #FFF;
	background: #TTTTTT;
	width: 1180px;
	font-size: 10px;
	margin: 0;
	padding: 0 5px;
}

 .mainCell #body-simple {
	background: #191919;
	padding: 5px;
}

/* Misc stuff */

 .mainCell img {
	border: none;
}

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

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

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

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

 .mainCell .error , .mainCell table td .error {
	color: #4274c7;
}

 .mainCell .spacer {
	background: url(images/th.png) top left repeat-x;
}

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

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

/* Links
 ------------ */

 .mainCell a {
	color: #4274c7;
	text-decoration: none;
}

 .mainCell a:active , .mainCell a:visited {
	color: #4274c7;
	text-decoration: none;
}

 .mainCell a:hover {
	color: #fff;
	text-decoration: underline;
}

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

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

 .mainCell a.topictitle , .mainCell .postbody a {
	color: #4274c7;
}

 .mainCell a.topictitle:visited , .mainCell .postbody a:visited {
	color: #6486bf;
}

 .mainCell a.topictitle:visited:hover , .mainCell .postbody a:visited:hover {
	color: #4274c7;
}

 .mainCell a.topictitle:hover , .mainCell .postbody a:hover {
	color: #fff;
}

/* Header and logo */

 .mainCell #maintable {
	border-style: solid;
	border-width: 0 0px 0px 0px;
	border-color: #000;
	margin: 0 auto;     
}

 .mainCell #logorow {
	background: url(images/logo_bg.gif) top left repeat-x;
	text-align: center;
	padding: 0;
}

 .mainCell #logo-left {
	background: url(images/logo_left1.gif) top left no-repeat;
}

 .mainCell #logo-right {
	background: url(images/logo_right1.gif) top right no-repeat;
}

 .mainCell #logorow , .mainCell #logo-left {
	height: 112px;
	overflow: hidden;
}

 .mainCell .pm-notify-new , .mainCell .pm-notify-unread {
	border-left: solid 1px #4274c7;
	border-right: solid 1px #2f538f;
	border-top: solid 1px #4274c7;
	border-bottom: solid 1px #2f538f;
	background: url(images/cell.png) top left repeat-x; 
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}

 .mainCell .pm-notify-new a , .mainCell .pm-notify-new a:visited , .mainCell .pm-notify-unread a , .mainCell .pm-notify-unread a:visited { text-decoration: underline; }

 .mainCell .pm-notify-header {
	margin-bottom: 10px;
	color: #CCC;
}

 .mainCell .pm-notify-new , .mainCell .pm-notify-unread:hover {
	border-left: solid 1px #2f538f;
	border-right: solid 1px #4274c7;
	border-top: solid 1px #2f538f;
	border-bottom: solid 1px #4274c7;
}

 .mainCell .pm-notify-new { padding: 30px; }

/* Navigation buttons */

 .mainCell .navrow {
	background: url(images/buttons.png) top left repeat; 
	height: 39px;
	overflow: hidden;
        border-top: 2px solid #0c1015;
        border-bottom: 2px solid #0c1015;
        border-right: 2px solid #0c1015;
        border-left: 2px solid #0c1015;
	color: #4274c7;
	text-align: center;
	font-size: 11px;
	padding: 1px;
}

 * html .mainCell  .navrow { padding: 0; }

 .mainCell .navrow b , .mainCell .navrow strong { font-weight: normal; }

 .mainCell .navrow a , .mainCell .navrow a:visited {
	color: #FFF;
	text-decoration: none;
}

 .mainCell .navrow a:hover { 
	color: #4274c7; 
	text-decoration: underline; 
}

 .mainCell a.link-new , .mainCell a.link-new:visited { color: #4274c7; }

 .mainCell a.link-new:hover , .mainCell a.link-new:visited:hover { color: #FFF; }

/* Content and tables */

 .mainCell #contentrow {
	padding: 5px;
	background-color: #TTTTTT;
}

 .mainCell .tablebg {
	border: solid 1px #000; 
	background: url(images/cell_bg.png) top left repeat; 
}

 .mainCell .row1 , .mainCell .row2 , .mainCell .row3 , .mainCell .legend , .mainCell .forumrules , .mainCell tr.row1 .row , .mainCell tr.row2 .row , .mainCell tr.row3 .row , .mainCell .postbottom {
	border-left: solid 1px #262626;
	border-right: solid 1px #121212;
	border-top: solid 1px #1e1e1e;
	border-bottom: solid 1px #131313;
	background: url(images/cell.png) top left repeat-x;
	padding: 4px;
}

 .mainCell th {
	color: #ACB0B4; 
	font-size: 11px; 
	font-weight: bold;
	background: url(images/th.png) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #262626;
	border-right: solid 1px #121212;
	border-top: solid 1px #1e1e1e;
	border-bottom: solid 1px #131313;
}

 .mainCell th a , .mainCell th a:visited {
	color: #ACB0B4 !important;
	text-decoration: underline;
}

 .mainCell th a:hover {
	color: #FFF;
	text-decoration: underline;
}

 .mainCell td {
	padding: 2px;
}

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

 .mainCell .catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #262626;
	border-right: solid 1px #121212;
	border-top: solid 1px #1e1e1e;
	border-bottom: solid 1px #131313;
	background: url(images/cathead.png) top left repeat-x;
}

 .mainCell .rtl .catdiv {
	background: url(images/cathead.png) top left repeat-x;
}

 .mainCell .cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #262626;
	border-right: solid 1px #121212;
	border-top: solid 1px #1e1e1e;
	border-bottom: solid 1px #131313;
	background: url(images/cathead.png) top left repeat-x;
	text-indent: 4px;
}

 .mainCell .cathead {
	background: #123154 url(images/catbottom.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #4274c7;
	border-right: solid 1px #540001;
	border-top: solid 1px #A60304;
	border-bottom: solid 1px #7B0304;
}

/* Table header */

 .mainCell caption , .mainCell .cap-div { 
	margin: 0; 
	padding: 0;
	background: url(images/hdr_mid.png) top left repeat-x;
        border-top: 2px solid #0c1015;
        border-bottom: 2px solid #0c1015;
        border-right: 2px solid #0c1015;
        border-left: 2px solid #0c1015;
	white-space: nowrap;
	height: 27px;
	text-align: center;
}

 .mainCell .cap-left {
/*	background: url(images/hdr_left.png) top left no-repeat; */
}

 .mainCell .cap-right {
/*	background: url(images/hdr_right.png) top right no-repeat; */
	padding-top: 7px;
	height: 20px;
}

 .mainCell caption , .mainCell caption h1 , .mainCell caption h2 , .mainCell caption h3 , .mainCell caption h4 , .mainCell caption span , .mainCell .cap-div , .mainCell .cap-div h1 , .mainCell .cap-div h2 , .mainCell .cap-div h3 , .mainCell .cap-div h4 , .mainCell .cap-div span { 
	font-size: 12px;
	font-weight: bold;
	color: #4274c7;
}

 .mainCell caption h1 , .mainCell caption h2 , .mainCell caption h3 , .mainCell caption h4 , .mainCell caption span , .mainCell .cap-div h1 , .mainCell .cap-div h2 , .mainCell .cap-div h3 , .mainCell .cap-div h4 , .mainCell .cap-div span { 
	display: inline;
}

 .mainCell caption a , .mainCell caption a:visited , .mainCell .cap-div a , .mainCell .cap-div a:visited {
	color: #4274c7;
	text-decoration: underline;
}

 .mainCell caption a:hover , .mainCell .cap-div a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Footer */

 .mainCell #wrapfooter {
	text-align: center;
	color: #CCC;
	padding-top: 10px;
}

 .mainCell .copyright {
	color: #888;
	font-weight: normal;
	font-size: 9px;
	line-height: 1.2em;
}

 .mainCell .copyright a , .mainCell .copyright a:visited {
	color: #AAA;
	text-decoration: underline;
}

 .mainCell .copyright a:hover { color: #FFF; }

/* Breadcrumbs */

 .mainCell p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #AAA;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

 .mainCell .rtl p.breadcrumbs {
	float: right;
}

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

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

/* Index/viewforum */

 .mainCell .subforum.read { 
	background: url(images/sub_old.gif) top left no-repeat;
	padding-left: 12px;
}

 .mainCell .subforum.unread { 
	background: url(images/sub_new.gif) top left no-repeat;
	padding-left: 12px;
}

 .mainCell .legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
}

 .mainCell .legend-viewforum { 
	margin: 0; 
	text-align: left; 
}

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

 .mainCell .forumrules h3 {
	color: #4274c7;
}

/* Post */

 .mainCell .postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #48618a;
}

 .mainCell td.postbottom { 
	background: url(images/profile.png) top left repeat-x; 
	font-size: 10px;
	color: #D0D0D0;
	white-space: nowrap;
	padding: 2px 4px;
	vertical-align: middle;
}

 .mainCell td.postbuttons { padding-top: 3px; }

 .mainCell .postdetails { 
	color: #CCC;
	font-size: 10px; 
	text-align: left;
}

 .mainCell .postdetails b {
	color: #DDD;
}

 .mainCell .posterrank { font-size: 9px; color: #B0B0B0; }

 .mainCell .posterprofile { font-size: 10px; color: #D0D0D0; }

 .mainCell .postauthor {
	color: #4274c7;
	font-size: 12px;
	margin-bottom: 3px;
	font-weight: bold;
}

 .mainCell .postonline { margin-bottom: 2px; }

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

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

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

 .mainCell .postbody {
	font-size: 12px;
	line-height: 1.4em;
	margin: 3px 0;
}

 .mainCell .signature {
	font-size: 11px;
	color: #EEE;
	margin-top: 5px;
}

 .mainCell .signature .line { color: #AAA; }

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

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

 .mainCell .posthilit {
    color: #FFCD00;
	background-color: #444;
}

 .mainCell .postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #48618a;
}

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

/* UCP */

 .mainCell .folder-current a , .mainCell .folder-current a:visited {
	color: #FFF;
	font-weight: bold;
}

 .mainCell .folder-current a:hover { color: #4274c7; }

 .mainCell td.pm_marked_colour { background: #4274c7; }

 .mainCell td.pm_marked_colour_left { border-left: solid 3px #4274c7; padding-left: 2px; }

 .mainCell td.pm_marked_colour_right { border-right: solid 3px #4274c7; padding-right: 2px; }

 .mainCell td.pm_replied_colour { background: #4274c7; }

 .mainCell td.pm_replied_colour_left { border-left: solid 3px #4274c7; padding-left: 2px; }

 .mainCell td.pm_replied_colour_right { border-right: solid 3px #4274c7; padding-right: 2px; }

 .mainCell td.pm_friend_colour { background: #007700; }

 .mainCell td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }

 .mainCell td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

 .mainCell td.pm_foe_colour { background: #48618a; }

 .mainCell td.pm_foe_colour_left { border-left: solid 3px #48618a; padding-left: 2px; }

 .mainCell td.pm_foe_colour_right { border-right: solid 3px #48618a; padding-right: 2px; }

/* Form Elements
 ------------ */

 .mainCell form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

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

 .mainCell input {
	font-size: 1.1em;
	padding: 1px;
}

 .mainCell textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}

 .mainCell select {
	font-size: 1.1em;
	padding: 1px;
}

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

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

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

 .mainCell .btnbbcode {
	font-size: 1.1em;
	border: 1px solid #444;
}

 .mainCell .btnbbcode:hover {
	border-color: #999;
	color: #FFF;
}

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

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

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

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

 .mainCell #helpline { color: #AAA; }

 * html .mainCell  textarea , * html .mainCell  select , * html .mainCell  .post , * html .mainCell  .btnmain , * html .mainCell  .btnlite , * html .mainCell  .btnfile {
	border-color: #D0D0D0;
}

 .mainCell textarea:hover , .mainCell select:hover , .mainCell .post:hover , .mainCell .btnmain:hover , .mainCell .btnlite:hover , .mainCell .btnfile:hover {
	border-color: #4274c7;
}

 .mainCell textarea:focus , .mainCell select:focus , .mainCell .post:focus , .mainCell .btnmain:focus , .mainCell .btnlite:focus , .mainCell .btnfile:focus {
	border-color: #4274c7; 
	color: #FFF;
}

 .mainCell label:hover { 
	color: #4274c7; 
}

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

/* BBCode
 ------------ */

 .mainCell .quotetitle , .mainCell .attachtitle , .mainCell .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px;
	border: solid 1px #090909;
	color: #D0D0D0;
	background-color: #2E2E2E;
	font-size: 0.85em;
	font-weight: bold;
}

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

 .mainCell .quotecontent , .mainCell .attachcontent {
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #090909;
	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: #2E2E2E;
	color: #EEE;
}

 .mainCell .attachcontent {
	font-size: 0.85em;
}

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

 .mainCell .quotewrapper , .mainCell .codewrapper , .mainCell .attachwrapper {
	clear: both;
	margin: 10px 5px;
	background: #48618a url(images/code_header.gif) top left no-repeat;
	padding-left: 19px;
	border: solid 1px #090909;
}

 .mainCell .quotewrapper { background-image: url(images/quote_header.gif); }

 .mainCell .quotewrapper .quotetitle , .mainCell .codewrapper .codetitle , .mainCell .attachwrapper .attachtitle { 
	margin: 0; 
	border-width: 0 0 1px 1px;
}

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

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

 .mainCell .syntaxbg {
	color: #FFF;
}

 .mainCell .syntaxcomment {
	color: #AAA;
}

 .mainCell .syntaxdefault {
	color: #FFF;
}

 .mainCell .syntaxhtml {
	color: #FFF;
}

 .mainCell .syntaxkeyword {
	color: #4274c7;
}

 .mainCell .syntaxstring {
	color: #4274c7;
}

/* More misc stuff */

 .mainCell h1 {
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

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

 .mainCell h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

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

 .mainCell p {
	font-size: 1.1em;
}

 .mainCell p.moderators {
	margin: 0px;
	float: left;
	color: #CCC;
	font-weight: bold;
}

 .mainCell .rtl p.moderators {
	float: right;
}

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

 .mainCell .rtl p.linkmcp {
	float: left;
}

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

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

 .mainCell .rtl p.searchbarreg {
	float: left;
}

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

 .mainCell p.topicauthor {
	margin: 1px 0px;
}

 .mainCell p.topicdetails {
	margin: 1px 0px;
}

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

 .mainCell table.colortable td {
	padding: 0;
}

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

 .mainCell .nowrap {
	white-space: nowrap;
}

 .mainCell .username-coloured {
	font-weight: bold;
}

 .mainCell .sep {
	color: #888;
}

/* reset style for file input */

 .mainCell .btnfile , .mainCell .btnfile:hover , .mainCell .btnfile:focus { 
    border: none; 
    background-color: #FFF;
    color: #000;
}