@import url("bbGeSHi.css");
div.codeheader {
    background: url("{T_THEME_PATH}/images/page_code.gif") no-repeat 0px 0px;
}


/* 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: #444;
	background-color: #E0E0E0;
	font-size: 10px;
	margin: 0;
	padding: 4px;
}
#body-simple {
	background: #F4F4F4;
	padding: 5px;
}

#wrapheader {
	height: auto !important;
	padding: 0;
}

#logodesc {
	background-color: #C1CAD2;
	background-image: url('./images/background.gif');
	background-repeat: repeat-x;
	background-position: center bottom;
	padding: 0 25px 15px 25px;
}

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

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

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

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

/* Links
 ------------ */
a {
	color: #7594b5;
	text-decoration: none;
}

a:active,
a:visited {
	color: #7594b5;
	text-decoration: none;
}

a:hover {
	color: #ff7e00;
	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: #7594b5;
}
a.topictitle:visited, .postbody a:visited {
	color: #748aa2;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #ff7e00;
}
a.topictitle:hover, .postbody a:hover {
	color: #ff7e00;
}

/* Header, logo, wrapper */
.maintable {
	margin: 0 auto;
}

.logo {
    background: url(images/logo_bg.gif) top left repeat-x;
    padding: 0;
}
.maintable td, .logo-row { padding: 0; }

.maintable td.header-buttons {
	background: url(images/buttons_bg2.gif) top left repeat-x;
	padding: 3px 8px 0;
}
.header-buttons1 {
	background: url(images/buttons_bg1.gif) top left repeat-x;
}


.navbar-top {
	background: url(images/c_top_nav.gif) bottom left repeat-x;
	padding: 2px 3px 0 3px;
}
.navbar-bottom {
	background: url(images/c_bottom_nav.gif) top left repeat-x;
	padding: 0 3px 2px 3px;
}
.content-top {
	background: url(images/c_top_simple.gif) bottom left repeat-x ;
}
.content-bottom {
	background: url(images/c_bottom_simple.gif) top left repeat-x ;
}
.content-left {
	background: url(images/c_left.gif) top right repeat-y;
	padding: 0;
}
.content-right {
	background: url(images/c_right.gif) top left repeat-y;
	padding: 0;
}

.navbar {
    font-size: 11px;
}
.nav-links {
    font-weight: bold;
}
.maintable td.navbar-top {
    padding-top: 6px;
}
.maintable td.navbar-bottom {
    padding-top: 4px;
}

.content, .maintable td.content {
	background-color: #F4F4F4;
	padding: 5px 2px;
}

.pm-notify-new, .pm-notify-unread {
    border: solid 1px #bbbec2;
	background-color: #fafafa;
	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: #ff7e00;
}
.pm-notify-new { 
    padding: 30px; 
    border-color: #ff7e00;
}


a.link-new, a.link-new:visited { color: #ff7e00; }
a.link-new:hover, a.link-new:visited:hover { color: #d36902; }

/* tables */
.tablebg {
	background-color: #bbbec2;
}

.row1, .row2, .row3, .legend, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	background-color: #fdfdfd;
	padding: 4px;
}
.row-h:hover {
    background: #F6F6F6 url(images/bg_row2.gif) bottom right no-repeat;
}
th {
	color: #f0f0f0; 
	font-size: 11px; 
	font-weight: bold;
	background: #83a2c3 url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
}
th a, th a:visited {
	color: #f0f0f0 !important;
	text-decoration: underline;
}
th a:hover {
	color: #fff;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv, .cat, .cathead {
	height: 22px;
	padding: 0 3px;
	background: #677c93 url(images/cathead.gif) bottom left repeat-x;
	color: #f0f0f0;
}

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

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


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	background: url(images/hdr_bg.gif) top left repeat-x;
	white-space: nowrap;
	height: 24px;
	text-align: left;
}
.cap-left {
	background: url(images/hdr_left_blue.gif) top left no-repeat;
}
.cap-right {
	background: url(images/hdr_right_blue.gif) top right no-repeat;
	padding-left: 35px;
	padding-top: 5px;
	height: 19px;
}


caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 12px;
	font-weight: bold;
	color: #5f7d9c;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #5f7d9c;
	text-decoration: underline;
}
caption a:hover {
	color: #ff7e00;
	text-decoration: underline;
}

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

/* Custom header/footer */
.block-new .cap-left { background-image: url(images/hdr_left_orange.gif); }
.block-new .cap-right { background-image: url(images/hdr_right_orange.gif); }
.block-new .block-end-left { background-image: url(images/ftr_left_new.gif); }
.block-new .block-end-right { background-image: url(images/ftr_right_new.gif); }
.block-new .block-start { background-image: url(images/ftr_bg_new.gif); }
.block-new caption, .block-new caption h1, .block-new caption h2, .block-new caption h3, .block-new caption h4, .block-new caption span, .block-new caption a, .block-new caption a:visited { color: #ff7e00; }
.block-new caption a:hover { color: #d46900; }

.block-post .cap-left { background-image: url(images/hdr_left_post.gif); }
.block-post-new .cap-left { background-image: url(images/hdr_left_post_new.gif); }
.block-post .cap-right { padding-left: 32px; }
.block-post-new .cap-right { padding-left: 34px; }

.block-small .cap-left {
    background-image: url(images/hdr_left_small.gif);
    text-align: center;
}
.block-small .cap-right {
    background-image: url(images/hdr_right_small.gif);
    padding-left: 10px;
    padding-right: 10px;
}

/* Footer */

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


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

.forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border: solid 1px #bbbec2;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
	background-color: #fdfdfd;
}
.forumrules h3 {
	color: #ff7e00;
}

/* Post */
.post-left {
    border-right: solid 1px #bbbec2;
    background-color: #fafafa;
    text-align: center;
    padding: 4px;
}
.post-right {
    padding: 0;
    text-align: left;
}
.post-table {
    margin: 0;
    padding: 0;
}


.post-time {
	font-size: 11px;
	color: #7594b5;
	padding: 3px;
	padding-left: 0;
}
.post-time img { margin-left: 3px; }
.post-time hr { 
    width: 50%;
    margin-top: 2px;
}

.post-content {
    padding: 0 4px;
}


.postdetails { 
	color: #686868;
	font-size: 9px;
	line-height: 1.4em;
	text-align: left;
}
.postdetails b {
	color: #686868;
}
.posterrank		{ font-size: 9px; color: #686868; }
.posterprofile	{ font-size: 10px; color: #686868; }

.postauthor {
	color: #5f7e9f;
	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: #ff7e00;
	font-weight: bold;
}

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

.postapprove img, .postreported img {
	vertical-align: bottom;
	padding-top: 5px;
}

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

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

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #7594b5;
}

.postbody a { text-decoration: underline; }


.post-buttons, .post-buttons span {
    padding: 0;
    margin: 0;
    line-height: 5px;
    font-size: 5px;
}
.post-buttons {
    padding: 0;
    margin: 0;
    text-align: left;
}
.button-single-top a img, .button-single-top a:visited img, .button-single a img, .button-single a:visited img, .post-buttons a img, .post-buttons a:visited img {
    background-color: #5f7e9f;
}
.button-single-top a:hover img, .button-single a:hover img, .post-buttons a:hover img {
    background-color: #ff7e00;
}

.button-single img {
    border: solid 1px #c0c0c0;
    border-top-width: 0;
}
.button-single-top img {
    border: solid 1px #c0c0c0;
    border-bottom-width: 0;
}



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

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

td.pm_replied_colour { background: #7594b5; }
td.pm_replied_colour_left { border-left: solid 3px #7594b5; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #7594b5; 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: #DD0000; }
td.pm_foe_colour_left { border-left: solid 3px #DD0000; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD0000; 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: #444;
	border: 1px solid #bbbec2;
	background-color: #f8f8f8;
}
.cat .btnmain, .cat .btnlite, .cat select {
    color: #444;
    background-color: #f8f8f8;
    border-color: #888;
}

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: #7594b5;
	border: 1px solid #ddd;
}
.btnbbcode:hover {
	border-color: #bbbec2;
	color: #000;
}

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

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

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

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

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #b4b9bf;
}
* html .cat .btnmain, * html .cat .btnlite {
    border-color: #bbbec2;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #a2a6ab;
	background-color: #fff;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #a2a6ab; 
	color: #000;
}
.cat .btnmain:hover, .cat .btnlite:hover, .cat select:hover {
    border-color: #444;
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
    border-color: #444;
    color: #000;
}

label:hover { 
	color: #ff7e00; 
}

/* BBCode
 ------------ */
.quotetitle, .attachtitle, .codetitle {
	margin: 0;
	padding: 2px 4px;
	color: #444;
	background: #e0e0e0 url(images/bg_quote_user.gif) top left repeat-x;
	font-size: 0.85em;
	font-weight: bold;
	border-bottom: solid 1px #bbbec2;
}

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

.quotecontent, .attachcontent {
	margin: 0;
	padding: 5px;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
/*	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */
	background: #fff url(images/bg_quote.gif) top left repeat-x;
	color: #444;
}

.attachcontent {
	font-size: 0.85em;
	background-image: none;
}

.codecontent {
	direction: ltr;
	margin: 0;
	padding: 5px;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	background: #fff url(images/bg_quote.gif) top left repeat-x;
	color: #444;
}

.quotewrapper, .codewrapper, .attachwrapper {
	clear: both;
	margin: 10px 5px;
	border: solid 1px #bbbec2;
}
.quotewrapper .quotetitle, .codewrapper .codetitle, .attachwrapper .attachtitle { 
	margin: 0; 
}
.attachcontent, html>body .postbody {
	overflow: auto;
	overflow-x: auto;
}

.syntaxbg {
	color: #f0f3f5;
}

.syntaxcomment {
	color: #7594b5;
}

.syntaxdefault {
	color: #444;
}

.syntaxhtml {
	color: #687278;
}

.syntaxkeyword {
	color: #456375;
}

.syntaxstring {
	color: #637078;
}


/* 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: #7594b5;
	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: #7594b5;
}


