/* 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;
	background: #0071AC url(images/body.gif);
	font-size: 10px;
	margin: 5px 5px;
	padding: 5px 5px;
}
#body-simple {
	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: #FFCE00;
}

.spacer {
	background: #48488D url(images/th.gif) top left repeat-x;
}

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

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

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

a {
	color: #ffffff;
	text-decoration: none;
}

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

a.visited:hover, a:hover {
	color: #FFCE00;
	text-decoration: none;
}

a.forumlink {
	font-family : "Trebuchet MS", Verdana, Helvetics, Arial, sans-serif;
	font-weight: bold;
	font-size: 12pt;
	text-transform : uppercase;
	letter-spacing : 0.5em;
}

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: #ffffff;
}
a.topictitle:visited, .postbody a:visited {
	color: #ffffff;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #FFCE00;
	text-decoration: none;
}
a.topictitle:hover, .postbody a:hover {
	color: #FFCE00;
	text-decoration: none;
}

/* Header and logo */
#maintable {
	border-style: solid;
	border-width: 5px 5px 5px 5px;
	border-color: #C7D6DC;
	margin: 0 auto;
}
#logorow {
	background: url(images/logo_top.gif) top left repeat-x;
	text-align: center;
	padding: 0;
	min-height: 76px;
}
#logotop {
	background: ;
}

.pm-notify-new, .pm-notify-unread {
	border: solid 2px #C7D6DC; 
	background: url(images/cell.gif) top left repeat-y;
	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: #AADDFF;
}

.pm-notify-new, .pm-notify-unread:hover {
}

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

/* Navigation buttons */
.navrow {
	overflow: hidden;
	color: #FFFFFF;
	text-align: center;
	font-size: 14px;
	padding-bottom: 2px;
	padding-top: 0;
}
* html .navrow { height: 21px; }
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #ffffff;
	text-decoration: none;
}
.navrow a:hover { 
	color: #FFCE00; 
	text-decoration: none; 
}

a.link-new, a.link-new:visited { color: #FFFFFF; }
a.link-new:hover, a.link-new:visited:hover { color: #FFCE00; text-decoration: none;}

/* Daz' Opacity Button MOD, http://www.forumimages.com */

.imgfade{filter:alpha(opacity=50); -moz-opacity:0.5}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1}

/* Content and tables */
#contentrow {
	padding: 5px;
}

.tablebc {
	border: solid 2px #C7D6DC; 
	padding: 4px;
	background: url(images/cell.gif) top left repeat-y;
}

.tablebcsp {
	border: solid 2px #C7D6DC; 
	padding: 4px;
	margin-top: 4px;
	margin-bottom: 4px;
	background: url(images/cell.gif) top left repeat-y;
}

.tablebg {
	background: url(images/cell.gif) top left repeat-y;
}

.tableoverall {
	background: url(images/inner_body.gif) top left repeat;
}

/* Boxes around forum elements */

td.mainboxRighttop {
	background-image : url(images/border_rtop.gif);
	background-repeat : no-repeat;
}

td.mainboxLefttop {
	background-image : url(images/border_ltop.gif);
	background-repeat : no-repeat;
}

td.mainboxTop {
	background-image: url(images/border_hside.gif);
	background-repeat: repeat-x;
}

td.mainboxMiddleright {
	background-image : url("images/border_rmiddle.gif");
	background-repeat : no-repeat;
}

td.mainboxMiddleleft {
	background-image : url("images/border_lmiddle.gif");
	background-repeat : no-repeat;
}

td.mainboxMiddlecenter {
	background-image: url("images/border_hside.gif");
	background-repeat: repeat-x;
}

td.mainboxLeft {
	background-image : url(images/border_vside.gif);
	background-repeat : repeat-y;
}

td.ForumboxLeft {
	background-image : url(images/border_lvside.gif);
	background-repeat : repeat-y;
}

td.CACboxLeftnew {
	background: url(images/CACborder_lvside.gif) top left repeat-y;
}

td.CACboxGradLT {
	background: url(images/CACgradl.gif) top left repeat-y;
}

td.CACboxGradRT {
	background: url(images/CACgradr.gif) top left repeat-y;
}

td.CACboxGradL {
	background: url(images/CACgradsml.gif) top left repeat-y;
}

td.CACboxGradR {
	background: url(images/CACgradsmr.gif) top left repeat-y;
}

td.CACboxLeft {
	background-image : url(images/CACborder_lvside.gif);
	background-repeat : repeat-y;
}

td.mainboxRight {
	background-image: url(images/border_vside.gif);
	background-repeat: repeat-y;
}

td.mainboxLeftbottom {
	background-image: url(images/border_lbottom.gif);
	background-repeat: no-repeat;
}

td.ForumboxLeftbottom {
	background-image: url(images/border_llbottom.gif);
	background-repeat: no-repeat;
}

td.CACboxLeftbottom {
	background-image: url(images/CACborder_llbottom.gif);
	background-repeat: no-repeat;
}

td.mainboxRightbottom {
	background-image: url(images/border_rbottom.gif);
	background-repeat: no-repeat;
}

td.mainboxBottom {
	background-image: url(images/border_hside.gif);
	background-repeat: repeat-x;
}

.row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: none;
	padding: 0 4px;
}

th {
	color: #E7E7F0; 
	font-size: 11px; 
	font-weight: bold;
	white-space: nowrap;
	padding: 0 0px;
	text-align: center;
	height: 10px;
}
th a, th a:visited {
	color: #E7E7F0 !important;
	text-decoration: underline;
}
th a:hover {
	color: #FFF;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #F5F5F9;
	border-right: solid 1px #A1A1C6;
	border-top: solid 1px #F5F5F9;
	border-bottom: solid 1px #A1A1C6;
	background: #E9E9ED url(images/cathead.gif) top left repeat-x;
}
.rtl .catdiv {
	background: #E9E9ED url(images/cathead.gif) top left repeat-x;
}

.cat {
	height: 24px;
	padding: 0 3px;
/*	border-left: solid 1px #F5F5F9;
	border-right: solid 1px #A1A1C6;
	border-top: solid 1px #F5F5F9;
	border-bottom: solid 1px #A1A1C6;
	background: #E9E9ED url(images/cathead.gif) top left repeat-x;*/
	text-indent: 4px;
}
.cathead {
	background: #EDEDF0 url(images/catbottom.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #5B5BA4;
	border-right: solid 1px #48488D;
	border-top: solid 1px #57579D;
	border-bottom: solid 1px #48488D;
}

.legend {
	padding: 4px;
}


/* Table header */
caption { 
	margin: 0;
	padding: 20 10 0 0;
	background: url(images/hdr_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 45px;
	text-align: Left;
}
.cap-left {
	background: url(images/cat_lcap.gif) top left no-repeat;
}
.cap-left-2 {
	background: url(images/cat_lcap2.gif) top left no-repeat;
}
.cap-mid {
	background: url(images/hdr_mid.gif) top left repeat-x;
	font-family : "Trebuchet MS", Verdana, Helvetics, Arial, sans-serif;
	font-size: 20px;
/*	margin-left: 10px;*/
	font-weight: none;
	margin-top: 10px;
	color: #134F84;
}

.cap-mid a, .cap-mid a:visited, .cap-mid a:hover {
	color: #134F84;
	text-decoration: none;
}

.cap-arr {
	background: url(images/cat_arrow.gif) top left no-repeat;
}
.cap-right {
	background: url(images/cat_rcap.gif) top right no-repeat;
}

.cap-right-2 {
	background: url(images/cat_rcap2.gif) top right no-repeat;
}

caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-family : "Trebuchet MS", Verdana, Helvetics, Arial, sans-serif;
	font-size: 20px;
	font-weight: none;
	margin-top: 10px;
	color: #134F84;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #134F84;
	text-decoration: none;
}
caption a:hover {
	color: #134F84;
	text-decoration: none;
}


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

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


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #AAA;
	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-color: #AAA;
	border-top-color: #AAA;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #FFCE00;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
}
td.postbottom { 
	background: #CECED7 url(images/profile.gif) top left repeat-x; 
	font-size: 10px;
	color: #008;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #FFF;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #AAAAFF;
}
.posterrank		{ font-size: 9px; color: #FFF; }
.posterprofile	{ font-size: 10px; color: #FFF; }

.postauthor {
	color: #ffffff;
	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: #FFCE00;
	font-weight: bold;
}

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

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

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

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

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

.postbody a { text-decoration: underline; }

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

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

td.pm_replied_colour { background: #ffffff; }
td.pm_replied_colour_left { border-left: solid 3px #ffffff; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #ffffff; 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: #DD0096; }
td.pm_foe_colour_left { border-left: solid 3px #DD0096; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD0096; 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: #DDDDFF;
	border: 1px solid #DDDDFF;
	background-color: #094E70;
}

#helpline { color: #AAF; }

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;
	border: 1px solid #8484B1;
}
.btnbbcode:hover {
	border-color: #AAAAFF;
	color: #000;
}

.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: #AAAAFF;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #ffffff;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #ffffff;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #25255A; 
	color: #000;
}

label:hover { 
	color: #FFCE00; 
}

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

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

.quotecontent, .attachcontent {
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #ffffff;
	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: #0B4975;
	color: #FFA;
}

.attachcontent {
	font-size: 0.85em;
}

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

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

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

.syntaxcomment {
	color: #FFF;
}

.syntaxdefault {
	color: #000;
}

.syntaxhtml {
	color: #000;
}

.syntaxkeyword {
	color: #FFCE00;
}

.syntaxstring {
	color: #ffffff;
}

/* Icon images
---------------------------------------- */
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search {
	background-position: 0 0%;
	background-repeat: no-repeat;
	background-image: none;
	padding: 1px 0 0 17px;
}

/* Icon images
---------------------------------------- */
.sitehome		{ background-image: url("{T_THEME_PATH}/images/icon_mini_home.gif"); }
.icon-faq		{ background-image: url("{T_THEME_PATH}/images/icon_mini_faq.gif"); }
.icon-members	{ background-image: url("{T_THEME_PATH}/images/icon_mini_members.gif"); }
.icon-home	{ background-image: url("{T_THEME_PATH}/images/icon_mini_home.gif"); }
.icon-ucp		{ image: url("images/icon_mini_ucp.gif"); }
.icon-register	{ background-image: url("{T_THEME_PATH}/images/icon_mini_register.gif"); }
.icon-logout	{ background-image: url("{T_THEME_PATH}/images/icon_mini_logout.gif"); }
.icon-bookmark	{ background-image: url("{T_THEME_PATH}/images/icon_mini_bookmark.gif"); }
.icon-bump	{ background-image: url("{T_THEME_PATH}/images/icon_mini_bump.gif"); }
.icon-subscribe	{ background-image: url("{T_THEME_PATH}/images/icon_mini_subscribe.gif"); }
.icon-unsubscribe	{ background-image: url("{T_THEME_PATH}/images/icon_mini_unsubscribe.gif"); }
.icon-pages	{ background-image: url("{T_THEME_PATH}/images/icon_mini_pages.gif"); }
.icon-search	{ background-image: url("{T_THEME_PATH}/images/icon_mini_search.gif"); }

/* More misc stuff */
h1 {
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
	font-style: italic;
}

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

h5 {
	font-family : "Trebuchet MS", Verdana, Helvetics, Arial, sans-serif;
	font-size: 22px;
	font-weight: none;
	margin-left: 5px;
	margin-top: -4px;
	color: #134F84;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0px;
	float: left;
	color: #CCC;
	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: #094E70;
}

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


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

}