.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

form {
margin: 0px; 
padding: 0px;
}

body,html {
font-family: Arial, Helvetica;
}


body{
margin: 0px; 
padding: 0px;
font-size: 12px;
font-family: Arial, helvetica;
background-color: #f3f3f3;
background-image: url(../niku_images/bgimage.jpg);
background-repeat: repeat-x;
text-align: center;
padding-top: 4px;
}

/* Sivuston fontit keskikoko */



table#contenttable {


}


div#maincontainer {

margin: 0 auto;
width: 814px;
text-align: left;
position: relative;
}

div#header_container {

}

div#content_container_fr {
width: 771px;
border-top : 1px solid #6ed0f7;
border-left: 1px solid #e0e0e0;
border-right: 1px solid #e0e0e0;
}


div#content_container {
width: 771px;

border-left: 1px solid #e0e0e0;
border-right: 1px solid #e0e0e0;
}

div#paanostocontainer {
width: 772px;


}

#valittuvalikko td {background-color: #35648B;padding-top: 4px; padding-bottom: 4px;}
#valittuvalikko td a {color: white; font-weight: bold;}

div#contentzone {
margin: 0 auto;
padding-top: 10px;
width: 771px;
background-color: white;
background-image: url(../niku_images/fr_content_bg.jpg);
background-position: bottom;
background-repeat: repeat-x;
}

div#fontsizetable {
position: absolute; right: -1px;
top: 125px;
}



#fztable {

}



td#valikkosolu {
width: 234px;
padding-bottom: 20px;
background-color: #f6f6f4;
}

div#valikkobg {
border-top: 20px solid white;
background-color: #dceef8;

}

table#valikko {
margin-left: 17px;
margin-top: 0px;
margin-bottom: 10px;
}

div#pagelayout {
width: 773px;
}



div#header {
width: 772px;
height: 140px;
background-image: url(../niku_images/top_bg.gif);
position: relative;
}

div#fr_link {
position: absolute; 
left: 0px;
top: 0px;
width: 240px;
height: 120px;
}

div#fr_link img{
width: 240px;
height: 120px;
}


div#search {
width: 211px;
height: 29px;
background-image: url(../niku_images/haku_bg.gif);
float: right;
}

table#searchtable {
margin-left: 4px;
margin-top: 2px;
}

table#searchtable .dropdown {
width: 120px;
height: 18px;
background-color: #ECF6FF;
}

div#topnavi {
position: absolute;
right: 0px;
top: 80px;
width: 440px;
}

div#etusivunpaanosto {
position: relative;
width: 772px;
height: 194px;
background-image: url(../niku_images/paanosto_bg.gif);


}

div#paanostokuva {
position: absolute;
left: 32px;
top: 11px;
width: 319px;
height: 151px;
background-image: url(../niku_images/paanosto_bg.gif);
background-repeat: no-repeat;
overflow: hidden;
}

div#paanostoteksti {
position: absolute;
left: 383px;
top: 19px;
width: 378px;
height: 150px;
background-repeat: no-repeat;
overflow: hidden;

}

div#paanostokuva p, div#paanostokuva img {
padding: 0px; margin: 0px;
padding-bottom: 0px;
margin-bottom: 0px;
}

div#paanostoteksti h1, div#paanostoteksti h2 {
padding: 0px; margin: 0px;
padding-bottom: 0px;
margin-bottom: 0px;
font-size: 20px; 
color: #2ca8e8;
font-weight: bold;
}

div#paanostoteksti p {
padding: 0px; margin: 0px;
padding-bottom: 0px;
margin-bottom: 0px;
padding-top: 5px;
}


td#searchbg {
background-image: url(../niku_images/hakuarea_bg.gif);
background-repeat: repeat-x;
}

div#search input {
margin: 0px; padding: 0px; border: 0px;
}

div#footerx {
background-image: url(../niku_images/footerblue.jpg);
background-repeat: no-repeat;
background-position: top right;
width: 774px;
height: 40px;
}


div#footertext {
padding-top: 20px;
color: #067eb2;
padding-left: 20px;
}



div#contentzone_frontpage {
padding-top: 10px;
width: 771px;
background-color: white;
background-image: url(../niku_images/fr_content_bg.jpg);
background-position: bottom;
}

div#sisaltomargin {
width: 470px;

margin-top: 20px;
margin-left: 34px;

margin-bottom: 20px;
}

#nostot {margin-left: 10px;}

tr.menulevel1 a {
font-weight: bold; 
text-decoration: none;
}

tr.menulevel2 a,tr.menulevel3 a, tr.menulevel4 a, tr.menulevel5 a,tr.menulevel6 a {
font-weight: normal; 
text-decoration: none;
}

tr.menulevel2 td, tr.menulevel3 td, tr.menulevel4 td, tr.menulevel5 td {
padding-top: 3px;
padding-bottom: 3px;
}

/* //Sivuston fontit keskikoko */



td#palsta2 {}
