/* commented backslash hack \*/
html, body{height:100%;}
/* end hack */

body {
background-color: #ebebe9;
margin-top: 10px;
text-align:center
}

h2 {

font-family: Arial, Verdana, sans-serif;
font-size: 24px;
margin:0 0 20px 0;
color: #5C4C1D;
font-weight: normal;
line-height: 1.2em;
border-bottom: 3px solid #9A8E69;
letter-spacing: 1px;
}


p {
font-family: Arial, verdana, sans-serif;
color: #5c4c1d;
line-height:1.5em;
font-size: 12px;
}

#johdanto p {
line-height: 1.3;
}



a {
font-size:12px;
text-decoration:none;
}

#wrapper {
width: 	936px;
margin: 0 auto;
background-color: #fff;

position:relative;
text-align:left;
min-height:100%;
height:auto;
}

* html #wrapper{
height:100%;
}

#header {
width: 936px;
height: 118px;
background: url("images/header.png") no-repeat;
}


#menu {

height:35px;
width:747px;
margin: 8px 0px 0px 8px;
}
#menu ul {
padding-top: 8px;

padding-right: 8px;

padding-bottom: 8px;

padding-left: 8px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

margin-left: 0px;

list-style-type: none;
}
#menu li {
float:left;
display:inline;
margin-right:40px;
}

#menu a {
color: #716b6b;
display:block;
float:left;
font-family:verdana;
font-size:8pt;
text-decoration:none;
font-weight: bold;
}
#menu a:hover {
color:#000000;
}
#menu .current_page_item {
text-decoration:underline;
}


#yla {
height: 200px;
margin: 10px 0 30px 0;
}

#yla img{
margin-top: 5px;
margin-left: 5px;
float:left;
}

#johdanto {
background-color:#fff;
display:inline;
margin: 0 0 0 15px ;
float:left;
width: 400px;
clear:right;
line-height: 0.2;
}


#alateksti {
width: 483px;
margin:0 0 0 20px;
/*height: 200px;*/
float: left;
}


#eskuvat {
display:inline;
float: left;
margin: 10px 0 0px 50px;
height: 290px;
width:365px;
}
#eskuvat div{
background-image: url(images/nelio2.png);
background-repeat: no-repeat;
float:left;
height:130px;
width:150px;
}
#eskuvat a{
margin-top: -2px;
margin-left: 20px;
font-size: 14px;
color: #5d4949;
}


#kirjat{
margin-right: 40px;
}
#kirjat img{
margin-top:15px;
}
#mobiili img{
margin-top:10px;
}
#palvelut{
margin-right: 40px;
}
#ajankohtaista{
}
#ajankohtaista div{
margin:20px 0 0 0px;
background-image:none;
line-height:1.2em;
width:120px;
}
#ajankohtaista div a{
margin-left:0;
}


#clearfooter{clear:both;height:120px;width:100%}

#footer {
height:60px;
background: url(images/alapala.png) no-repeat bottom right;
padding-bottom:20px;
width: 936px;

position:absolute;
bottom:0;
left:0;
}

#footer div{
background: url(images/nelio.png) no-repeat top left;
margin-left: 28px;
float:left;
}

#footer p{
margin-left: 20px;
color: #a39878;

}




/* ALASIVUT */

#teksti{
margin: 30px 0 0 0;
width:530px;
float:left;
display:inline;
}

#kuvat{
float:left;
display:inline;
margin:80px 0 40px 30px;
width: 200px;
}

#kuvat img{
float:left;
display:inline;
margin-bottom: 20px;
border: 2px solid #9A8E69;
}



