/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	height: 100%;
	valign:top;
	
}

body {
	height:100%;
	background-color: #b5e2ff;
	color: #000;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	margin: 0;
	margin-left:0px;
	margin-right:0px;
	margin-top:0px;
	margin-bottom:0px;
	padding: 0;
	
}
#body-simple {
	background: #ffffff;
	padding: 5px;
}
.forumrow {
	background-color: #ffffff;
}


.forumrow:hover {
	background-color: #ceedff;
	cursor:pointer;
	border-width:1px;
	border-color:#ffffff;
	border-style:solid;
	
}
.menu{
	color: #ffffff;
	text-align: left;
	font-size: 12px;
	font-weight: bold;
	
}


.menu a {
	color: #ffffff;

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

.menu a:hover {
	color: #b2e1ff;
	text-decoration: none;
}

.row10 {
	padding: 4px;
}

.quote_name {
	color: #4eac1b;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
}

#wrapper {
	background: url(images/bg_body_top.gif) top left repeat-x;
	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: #ff0000;
	font-size:20px;
}

.spacer {
	background-color:#0030ac;
	border-top: solid 0px #ff00ff;
	border-bottom: solid 0px #ffff00;

}

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

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

.poll {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
	background: #cfedff url(images/poll_bg.gif) top left repeat-x;
}

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

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

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

a.forumlink {
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}
a.forumlink:hover {
	text-decoration:none
}
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: #001ebb;
}
a.topictitle:visited, .postbody a:visited {
	color: #001ebb;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #001ebb;
}
a.topictitle:hover, .postbody a:hover {
	color: #001ebb;
	text-decoration:none;
}

/* Header and logo */
#maintable {
	border: solid 0px #999;
	margin: 0 auto;
}
#logorow {
	background: #0054bd url(images/bg_logo.gif) top left repeat-x;
	text-align: left;
	padding: 0;
	padding-top: 0px;
}

.pm-notify-new, .pm-notify-unread {
	border-left: solid 1px #001ebb;
	border-right: solid 1px #001ebb;
	border-top: solid 1px #001ebb;
	border-bottom: solid 1px #001ebb;
	background: #F8F8F8 url(images/cell.gif) top 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: #666;
}
.pm-notify-new, .pm-notify-unread:hover {
	border-left: solid 1px #000000;
	border-right: solid 1px #000000;
	border-top: solid 1px #000000;
	border-bottom: solid 1px #000000;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navtd {
	padding: 0 10px 5px 10px;
}
.navrow-right { float: right; }
.navrow {
	padding: 0px;
	color: #ffffff;
	text-align: left;
	font-size: 12px;
	font-weight: bold;

}
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #ffffff;
	text-decoration: none;
}
.navrow a:hover { 
	color: #0061F2; 
	text-decoration: none; 
}

a.link-new, a.link-new:visited { color: #0061F2; }
a.link-new:hover, a.link-new:visited:hover { color: #0061F2; }

/* Content and tables */
#contentrow {
	padding: 0px 10px;
	background: url(images/bg_content.gif) repeat-x;
}

.tablebg {
	border: solid 1px #001ebb;
	border-top-color: #001ebb;
}

.tablebg2 {
	border: solid 1px #006302;
	border-top-color: #006302;
}

.tablebg3 {
	border: solid 1px #b54400;
	border-top-color: #b54400;
}
 
.row1, .row3, .forumrules, tr.row1 .row, tr.row3 .row, .postbottom {
	border-left: solid 0px #FFF;
	border-right: solid 0px #001ebb;
	border-top: solid 0px #e0e0e0;
	border-bottom: solid 0px #001ebb;
	background-color: #ffffff;
	padding: 4px;
}

.row2, tr.row2 .row {
	border-left: solid 0px #FFF;
	border-right: solid 0px #001ebb;
	border-top: solid 0px #e0e0e0;
	border-bottom: solid 0px #001ebb;
	background-color: #e7f6ff;
	padding: 4px;
}

.row4, tr.row4 .row {
	border-left: solid 1px #0030ac;
	border-right: solid 0px #001ebb;
	border-top: solid 0px #e0e0e0;
	border-bottom: solid 0px #001ebb;
	padding: 4px;
	background: #ffffff url(images/row4_bg.gif) top left repeat-y;
}
.row5, tr.row5 .row {
	border-left: solid 1px #0030ac;
	border-right: solid 0px #001ebb;
	border-top: solid 0px #e0e0e0;
	border-bottom: solid 0px #001ebb;
	padding: 4px;
	background: #ffffff url(images/row5_bg.gif) top left repeat-y;
}

th {
	color: #012d75; 
	font-size: 14px; 
	font-weight: bold;
	background: #FFF url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 0px;
	text-align: center;
	height: 26px;
	border-l0eft: solid 0px #FFF;
	border-right: solid 0px #001ebb;
	border-top: solid 0px #001ebb;
	border-bottom: solid 1px #0030ac;
}
th a, th a:visited {
	color: #AAA !important;
	text-decoration: underline;
}
th a:hover {
	color: #0061F2;
	text-decoration: underline;
}

td {
	padding: 0px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 0px #FFF;
	border-right: solid 0px #ffc600;
	border-top: solid 0px #FFF;
	border-bottom: solid 0px #ffc600;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
}
.cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 0px #001ebb;
	border-right: solid 0px #001ebb;
	border-top: solid 0px #0030ac;
	border-bottom: solid 0px #001ebb;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #ffc600;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #ffc600;
}

.legend {
	padding: 4px;
}




/* Table header */
.caption1 { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
	color: #ffffff;
}
.caption2 { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat2_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
	color: #149701;
}
.caption3 { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat3_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
	color: #ffffff;
}
.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;
}
.cap2-left {
	background: url(images/tcat2_left.gif) top left no-repeat;
	padding-left: 25px;
}
.cap2-right {
	background: url(images/tcat2_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
.cap3-left {
	background: url(images/tcat3_left.gif) top left no-repeat;
	padding-left: 25px;
}
.cap3-right {
	background: url(images/tcat3_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 16px;
	line-height: 1em;
	font-weight: bold;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
.caption1 a, caption a:visited {
	color: #ffffff;

}
.caption2 a, caption a:visited {
	color: #ffffff;

}
.caption1 a:hover {
	color: #b2e1ff;
	text-decoration: none;
}
.caption2 a:hover {
	color: #c0ffb7;
	text-decoration: none;
}

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

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


/* Breadcrumbs */

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

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

.postauthor {
	color: #001ebb;
	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: #001ebb;
	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: #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: #001ebb;
}

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

.postbody a { text-decoration: underline; }

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

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

td.pm_replied_colour { background: #001ebb; }
td.pm_replied_colour_left { border-left: solid 3px #001ebb; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #001ebb; 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: #DDA600; }
td.pm_foe_colour_left { border-left: solid 3px #DDA600; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DDA600; 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 #888;
	background-color: #fff;
}
#helpline { color: #444; }

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 #88B184;
}
.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: #001ebb;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #2A5A25; 
	color: #000;
}

label:hover { 
	text-decoration:overline underline;
	color: #315d83;
}

/* BBCode
 ------------ */
.attachtitle, .codetitle {
	direction: ltr;
	margin: 10px 5px 0px 5px;
	padding: 5px;
	border-color: #D8D8D8;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	background: #FAFAFA url(images/bg_box_code.gif) top right no-repeat;
	color: #444;
}
.quotetitle{
	color: #000000;
	background: #dfffdd 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: 12px;
}

.quotecontent {
	margin: 10px 10px 10px 10px ;
	font-weight: normal;
	font-size: 1em;
	background-color: #FAFAFA;
	color: #000000;
}

.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: 11px;
	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: #D1A110;
}

.syntaxstring {
	color: #001ebb;
}


/* 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: #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: #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: #ffffff;
		color: #000;
	}

}