/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		ElementRed
	Based on style:	subSilver (the default phpBB 2 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		psoTFX and the phpBB team ( http://www.phpbb.com )
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* 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:  Helvetica, "Lucida Grande", Verdana, Arial, sans-serif;
	color: #FFFFFF;
	background-image: url('styles/ElementRed/theme/images/bg.gif');
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0;
}

.wrap {
	width: 99%;
	margin: 0 auto;
	min-width: 800px;
	margin-top: 5px;
}

#wrapheader {
	height: auto !important;
	padding: 0;
}

.inner {
	background-color: #000;
}

.bc {
	border-left: 1px dashed #494949;
	border-top: 1px dashed #494949;
	border-right: 1px dashed #191919;
	border-bottom: 1px dashed #191919;
	padding: 4px;
}

.logo {
	padding-left: 30px;
}

a.headw, a.headw:visited, a.headw:link, a.headw:active, a.headw:hover {
	color: #FFFFFF;
	font-family:  Helvetica, "Trebuchet MS", Arial, sans-serif;
	font-weight: bold;
	text-decoration: none;
	font-size: 1.7em;
	padding-left: 1px;
}

.genmedw {
	color: #FFFFFF;
	margin: 1px 1px;
	font-size: 1.5em;
}

a.genmedw, a.genmedw:visited, a.genmedw:link, a.genmedw:active, a.genmedw:hover {
	color: #FFFFFF;
	margin: 1px 1px;
	font-size: 1.5em;
}

#wrapcentre {
	margin: 2px 10px 0 10px;
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
	width: 100%;
	margin: 0;
	background-color: #ECECEC;
	border-width: 1px;
	border-style: solid;
	border-color: #A9B8C2;
}

#datebar {
	margin: 15px 10px 0 10px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #000;
	border-left: 1px dashed #494949;
	border-top: 1px dashed #494949;
	border-right: 1px dashed #191919;
	border-bottom: 1px dashed #191919;
	padding: 4px;
	font-weight: normal;
	font-size: 1.5em;
	font-family:  Helvetica, "Lucida Grande", Verdana, Arial, sans-serif;
}

.forumrules h3 {
	color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }

.navspacel {
	display: block;
	position: relative;
	float: left;
	width: 4px;
	height: 20px;
}

.navspacer {
	display: block;
	position: relative;
	float: right;
	width: 4px;
	height: 20px;
}

a.squarebuttonl {
	background: transparent url('styles/ElementRed/theme/images/navl.gif') no-repeat top left;
	display: block;
	float: left;
	font-size: 10px; /* Change as desired */
	line-height: 12px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
	height: 20px; /* Height of button background height */
	padding-left: 8px; /* Width of left menu image */
	text-decoration: none;
}

a.squarebuttonr {
	background: transparent url('styles/ElementRed/theme/images/navl.gif') no-repeat top left;
	display: block;
	float: right;
	font-size: 10px; /* Change as desired */
	line-height: 12px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
	height: 20px; /* Height of button background height */
	padding-left: 8px; /* Width of left menu image */
	text-decoration: none;
}

a:link.squarebuttonl, a:visited.squarebuttonl, a:active.squarebuttonl, a:link.squarebuttonr, a:visited.squarebuttonr, a:active.squarebuttonr {
	color: #FFFFFF; /*button text color*/
	text-decoration: none;
}

a.squarebuttonl span, a.squarebuttonr span {
	background: transparent url('styles/ElementRed/theme/images/navr.gif') no-repeat top right;
	display: block;
	padding: 4px 8px 4px 0; /*Set 8px below to match value of 'padding-left' value above*/
}

a.squarebuttonl:hover, a.squarebuttonr:hover { /* Hover state CSS */
	background-position: bottom left;
}

a.squarebuttonl:hover span, a.squarebuttonr:hover span { /* Hover state CSS */
	background-position: bottom right;
	color: #FFFFFF;
}

.buttonwrapper { /* Container you can use to surround a CSS button to clear float */
	overflow: hidden;
	padding-top: 4px;
	height: 20px;
	width: 100%;
}

/* Search box
--------------------------------------------- */
#search-box {
    color: #FFF;
    float: right;
    padding-top: 38px;
	padding-right: 30px;
    text-align: right;
    white-space: nowrap; /* For Opera */
}

#search-box #keywords {
    width: 135px;
    height: 18px;
    background: transparent url("styles/ElementRed/theme/images/searchbg.gif");
    background-repeat: no-repeat;
    color: #FFF;
    font-size: 10px;
    font-style: italic;
}

#search-box input {
    border: none;
}

/* .button1 style defined later, just a few tweaks for the search button version */
#search-box input.button1 {
    padding: 1px 5px;
}

#search-box li {
    text-align: right;
}

#search-box img {
    vertical-align: middle;
    margin-right: 3px;
}

input.search {
    padding-left: 6px;
    padding-top: 2px;
}

input.forumsearch {
    border-color: #3A4955;
    color: #999999;
    font-size: 10px;
    font-style: italic;
    padding-left: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.nb {
	border: none;
	background: none;
}

/*  Text
 --------------------- */
h1 {
	color: black;
	font-family:  Helvetica, "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
}

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

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

h4 {
	margin: 0;
	font-size: 1.2em;
	font-weight: bold;
}

p {
	font-size: 1.4em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
	padding-bottom: 3px;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: #FFF;
	font-weight: bold;
	white-space: normal;
	font-size: 1.4em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1.6em;
}

.rtl p.datetime {
	float: left;
}

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

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

.rtl p.searchbarreg {
	float: left;
}

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

p.forumdescg {
	color: #747474;
	padding-bottom: 4px;
	font-size: 1.6em;
}

.postdesc {
	color: #747474;
	font-size: 1.6em;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

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

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
	padding-top: 5px;
}

.postauthor {
	color: #FFFFFF;
}

.postdetails {
	color: #FFFFFF;
}

.postbody {
	font-size: 1.5em;
	line-height: 1.4em;
	font-family: Helvetica,"Lucida Grande", "Trebuchet MS", Arial, sans-serif;
}

.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: yellow;
}

.nav {
	margin: 0;
	color: #FFF;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: #FFF;
	font-size: 1.5em;
	font-weight: bold;
}

.cattitle {
}

.gen {
	margin: 1px 1px;
	font-size: 1.5em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.4em;
}

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

.copyright, a.copyright, a.copyright:visited, a.copyright:link, a.copyright:active {
	color: #7C7C7C;
	font-weight: normal;
	font-family: Helvetica, "Lucida Grande", Verdana, Arial, sans-serif;
}

a.copyright:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

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

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #FFFFFF;
	height: 20px;
	font-size: 10px;
	font-weight: bold;
	background-color: #000;
	background-image: url('styles/ElementRed/theme/images/th.gif');
	background-repeat: repeat-x;
	background-position: top;
	white-space: nowrap;
	border-bottom: 1px solid #191919;
}

td.profile {
	padding: 4px;
	border-right: solid 1px #191919;
}

.tablebg {
	background-color: #000;
	border-left: solid 1px #494949;
	border-right: solid 1px #191919;
	border-top: solid 1px #494949;
	border-bottom: solid 1px #191919;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: white url('styles/ElementRed/theme/images/th.gif') repeat-y scroll top left;
}

.rtl .catdiv {
	background: white url('styles/ElementRed/theme/images/th.gif') repeat-y scroll top right;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #000;
	background-image: url('styles/ElementRed/theme/images/th.gif');
	background-repeat: repeat-x;
	background-position: top;
	text-indent: 4px;
	border-top: solid 1px #494949;
}

.catb {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #000;
	background-image: url('styles/ElementRed/theme/images/th.gif');
	background-repeat: repeat-x;
	background-position: top;
	text-indent: 4px;
}

.row1 {
	background-color: #000;
	padding: 4px;
}

.row1h {
	background-color: #000;
	padding: 4px;
}

.row1h:hover {
}

.row2, .row3 {
	background-color: #000;
	padding: 4px;
}

.row4 {
	background-color: #000;
	padding: 4px;
	background-image: url('styles/ElementRed/theme/images/thb.gif');
	background-repeat: repeat-x;
	background-position: top;
}

.row4h {
	background-color: #000;
	padding: 4px;
	background-image: url('styles/ElementRed/theme/images/th.gif');
	background-repeat: repeat-x;
	background-position: top;
}

.spacer {
	border-top: solid 1px #191919;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #000;
	color: #FFF;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */
/* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a {
	direction: rtl;
	unicode-bidi: embed;
}

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

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

a.link-new, a.link-new:visited {
	text-decoration: underline;
}
a.link-new:hover, a.link-new:visited:hover {
	text-decoration: underline; 
}

a.forumlink, a.forumlink:visited, a.forumlink:link, a.forumlink:active {
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.5em;
}

a.forumlink:hover {
	color: #DCDCDC;
}

a.topictitle, a.topictitle:visited, a.topictitle:link, a.topictitle:active {
	margin: 1px 0;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
}

a.topictitle:hover {
	color: #DCDCDC;
}

th a,
th a:visited {
	color: #FFFFFF !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: underline;
}


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

input {
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #A9B8C2;
	background-color: #FAFAFA;
}

textarea {
	background-color: #FAFAFA;
	color: #333333;
	font-family: Helvetica, "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 1.7em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: Helvetica, "Lucida Grande", Verdana, sans-serif;
	font-size: 1.6em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

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

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #FFF;
	font-weight: normal;
	font-size: 1.4em;
	font-family: Helvetica, Verdana, sans-serif;
	background-color: #000;
	border-left: solid 1px #494949;
	border-right: solid 1px #191919;
	border-top: solid 1px #494949;
	border-bottom: solid 1px #191919;
}

.btnbbcode:hover {
	border-left: solid 1px #191919;
	border-right: solid 1px #494949;
	border-top: solid 1px #191919;
	border-bottom: solid 1px #494949;
}

.btnmain {
	font-weight: bold;
	color: #FFF;
	background-color: #000;
	border-left: solid 1px #494949;
	border-right: solid 1px #191919;
	border-top: solid 1px #494949;
	border-bottom: solid 1px #191919;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.4em;
}

.btnmain:hover {
	border-left: solid 1px #191919;
	border-right: solid 1px #494949;
	border-top: solid 1px #191919;
	border-bottom: solid 1px #494949;
}

.btnlite {
	font-weight: normal;
	color: #FFF;
	background-color: #000;
	border-left: solid 1px #494949;
	border-right: solid 1px #191919;
	border-top: solid 1px #494949;
	border-bottom: solid 1px #191919;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite:hover {
	border-left: solid 1px #191919;
	border-right: solid 1px #494949;
	border-top: solid 1px #191919;
	border-bottom: solid 1px #494949;
}

.btnfile {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #A9B8C2;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	color: #FFF;
	background-color: #000;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-left: 1px solid #494949;
	border-top: 1px solid #494949;
	border-right: 1px solid #191919;
	border-bottom: 1px solid #191919;
	color: #FFF;
	background-color: #000;
	background-image: url('styles/ElementRed/theme/images/th.gif');
	background-repeat: repeat-x;
	background-position: top;
	font-size: 1.4em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1.3;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-left: 1px dashed #494949;
	border-right: 1px dashed #191919;
	border-bottom: 1px dashed #191919;
	font-weight: normal;
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: Helvetica, "Lucida Grande", "Trebuchet MS", Arial, sans-serif;
	background-color: #000;
	color: #FFF;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-left: 1px solid #494949;
	border-top: 1px solid #494949;
	border-right: 1px solid #191919;
	border-bottom: 1px solid #191919;
	color: #FFF;
	background-color: #000;
	background-image: url('styles/ElementRed/theme/images/th.gif');
	background-repeat: repeat-x;
	background-position: top;
	font-family: Helvetica, "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 1.4em;
}

.codecontent code {
	overflow: auto;
    display: block;
    height: auto;
    max-height: 400px;
    white-space: normal;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-left: 1px dashed #494949;
	border-right: 1px dashed #191919;
	border-bottom: 1px dashed #191919;
	font-weight: normal;
	color: #FFF;
	font-size: 1.4em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #000;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #FFFFFF;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


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

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

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

.nowrap {
	white-space: nowrap;
}

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

.buttons {
	float: left;
	width: auto;
	height: auto;
}

/* Rollover state */
.buttons div {
	float: left;
	margin: 0 5px 0 0;
	background-position: 0 100%;
}

/* Rolloff state */
.buttons div a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0;
	position: relative;
	overflow: hidden;
}

.profile-icons {
	float: right;
	width: auto;
	height: auto;
}

/* Rollover state */
.profile-icons div {
	float: right;
	margin: 0 0 5px 5px;
	background-position: 0 100%;
}

/* Rolloff state */
.profile-icons div a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0;
	position: relative;
	overflow: hidden;
}

.review-icons {
	float: right;
	width: auto;
	height: auto;
}

/* Rollover state */
.review-icons div {
	float: right;
	margin: 5px 5px 5px 0;
	background-position: 0 100%;
}

/* Rolloff state */
.review-icons div a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0;
	overflow: hidden;
}

/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
/*.buttons div span		{ display: none; }*/
/*.buttons div a:hover	{ background-image: none; }*/
.buttons div span			{ position: absolute; width: 100%; height: 100%; cursor: pointer;}
.buttons div a:hover span	{ background-position: 0 100%; }

/* Big button images */
.reply-icon span, .qreply-icon span, .post-icon span, .locked-icon span	{ background: transparent none 0 0 no-repeat; }
.pmreply-icon span, .newpm-icon span, .forwardpm-icon span	{ background: none 0 0 no-repeat; }

/* Set big button dimensions */
.buttons div.reply-icon, .buttons div.qreply-icon, .buttons div.post-icon, .buttons div.locked-icon, .buttons div.pmreply-icon, .buttons div.newpm-icon, .buttons div.forwardpm-icon	{ width: 100px; height: 30px; }

/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
.profile-icons span { display:none; }
.profile-icons a:hover { background: none; }
.review-icons span { display:none; }
.review-icons a:hover { background: none; }

/* Profile & navigation icons */
.quote-icon, .quote-icon a, .report-icon, .report-icon a, .warn-icon, .warn-icon a, .edit-icon, .edit-icon a, .delete-icon, .delete-icon a, .info-icon, .info-icon a	{ background: none top left no-repeat; }

/* Set profile icon dimensions */
.profile-icons div.quote-icon, .review-icons div.quote-icon	{ width: 43px; height: 18px; }
.profile-icons div.report-icon, .profile-icons div.info-icon, .profile-icons div.warn-icon, .review-icons div.report-icon, .review-icons div.info-icon, .review-icons div.warn-icon   { width: 19px; height: 18px; }
.profile-icons div.edit-icon, .review-icons div.edit-icon	{ width: 34px; height: 18px; }
.profile-icons div.delete-icon, .review-icons div.delete-icon	{ width: 17px; height: 18px; }

.reply-icon span	{ background-image: url("./styles/ElementRed/imageset/en/button_topic_reply.gif"); }
.qreply-icon span	{ background-image: url("./styles/ElementRed/imageset/en/button_topic_qreply.gif"); }
.post-icon span		{ background-image: url("./styles/ElementRed/imageset/en/button_topic_new.gif"); }
.locked-icon span	{ background-image: url("./styles/ElementRed/imageset/en/button_topic_locked.gif"); }
.pmreply-icon span	{ background-image: url("./styles/ElementRed/imageset/en/button_pm_reply.gif"); }
.newpm-icon span 	{ background-image: url("./styles/ElementRed/imageset/en/button_pm_new.gif"); }
.forwardpm-icon span	{ background-image: url("./styles/ElementRed/imageset/en/button_pm_forward.gif"); }

/* Profile & navigation icons */
.quote-icon, .quote-icon a		{ background-image: url("./styles/ElementRed/imageset/en/icon_post_quote.gif"); }

/* Moderator icons */
.report-icon, .report-icon a		{ background-image: url("./styles/ElementRed/imageset/en/icon_post_report.gif"); }
.edit-icon, .edit-icon a			{ background-image: url("./styles/ElementRed/imageset/en/icon_post_edit.gif"); }
.delete-icon, .delete-icon a		{ background-image: url("./styles/ElementRed/imageset/en/icon_post_delete.gif"); }
.info-icon, .info-icon a			{ background-image: url("./styles/ElementRed/imageset/en/icon_post_info.gif"); }
.warn-icon, .warn-icon a			{ background-image: url("./styles/ElementRed/imageset/en/icon_user_warn.gif"); }