/* 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: #000;
	background:#fff url(images/bg.jpg)  center;
	font-size: 10px;
	margin: 0;
	padding: 0 5px;
}
#body-simple {
	background: #FFFFFF;
	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;
	color:#00578d;
}

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

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

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

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

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

/*a:active,
a:visited {
	color: #000;
	text-decoration: none;
}*/

a:hover {
	color: #000;
	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: #E73F03;
}
a.topictitle:visited, .postbody a:visited {
	color: #E73F03;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #000;
}
a.topictitle:hover, .postbody a:hover {
	color: #000;
}

/* Header and logo */
#maintable {
	margin: 0 auto;
}

#logo-left {
	/*background: url(images/logo_left.jpg) top left no-repeat;*/
}
#logo-right {
	background: url(images/header_login_right.jpg) top right no-repeat;
}

#logorow, #logo-left {
	height: 88px;
	overflow: hidden;
}

.pm-notify-new, .pm-notify-unread {
	border: solid 1px #b2b2b2;
	background: #fff url(images/cell.gif) bottom left repeat-x;
	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: #00578D;
}
.pm-notify-new, .pm-notify-unread:hover {
	border: solid 1px #00578d;
}
.pm-notify-new { padding: 3px; }

/* Navigation buttons */
.navrow {
	background: #fff url(images/header_topnav2_bg.jpg) top left repeat-x; 
	height: 30px;
	overflow: hidden;
	border-bottom: solid 1px #E14C0D;
	border-top: solid 1px #fff;
	color: #E14C0D;
	text-align: center;
	font-size: 12px;
	padding: 4px;
}
* html .navrow { padding: 0; }
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #E14C0d;
	text-decoration: none;
}
.navrow a:hover { 
	color: #000; 
	text-decoration: underline; 
}

/*
a.link-new, a.link-new:visited { color: #FFF; }
a.link-new:hover, a.link-new:visited:hover { color: #E14C0D; }
*/

/* Content and tables */
#contentrow {
	padding: 5px;
	background-color: #FFFFFF;
}

.tablebg {
	border: solid 1px #000; 
	border-collapse:collapse;
	background: #fff url(images/cell.gif) top left repeat-x;
}

.row1, .row2, .row3,  .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
/*	border: solid 1px #000;
	border-right: solid 1px #000;
	border-top: solid 1px #000;
	border-bottom: solid 1px #000;
*/	background: #fff ;
	padding: 4px;
	border-right: solid 1px #000;
	border-bottom: solid 1px #000;
	border-collapse:collapse;
}
th {
	color: #000; 
	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-bottom: solid 1px #000;	
	border-collapse:inherit;
/*	border-left: solid 1px #000;
	
	border-collapse:collapse;
	border-top:solid 1px #000;
*/	/*
	border-top: solid 1px #000;
	border-bottom: solid 1px #000;*/
}
th a, th a:visited {
	color: #000 !important;
	text-decoration: none;
}
th a:hover {
	color: #E14C0D;
	text-decoration: underline;
}

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

.cat {
	height: 24px;
	padding: 0 3px;
/*	border-left: solid 1px #404040;
	border-right: solid 1px #121212;
	border-top: solid 1px #3C3C3C;
*/	border-top: solid 1px #131313;
	border-bottom: solid 1px #131313;
	background: #fff url(images/cathead.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #AA6000 url(images/catbottom.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #F58D07;
	border-right: solid 1px #9F5A00;
	border-top: solid 1px #F58D07;
	border-bottom: solid 1px #9F5A00;
	border-collapse:inherit;
}


/* Table header */
caption, .cap-div { 
	margin: 0; 
	padding: 0;
	background: url(images/hdr_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 27px;
	text-align: center;
}
.cap-left {
	background: url(images/hdr_mid.gif) top left no-repeat;
}
.cap-right {
	background: url(images/hdr_mid.gif) top right no-repeat;
	padding-top: 8px;
	height: 19px;
}
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: 12px;
	font-weight: bold;
	color: #fff;
}
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: #999;
	padding-top: 10px;
}

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


/* 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: 4px;
}
.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: #FDAC43;
}

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

.postauthor {
	color: #E14C0D;
	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: #FFAB3D;
	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: #EEE;
	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: #FFFF00;
}

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

.postbody a { text-decoration: underline; }

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

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

td.pm_replied_colour { background: #E14C0D; }
td.pm_replied_colour_left { border-left: solid 3px #E14C0D; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #E14C0D; 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: #666;
	border: 1px solid #999;
	background-color: #fff;
}

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

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 #444;
}
.btnbbcode:hover {
	border-color: #999;
	color: #FFF;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	color:#000000;
	background:#efefef;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	color:#000000;
	background:#efefef;
}

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

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

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

label:hover { 
	color: #E14C0D; 
}

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

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

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

.attachcontent {
	font-size: 0.85em;
}

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

.quotewrapper, .codewrapper, .attachwrapper {
	clear: both;
	margin: 10px 5px;
	background: #fff url(images/code_header.gif) top left no-repeat;
	padding-left: 19px;
	/*border: solid 1px #d2d2d2;*/
}
.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: #FFF;
}

.syntaxcomment {
	color: #AAA;
}

.syntaxdefault {
	color: #FFF;
}

.syntaxhtml {
	color: #FFF;
}

.syntaxkeyword {
	color: #E14C0D;
}

.syntaxstring {
	color: #E14C0D;
}


/* 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;
	color:#00578d;
}

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

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


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

}

/* website CSS */

.clear {
	clear:both;
}

.header {
	width:inherit;
	height:153px;
	background: transparent url(images/header.jpg) no-repeat;
}
.headerInnerPage {
	width:inherit;
	height:153px;
	background: transparent url(images/header_inner.jpg) no-repeat;
}
.headerInner {
	/* Future use */
}
.headerInnerTop {
	height:82px;
	width:940px;
}
.headerInnerLeft {
	float:left;
	height:82px;
	width:210px;
}
.headerLogo {
	padding-top:3px;
	padding-left:15px;
}
.headerInnerRight {
	float:left;
	height:82px;
	width:730px;
	text-align:right;
}
.headerLoginBox {
	height:26px;
	width:386px;
	float:right;
	padding-right:31px;
}
.headerLoginBoxInner {
	/* future use */
	 float:right;
}
.headerLoginBoxInner .loginBoxLeft {
	height:26px;
	float:left;
	width:14px;
	background:transparent url(images/header_login_left.jpg) no-repeat;
}
.headerLoginBoxInner .loginBoxRight {
	height:26px;
	float:left;
	width:14px;
	background:transparent url(images/header_login_right.jpg) no-repeat;
}
.headerLoginBoxInner .loginBoxCenter {
	height:26px;
	float:left;
	background:#00578D;
	font-family:tahoma;
	font-size:11px;
	padding-left:8px;
	padding-right:8px;
	color:#FFFFFF;
	font-weight:normal;
	text-decoration:none;
}
.headerLoginBoxInner .loginBoxCenter a {
	font-family:tahoma;
	font-size:11px;
	color:#FFFFFF;
	line-height:25px;
	font-weight:normal;
	text-decoration:none;
}
.headerLoginBoxInner .loginBoxCenter a:hover {
	font-family:tahoma;
	font-size:11px;
	color:#FFFFFF;
	font-weight:normal;
	text-decoration:none;
}
.headerSearchBox {
	height:45px;
	width:230px;
	float:right;
	padding-right:30px;
}
.headerSearchBoxInner {
	padding-top:20px;
	
}
.headerSearchBoxFieldBox {
	background:transparent url(images/header_searchbox_field_bg.jpg) no-repeat;
	height:25px;
	width:192px;
	overflow:hidden;
	float:left;
}
.headerSearchBoxField {
	padding-top:5px;
	padding-right:15px;
}
.headerSearchBoxField input {
	border:0px;
	height:18px;
	background-color:transparent;
	width:160px;
	color:#666;
	font-size:11px;
	font-family:Tahoma;
}
.headerSearchBoxButtonBox {
	height:25px;
	width:25px;
	float:left;
}
.headerSearchBoxButton {
	padding-left:5px;
	padding-top:6px;
}
.headerSearchBoxButton input {
	height:12px;
	width:20px;
	overflow:hidden;
	border:0px;
}
.headerInnerNav1 {
	height:29px;
	overflow:hidden;
}
.headerInnerNav1 .nav1Left {
	height:29px;
	width:14px;
	float:left;
	background:transparent url(images/header_topnav1_left.png);
}
.headerInnerNav1 .nav1Right {
	height:29px;
	width:14px;
	float:left;
	background:transparent url(images/header_topnav1_right.png);
}
.headerInnerNav1 .nav1Center {
	height:29px;
	width:912px;
	float:left;
	background:transparent url(images/header_topnav1_bg.png);
}
.headerInnerNav1 .nav1Center ul {
	height:29px;
	display:inline;
	margin-top:0px;
}
.headerInnerNav1 .nav1Center li {
	height:29px;
	float:left;
	color:#FFFFFF;
	padding-left:15px;
	list-style:none;
	line-height:29px;
}
.headerInnerNav1 .nav1Center li a {
	font-family:Tahoma;
	font-size:12px;
	line-height:29px;
	font-weight:bold;
	color:#00578D;
	text-decoration:none;
}
.headerInnerNav1 .nav1Center li a:hover {
	font-family:Tahoma;
	font-size:12px;
	line-height:29px;
	font-weight:bold;
	color:#00578D;
	text-decoration:underline;
}
.headerInnerNav2 {
	height:42px;
}
.headerInnerNav2 .nav2Left {
	height:42px;
	width:14px;
	float:left;
	background:transparent url(images/header_topnav2_left.jpg);
}
.headerInnerNav2 .nav2Right {
	height:42px;
	width:14px;
	float:left;
	background:transparent url(images/header_topnav2_right.jpg);
}
.headerInnerNav2 .nav2Center {
	height:42px;
	width:912px;
	float:left;
	overflow:hidden;
	background:transparent url(images/header_topnav2_bg.png);
}
.headerInnerNav2 .nav2Center ul {
	height:35px;
	display:inline;
	margin-top:0px;
}
.headerInnerNav2 .nav2Center li {
	height:35px;
	float:left;
	color:#FFFFFF;
	padding-left:14px;
	list-style:none;
	line-height:29px;
}
.headerInnerNav2 .nav2Center li a {
	font-family:Tahoma;
	font-size:12px;
	line-height:35px;
	font-weight:bold;
	color:#00578D;
	text-decoration:none;
}
.headerInnerNav2 .nav2Center li a:hover {
	font-family:Tahoma;
	font-size:12px;
	line-height:35px;
	font-weight:bold;
	color:#00578D;
	text-decoration:underline;
}
.bodySep {
	height:23px;
	width:940px;
	background:transparent url(images/body_sep_bg.jpg) no-repeat;
}

.footerInner {
	padding-top:20px;
	padding-left:5px;
	padding-right:5px;
	padding-bottom:22px;
	margin-bottom:10px;

	font-family:Tahoma;
	font-size:11px;

}
.footerLeft {
	float:left;
	width:130px;
}
.validator {
	padding-top:15px;
}
.footerRight {
	padding-right:25px;
	float:right;
	width:750px;
}
.footerRight a {
	color:#D0D0D0;
	line-height:15px;
	text-decoration:underline;
}

.footerLinks {
	color:#FFFFFF;
	line-height:15px;
}
.footerLinks a {
	color:#FFFFFF;
	line-height:15px;
	text-decoration:none;
}
.footerLinks a:hover {
	color:#FFFFFF;
	line-height:15px;
	text-decoration:underline;
}
.footerCopywrite {
	padding-top:17px;
	color:#D0D0D0;
	overflow:hidden;
}
