/* ZONA DE BODY-MAINFRAME */
html,body{
	margin:0 0 0 0;
	padding:0 0 0 0;
	width: 100%;
	border:none;
	}
body{
	text-align:left;
	padding:0 0 0 0;
	margin:0 0 0 0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#000000;
	line-height:normal;
	background:url('images/mainbg.jpg') center top repeat;
}
#wrapper{
	position:relative; margin-left:auto; margin-right:auto; width:981px; padding-top:0px; z-index:9999;
	min-height:520px;
	
}
#secondwrapper{
	position:relative; margin-left:auto; margin-right:auto; width:981px; padding-top:0px; z-index:9999;
	min-height:300px;
	
}
#wrapperbottom{
	position:relative; margin-left:auto; margin-right:auto; width:984px; padding-top:0px; z-index:9999;
	min-height:100px;
	
}
#bgfixbottom {
	position:relative; width:100%; min-height:100px; margin:0 0 0 0;
	background: #2f2f2f url(images/bottombg.jpg) repeat-x 0 0;
	float:left;
}
#topadverts {
	float:left; position:relative; width:100%; height:83px;
	margin:0 0 0 0;
	padding:22px 0px 27px 0px;
}
#topmenu {
	float:left; position:relative; width:100%; height:33px;
	margin:24px 0 0 0;
	padding:0 0 0 0;
}
#toplang {
	float:left; position:relative; width:300px; padding-left:30px; padding-top:5px;
}
#toplang a {
	float:left; position:relative;
	padding-right:24px;
}
#toplogo h2 {
	color:#ffffff;
	font-weight:bold;
	font-size:45px;
	line-height:67px; margin:0 0 0 0; padding:0 0 0 0;
}
#contentmida, #contentmidab {
	float:left; position:relative; width:963px;
	background:#ffffff url('images/contentright.jpg') bottom right repeat-y;
}
#contentborder, #contentborderb {
	float:left; position:relative; width:963px;
	padding:9px; background-color:#ffffff;
	margin-bottom:10px;	
	
}
#contentmidb {
	float:left; position:relative; width:100%;
	background:url('images/contenttop1.jpg') 0 0 no-repeat;
}
#contentbottom, #contentbottomb {

	float:left; position:relative; width:963px;
	background:url('images/contentbottom.png') no-repeat;
	background-position: left bottom;
	min-height:400px;
	
}
#contentbottomb {

	background:url('images/contentbottomb.png') no-repeat;	
	background-position: left bottom;
	min-height:100px;
	padding-bottom:50px;
}
#mainheader {
	float:left; position:relative; clear:both;
	width:963px; height:186px;
	background:url('images/header.jpg') left top no-repeat;
}
#left {
	float:left; position:relative;
	width:226px;
	padding:0 0 0 0;
	margin:0 0 52px 0;
}
#right, #rightb {
	float:right; position:relative;
	width:176px;
	padding:0 0 0 0;
	margin:0 25px 0 0;
	background-color:#ae0b04;
	text-align:left;
}
#rightb {
	width:175px;
	margin-bottom:82px;
}
#search-box {
	width:205px; float:left; position:relative; text-align:left;
	height:36px;
	padding-top:18px;
	padding-left:10px;
	padding-bottom:5px;
}
#search-field {
	float:left; position:relative; height:38px; width:150px;
	background:url('images/inputbg.jpg') top left no-repeat;
}
#search-field input {
	width:130px;
	height:20px;
	line-height:20px;
	font-size:12px; color:#003;
	border:none;
	background: none transparent;
	margin:7px 0px 0px 10px;
	outline:none;
}
#search-button {
	float:left; position:relative; width:53px; height:34px;
	margin-left:2px;
}
#search-button input {
	width:53px; height:34px;
	border:none;
	background:url('images/searchbt.jpg') left top no-repeat;
	cursor:pointer;
	text-indent:-5000px;
	padding:0 0 0 0;
	margin:0 0 0 0;
}
#search-button input:hover {
		background:url('images/searchbt.jpg') left -34px no-repeat;
		text-indent:-5000px;
}

#rightb #search-box {
	width:150px;
	padding-top:0px;
}
#rightb #search-field {
	width:104px;
	background:none;
	padding-left:0px;
	background:url('images/hakukentta.jpg') top left no-repeat;
}
#rightb #search-field input{
	width:80px;
	background:none;
	padding:5px;
	color:#ffffff;
	font-size:11px;
	height:13px;
	line-height:13px;
	margin:0 0 0 0;
}
#rightb #search-button {
	width:30px;
	background:none;
}
#rightb label {
	font-size:11px; color:#ffffff;
	float:left; clear:both; width:150px;
	padding-left:10px;
	padding-top:20px;
}
#rightb #search-button input{
	width:50px;
	background:none;
	text-indent:0;
	padding:2px 5px 2px 5px;
	font-size:11px;
	height:25px; line-height:11px;
	float:left;
	background:url('images/hakunappula.jpg') left top no-repeat;
	color:#ffffff;
	
}
#rightb #search-button input:hover{
	background-color:#ffffff;
	color:#000000;
	background:url('images/hakunappula.jpg') left -25px no-repeat;
	text-indent:-5000px;
}

/*
#rightb #search-box {
	width:150px;
	padding-top:0px;
}
#rightb #search-field {
	width:100px;
	background:none;
	padding-left:0px;
}
#rightb #search-field input{
	width:80px;
	background:none;
	border:solid 1px #ffffff;
	padding:5px;
	color:#ffffff;
	font-size:11px;
	height:13px;
	line-height:13px;
	margin:0 0 0 0;
}
#rightb #search-button {
	width:30px;
	background:none;
}
#rightb label {
	font-size:11px; color:#ffffff;
	float:left; clear:both; width:150px;
	padding-left:10px;
	padding-top:20px;
}
#rightb #search-button input{
	width:50px;
	background:none;
	border:solid 1px #ffffff;
	text-indent:0;
	padding:2px 5px 2px 5px;
	font-size:11px;
	height:25px; line-height:11px;
	float:left;
	color:#ffffff;
	
}
#rightb #search-button input:hover{
	background-color:#ffffff;
	color:#000000;
}
*/

#main, #mainindexb {
	float:left; position:relative;
	width:600px;
	text-align:left;
	padding-left:50px;
	min-height:100px;
	background:url('images/contentshad.jpg') left top repeat-y;
	margin-bottom:62px;
	padding-bottom:62px;
	z-index: 1000;
}
#mainindexb {
	background:none;
	margin-bottom:0px;
	min-height:10px;
	padding-bottom:0px;
}
#mainindex {
	float:left; position:relative;
	width:762px; 
	min-height:200px;
	margin-bottom:0px; padding-left:0px;
}
#main h1, #left h2 {
	margin:0 0 0 0;
	padding:20px 0 20px 0px;
}
#main h1.extraspace {
	padding-top:25px;
	padding-bottom:30px;
}
.sideblock {
	float:left; position:relative;width:100%;
}
.sideblock h4 {
	float:left; position:relative; clear:both;
	width:211px;
	font-size:14px; font-weight:bold;
	padding:5px 0 5px 15px;
	background-color:#e5e5e5;
	margin:0 0 0 0;
	line-height:18px;
	color:#4f4a46;
	text-transform:uppercase;
}
#right .sideblock h4 {
	padding-top:15px;
	color:#ffffff;
	background-color:transparent;
	width:150px;
	padding-bottom:0px;
}
ul.anews, ul.bnews {
	list-style-type:none;
	padding:0 0 0 0;
	margin:0 0 0 0;	
	float:left; position:relative; clear:both;
	width:100%;
}

ul.bnews li {
	float:left; position:relative; width:200px;
	padding-top:10px;
	padding-bottom:10px;
	padding-right:11px;
	padding-left:15px;
}

ul.bnews li.tiedot {
	padding-top:0px;
}

ul.bnews li h4 {
	font-size:11px;
	line-height:12px;
	font-weight:bold;
	color:#ae0a04;
	margin:0 0 0 0; padding:0 0 0 0;
	background-color:#ffffff;
}
ul.bnews li p {
	margin:0 0 0 0;
	padding:0 0 0 0;
}
ul.bnews li a {
	text-decoration:none; color:#ae0a04;
	font-weight:normal;
	font-size:11px;
}
ul.bnews li a:hover {
	color:#000000;
}
#right ul.bnews li, #rightb ul.bnews li {
	width:150px;
}
#rightb ul.bnews li {
	color:#ffffff;
	font-size:11px;
}
#right ul.bnews li a, #rightb ul.bnews li a {
	color:#ffffff;
}
#right ul.bnews li a:hover, #rightb ul.bnews li a:hover {
	color:#ffffff;
	text-decoration:underline;
}
#footer {
	float:left; position:relative;
	clear:both;
	width:100%;
	text-align:center;
	padding:20px 0px 0px 0px;
	color:#ffffff;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}
#footer .fleft {
	float:left;
	width:95%;
	text-align:left;
	padding-left:30px;
	padding-bottom:20px;
}
#footer .fright {
	float:right; position:relative;
	width:300px;
	text-align:right;
	margin-right:16px;
	background:url('images/bottomlogo.png') 30% 0 no-repeat;
	height:40px;
}
#footer a {
	color:#b8b7b7; font-weight:normal; text-decoration:underline;
}
#footer a:hover {
	color:#ffffff;
	text-decoration:none;
}
ul.advertbox {
	float:left; position:relative; height:82px; margin:0 0 0 0; padding:0 0 0 12px; width:960px;
	list-style:none;
}
ul.advertbox li{
	float:left; position:relative; width:228px; height:82px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin-right:16px;
	padding:0px;
	list-style-type:none;
	background-color:#ffffff;
}
ul.advertbox li.last{
	margin-right:0px;
}
.bottombox {
	float:left; position:relative; 
	width:170px;
	height: 250px;
	padding-right:10px;
	padding-top: 5px;
	color:#b8b7b7;
	font-size: 11px;
}
.bottombox h5 {
	color:#b8b7b7;
	padding-bottom:15px;
	font-size: 11px;
	line-height: normal;
	text-transform: uppercase;
}
.bottombox a {
	float:left; clear:both;
	color:#b8b7b7;
	text-decoration:underline;
	margin:0 0 0 0; padding:0 0 0 0;
}
.bottombox a:hover {
	text-decoration:none;
}
ul#sidemenu {
	float:left; clear:both; position:relative; width:200px;
	list-style:none;
	padding:0 0 0 15px;
	margin:5px 0 15px 0;
}
ul#sidemenu li {
	float:left; position:relative; width:100%;
	font-size:14px; font-weight:bold;	
	clear:both;
	padding-bottom: 2px;
}
ul#sidemenu li.sub {
	padding-left:10px;
	font-size:13px;
	font-weight:bold;
	width:190px;
}
ul#sidemenu li.subsub {
	padding-left:10px;
	font-size:12px;
	font-weight:normal;
	width:190px;
}
ul#sidemenu li a{
	float:left; position:relative; width:100%;
	color:#424040;
	text-decoration:none;
}
ul#sidemenu li a:hover{
	color:#ae0a04;
	text-decoration:none;
}

h4.ajankoht a:link, h4.ajankoht a:visited {
text-decoration:none;
color:#ffffff;
}

h4.ajankoht a:hover {
color:#b8b7b7;
}

/*SLIDER*/

.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:60;
	display:none;
}
/* The slices in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:50;
	height:100%;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:100%;
	z-index:89;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	display:block;
	width:32px;
	height:34px;
	background:url(../images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
a.nivo-nextNav {
	background-position:-32px 0;
	right:10px;
}
a.nivo-prevNav {
	left:10px;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	position:absolute;
	left:47%;
	bottom:-30px;
}
.nivo-controlNav a {
	display:block;
	width:10px;
	height:10px;
	background:url(../images/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
}
.nivo-controlNav a.active {
	background-position:-10px 0;
}

#slidert {
	position:relative; width:762px; height:436px;

}
#slidert img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.srotator {
	position: relative; height: 106px; width: 501px; float:left;
}

#testimonials-top {
	position:absolute;
	top:300px; right:0px;
	width:500px;
	height:100px;
	z-index:200;
}
#slide-testimonials {
		float:left; position:relative; width:100%; clear:both; height:100px; display:none;
}
.trotator {
	position: relative; width: 500px; float:left;
	text-align:right;
}
.trotator p {
	font-family:Arial, Helvetica, sans-serif;
	font-size:36px;
	font-weight:bold;
	line-height:38px;
	padding:20px;
	padding-right:40px;
	color:#FFF;
	text-shadow:1px 1px 4px #000000;
	letter-spacing:-1px;
}
#mainlogo {
	position:absolute;
	top:18px;
	left:0px;
	z-index:99999;
	width:128px; height:103px; background:url('images/pislalogo.png') 0 0 no-repeat;
}

#slidert2 {
	background: url('images/header.jpg') 0 0 no-repeat;
	position: relative;
}

#slidert2 p {
	float: right;
	text-align: right;
	margin-top: 140px;
	padding-right: 80px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:26px;
	font-weight:bold;
	line-height:28px;
	color: #ffffff;
	text-shadow:1px 1px 4px #000000;
	letter-spacing:-1px;
}
