/* Spage CSS
   Theme: Test */

/* This theme is split up into sections
 * Section A: HTML Components
 * Section B: Layout Components
 * Section C: Reusable Spage Components
 */

 /* SECTION A: HTML COMPONENTS */

body {
    font-family: "Georgia", Times, serif;
    font-size: 10pt;
    text-align: left;
    margin: 0px;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Georgia", Times, serif;
}

img {
    border: none;
}

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

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

iframe {
overflow-x: hidden;
}

/* SECTION B: LAYOUT COMPONENTS */

#wrapper {
    width: 95%;
    margin: auto;
    border: 1px solid #999999;
    border-top: 0px;
    background: url(background.png);
    text-align: left;
}

#header {
    height: 150px;
    margin: auto;
    background: url(header.png);
    text-align: center;
}

#headerimage {
    width: 300px;
    margin: 0;
    padding: 0;
    float: left;
}

#content {
    margin-left: 10px;
    margin-right: 10px;
    color: #ffffff;
}

#footer {
    margin-top: 15px;
}

/* SUBSECTION B1: MENU DESIGN */
#menu1 {
    padding:10px;
    font-size: 2.2em;
    font-weight: bold;
}

#menu1 a {
    color:#fff;
    padding:10px;
    margin-left: 10px;
    margin-right: 10px;
}

#menu2 {
    padding:10px;
    font-size: 1.5em;
    font-weight: bold;
}

#menu2 a {
    color:#fff;
    padding:10px;
}

.submenu {
    display:none;
}

.submenu-active {
    display:block;
}
.tchshead2 a, .tchshead2 a:hover, .tchshead2 a:visited {
    color: #f00;
}

/* SECTION C: SPAGE RESABLE COMPONENTS */

.spage-header {
    font-size: 1.4em;
    font-weight: bold;
    padding-left: 10px;
}

.spage-bgcolor {
    background: url(bgcolor.png);
    border: #000000 1px solid;
    padding: 5px 5px 5px 5px;
}

.spage-subheader {
    font-size: 1.2em;
    font-weight: bold;
    font-style: italic;
    padding-left: 10px;
}

.sp-tcell {
    vertical-align: top;
}

.pbar {
    height: 20px;
    background: url(pbar.png);
}

.pbar2 {
    height: 20px;
    background: url(pbar2.png);
}

.floatstats {
    width: 250px;
    margin: 2px 2px 2px 2px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Part 4 - Forum Stuff */

.row1, .row2, .row3, .legend, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #404040;
	border-right: solid 1px #121212;
	border-top: solid 1px #3C3C3C;
	border-bottom: solid 1px #131313;
	background: url(cell.png) top left;
	padding: 4px;
}

th {
	color: #FFB9C4;
	font-size: 12px;
	font-weight: bold;
	background: #D91B3C url(th.gif) top left repeat-x;
        filter: alpha(opacity=90);
	opacity: 0.9;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #F50737;
	border-right: solid 1px #9F001E;
	border-top: solid 1px #F50737;
	border-bottom: solid 1px #9F001E;
}

#forumcontent {
    margin-left: 10px;
    margin-right: 10px;
    color: #ffffff;
}

#forumcontent p {
    margin-top: 2px;
    margin-bottom: 2px;
}

.username-coloured, .forumlink, .topictitle {
    font-weight: bold;
}

.postsubject {
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 3px;
}

.centre {
    text-align: center;
}

.spacer {
    background: #D91B2E url(th.gif) top left repeat-x;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.postauthor {
    color: #ff0000;
}

.postdetails {
    font-size: 0.9em;
}
.postbottom {
    font-size: 0.8em;
}

.cap-div {
	margin: 0;
	padding: 0;
	background: url(hdr_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 27px;
	text-align: center;
}
.cap-left {
	background: url(hdr_left.gif) top left no-repeat;
}
.cap-right {
	background: url(hdr_right.gif) top right no-repeat;
	padding-top: 8px;
	height: 19px;
}
.cap-right h4 {
    margin: 0;
    padding: 0;
}

.quotetitle, .attachtitle, .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px;
	border: solid 1px #090909;
	color: #D0D0D0;
	background-color: #2E2E2E;
	font-size: 0.85em;
	font-weight: bold;
}

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

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

.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: #2E2E2E;
	color: #EEE;
}

.quotewrapper, .codewrapper, .attachwrapper {
	clear: both;
	margin: 10px 5px;
	background: #BE0027 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, .codecontent {
        overflow: auto;
        overflow-x: auto;
}

.syntaxbg {
	color: #FFF;
}

.syntaxcomment {
	color: #AAA;
}

.syntaxdefault {
	color: #FFF;
}

.syntaxhtml {
	color: #FFF;
}

.syntaxkeyword {
	color: #FF0032;
}

.syntaxstring {
	color: #FF0032;
}
