/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		runepoliLayer
	Based on styles:	subSilver2 by phpBB (http://www.phpbb.com/) & Chronicles phpBB2 theme by Jakob Persson (http://www.jakob-persson.com/)(http://www.eddingschronicles.com) Stone textures by Patty Herford (http://www.elfenvald.com/). 
	Modified by:		runepoli ( http://www.runepoli.org )
	
	New runepoli phpBB3 forum theme
	
	Copyright 2007-2008 runepoli ( http://www.runepoli.org/ )
    --------------------------------------------------------------
*/

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

html {
/*scrollbar elementit alkaa*/
	scrollbar-arrow-color: #D4D4D4;
	scrollbar-3dlight-color: #63798D;
	scrollbar-darkshadow-color: #384654;
	scrollbar-face-color: #4E6072;
	scrollbar-highlight-color: #70879E;
	scrollbar-shadow-color: #3E4B58;
	scrollbar-track-color: #45525F;
/*scrollbar elementit päättyy*/
	color: #FFE081;
	font-size: 100%;
	background-color: #676767;
	background-image : url('images/raja_bg1.jpg');
}

body {
	background-image : url('images/runko_bg1.jpg');
	background-color: #484848;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #000000;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 10px 10px 10px 10px;
    padding: 0px;
	border: 1px outset #000000;
}
/*wrap alueet alkaa*/
#wrapheader {
	font-size: 12px;
	height: auto !important;
	background-repeat: repeat-x;
/*	padding: 0 25px 15px 25px;*/
	padding: 0;
}

#wrapcentre {
	margin: 25px 25px 0 25px;
}

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

#wrapnav {
    font-size: 70.5%;
	width: 100%;
	margin: 0;
}
/*wrap alueet päättyy*/

/*tiedottajat alkaa*/
#logodesc {
	padding: 0 25px 15px 25px;
}

#menubar {
	font-size: 14px;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	margin: 0px 25px 0 25px;
	padding: 5px 5px;
}

#datebar {
	font-size: 1.0em;
	margin: 0px 25px 0 25px;
    padding: 5px 5px;
}

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

.forumrules {
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	background-image : url('images/iso_puu1.jpg');
	border: 1px #5B0B0B solid;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
}

.forumrules h3 {
	color: #FFE081;
}

/*tiedottajat päättyy*/
#pageheader { }
#pagecontent { }
#pagefooter { }
#poll { }
#postrow { }
#postdata { }
/*  Text
 --------------------- 
h1-h4 color alkaa
*/

h1 {
	color: #FFE081;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	line-height: 120%;
}

h4 {
	color: #FFE081;
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}
/*h1-h4 color päättyy*/

p {
	font-size: 1.1em;
}

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

.rtl p.moderators {
	float: right;
}

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

.rtl p.linkmcp {
	float: left;
}

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

.rtl p.breadcrumbs {
	float: right;
}

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

.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.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: #000000;
	font-size: 1.1em;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.5em;
	line-height: 1.2em;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, 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: #54684A;
}

.nav {
	margin: 0;
	font-size: 0.9em;
	color: #FFE081;
	font-weight: bold;
}

.nav2 {
	margin: 0;
	font-size: 0.75em;
	color: #000000;
	font-weight: bold;
}

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

.cattitle {

}

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

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

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

/*copyright 1 */
.copyright {

	color: #FFE081;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;

}

.titles {
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	color: #FFE081;
	font-weight: bold;
	font-size: 1.4em;
	text-decoration: none;
}

.error {
	color: red;
}

/* Taulut

 ------------ */
th {
	color: #C0C0C0;
	font-size: 16px;
	font-weight: bold;
	background-color: #9E8052;
	background-image: url('images/graniitti1.gif');
	white-space: nowrap;
	padding: 7px 5px;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
}

td {
	padding: 2px;
}

td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #000000;
	border: 1px #5B0B0B solid;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-image: url('images/pieni_ylapuu1.jpg');
	background-color:#9E8052;
}
.rtl .catdiv {
	background-color: #9EB56A;
}

.cat {
	font-size: 12px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-image: url('images/pieni_ylapuu1.jpg');
	background-color:#9E8052;
	text-indent: 10px;
	color: #FFE081;
}

.row1 {
	background-color: #BA9F70;
	background-image : url('images/iso_puu1.jpg');
	padding: 4px;
}

.row2 {
	background-color: #AB8C5B;
	background-image : url('images/iso_puu12.jpg');
	padding: 4px;
}

.row3 {
	background-color: #AB8C5B;
	background-image : url('images/iso_puu12.jpg');
	padding: 4px;
}

.spacer {
	background-color: #AB8C5B;
	background-image : url('images/iso_puu2.jpg');
    padding: 2px;
}

hr {
	height: 1px;
	border-width: 0;
	color: #54684A;
}

.legend {
	background-color: #BA9F70;
	background-image : url('images/iso_puu1.jpg');
	padding: 4px;
	text-align:center;
	margin: 0 auto;
}

/* Linkit 1
TAUKO

 ------------ */
a:link {
	color: #FFE081;
	text-decoration: none;
}

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

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

a.forumlink {
	color: #733A1A;
	font-weight: bold;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	font-size: 14px;
}

a.topictitle {
	color: #733A1A;
	margin: 1px 0;
	font-family: "Book Antiqua", "Palatino Linotype", Palatino, Times, serif;
	font-weight: bold;
	font-size: 14px;
}

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

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

/* Form Elements

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

input {
	color: #000000;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	padding: 1px;
	font-weight: normal;
	border-color : #A48553 #C7B188 #C7B188 #A48553;
	background-color : #A48553;
	background-image : url('images/iso_puu2.jpg');
}

textarea {
	color: #000000;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border-color : #A48553 #C7B188 #C7B188 #A48553;
	background-color : #A48553;
	background-image : url('images/iso_puu12.jpg');
	padding: 2px;
}

select {
	color: #000000;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border-color : #A48553 #C7B188 #C7B188 #A48553;
	background-color : #A48553;
	background-image : url('images/iso_puu2.jpg');
	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;
}

/* Tästä eteenpäi pitäs kattoa */

.post {
	background-color: white;
	border: 1px solid #000000;
	color: #000000;
}

.btnbbcode {
	background-color : #CE6300;
	color : #FFE081;
	font-size: 1.1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-color : #CE3100 #9C0000 #9C0000 #CE3100;
	background : url('images/runko_bg1.jpg');
}

.btnmain {
   	background-color : #CE6300;
	color : #FFE081;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-color : #CE3100 #9C0000 #9C0000 #CE3100;
	background : url('images/runko_bg1.jpg');
}

.btnlite {
  	background-color : #CE6300;
	color : #FFE081;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-color : #CE3100 #9C0000 #9C0000 #CE3100;
	background : url('images/runko_bg1.jpg');
}

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

.helpline {
	background-color: #E4EBD6;
	border-style: none;
	color: #000000;
	padding: 2px;
}

/* BBCode
 Alhaalta tähän asti on OK
 ------------ */

.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #5B0B0B;
	color: #FFFFFF;
	background-color: #5B0B0B;
	font-size: 0.8em;
	font-weight: bold;
}

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

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #5B0B0B;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 0.8em;
	line-height: 1.1em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-image : url('images/iso_puu2.jpg');
	color: #000000;
}

.attachcontent {
	font-size: 0.65em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #5B0B0B;
	color: #FFFFFF;
	background-color: #5B0B0B;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #5B0B0B;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #FFE081;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-image : url('images/iso_puu2.jpg');
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #006633;
}

.syntaxstring {
	color: #990000;
}

/* Private messages

 ------------------ */

.pm_marked_colour {
	background-color: #F29904;
}

.pm_replied_colour {
	background-color: #97A356;
}

.pm_friend_colour {
	background-color: #006633;
}

.pm_foe_colour {
	background-color: #990000;
}

/* Misc

 ------------ */

img {
	border: none;
}

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

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