* 
{ 
margin: 0; 
padding: 0; 
text-align:left;
/*border:1px solid white;*/
}

html {
vertical-align:top;
margin-bottom : 0px;
margin-top:0px;
padding-top:0px;
text-align: center;
overflow-y: scroll;
height: 100%;
}

body {
margin: 0;
margin-top: 0px;
text-align: center;
font: 11px arial, sans-serif, verdana;  
/* background: #404040 url(template/louhostausta.jpg) no-repeat bottom center; */
/* background: #404040 url(template/louhos.jpg) no-repeat bottom center; */
background: #404040 url(template/louhostaivas.jpg) no-repeat top center;
background-attachment:fixed;
}


#logoo{
position: absolute;
left:32px;
top:12px;
display:block;
width:221px;
height:48px;
background:transparent url('template/logoo.png') top left no-repeat;
z-index:5;
}

#sivualue{
width:960px;
height:100%;
display:block;
min-height:530px;
margin:0px auto 0 auto;
border:none;
clear:none; /* lisätty */
z-index:2;
background:transparent;
}

#content{
position:relative;
display:block;
/* overflow:hidden; */
clear:both;
width:960px;
font: 12px arial, verdana, sans-serif;  
margin:0px;
padding:0px;
background:transparent url(template/toptoptausta.png) top left no-repeat;
}

#topmargindiv{
height:150px;
display:block;
width:100%;
}

#tekstialue{
position:relative;
float:left;
width:960px;
display:block;
margin:0px auto 0px -1px;
background:transparent url('template/taustamiddle.png') top center;
/*ei float leftiä, ie margin-right liian suuri */
}

#tekstitop{
display:block;
width:960px;
height:13px;
clear:both;
background:transparent url('template/taustatop.png') top center no-repeat;
margin:0px auto 0px -1px;
}

#tekstibottom{
display:block;
position:relative;
clear:both;
width:960px;
height:13px;
background:transparent url('template/taustabottom.png') top center no-repeat;
margin:0px auto 0px -1px;
}

#tekstialuepadding{
color:#bbb;
clear:both;
margin:0px 0px 0px 30px;
min-height:410px;
width:880px;
}


#valikkotausta{
display:inline-block;
width:920px;
height:48px;
clear:both;
background:transparent url('template/valikkotausta.jpg') no-repeat top left;
/* overflow:hidden; */
margin:0px;
margin-left:17px;
margin-top:14px;
}



.tekstilaatikko{
color:#000;
margin-left:640px;
margin-top:20px;
display:block;
clear:none;
background:transparent url('template/tekstilaatikkobg.png') top left no-repeat;
width:235px;
height:355px;
padding:3px;
overflow-y:auto;
}



/*  CSS LIIKUVILLE loppu */



#tekstialue h1{
font: 20px arial, sans-serif, verdana;
color:#747579;
font-weight:bold;
padding-left:5px;
margin-top:0.2em;
margin-bottom:0.5em;
clear:right;
}
#tekstialue h2{
font: 16px arial, sans-serif, verdana;
color:#eee;
font-weight:bold;
padding-left:5px;
clear:after;
}
.etusivunteksti b{
color:#ededed;
}
#tekstialuepadding a{
color:#fff;
}
#tekstialuepadding a:hover{
color:#5555FF;
text-decoration:underline;
}

.vaihestep{
margin-left:280px;
position:relative;
top: -17px;
}

a, a:visited {
text-decoration:none;
padding-left:2px;
color:blue;
}

p {
margin:0.2em 0px;
line-height:1.4em;
}


#nav{
display:inline; /* ie6:lle */
float:left;
vertical-align:top;
height:48px;
margin:0px 0px 0px 250px;
clear:none;
position: relative;
background:transparent;
}

#nav ul{
list-style:none;
display: inline-block;
margin:0px;
padding:0;
white-space: nowrap;
width:100%;
}

#nav ul li{
float:left;
clear:none;
display: inline;
margin:0;
background:transparent;
position: relative;
}

#nav a{
color:#000;
margin:0px;
display:inline-block;
line-height:48px;
height:48px;
font-size:16px;
text-align:center;
clear:none;
float:left;
position: relative;
font-weight:bold;
}


#nav a:hover {
color:#fefefe;
}

.val1{
display:block;
width:100px;
background:transparent url(template/valikkohover.png) top right no-repeat;
}
.val2{
width:110px;
background:transparent url(template/valikkohover.png) top right no-repeat;
}
.val3{
display:block;
width:150px;
background:transparent url(template/valikkohover.png) top right no-repeat;
}

.val4{
display:block;
width:150px;
background:transparent url(template/valikkohover.png)  top right no-repeat;
}
.val5{
display:block;
width:150px;
background:transparent url(template/valikkohover.png) -2px 0px no-repeat;
}




.val5:hover, #aktiivi a{
background-position: 0px -48px;
}

.val1:hover, .val2:hover, .val3:hover, .val4:hover, #aktiivi a{
background-position: right -48px;
color:#fff;
}


#virhe{
text-align:left;
padding: 20px;
display: block;
border: 2px red dashed;
background: #fafaea; /*#f3f2b7;*/
color: #ff0000;
width: 300px;
clear: both;
font-size:12px;
font-weight:bold;
}


#ilmoitus{
vertical-align:middle;
padding: 20px;
display: block;
border: #000000 dashed 1px;
/*background: #f0f0d0;*/
background-color:#80ff80;
color: #000;
width: 400px;
clear: both;
font-size:14px;
font-weight:bold;
}


.handcursor{
cursor:pointer;
cursor:hand;
}

.luelisaai{
color:#0a12b1;
font-size:0.9em;
}

.slidekuva{
float:left;
clear:none;
display:block;
vertical-align:top;
}



.slidetable{
float:left;
display:block;
}

p.kapeateksti{
width:380px;
display:block;
clear:after;
text-align:left;
margin-left:5px;
margin-right:0px;
/*border:1px yellow solid; */
}
.etusivunteksti{
font-size:16px;
}


.hoverborder:hover{
border:#555 1px solid;
}
.hoverborder{
border:#000 1px solid;
}

.noborders{
border:none;
}

/* - - - laatikko alkaa ---- */

.laatikko_oikea h3 {
font-size:1.2em;
margin:5px 0 1.1em 12px;
text-align:center;
}

.laatikko_oikea {
position:relative;
float:right;
clear:none;
width:200px;
margin:35px 15px 0px 10px;
padding:0px 0px 0 0px;
background:#000 url(template/uutisrokokoobg.jpg) top left repeat-y;
color:#fff;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:.8em;
}

.laatikko_oikea p {
margin:5px 15px;
}

.laatikko_top {
display:block;
width:200px;
height:41px;
background:#000 url(template/uutisrokokoo.jpg) no-repeat top right;
}

.laatikko_bottom {
display:block;
width:200px;
height:41px;
background:#000 url(template/uutisrokokoo.jpg) no-repeat 0px -41px;
}


/* - - - laatikko loppu ---*/
/* korjaukset */
.clearfix:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html.clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

.foikea{
clear:none;
float:right;
margin-left:5px;
margin-top:15px;
margin-right:20px;
}




img.fvasen{
position:relative;
clear:both;
float:left;
margin:5px;
margin-top:15px;
}

.fvasentxt{
clear:none;
display:block;
width:340px;
float:left;
/*text-align:justify;*/
}

img.foikeat{ /*alla*/
position:absolute;
right:10px;
margin:5px;
margin-top:15px;
}
.ajanklink , .ajanklink:visited{
color:#839cff;

}

p.aputeksti {
font-size: 10px;
}

p.aputeksti2 {
font-size: 8px;
color:#888;
}

caption {
font-weight:bold;
background: #eee;
text-align:center;
}


.keski {
width: 170px;
margin: 2px 10px 0px 20px;

}	

.lyhyt {
width:auto;
margin: 2px 10px 0px 20px;
padding-left:20px;

}	

#palautelomake{
width:98%;
float:left;
}


.kapeataulukko{
float:left;
display:block;
width:250px;
clear:left;
text-align:left;
margin-bottom:5px;
}

#palautedivi{
width:600px;
clear:none;
float:left;
}

.harmaareuna{
border:1px solid #808080;
}

p.kuvateksti{
margin-top:0px;
}

.etusivunkuva{
float:left;
clear:none;
margin:21px 0px 0px 30px;
}


#sisusdiv{
border:0px solid #000;
width:400px;
/*height:260px;*/
overflow:hidden;
float:left;
margin-top:5px;
margin-right:10px;
text-align:center;
}




#ohjelaatikko{
width:260px;
height:170px;
clear:none;
display:block;
float:left;
margin-right:40px;
font-size:11px;
padding-top:10px;
padding-left:10px;
text-align:left;
z-index:10;
}

table.leveataulu {
width:890px;
margin-bottom:15px;
margin-top:15px;
border-spacing:0px; /*cellspacing*/
border-collapse:collapse;
float:left;
}


table.leveataulu td, table.kivitaulu td {
padding:4px; 
border-spacing:0px; /*cellspacing*/
border-collapse:collapse;
vertical-align:top;
}


.btn{
vertical-align:middle;
text-decoration: none;
white-space:nowrap;
/*border: 1px solid transparent; */ /*ei toimi iellä*/
text-align:center;
width:106px;
height:31px;
background: #ddd url('template/btnbg.jpg') repeat-x bottom left;
/* url(template/navibgc.gif) no-repeat;*/
border:1px #888 solid;
color:#000;
font-size:14px;
margin-right:30px;
}

.smkuva{
margin:5px;
margin-right:10px;
border:0px;
}
.piilo{
display:none;
visibility:hidden;
width:0;
height:0;
}

#footerteksti{
margin-right:30px;
padding:0;
font-size:10px;
float:right;
color:#999;
}

#footerteksti a{
color:#007FFF;
}
#footerteksti a:hover{
color:#fff;
}

#footerteksti:hover{
font-size:18px;
position:absolute;
right:0px;
bottom:0px;
z-index:222;
color:#ddd;
}

#tuunix{
display:block;
position:absolute;
right:0px;
bottom:0px;
width:70px;
height:25px;
border:none;
}



#palaute fieldset{
border:1px solid #555;
padding:5px 2px 10px 10px;
color:#fff;
letter-spacing:0.3em;
font-size:14px;
margin-bottom:10px;
}

#palaute fieldset:hover{
background-color:#222;
}

#palaute label{
padding:0px 10px 0px 0px;
color:#ddd;
font-weight:normal;
letter-spacing:0em;
}

#palaute label:hover{
color:#fff;
}

#hideyhteyslisa label.w1{
width:108px;
display:inline-block;
}

#hideyhteyslisa label.w2{
display:inline-block;
width:160px;
}

#hideyhteyslisa label.w3{
display:inline-block;
width:182px;
}

#yhteyslisa{
font-size:15px;
padding:4px 40px 4px 120px;
letter-spacing:0.1em;
border:1px solid #444;
margin-bottom:5px;
}

#yhteyslisa:hover{
background-color:#222;
}

@media print {
#nav, #contenttop,#logokuva, #tekstialueshadow, #valikkotausta , .laatikko_cnr_top , .laatikko_cnr_bottom, .foikea, #ylakuvabox, .sliderwrapper, #ylakuva{
display:none;
visibility:hidden;
width:0;
height:0;
}

#page, #content, #sivualue, #tekstialue{
width:98%;
margin:0;
padding:0;
}

#footer{
width:98%;
margin:0;
padding:0;
font-size:11px;
}

#footerkes{
margin:0px;
padding-top:0px;
background:#fff;
text-align:center;
}
  
} /* printview */
