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

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

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

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size : 22px;
	font-weight : bold;
	text-decoration : none;
	line-height : 120%;
	color : #FFFFFF;
}

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

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
	line-height: 130%;
}

.gensmall, {

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

.spacer {
	background: #724A86 url(images/th.gif) top left repeat-x;
	padding: 2px;
}

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

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

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

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

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

.forumlink			{ font-size : 12px; font-weight : bold; text-decoration : none; color : #E3DDFF; }
a.forumlink			{ text-decoration: none; color : #E3DDFF; }
a.forumlink:hover	{ text-decoration: underline; color : #E3DDFF; }

/* Forum categories */
.cattitle			{ font-size : 12px; line-height : 100%; letter-spacing: 1px; font-weight : bold; text-decoration : none; color : #E3DDFF }
a.cattitle			{ text-decoration: none; color : #E3DDFF; }
a.cattitle:hover	{ text-decoration: underline; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
a.nav			{ font-size : 11px; font-weight : bold; text-decoration: none; color : #E3DDFF; }
a.nav:hover		{ text-decoration: underline; }

a.topictitle, .topictitle {
	margin: 1px 0px;
	font-weight: bold;
	font-size: 11px;
}

a.topictitle, .postbody a {
	color: #E3DDFF;
}
a.topictitle:visited, .postbody a:visited {
	color: #9C96B6;
}
a.topictitle:hover, .postbody a:hover {
	color: #E3DDFF;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	text-decoration: underline;
}

a.purplelink		{ color: #A483E3; text-decoration: none; }
a.purplelink:hover	{ color: #A483E3; text-decoration: underline; }

/* Header and logo */
#maintable {
	border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px;
	border-color: #602C72;
	margin: 0 auto;
}
#logorow {
	background: url(images/logo_bg.gif) top left repeat-x;
	text-align: center;
}

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

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

.pm-notify-new, .pm-notify-unread {
	border-left: solid 1px #602C72;
	border-right: solid 1px #602C72;
	border-top: solid 1px #602C72;
	border-bottom: solid 1px #602C72;
	background-color: #222233;
	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: #CCC;
}
.pm-notify-new:hover, .pm-notify-unread:hover {
	border-left: solid 1px #9E80A8;
	border-right: solid 1px #9E80A8;
	border-top: solid 1px #9E80A8;
	border-bottom: solid 1px #9E80A8;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navrow {
	background: #933BC6 url(images/buttons.gif) top left repeat-x; 
	height: 21px;
	overflow: hidden;
	border-bottom: solid 1px #000;
	border-top: solid 1px #000;
	color: #F0E80A;
	text-align: center;
	font-size: 11px;
	padding: 4px;
}
* html .navrow { padding: 0; }
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #FFF;
	text-decoration: none;
}
.navrow a:hover { 
	color: #F0E80A; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #F0E80A; }
a.link-new:hover, a.link-new:visited:hover { color: #FFF; }

/* Content and tables */
#contentrow {
	padding: 7px;
	background-color: #111133; border-style: 1px solid; border-color: #602C72 #602C72 #602C72 #602C72;
}

.tablebg {
	background-color: #000000;
	border: 1px #602C72 solid;
}

.legend, .forumrules, .postbottom {
	border-left: solid 1px #404040;
	border-right: solid 1px #121212;
	border-top: solid 1px #3C3C3C;
	border-bottom: solid 1px #131313;
	background: #313131 url(images/cell.gif) top left repeat-x;
}

td		{ font-family: Verdana, Arial, Helvetica, sans-serif; padding: 4px; }
th {
	font-family: Verdana, Arial, Helvetica, sans-serif
	color: #E3DDFF; 
	height: 28px;
	font-size: 11px;
	line-height : 100%;
	font-weight: bold;
	background: #000022 url(images/th.gif) top left repeat-x;
}
th.thtop { border-width: 0px 0px 0px 0px; }
th a, th a:visited {
	color: #E2CCF0 !important;
	text-decoration: underline;
}
th a:hover {
	color: #FFF;
	text-decoration: underline;
}

td.profile {
	padding: 3px;
}

.profilespacing {
	font-size: 140%;
}

.catdiv {
	background: #FFFFFF url(images/cathead2.jpg) top left repeat-y;
	height: 28px;
}
.rtl .catdiv {
	background: #2C2C2C url(images/cathead.gif) top left repeat-x;
}

.cat {
	height: 28px;
	background: #333366 url(images/cathead.gif) top left repeat-x;
	font-size : 12px; line-height : 100%; letter-spacing: 1px; font-weight : bold; text-decoration : none; color : #E3DDFF;

}
.cattopic {
	height: 28px;
	background: #333366 url(images/cathead.gif) top left repeat-x;
	font-size : 11px; font-weight : bold; text-decoration : none; color : #E3DDFF;
}
.cathead {
	background: #6F269A url(images/catbottom.gif) top left repeat-x;
	height: 28px;
	border-left: solid 1px #8D31C2;
	border-right: solid 1px #56167D;
	border-top: solid 1px #9039C3;
	border-bottom: solid 1px #56167D;
}

.row1		{ background-color: #222233; padding: 3px; }
.row2		{ background-color: #2C2B3C; padding: 3px; }
.row3		{ background-color: #333344; padding: 3px; }


/* Table header */
caption { 
	margin: 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_left.gif) top left no-repeat;
}
.cap-right {
	background: url(images/hdr_right.gif) top right no-repeat;
	padding-top: 8px;
	height: 19px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 12px;
	font-weight: bold;
	color: #9532D0;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #9532D0;
	text-decoration: underline;
}
caption a:hover {
	color: #D0D0D0;
	text-decoration: underline;
}


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

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


/* Breadcrumbs */
span.breadcrumbs {
	margin: 0;
	padding: 0;
	color: #AAA;
	font-weight: bold;
	white-space: normal;
	font-size: 1.1em;
}
.rtl span.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: 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: #F0E80A;
}

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

.postauthor {
	color: #FFE8FF;
	font-size: 12px;
	font-weight: bold;
}
.postonline { margin-bottom: 1px; }

.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
	margin: 1px 0px;
	color: #F0E80A;
	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;
}
.signature {
	font-size: 11px;
	color: #EEE;
}
.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: #7F23B6;
}

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

.postbody a { text-decoration: underline; }

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

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

.pm_replied_colour { background: #7F23B6; }
.pm_replied_colour_left { border-left: solid 3px #7F23B6; padding-left: 2px; }
.pm_replied_colour_right { border-right: solid 3px #7F23B6; padding-right: 2px; }

.pm_friend_colour { background: #007700; }
.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }
.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

.pm_foe_colour { background: #DD0000; }
.pm_foe_colour_left { border-left: solid 3px #DD0000; padding-left: 2px; }
.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: #D0D0D0;
	border: 1px solid #000000;
	background-color: #222;
}

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

.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: #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: #B0B0B0;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #602C72; 
	color: #FFF;
}

label:hover { 
	color: #F0E80A; 
}

/* BBCode
 ------------ */
.quotetitle, .attachtitle, .codetitle {
	margin: 5px 5px 0px 5px;
	padding: 2px 4px;
	color: #FFE8FF;
	font-size: 0.85em;
	font-weight: bold;
}

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

.quotecontent, .attachcontent {
	margin: 0px 5px 5px 5px;
	padding: 5px;
	border-color: #090909;
	border-width: 1px 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: #676579;
	color: #EEE;
}

.attachcontent {
	font-size: 0.85em;
}

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

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

.syntaxstring {
	color: #7F23B6;
}


/* 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;
	margin: 0;
	padding: 0;
}

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

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0px;
	font-size: 1.0em;
	float: right;
	white-space: nowrap;
}

p.linkmcp a {
	text-decoration: underline;
}

.rtl p.linkmcp {
	float: left;
}

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

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

.rtl p.searchbarreg {
	float: left;
}


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

p.topicdetails {
	margin: 1px 0px;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #333344;
}

table.colortable td {
	padding: 0;
}

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

.nowrap {
	white-space: nowrap;
}

/* bold for ranks? */
.username-coloured, {
	font-weight: none;
}

p.gensmall a {
	text-decoration: underline;
}

.underlinelink {
	text-decoration: underline;
}

.sep {
	color: #888;
}

.nopadding, table.nopadding td {
	padding: 0px;
}

.colorpadding td {
	padding: 2px;
}

.moreSpacing {
	line-height: 130%;
}

/* phpBB Gallery */
#lbOverlay { position: absolute; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; }
#lbOverlay.grey { background-color: #000000; }

#lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; }
#lbMain a img { border: none; }

#lbOuterContainer { position: relative; background-color: #ffffff; width: 200px; height: 200px; margin: 0 auto; }
#lbOuterContainer.grey { border: 3px solid #888888; }

#lbDetailsContainer {	font: 10px Verdana, Helvetica, sans-serif; background-color: #ffffff; width: 100%; line-height: 1.4em;	overflow: auto; margin: 0 auto; }
#lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; }

#lbImageContainer, #lbIframeContainer { padding: 10px; }
#lbLoading {
	position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url("./images/lytebox/loading.gif") center no-repeat;
}

#lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#lbImageContainer>#lbHoverNav { left: 0; }
#lbHoverNav a { outline: none; }

#lbPrev { width: 49%; height: 100%; background: transparent url("./images/gallery_lytebox/blank.gif") no-repeat; display: block; left: 0; float: left; }
#lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url("./images/gallery_lytebox/prev_grey.gif") left 15% no-repeat; }

#lbNext { width: 49%; height: 100%; background: transparent url("./images/gallery_lytebox/blank.gif") no-repeat; display: block; right: 0; float: right; }
#lbNext.grey:hover, #lbNext.grey:visited:hover { background: url("./images/gallery_lytebox/next_grey.gif") right 15% no-repeat; }

#lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; }
#lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; }

#lbPrev2_Off, #lbNext2_Off { font-weight: bold; }
#lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; }

#lbDetailsData { padding: 0 10px; }
#lbDetailsData.grey { color: #333333; }

#lbDetails { width: 60%; float: left; text-align: left; }
#lbCaption { display: block; font-weight: bold; }
#lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; }
#lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; }

#lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbClose.grey { background: url("./images/gallery_lytebox/close_grey.png") no-repeat; }

#lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbPlay.grey { background: url("./images/gallery_lytebox/play_grey.png") no-repeat; }

#lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbPause.grey { background: url("./images/gallery_lytebox/pause_grey.png") no-repeat; }

#image-resize {
	padding:3px 0px 3px 0px;
	text-indent:25px;
	background:#ffffe1 url("./images/img_warn.gif") no-repeat 5px 50%;
	color:#000000;	font-size:0.8em; border-top:#666666;
}

#image-resize a:hover {color:#000000;}

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

}