html, body{
  background: url('bg.jpg') center top no-repeat #000;
  margin: 0;
  padding:  0;
 font-family: arial, 'lucida console', sans-serif;
 font-size: 12px;
 color: #000;
}

#container{
  width: 1050px;
  margin-left:  auto;
  margin-right: auto; 
  background: url('container_bg.jpg') left top no-repeat;
  
}

#header{

}
a{
  color: #000;
  font-weight: bold;
}


#main{
background: url('footer_bg.gif') bottom right no-repeat;
  height:100%;
  padding-bottom: 63px;
  margin-right: 25px;
}

#main table, #main td{
 border-collapse:collapse;
 border: 1px solid #000;
}

#left{
  float: left;
  background: transparent;
  width: 425px;
 height: 1000px;
}

#right{
  float: left;
  background: url('right_bg.jpg') right top no-repeat #fff;
  width: 555px;
   padding-right: 20px;
   padding-left: 25px;
   padding-bottom: 200px;
/*   border: 1px solid #f00;*/
}

#right h2{
  margin-top: 30px;
}

#footer{
  background: transparent;
  height: 63px;
  margin-left: -25px;
  width: 600px;
  
}

.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%;
}
#navigation{
  float:right;
  width:200px;
  margin-top:0px;
  margin-right:0px;
}
/***************************
NAVIGAATIO
***************************/

#navigation ul{
  padding:25px 0 0 0;
  margin:0 10px 0 0;
}

#navigation ul li{
  list-style-type: none; width:176px;

}

#navigation ul li a{
     display:block;text-indent:-9999px;
}

#navigation li a {
    background:url('navigation_bg.png') right top;height:18px;
}

li a{
    outline: none;
}

li#routa a{
    background-position: 0 0px;  height:23px;
}

li#routa a:hover{
    background-position: 0 -194px;
}

li#ihmiset a{
    background-position: 0 -23px;
}

li#ihmiset a:hover{
    background-position: 0 -217px;
}

li#teokset a{
    background-position:0 -41px;
}

li#teokset a:hover{
    background-position:0 -235px;
}

li#kurssit a{
    background-position:0 -59px;
}

li#kurssit a:hover{
    background-position:0 -253px;
}

li#soveltava a{
    background-position:0 -77px;
}

li#soveltava a:hover{
    background-position:0 -271px;
}

li#kalenteri a{
    background-position:0 -95px;
}

li#kalenteri a:hover{
    background-position:0 -289px;
}

li#lehdistolle a{
    background-position: 0 -113px;
}

li#lehdistolle a:hover{
    background-position: 0 -307px;
}

li#yhteydet a{
    background-position: 0 -131px;
}

li#yhteydet a:hover{
    background-position: 0 -325px;
}

li#yhteistyossa a{
   height:45px; background-position: 0 -149px;
}

li#yhteistyossa a:hover{
   height:45px; background-position: 0 -343px;
}
/***************************
FLaSSIt
***************************/
#tanssi{
  height: 124px;
  width: 175px;
  background: #555;
 margin-top:273px;
 margin-left: 15px;
}

#teksti{
 width: 104px;
  height: 84px;
background: #555;
 margin-top:74px;
 margin-left: 48px;
}

/***************************Formi
***************************/

form, fieldset, input, textarea, select, button, label { font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

fieldset {
	margin: 0 0 18px; padding: 0; border: 0;
}

.FormItem {
	position: relative; clear: left;
	width: auto; height: auto;
	padding: 7px 0; margin: 0 0 -1px; overflow: hidden;
}
label, input.Button, button {
	cursor: pointer;
}
input, textarea, select,
button, label, .label, .FormHelp {
	position: relative; float: left;
	width: auto; margin-right: 5px;
}
input, select, button, textarea {
	width: auto;
}
label, .label {
	line-height: 18px; width: 80px; top: 1px;
	margin: 0 5px 3px 0; padding: 0;
	color: #000;
}

input { width: 160px;  border: 1px solid #000; background: #eee}
textarea { width: 240px; height: 100px; line-height: 18px; top: -1px; border: 1px solid #000; background: #eee}
select { width: 204px; margin-top: -1px; }
button, .button, input.btn { top: -1px; margin-right: 10px; width: auto; }

.errors {
 background: #f00;
 color: #000;
 text-align: center;
 padding: 10px;
 border: 2px solid #000;
}
/*  BLOGI  */

.date{
  font-weight: bold;
  font-size: 9px;
  margin-top: -10px;
}

.content{
  border-bottom: 1px solid #000;
}

.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%;
}

.lehdisto img{
 width:10%;
}
