/**************** Body and tag styles ****************/

*{margin:0; padding:0;}

body{
	font: 1em Georgia,Times,serif;
	line-height:18px;
	text-align:center;
	color:#333;
	background: url(./images/map-of-oregon-paperi-2-50.jpg) repeat;
}

a{
	color:#333;
	-font-weight: bold;
	text-decoration:none;
}

a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;}
a img{border:1px;}

p{padding:0 0px 12px 0px;}
p form{margin-top:0; margin-bottom:20px;}

img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;}
img.left{float:left; margin:0 12px 5px 0;}
img.center{display:block; margin:0 auto 5px auto;}
img.right{float:right; margin:0 0 5px 12px;}

/**************** Header and navigation styles ****************/

#container{
	width:758px;
	margin:20px auto;
	padding:0px;
	text-align:left;
	background: url(http://www.rootsinpyhtaa.fi/olfrontier/images/ofc-taustapaperib.jpg) 0px 0 repeat-y;
	border:0px solid #d1bc8d;
}

#header{
	height:214px;
	width:758px;
	margin:0;
	background:#467aa7;
	background: url(../images/rootsinpyhtaa-banner.jpg) 0px 0 no-repeat;
	overflow:visible;
	color: black;
}

#header a{
	color: black;
}

#header h1{
	padding:35px 0 0 20px;
	font-size:36px;
	background-color:inherit;
	letter-spacing:0px;
	font-weight:normal;
	text-align:center;
	visibility:hidden;
}

#header h2{
	margin:10px 0 0 40px;
	font-size:18px;
	background-color:inherit;
	letter-spacing:0px;
	font-weight:normal;
	text-align:center;
	visibility:hidden;
}

#navigation {
	text-align:center;
	position: relative;
	top:68px;
	left:20px;
	height:24px;
	line-height:24px;
	width:738px;
	margin:0;
	padding:0 0 0px 0;
	background: transparent;
	border-top:1px ridge #B1962F;
	border-bottom:1px ridge #B1962F;
}

#navigation ul{
	position: absolute;
	top: 0;
	left: 0;
}

#navigation li{
	float:left;
	list-style-type:none;
	border-right:1px ridge #B1962F;
	white-space:nowrap;
	background: transparent;
	/*\*//*/padding-right: 10px;/**/
}

/* \*/
#navigation li a{
	display:block;
	padding:0 10px;
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none;
}
/* */
/*\*//*/
#navigation li a{
	display:block;
	padding:0 10px;
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none;
}
/**/

* html #navigation a {width:1%;}

#navigation .selected,#navigation a:hover{
	display:block;
	background:#80b0da;
	color:#ffffff;
	text-decoration:none;
}

/**************** Content styles ****************/

#content{
	float: left;
	width:500px;
	padding:0px 0px 0 20px;
	margin:0 -35px 0 0;
	/*\*//*/margin:0 -35px 0 0;/**/
	background: transparent;
}

#content h1{
	line-height:24px;
	margin:0 0 0px 0;
	padding:0 0 0px 0;
	border-bottom:1px solid black;
clear: left;
}

#content h2{
	display:block;
	text-align:center;
	margin:0px 0 6px 0;
	padding:0px 0 5px 0;
	font-size:1.4em;
	font-weight:normal;
	letter-spacing:0px;
	background-color:inherit;
	border-bottom:2px solid black;
	clear:left;
}

#content h2 a{font-weight: bold;}

#content h3{
	margin:0 0 5px 0;
	padding:5px 0 10px 0; 
	font-size:24px; 
	line-height:22px;
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing:2px;
	border-bottom:2px solid black;
	clear:left;
	text-align:center;
}

#img{
	clear: both;
	border: 2px inset black;
}

#content a:hover,#subcontent a:hover{text-decoration:underline;}
#content ul,#content ol{margin:0 5px 16px 35px;}
#content dl{margin:0 5px 10px 25px;}
#content dt{font-weight:bold; margin-bottom:5px;}
#content dd{margin:0 0 10px 15px;}

/**************** Sidebar styles ****************/

/*----top: Safari/Firefox/_PC IE -- bottom: Mac IE -------------*/
/* \*/
#subcontent{
	float:right;
	width:202px;
	padding:0px 12px 20px 0px;
	_padding:0px 4px 20px 0px;
	border-left:0px solid black;
	background: transparent;
}
/* */
/*\*//*/
#subcontent{
	float: right;
	width:202px;
	margin-right:0px;
	padding:0px 4px 0px 0px;
	border-left:0px solid black;
	background: transparent;
}
/**/ 

#subcontent p{
	line-height:14px;
	text-align:center;
}

#subcontent h1{
	display:block;
	margin:0 0 5px 0;
	padding:5px 0 10px 0;
	font-size:24px;
	line-height:22px;
	font-weight:normal;
	border-bottom:2px solid #333;
}

#subcontent h2{
	display:block;
	margin:0 0 0px 0;
	padding:5px 0 5px 0;
	font-size:16px;
	font-weight:normal;
}

/* \*/
#subcontent h2 a{font-weight:bold;}
/* */

/*\*//*/
#subcontent h2 a{font-weight:normal;}
/**/

#subcontent h3{
	display:block;
	margin:-5px 0;
	padding:5px 0 5px 0;
	font-size:16px;
	font-weight:normal;
	line-height:18px;
	border-bottom:1px solid black;
}

#subcontent p{margin:0 0 0px 0; font-size:0.9em;}

#subcontent ul{
	list-style: none;
	margin: 0px 0 0px 0; 
	padding: 0px 0px;
}
#subcontent li{
	font-size: 14px;
	margin: 0px 0px 0px 0;
	padding: 7px 0px; 
	border-bottom: 1px solid #666666;
	letter-spacing:0px;
}
#subcontent li a{
	font-weight:bold;
}

/**************** Menublock styles ****************/

.menublock{margin:0 0 20px 8px; font-size:12px;}
.menublock li{list-style:none; display:block; padding:2px; margin-bottom:2px;}
.menublock li a{font-weight:bold; text-decoration:none;}
.menublock li a:hover{text-decoration:none;}
.menublock li ul{margin:3px 0 3px 15px; font-size:13px; font-weight:normal;}
.menublock li ul li{margin-bottom:0;}
.menublock li ul a{font-weight:normal;}

/**************** Searchbar styles ****************/

#searchbar{margin:0 0 20px 0;}
#searchbar form fieldset{margin-left:10px; border:0 solid;}

#searchbar #s{
	height:1.2em;
	width:110px;
	margin:0 5px 0 0;
	border:1px solid #a0a0a0;
}

#searchbar #searchbutton{
	width:auto;
	padding:0 1px;
	border:1px solid #808080;
	font-size:0.9em;
	text-align:center;
}

/**************** Footer styles ****************/

#footer{
	clear:both;
	width:758px;
	height:28px;
	padding:0px 0 0px 0;
	margin:0px 0 0 0px;
	font-size:11px;
	background: url(../images/ofc-tausta-2.gif) 0px -45px no-repeat;
	border-top:0px solid black;
}

#footer p{color:#F1E6B9; padding:0; margin:0 30px 0 0; text-align:right;}
#footer a{color:#F1E6B9; background-color:inherit; font-weight:normal;}
#footer a:hover{color:blue; background-color:inherit; text-decoration: underline;}

/**************** Misc classes and styles ****************/

.splitcontentleft{
	float:left; width:50%;
	border-right:0px solid black;
	padding:0 0px 10px 0px;
	background: transparent;
	margin-left:0px;
clear: left;
}
.splitcontentright{
	float:right; width:45%;
	border-right:0px solid black;
	padding:0 0px 10px 0px;
	background: transparent;
	margin-right:5px;
clear: right;
}

.clear{clear:both;}
#clear{clear:both;}
.small{font-size:0.8em;}
.hide{display:none;}
.textcenter{text-align:center;}
.textright{text-align:right;}
.important{color:#f02025; background-color:inherit; font-weight:bold;}

.box{
	margin:0 0 0px 0;
	padding:0px 10px 0 10px;
	border:2px solid black;
	background-color: yellow;
	line-height:16px;
	background: url(../images/map-of-oregon-paperi-2-75.jpg) repeat;
}

.box h2 a{
	text-align: center;
}

input, textarea {border: 1px solid #467aa7; margin: 3px}

/**** valikko laatikot ****/
.boxtop {
	background: url(../images/kehys-1.gif) no-repeat;
	height: 14px;
	width:202px;
	margin: 0;
}
.boxmiddle {
	background: url(../images/kehys-2.gif) repeat-y;
	padding: 0 20px 10px 15px;
	width:175px;
}
.boxmiddle h2{
	line-height:16px;
	margin:0 0 7px 0;
	letter-spacing:0px;
}
.boxfoot {
	background: url(../images/kehys-3.gif) no-repeat;
	height: 14px;
	margin: 0 0 10px 0;
	padding:0;
	width:202px;
}

/***** Lue lisää ****/

#teksti {
border-bottom: 1px solid black;
padding: 0 0 10px 5px;
margin: 0 0 10px 0;
}

#teksti p{
display: inline;
}

#teksti hr{
margin: 20px 0;
}

.luelisaa {
	font-weight: normal;
	border-bottom:1px solid black;
display: inline;
}


/**** KUVAT ****/

#content img {
	margin: 5px 0;
	padding: 0px 0;
	border: 2px inset #999;
float: right;

}

/* \*/
#kehyspoisjaoikealle img{
	float:right;
	vertical-align:top;
	margin: -40px 0px 0px 0px; 
	padding: 0px 0 0px 0;
	border: 0px solid #999;
	background: transparent; 
}
/* */

/*\*//*/
#kehyspoisjaoikealle img{
	float:right;
	margin: -40px 0px 0px 0px; 
	padding: 0px 0 0px 0;
	border: 0px solid #999;
	background: transparent; 
}
/**/

#up{
	margin: -20px -50px -20px 0px; 
	padding: 0px 0px 0px 0;
	-font-size:1px;
	-line-height:1px; 
}

#up img{
	border:none;
}

.first{
	clear: none; 
}

#content hr{
	margin: 0px 0px 0px 0px; 
	clear: both; 
}

/****** jcb columnize *******/
.columnized1 {
	float: left; 
	width: 250px; 
	padding: 0px; 
	clear:left;
}

.columnized2 {
	margin-left: 270px; 
	margin-bottom: 0px; 
	width: 225px; 
	padding: 0px; 
	clear:right;
}

.columnized1 img {
	clear:both;
}

/****** COMMENTS *******/
.commentstop{
	clear: left;
}
.comments{
	clear: left;
	font: 0.9em Georgia,Times,serif;
	line-height:18px;
	text-align:left;
	color:#333;
	border-top:1px solid black;
	border-right:0px solid #999;
}
.commentsbottom{
	clear: left;
	border-bottom:1px solid #999;
}
.odd{
	padding:5px;
	background: #F2E4D7;
	border-bottom:0px solid #999;
}
.even{
	padding:5px;
	background: #EBD7C2;
	border-bottom:0px solid #999;
}
.kuka{
	border-bottom:1px dashed #999;
	padding:0 0 5px 0;
}
.viesti{
	padding:5px 0 0px 0;
}

textarea.txpCommentInputMessage { background:#F8F0E9}

#txpCommentInputForm textarea {width:500px; height:100px}