/* Layout
 ------------ */

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

 html #phpbb  {
	font-size: 100%;
}

 body #phpbb  {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #444;
	font-size: 10px;
	margin: 0;
	padding: 0;
}

 #phpbb #body-simple {
	background: #FFF;
	padding: 5px;
}

 #phpbb div#body { 
    padding: 5px;
}

/* Misc stuff */

 #phpbb img {
	border: none;
}

 #phpbb .gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

 #phpbb .genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

 #phpbb .gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

 #phpbb .titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

 #phpbb .error , #phpbb table td .error {
	color: #aa0000;
}

 #phpbb .spacer {
	background: #A8ADAF url(images/cathead.gif) top left repeat-x;
}

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

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

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

 #phpbb a {
	color: #8B9092;
	text-decoration: none;
}

 #phpbb a:active , #phpbb a:visited {
	color: #8B9092;
	text-decoration: none;
}

 #phpbb a:hover {
	color: #aa0000;
	text-decoration: none;
}

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

 #phpbb a.topictitle {
	margin: 1px 0px;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

 #phpbb a.topictitle , #phpbb .postbody a {
	color: #5b5d5e;
}

 #phpbb a.topictitle:visited , #phpbb .postbody a:visited {
	color: #5b5d5e;
}

 #phpbb a.topictitle:visited:hover , #phpbb .postbody a:visited:hover {
	color: #aa0000;
}

 #phpbb a.topictitle:hover , #phpbb .postbody a:hover {
	color: #aa0000;
}

/* Header and logo */

 #phpbb #maintable {
	margin: 0 auto;
	background-color: #FFF;
}

 #phpbb #header , #phpbb .row-left , #phpbb .row-right { padding: 0; }

 #phpbb .row-left { width: 0px; overflow: hidden; top left repeat-y; }

 #phpbb .row-right { width: 0px; overflow: hidden; top right repeat-y; }

 #phpbb #logorow {
	background: url(images/headers/rotate.php) top left no-repeat;
	text-align: center;
	padding: 0;
}

 #phpbb #logo-left {
	background: url(images/logo_left.gif) top left no-repeat;
}

 #phpbb #logo-right {
	background: url(images/logo_right.gif) top right no-repeat;
	padding: 4px 0px 0 0px;
	text-align: left;
	overflow: hidden;
}

 #phpbb .pm-notify-new , #phpbb .pm-notify-unread {
	border-left: solid 1px #ACB4BA;
	border-right: solid 1px #9EA7AC;
	border-top: solid 1px #ACB4BA;
	border-bottom: solid 1px #9EA7AC;
	background: #F1F3F3 url(images/cell.gif) top left repeat-x;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}

 #phpbb .pm-notify-new a , #phpbb .pm-notify-new a:visited , #phpbb .pm-notify-unread a , #phpbb .pm-notify-unread a:visited { text-decoration: underline; }

 #phpbb .pm-notify-header {
	margin-bottom: 10px;
	color: #aa0000;
}

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

/* Navigation buttons */

 #phpbb .navrow {
	background: url(images/buttons.gif) top left repeat-x; 
	height: 21px;
	overflow: hidden;
	color: #ABAFB0;
	text-align: center;
	font-size: 11px;
	padding-top: 4px;
}

/* * html .navrow { padding: 0; } */

 #phpbb .navrow b , #phpbb .navrow strong { font-weight: normal; }

 #phpbb .navrow a , #phpbb .navrow a:visited {
	color: #8B9092;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
}

 #phpbb .navrow a:hover { 
	color: #aa0000; 
	text-decoration: underline; 
}

 #phpbb a.link-new , #phpbb a.link-new:visited { color: #aa0000; }

 #phpbb a.link-new:hover , #phpbb a.link-new:visited:hover { color: #C54644; }

/* footer */

 #phpbb .row-bottom { 
    padding: 0;
    overflow: hidden;
    height: 10px;
}

 * html #phpbb  .row-bottom { font-size: 1px; line-height: 1px; }

 #phpbb .row-bottom div {
    height: 10px;
}

 #phpbb .row-bottom div div {
}

/* Content and tables */

 #phpbb #contentrow {
	padding: 8px;
}

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

 #phpbb .block-start .tablebg { 
    border-top-width: 0; 
    border-bottom-width: 0; 
    border-color: #717577;
}

 #phpbb .row1 , #phpbb .row2 , #phpbb .row3 , #phpbb .legend , #phpbb .forumrules , #phpbb tr.row1 .row , #phpbb tr.row2 .row , #phpbb tr.row3 .row , #phpbb .postbottom {
	border-left: solid 1px #fff;
	border-right: solid 1px #B7BABC;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #B7BABC;
	background: #F1F3F3 url(images/cell.gif) top left repeat-x;
	padding: 4px;
}

 #phpbb th {
	color: #8F9395; 
	font-size: 11px; 
	font-weight: bold;
	background: #F4F6F6 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 #B7BABC;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #B7BABC;
}

 #phpbb th a , #phpbb th a:visited {
	color: #8F9395 !important;
	text-decoration: underline;
}

 #phpbb th a:hover {
	color: #aa0000;
	text-decoration: underline;
}

 #phpbb td {
	padding: 2px;
}

 #phpbb td.profile {
	padding: 4px;
}

 #phpbb .catdiv , #phpbb .cat , #phpbb .cathead {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #AFB4B5;
	border-right: solid 1px #B7BABC;
	border-top: solid 1px #7F8385;
	border-bottom: solid 1px #B7BABC;
	background: #ACB0B1 url(images/cathead.gif) top left repeat-x;
	color: #F1F3F4;
}

 #phpbb .cat , #phpbb .cathead {
	text-indent: 4px;
}

 #phpbb .catdiv a , #phpbb .cathead a , #phpbb .cat a {
    color: #F1F3F4;
    text-decoration: none;
}

 #phpbb .catdiv a:hover , #phpbb .cathead a:hover , #phpbb .cat a:hover {
    color: #fff;
    text-decoration: none;
}

/* Table header */

 #phpbb caption { 
	margin: 0; 
	padding: 0;
	background: url(images/hdr_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 27px;
	text-align: left;
}

 #phpbb .cap-left {
	background: url(images/hdr_left.gif) top left no-repeat;
}

 #phpbb .cap-right {
	background: url(images/hdr_right.gif) top right no-repeat;
	padding-top: 6px;
	padding-left: 23px;
	height: 21px;
}

 #phpbb caption , #phpbb caption h1 , #phpbb caption h2 , #phpbb caption h3 , #phpbb caption h4 , #phpbb caption span { 
	font-size: 12px;
	font-weight: bold;
	color: #F1F3F4;
}

 #phpbb caption h1 , #phpbb caption h2 , #phpbb caption h3 , #phpbb caption h4 , #phpbb caption span { 
	display: inline;
}

 #phpbb caption a , #phpbb caption a:visited {
	color: #F1F3F4;
	text-decoration: underline;
}

 #phpbb caption a:hover {
	color: #FFF;
	text-decoration: underline;
}

 #phpbb .block-start { background: url(images/ftr_mid.gif) bottom left repeat-x; }

 #phpbb .block-end-left { background: url(images/ftr_left.gif) top left no-repeat; }

 #phpbb .block-end-right { background: url(images/ftr_right.gif) top right no-repeat; }

 #phpbb .block-end-left , #phpbb .block-end-right { height: 4px; overflow: hidden; padding: 0; }

/* Footer */

 #phpbb #wrapfooter {
	text-align: center;
	color: #CCC;
	padding-top: 10px;
}

 #phpbb .copyright {
	color: #8B9092;
	font-weight: normal;
	font-size: 9px;
	line-height: 1.2em;
}

 #phpbb .copyright a , #phpbb .copyright a:visited {
	color: #B7BABC;
	text-decoration: underline;
}

 #phpbb .copyright a:hover { color: #8B9092; }

/* Breadcrumbs */

 #phpbb .breadcrumb .row1 { 
    border-width: 1px 0 0 1px; 
    background: #F5F6F7;    
}

 #phpbb p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #9CA0A2;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

 #phpbb .rtl p.breadcrumbs {
	float: right;
}

 #phpbb p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

 #phpbb .rtl p.datetime {
	float: left;
}

/* Index/viewforum */

 #phpbb .subforum.read { 
	background: url(images/sub_old.gif) top left no-repeat;
	padding-left: 12px;
}

 #phpbb .subforum.unread { 
	background: url(images/sub_new.gif) top left no-repeat;
	padding-left: 12px;
}

 #phpbb .legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
	border-top-color: #BEC1C4;
	border-left-color: #BEC1C4;
}

 #phpbb .legend-viewforum { 
	margin: 0; 
	text-align: left; 
	border-top-color: #BEC1C4;
	border-left-color: #BEC1C4;
}

 #phpbb .forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border-left: solid 1px #C3C6C9;
	border-right: solid 1px #B7BABC;
	border-top: solid 1px #C3C6C9;
	border-bottom: solid 1px #B7BABC;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

 #phpbb .forumrules h3 {
	color: #aa0000;
}

/* Post */

 #phpbb .postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #5b5d5e;
}

 #phpbb td.postbottom { 
	background: #F5F7F7 url(images/profile.gif) top left repeat-x; 
	font-size: 10px;
	color: #959A9C;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
	border-left: solid 1px #F2F4F5;
	border-top: solid 1px #F2F4F5;
	border-right: solid 1px #B3B6B8;
	border-bottom: solid 1px #B3B6B8;
}

 #phpbb td.postbuttons { padding-top: 3px; }

 #phpbb .postdetails { 
	color: #999E9F;
	font-size: 10px; 
	text-align: left;
}

 #phpbb .postdetails b {
	color: #999E9F;
}

 #phpbb .posterrank { font-size: 9px; color: #82888A; margin-bottom: 3px;}

 #phpbb .posterprofile { font-size: 10px; color: #8B9092; }

 #phpbb .postauthor {
	color: #5b5d5e;
	font-size: 12px;
	font-weight: bold;
}

 #phpbb .postonline { margin-top: 15px; }

 #phpbb .postreported , #phpbb .postreported a:visited , #phpbb .postreported a:hover , #phpbb .postreported a , #phpbb .postreported a:active {
	margin: 1px 0px;
	color: #aa0000;
	font-weight: bold;
}

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

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

 #phpbb .postbody {
	font-size: 12px;
	line-height: 1.4em;
	margin: 3px 0;
}

 #phpbb .signature {
	font-size: 11px;
	color: #666;
	margin-top: 5px;
}

 #phpbb .signature .line { color: #B7BABC; }

 #phpbb .postbody li , #phpbb ol , #phpbb ul {
	margin: 0 0 0 1.5em;
}

 #phpbb .rtl .postbody li , #phpbb .rtl ol , #phpbb .rtl ul {
	margin: 0 1.5em 0 0;
}

 #phpbb .posthilit {
	background-color: #B6BCBE;
}

 #phpbb .postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #8B9092;
}

 #phpbb .postbody a { text-decoration: underline; }

/* UCP */

 #phpbb .folder-current a , #phpbb .folder-current a:visited {
	color: #aa0000;
	font-weight: bold;
}

 #phpbb .folder-current a:hover { color: #aa0000; }

 #phpbb td.pm_marked_colour { background: #aa0000; }

 #phpbb td.pm_marked_colour_left { border-left: solid 3px #aa0000; padding-left: 2px; }

 #phpbb td.pm_marked_colour_right { border-right: solid 3px #aa0000; padding-right: 2px; }

 #phpbb td.pm_replied_colour { background: #8B9092; }

 #phpbb td.pm_replied_colour_left { border-left: solid 3px #8B9092; padding-left: 2px; }

 #phpbb td.pm_replied_colour_right { border-right: solid 3px #8B9092; padding-right: 2px; }

 #phpbb td.pm_friend_colour { background: #007700; }

 #phpbb td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }

 #phpbb td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

 #phpbb td.pm_foe_colour { background: #BC213E; }

 #phpbb td.pm_foe_colour_left { border-left: solid 3px #BC213E; padding-left: 2px; }

 #phpbb td.pm_foe_colour_right { border-right: solid 3px #BC213E; padding-right: 2px; }

/* Form Elements
 ------------ */

 #phpbb form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

 #phpbb textarea , #phpbb select , #phpbb .post , #phpbb .btnbbcode , #phpbb .btnmain , #phpbb .btnlite , #phpbb .btnfile , #phpbb .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #B7BABC;
	background-color: #F4F5F6;
}

 #phpbb .cat .btnmain , #phpbb .cat .btnlite , #phpbb .cat select {
    color: #444;
    background-color: #C4C7C8;
    border-color: #5F6466;
}

 #phpbb input {
	font-size: 1.1em;
	padding: 1px;
}

 #phpbb textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}

 #phpbb select {
	font-size: 1.1em;
	padding: 1px;
}

 #phpbb option {
	padding: 0 1em 0 0;
}

 #phpbb .rtl option {
	padding: 0 0 0 1em;
}

 #phpbb .post {
	border-style: solid;
	border-width: 1px;
}

 #phpbb .btnbbcode {
	font-size: 1.1em;
	color: #8B9092;
	border: 1px solid #CFD2D5;
}

 #phpbb .btnbbcode:hover {
	border-color: #B7BABC;
	color: #000;
}

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

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

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

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

 #phpbb #helpline { color: #AAA; }

 * html #phpbb  textarea , * html #phpbb  select , * html #phpbb  .post , * html #phpbb  .btnmain , * html #phpbb  .btnlite , * html #phpbb  .btnfile {
	border-color: #B7BABC;
}

 * html #phpbb  .cat .btnmain , * html #phpbb  .cat .btnlite {
    border-color: #5F6466;
}

 #phpbb textarea:hover , #phpbb select:hover , #phpbb .post:hover , #phpbb .btnmain:hover , #phpbb .btnlite:hover , #phpbb .btnfile:hover {
	border-color: #94989A;
}

 #phpbb textarea:focus , #phpbb select:focus , #phpbb .post:focus , #phpbb .btnmain:focus , #phpbb .btnlite:focus , #phpbb .btnfile:focus {
	border-color: #737677; 
	color: #000;
}

 #phpbb .cat .btnmain:hover , #phpbb .cat .btnlite:hover , #phpbb .cat select:hover {
    border-color: #424547;
}

 #phpbb .cat .btnmain:focus , #phpbb .cat .btnlite:focus , #phpbb .cat select:focus {
    border-color: #424547;
    color: #000;
}

 #phpbb label:hover { 
	color: #aa0000; 
}

/* BBCode
 ------------ */

 #phpbb .quotetitle , #phpbb .attachtitle , #phpbb .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px;
	border: solid 1px #CED1D3;
	color: #8B9092;
	background-color: #ECEEEF;
	font-size: 0.85em;
	font-weight: bold;
}

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

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

 #phpbb .attachcontent {
	font-size: 0.85em;
}

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

 #phpbb .quotewrapper , #phpbb .codewrapper , #phpbb .attachwrapper {
	clear: both;
	margin: 10px 5px;
	background: #ECEEEF url(images/code_header.gif) top left no-repeat;
	padding-left: 19px;
	border: solid 1px #CED1D3;
	border-bottom-color: #B7BABC;
	border-right-color: #B7BABC;
}

 #phpbb .quotewrapper { background-image: url(images/quote_header.gif); }

 #phpbb .quotewrapper .quotetitle , #phpbb .codewrapper .codetitle , #phpbb .attachwrapper .attachtitle { 
	margin: 0; 
	border-width: 0 0 1px 1px;
}

 #phpbb .quotewrapper .quotecontent , #phpbb .codewrapper .codecontent , #phpbb .attachwrapper .attachcontent {
	margin: 0; 
	border-width: 0 0 0 1px;
}

 #phpbb .attachcontent , html > body #phpbb  .postbody {
	overflow: auto;
	overflow-x: auto;
}

 #phpbb .syntaxbg {
	color: #F1F3F4;
}

 #phpbb .syntaxcomment {
	color: #8B9092;
}

 #phpbb .syntaxdefault {
	color: #444;
}

 #phpbb .syntaxhtml {
	color: #6C7274;
}

 #phpbb .syntaxkeyword {
	color: #516469;
}

 #phpbb .syntaxstring {
	color: #687073;
}

/* More misc stuff */

 #phpbb h1 {
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

 #phpbb h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

 #phpbb h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

 #phpbb h4 {
	margin: 0px;
	font-size: 1.1em;
	font-weight: bold;
}

 #phpbb p {
	font-size: 1.1em;
}

 #phpbb p.moderators {
	margin: 0px;
	float: left;
	color: #8B9092;
	font-weight: bold;
}

 #phpbb .rtl p.moderators {
	float: right;
}

 #phpbb p.linkmcp {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

 #phpbb .rtl p.linkmcp {
	float: left;
}

 #phpbb p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
}

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

 #phpbb .rtl p.searchbarreg {
	float: left;
}

 #phpbb p.forumdesc {
	padding-bottom: 4px;
}

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

 #phpbb p.topicdetails {
	margin: 1px 0px;
}

 #phpbb td.history-current , #phpbb tr.row1 td.history-current , #phpbb tr.row2 td.history-current {
	background: #FFF;
}

 #phpbb table.colortable td {
	padding: 0;
}

 #phpbb pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

 #phpbb .nowrap {
	white-space: nowrap;
}

 #phpbb .username-coloured {
	font-weight: bold;
}

 #phpbb .sep {
	color: #8B9092;
}

/* bugs */

 #phpbb @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;
	}



}
