
/* Misc stuff */
img {
	border: none;
}

.gen {
	margin: 1px 1px;
}

.genmed {
	margin: 1px 1px;
}

.gensmall, table td.gensmall {
	margin: 1px 1px;
	font-size: 11px;
}

.titles {
	font-weight: bold;
	text-decoration: none;
}

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

.spacer {
	background: #8D3E42 url(images/spacerbg.gif) top left repeat-x;
}

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

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

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

a {
	text-decoration: none;
}

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

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

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

a.topictitle {
	margin: 1px 0px;
	font-weight: bold;
}

a.topictitle, .postbody a {
	color: #822E31;
}
a.topictitle:visited, .postbody a:visited {
	color: #9A4447;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #822E31;
}
a.topictitle:hover, .postbody a:hover {
	color: #D11010;
}

/* Navigation buttons */
a.link-new, a.link-new:visited { color: #D11010; }
a.link-new:hover, a.link-new:visited:hover { color: #9A4447; }

/* Content and tables */

.tablebg {
	border: solid 1px #BBB;
	border-top-color: #C8C8C8;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	font-size: 80%;
}

.row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	padding: 4px;
}
th {
	color: #AAA; 
	font-size: 11px; 
	font-weight: bold;
	background: #FFF url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}
th a, th a:visited {
	color: #AAA !important;
	text-decoration: underline;
}
th a:hover {
	color: #822E31;
	text-decoration: underline;
}

table.contentTable td {
	padding: 2px;
	font-size: 13px;
}
.cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	text-indent: 4px;
}

.legend {
	padding: 4px;
}


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
}
.cap-left {
	background: url(images/tcat_left.gif) top left no-repeat;
	padding-left: 25px;
}
.cap-right {
	background: url(images/tcat_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 13px;
	line-height: 1.2em;
	font-weight: bold;
	color: #822E31;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #822E31;
	text-decoration: underline;
}
caption a:hover {
	color: #D11010;
	text-decoration: underline;
}

/* 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 */
.legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
}
.legend-viewforum { 
	margin: 0; 
	text-align: left; 
}

/* Post */
.postsubject {
	font-size: 1.1em;
	font-weight: bold;
	color: #822E31;
}
td.postbottom { 
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	font-size: 1em;
	color: #444;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #666;
	font-size: 1em; 
	text-align: left;
}
.postdetails b {
	color: #444;
}
.posterrank		{ font-size: 1em; color: #666; }
.posterprofile	{ font-size: 1em; color: #666; }

.postauthor {
	color: #822E31;
	font-size: 1.2em;
	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: #D11010;
	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: 1em;
	margin: 3px 0;
}
.signature {
	font-size: 1.1em;
	color: #888;
	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: #822E31;
}

.postsubject {
	font-size: 1.2em;
	font-weight: bold;
	color: #822E31;
}

.postbody a { text-decoration: underline; }

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

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	color: #444;
	border: 1px solid #888;
	background-color: #FFF;
}
#helpline { color: #444; }

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1em; 
	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 #B18584;
}
.btnbbcode:hover {
	border-color: #444;
	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: #444;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #888;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #822E31;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #5A2625; 
	color: #000;
}

label:hover { 
	color: #D11010; 
}

/* BBCode
 ------------ */
.bbcode_quote_header, .quotetitle, .attachtitle, .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px 0 4px;
	border: solid 1px #D8D8D8;
	border-bottom-width: 0;
	color: #822E31;
	background: #FAFAFA url(images/bg_box_code.gif) top right no-repeat;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle { background-image: url(images/bg_box_quote.gif); }
.attachtitle { background-image: url(images/bg_box_attach.gif); }

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

.bbcode_quote_body, .quotecontent, .attachcontent {
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #D8D8D8;
	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: #FAFAFA;
	color: #444;
}

.attachcontent {
	font-size: 0.85em;
}

.codecontent {
	direction: ltr;
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #D8D8D8;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
	color: #444;
}

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


.syntaxbg {
	color: #000;
}

.syntaxcomment {
	color: #666;
}

.syntaxdefault {
	color: #000;
}

.syntaxhtml {
	color: #000;
}

.syntaxkeyword {
	color: #D11010;
}

.syntaxstring {
	color: #822E31;
}


/* 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: 100%;
	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: #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;
	font-size: 1em;
} 

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

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
	font-size: 1em;
}

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

p.topicdetails {
	margin: 1px 0px;
	font-size: 1em;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #DDD;
}

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


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

}

/* added by me */
.nav, table td.nav {
	font-size: 11px;
}

.searchbar {
	font-size: 80%;
}

tr.unread td {
	background: #ffcccc;
}

/* Topic review panel
----------------------------------------*/
#review {
	margin-top: 2em;
}

#topicreview {
	padding-right: 5px;
	overflow: auto;
	height: 300px;
}

#topicreview .postbody {
	width: auto;
	float: none;
	margin: 0;
	height: auto;
}

#topicreview .post {
	height: auto;
}

#topicreview h2 {
	border-bottom-width: 0;
}

/* bbcode styles */


/* .bbcode_quote_header{ /* Header for bbcode "quote" tag 
        border: 1px solid #b0b0b0;
		border-bottom: 0px;
	padding: 5px;
	padding-top: 2px;
	margin: 15px 10px 0 10px;
	padding-left: 12px;
	background: url(images/bg_box_quote.gif) no-repeat; background-position: top left;
}

.bbcode_quote_body{ /* Header for bbcode "quote" tag 
	margin: 0 10px 15px 10px;
        border: 1px solid #b0b0b0;
		border-top: 0px;
	padding: 5px;
	padding-top: 0;
}
*/

.bbcode_code_header{ /* Header for bbcode "quote" tag */
        border-top-width: 1px;
        border-bottom-width: 1px;
        border-right-width: 1px;
        border-left-width: 1px;
        border-color: #000000;
        border-style: solid;
        background-color: #eeeeee;
        position: relative;
        left: 10px;
        width: 90%;
}

.bbcode_code_body{ /* Header for bbcode "quote" tag */
        border-top-width: 0px;
        border-bottom-width: 1px;
        border-right-width: 1px;
        border-left-width: 1px;
        border-color: #000000;
        border-style: solid;
        background-color: #ffffff;
        position: relative;
        left: 10px;
        width: 90%;
}

/* CP tabbed menu
----------------------------------------*/
#tabs {
	line-height: normal;
	margin: 20px 0 -1px 7px;
	min-width: 570px;
	padding: 0;
	margin: 0;
}

#tabs ul {
	margin:0;
	padding: 0;
	list-style: none;
}

#tabs li {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-weight: bold;
}

#tabs a {
	float: left;
	/*background: none no-repeat 0% -35px; */
	margin: 0 1px 0 0;
	padding: 0 0 0 5px;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	background: #FFF url(images/th.gif) top left repeat-x;
}

#tabs a span {
	float: left;
	display: block;
	padding: 6px 10px 6px 5px;
	color: #828282;
	white-space: nowrap;
	border-right: 1px solid #404040;
}

#tabs a:hover span {
	color: #bcbcbc;
}

#tabs .activetab a {
/*	background-position: 0 0;*/
	/*border-bottom: 1px solid #ebebeb;*/
}

#tabs .activetab a span {
/*	background-position: 100% 0;*/
	padding-bottom: 7px;
	color: #333333;
}

#tabs a:hover {
/*	background-position: 0 -70px;*/
}

#tabs a:hover span {
/*	background-position:100% -70px; */
}

#tabs .activetab a:hover {
/*	background-position: 0 0; */
}

#tabs .activetab a:hover span {
	color: #000000;
/*	background-position: 100% 0; */
}

.panel {
	margin-bottom: 4px;
	padding: 0 10px;
	background-color: #f3f3f3;
	color: #3f3f3f;
	display: block;
}


.highlight {
	background: #ffd8d8;
}
