body{
background: url(images/bodybg.jpg) top center repeat-x fixed;
margin: 17px 0 0 0;
min-width: 1000px;
font-family: georgia, "Times New Roman", serif;
line-height: 1.4;
}

#ylareuna{
background: url(images/ylareuna.jpg) repeat-x;
position:fixed;
top:0;
left: 0;
height: 17px;
width: 100%;
}
* html #ylareuna{
	display: none;
}

#outer{
background: url(images/outertausta.png) top center no-repeat;
width: 100%;
height: 500px;
}


h1{font-size: 30px; text-indent: -9999px; display: none;}


h2, h3, h4{
font-family: arial, verdana, sans-serif;}

h2, h3 {
display: block;
width: 100%;
text-align: center;
color: #ff2c00;}


h2{
display: block;
width: 100%;
font-size: 24px;
text-align: center;
margin: 0 0 15px 0;}

h4{
display: inline;
background: #ffc100;
font-weight: bold;
font-size: 14px;
padding: 0 5px;
}

p{
font-size: 14px;
margin: 0 0 15px 0;
line-height: 1.4}

a {
font-size: 14px;
line-height: 1.4
text-decoration: none;
color: #000;
}

a:hover {
font-size: 14px;
line-height: 1.4
color: #000;
}

a:visited{
font-size: 14px;
line-height: 1.4
color:#808080;
}

.content_inner img{
        margin: 5px 8px 5px 8px;
}

#side_r h3{
font-size: 16px;
line-height: 1.2;
}
#side_r p{
font-family: arial, verdana, sans-serif;
font-size: 18px;
line-height: 1.1;
margin: 0 0 30px 0;}

#wrapper{
position: relative;
width: 1002px; 
margin: 0 auto 0 auto;}

#wrapperbg{
width: 1002px; 
float:left;
background: url(images/wrapperbg.png) no-repeat;
}


#side_l{
background: #fff;
width: 205px;
display:inline;
float:left;
margin: 195px 0 0 11px;
padding: 0 0 30px 0;
}

#side_l div.etusivu a{
margin: 0 0 0 45px;
text-decoration: none;
font-family: arial, verdana, sans-serif;
font-weight: bold;
color: #000;
font-size: 14px;
line-height: 1.4;
padding: 0 5px;
}
#side_l div.etusivu a:hover, #side_l div.etusivu a.current_page_item{
color: #ff2c00;
}


#side_l ul{
width: 142px;
margin: 10px 0 0 45px;
}
#side_l ul li a{
font-family: arial, verdana, sans-serif;
background: #ffc100;
line-height: 1.4;
color: #222;
text-decoration: none;
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
padding: 0 5px;
}

#side_l ul ul{
margin: 0 0 15px 0;}


#side_l ul ul li a{
text-transform: none;
background: none;
line-height: 1.4;
}
#side_l ul ul li a:hover, #side_l ul ul li a.current_page_item{
color: #ff2c00;
}


#contfootwrap{
float:left;
margin: 214px 0 0 18px;
width: 557px;
}

#content{
background: #fff;
}
#cont_inner{
padding: 0px 20px 25px 20px;
min-height:370px; 
height:auto;
}

* html #cont_inner{
	height: 370px;
}

#side_r{
background: #fff url(images/sidebarbg.png) no-repeat;
position: absolute;
top: 58px;
right: 11px;
width: 179px;
text-align: center;
}


#clear { clear: both; width: 100%; height: 120px;}

#footer{
float:left;
background: url(images/footer.png) repeat-y;
width: 569px;
margin: 7px 0 0 -7px;
overflow: visible;
padding: 10px 0;
display: inline;
}

#footer p{
font-size: 10px;
display: inline;
width: 151px;
float:left;
margin: 0 0 0 25px;
}

#henkilot{
float:left;
border-left: 1px solid #c7c7c7;
}

#header{
position:absolute;
top:0;
}
#etukuva img{
	padding: 0 0 0 10px;
        margin: -10px 0px 0px 0px;
}

img.tekstikuva {  
    margin: 10px; 
}



#nostot img { display: block }

#nostot td { margin:0; padding:0; border:0; }
