/* 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: Tahoma, Arial, Helvetica, sans-serif;
	color: #000;
	background: #cee6f3 url('./images/topbg.png') repeat-x;
	font-size: 11px;
	margin: 0;
	padding: 0 10px;
}
#body-simple {
	background: #EDF0F5 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: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error, table td .error {
	color: #E30304;
}

.spacer {
	color: #E6EAF0; 
	background: #5E758E top left repeat-x;
	border: solid 1px #324962;
	padding: 1px;
}

hr	{ height: 0px; border: solid #8C9FB2 0px; border-top-width: 1px;}

.pagination {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
}

/* Links
 ------------ */
a {
	color: #325375;
	text-decoration: none;
}

a:active,
a:visited {
	color: #325375;
	text-decoration: none;
}

a:hover {
	color: #E30304;
	text-decoration: underline;
}

a.forumlink {
	font-weight: bold;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
}

a.topictitle {
	margin: 1px 0px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle, .postbody a {
	color: #325375;
}
a.topictitle:visited, .postbody a:visited {
	color: #394C5F;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #6A819A;
}
a.topictitle:hover, .postbody a:hover {
	color: #E30304;
}

/* Header and logo */
#maintable {
    margin: 0 auto;
}

#mainrow {
	padding:0;
	margin:0;
}
#mainrow>div, #logorow, .navrow, #contentrow {
    margin-left: 0;
    margin-right: 0;

}
#mainrow>div#contentrow, #contentrow {
	/*border-bottom: solid 1px #4C6A88;*/
}

#logorow { 
    background: #3e9dd9;
	height:100px;
}
#site-description {
	float: left;
	width: 70%;
}
/* Search box
--------------------------------------------- */
#change_language, #quick_search_box {
	position: relative;
	margin-right: 5px;
	display: block;
	float: right;
	text-align: right;
	padding:10px;
	color:#FFF;
	text-align:left;
}

#quick_search_box #keywords {
	width: 150px;
	background-color: #FFF;
}

#quick_search_box input {
	border: 1px solid #b0b0b0;
	background:#dfeef5;
}

/* .button1 style defined later, just a few tweaks for the search button version */
#quick_search_box input.btnsearch {
	width:16px;
	height:16px;
	border:none;
	background:url(images/btn_search.gif) no-repeat;
}
#contentrow { background: #dfeef5; padding: 4px 7px; }

.pm-notify-new, .pm-notify-unread {
	background: #DADFE7 url(images/cell.gif) top left repeat-x;
	border-left: solid 1px #768DA4;
	border-top: solid 1px #5A7591;
	border-bottom: solid 1px #4C6A88;
	border-right: solid 1px #68819B;
	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: #E30304;
}
.pm-notify-new { 
    border: solid 1px #E30304;
    padding: 30px; 
}

/* Navigation buttons */
.navrow {
	height: 28px;
	line-height:28px;
	color: #FFF;
	background: url('images/navbar.gif') repeat-x;
	border-top: solid 1px #3e9dd9;
	border-bottom: solid 1px #3e9dd9;
	text-align: center;
	font-size: 11px;
	padding: 0px;
}
/* * html .navrow { padding: 0; } */
.navrow b, .navrow strong { font-weight: bold; }
.navrow a, .navrow a:visited {
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
}
.navrow a:hover {  
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #E30304; }
a.link-new:hover, a.link-new:visited:hover { color: #D24747; }

/* Content and tables */
.tablebg {
	border: solid 1px #92bae6; 
	background:#FFFFFF;
}
.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 {
	border-left: solid 1px #cedcfa;
	border-top: solid 1px #cedcfa;
	border-bottom: solid 1px #cedcfa;
	border-right: solid 1px #cedcfa;
	padding: 4px;
}
th {
	color: #000; 
	font-size: 11px; 
	font-weight: bold;
	background: #5E758E url(images/thead.gif) top left repeat-x;
	border: solid 1px #cedcfa;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 22px;
}
th a, th a:visited {
	color: #000000 !important;
	text-decoration: none;
}
th a:hover {
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv, .cat, .cathead {
	/*height: 24px;
	padding: 0 3px;
	background: #E5E9EE url(images/cathead.gif) top left repeat-x;
	border-left: solid 1px #768DA4;
	border-top: solid 1px #5A7591;
	border-bottom: solid 1px #4C6A88;
	border-right: solid 1px #68819B;*/
}

.cat, .cathead {
	text-indent: 4px;
}

/* Table header */
caption, .cap-div { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat.gif) top left repeat-x;
	white-space: nowrap;
	height: 25px;
	text-align: center;
}
.cap-left {
	/*background: url(images/hdr_left.gif) top left no-repeat;*/
}
.cap-right {
	/*background: url(images/hdr_right.gif) top right no-repeat;*/
	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: #F1F4F8;
}
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: #FFF;
	text-decoration: none;
}
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: 11px;
	line-height: 1.2em;
}
.copyright a, .copyright a:visited {
	color: #666;
	text-decoration: none;
}
.copyright a:hover { 
    color: #325375; 
	text-decoration: underline;
}


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #57687A;
	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;
	background:#FFFFFF;
	width:400px;
	margin: 0 auto;
	padding: 2px;
}
.legend-viewforum { 
	margin: 0; 
	width:600px;
	font-size:11px;
	text-align: left; 
}
.permission-viewforum {
	color: #000; 
	font-size: 11px; 
	background:#FFFFFF url(images/thead.gif) top left repeat-x;
	border: solid 1px #cedcfa;
	white-space: nowrap;
	padding: 0 10px;
	padding-top:10px;
	padding-bottom:10px;
	width:200px;
	text-align:left;
}
.forumrules {
	padding: 10px;
	font-weight: normal;
	border-left: solid 1px #cedcfa;
	border-top: solid 1px #cedcfa;
	border-bottom: solid 1px #cedcfa;
	border-right: solid 1px #cedcfa;
	background-color: #ECD5D8;
	color: #BC2A4D;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}
.forumrules:hover {
	background-color: #FFFFFF;
}
.forumrules h3 {
	color: #E30304;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #325375;
}
td.postbottom {
	font-size: 10px;
	color: #57687A;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
}
td.postbuttons { padding-top: 4px; }
.postdetails { 
	color: #57687A;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #57687A;
	font-weight: normal;
}
.posterrank		{ font-size: 9px; color: #57687A; }
.posterprofile	{ font-size: 10px; color: #325375; }

.postauthor {
	color: #325375;
	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: #E30304;
	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;
}

.postbody {
	font-size: 12px;
	line-height: 1.4em;
	margin: 3px 0;
}
.signature {
	font-size: 11px;
	color: #57687A;
	margin-top: 5px;
}
.signature .line { color: #66788B; }

.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: #E30304;
}

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #325375;
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
	color: #E30304;
	font-weight: bold;
}
.folder-current a:hover { color: #E30304; }

td.pm_marked_colour { background: #E30304; }
td.pm_marked_colour_left { border-left: solid 3px #E30304; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #E30304; padding-right: 2px; }

td.pm_replied_colour { background: #325375; }
td.pm_replied_colour_left { border-left: solid 3px #325375; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #325375; 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: #B54D4E; }
td.pm_foe_colour_left { border-left: solid 3px #B54D4E; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #B54D4E; 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: Tahoma, Arial, Helvetica, sans-serif;
	color: #000;
	border: 1px solid #768DA4;
}
.cat .btnmain, .cat .btnlite, .cat select {
	color: #325375;
    border-color: #768DA4;
}

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: #57687A;
	border: 1px solid #C2C8D0;
	background:#dfeef5;
}
.btnbbcode:hover {
	color: #325375;
	border-color: #8FA3B8;
	background:#FFF;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	background:#dfeef5;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	background:#dfeef5;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: transparent;
	color: #57687A;
	border-style: none;
}
#helpline { color: #57687A; }

* 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: #25405B;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #25405B; 
	color: #000;
	background-color: #fff;
}
.cat .btnmain:hover, .cat .btnlite:hover, .cat select:hover {
	border-color: #325375;
	color: #25405B; 
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
	border-color: #25405B; 
    color: #000;
}

label:hover { 
	color: #325375; 
}

/* 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: #f9f9f9 url(images/bb_top.gif) top left repeat-x; }
.bb-bot { background: #f9f9f9 url(images/bb_bot.gif) bottom left repeat-x; }
.bb-left, .bb-right {
    width: 4px;
    overflow: hidden;
    background-color: #f9f9f9;
    padding: 0;
}
.bb-left { border-left: solid 1px #8C9DAE; }
.bb-right { border-right: solid 1px #8C9DAE; }
.bb-content {
    background-color: #f9f9f9;
    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: #325375;
	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;
	color: #373F47;
}
.attachcontent {
	font-size: 0.85em;
}

.codecontent {
	direction: ltr;
	font-weight: normal;
	font-size: 11px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	color: #373F47;
}

.attachcontent, html>body .postbody {
	overflow: auto;
	overflow-x: auto;
}

.syntaxbg {
	color: #373F47;
}

.syntaxcomment {
	color: #57687A;
}

.syntaxdefault {
	color: #373F47;
}

.syntaxhtml {
	color: #373F47;
}

.syntaxkeyword {
	color: #354759;
}

.syntaxstring {
	color: #325375;
}


/* More misc stuff */
h1 {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Tahoma, 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: Tahoma, 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: #325375;
	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: #E30304;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

.sep {
	color: #325375;
}


/* 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;
	}

}

.subforumlist{
   list-style-image:url('./images/subforum.png');
   padding-left:100px;
}