/* kskm styles */
html * { margin:0; padding:0; }
html, body { height:100%; }

body {
background:url("img/bodybg.jpg") #eee;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
color:#000;
height:101%;
}

h1 { font-size:20px; margin-bottom:15px; }
h2 { font-size:18px; margin-bottom:15px; }
h3 { font-size:16px; margin-bottom:10px; }
h4 { font-size:16px; margin-bottom:10px; }
h5 { font-size:14px; font-weight:bold; }
h6 { font-size:14px; font-weight:bold; }

p {
margin-bottom:15px;
font-size:14px;
}

.pvm { color:#646464; font-style:italic; font-size:12px; }

.title_harmaa { color:#646464; }

a { color:#B90404; outline:none; }

a:hover { color:#970101; text-decoration:none; }

a.backlink_news { float:right; position:relative; top:-25px; font-weight:bold; }

ul,ol { padding-left:30px; }


/**********************************************************/

#container {
/*height:auto !important;*/
height:100%;
min-height:100%;
width:100%;
background:url("img/toprep.jpg") top left repeat-x;
}

#wrapper {
height:auto !important;
height:100%;
min-height:100%;
width:860px;
margin:0 auto;
background:url("img/varjot2.png") top left repeat-y;
/*padding-bottom:164px;
_padding-bottom:0;*//*IE6*/
position:relative;/*for footerbottom*/
}

#topbg {
width:860px;
height:44px;
background:url("img/topbg.jpg") top left no-repeat;
}

#header {
width:840px;
height:120px;
margin:0 auto;
background:url("img/headerbg.jpg") top left no-repeat;
}
#header #link_etusivu {
width:120px;
height:110px;
display:block;
outline:none;
float:left;
margin-left:22px;
_margin-left:12px;/*IE6*/
}

#left {
padding-top:5px;
width:171px;
/*height:auto !important;*/
/*height:100%;
min-height:100%;*/
float:left;
margin-left:10px;
_margin-left:5px;/*IE6*/
background:url("img/leftbg.jpg") top left repeat-y;
}

#right {
width:610px;/*650-margin-right*/
float:right;
margin:30px 40px 0 0;
_margin:30px 20px 0 0;/*IE6*/
padding-bottom:60px;
}

/**********************************************************/

#navi {
margin-top:30px;
width:150px;
}
#navi ul {
padding-left:0;
list-style-type:none;
width:150px;
}
#navi ul li {
width:100%;
margin-bottom:15px;
text-align:right;
position:relative;
}
#navi ul li a { 
color:#525252;/*3A3A3A*/
text-decoration:none;
display:block;
font-size:14px;
}
#navi ul li a:hover { 
color:#000;
}

/*****SUB*****/
#navi ul li ul {
position:absolute;
padding:20px 10px 10px 10px;/*padding:10px 10px 5px 40px;*/
width:200px;
visibility:hidden;
background:#F3EFE8;
background:url("img/subnavibg.png") top right no-repeat;
margin-top:-35px;
}
#navi ul li ul li a { margin-left:30px; text-align:left; }
/*****SUB******/

/**********************************************************/

#kuvagalleria a {
border:3px solid #B90404;
display:block;
/*width:100px;*/
/*min-height:100px;*/
float:left;
margin:0 16px 10px 0;
}
#kuvagalleria a:hover { border:3px solid #970101; }
#kuvagalleria img { border:0; }





/**********************************************************/

#footer {
width:610px;
height:28px;
border-top:2px dotted #979797;
position:absolute;
bottom:0;
color:#515151;
padding-top:10px;
font-size:12px;
text-align:center;
}
#footer a {
color:#515151;
text-decoration:none;
}
#footer a:hover { text-decoration:underline; }

