.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}

.clearfix {display: inline-block;} /* for IE/Mac */

*{
margin: 0;
padding: 0;
}
html, body {
height: auto;
background: #BCB9A6;
color: #000;
padding: 0;
margin: 0;
}
h1 {
font-weight:bold;
background: #FFF url(../images/header.jpg) repeat-y;
height: 18px;
width: 630px;
text-indent: 10px;
color: #444;
padding: 2px 0 0 0;
margin: 0 0 10px -10px;
}
h2 {
font-weight: bold;
text-align: left;
color: #5A6B25;
padding: 0px 0 14px 0;
}
h3 {
font-weight:bold;
color: #5A6B25;
padding: 0px 0 14px 0;
}
p {
text-align: left;
padding:0px 10px 10px 0;
color: #000;
line-height: 12pt;
display: block;
clear: right;
}

#bkg {
background: url(../images/background.jpg) no-repeat;
background-position: center top;
height: 100%;
overflow: hidden;
}
#top-spacer {
height: 30px;
width: 820px;
margin: 0px auto 0px auto;
padding: 0px;
background: url(../images/top-img.jpg) no-repeat 10px;
}
#top-spacer a{
display: block;
margin-left: 5px;
font: normal 24px arial;
text-decoration: none;
float: right;
color:#ffffff;
}
#container {
height: auto;
min-height: 75%;
width: 820px;
margin: 0px auto 0px auto;
padding: 0px;
background: #FFF url(../images/contentbkg.jpg) repeat-y;
}
#logopalkki {
background: #FFF url(../images/logopalkki.jpg) no-repeat;
height: 120px;
width: 820px;
margin: 0px auto 0px auto;
float: left;
clear: right;
}
#wrapper {
clear: right;
float: left;
height: auto;
min-height: 315px;
width: 650px;
}
#kuvake {
float: right;
margin: 0 0 0 2px;
}
#edit-kuvake {
display: inline-block;
width: 18px;
height: 18px;
float: right;
margin: 0 0 0 2px;
}
#content {
background: #e3e2e1 url(../images/header.jpg) no-repeat;
height: auto;
min-height: 315px;
width: 630px;
margin: 0 10px 0 0px;
border-right: 10px solid #FFF;
border-left: 10px solid #FFF;
}
#content a {
color: #5A6B25;
text-decoration: none;
font: bold;
}
#bottom {
width: 820px;
margin: none auto none auto;
background: #FFF;
text-align: center;
color: #333;
padding: 0px;
height: 10px;
clear: both;

}
#footer {
width: 640px;
height: 100%;
margin: 0 auto 0 auto;
padding: 10px 0 10px 180px;
font: bold 11px Arial;
text-align: left;
line-height: 15px;
color: #666;
clear: both;
}
#menu {
min-height: 260px;
width: 160px;
background:url(../images/menu.jpg)no-repeat;
margin: 0 0 0 10px;
float: left;
text-align: right;
padding: 0px;
list-style-type: none;

}

#menu ul li a:hover{
background: url(../images/hover.png) no-repeat left;
}
.item117{
color:white;
font-family:Arial;
font-size:14px;
font-size-adjust:none;
font-style:normal;
font-variant:normal;
font-weight:bold;
line-height:normal;
text-decoration: none;
}

#sisalto{width: 620px; height: auto; padding: 10px 0 0 10px; margin: 0 -10px 0 0}
#palsta {padding-top: 5px}
.koko {width: 620px; max-width: 620px; clear: both;}
.oikea {width: 300px; float: right; clear: right; padding: 0 0 0 10px}
.vasen {width: 300px; float: left; }
#palsta img, #palsta.oikea img, #palsta.vasen img {border: 1px solid #5A6B25; float: left; clear: right; margin: 0 0 10px 0;}
#palsta p {clear: both;}

#palsta a {
text-decoration: none;
font-weight:bold;
}

#sisalto ul li {
display: block;
padding-bottom: 3px;
}
#sisalto ul li.numero, #sisalto ul li.nimi {
display: block;
text-align: left;
color: #000;
height: 12px;
width: 290px;
padding-bottom: 10px;
float:left;
}
#menulist li.item20 a {
display: block;
font: bold 14px Arial;
color: white;
text-decoration: none;
margin: 5px 5px 0 0;

}
#kuvakkeet {
float: right;
width:75px;
}
.breadcrumbs{
float: left;
display: inline-block;
padding:2px 0 0 0;
height: 24px;
width: 545px;
}
.pathway {
font: bold 12px Arial;
color: #444;
padding:2px 0 0 5px;
}
.urheilu {
width: 180px;
height: 20px;
display: block;
float: left;
margin: 0 10px 10px 0 ;
color: #000;
text-decoration: none;
font: 14px Bold, sans-serif;
border:solid 7px #F0F0F0;
padding: 250px 0 0 0;
background: url(../images/urheilu_bg.jpg) no-repeat;
}
.urheilu a:hover {
border:solid 7px #cbcbcb;
color: #000;
}
.yhteiskunta {
width: 180px;
height: 20px;
display: block;
float: left;
margin: 0 10px 10px 0 ;
color: #000;
text-decoration: none;
font: 14px Bold, sans-serif;
border:solid 7px #F0F0F0;
padding: 250px 0 0 0;
background: url(../images/yhteiskunta_bg.jpg) no-repeat;
}
.yhteiskunta a:hover {
border:solid 7px #cbcbcb;
color: #000;
}
.kulttuuri {
width: 180px;
height: 20px;
display: inline-block;
float: left;
margin: 0px 10px 10px 0px ;
color: #000;
text-decoration: none;
font: 14px Bold, sans-serif;
border:solid 7px #F0F0F0;
padding: 250px 0px 0px 0px;
background: url(../images/kulttuuri_bg.jpg) no-repeat;
}
.kulttuuri a:hover {
border:solid 7px #cbcbcb;
color: #000;
}
.kaikki {
clear:both;
text-decoration: none;
font: 14px Bold, sans-serif;

}
.sparre {
width: 180px;
height: 20px;
display: block;
float: left;
margin: 0 10px 10px 0 ;
color: #000;
text-decoration: none;
font: 14px Bold, sans-serif;
border:solid 7px #F0F0F0;
padding: 250px 0 0 0;
background: url(../images/sparre_bg.jpg) no-repeat;
}
.sparre a:hover {
border:solid 7px #cbcbcb;
color: #000;
}
