body{
 margin:0; padding:0; font-family: arial, 'lucida console', sans-serif;
 background: url('body_bg.jpg') top left repeat-x #fff; color: #000;
 font-size: 14px; line-height:1.2em;
}

h1{
  font-family: arial, 'lucida console', sans-serif;
  font-weight: bold;
  font-size: 1.7em;
}

h2{
font-size:14px;

}

h3{
font-size:14px;
color: #1e4b78;
}

caption{
font-size: 1.7em;

}

#container{
 width: 900px; border:1px solid #000; border-top:none;
 position:relative;margin: 0 auto 0 auto;
 background: url('container_bg.jpg') top left no-repeat;padding:0;
}

#header{
 height:220px; position: relative;
}

/*
*  Navigaatio
*/
#navig{
padding-top:0px;
}

#navig ul{
 margin-left:-20px;
}

#navig li{
  list-style-type: none; position:relative;float:left; margin-right: 6px; line-height:1.5;
}

#navig a{
 color: #fff; text-transform: uppercase;font-weight: bold;text-decoration: none;
 font-size:10px;
}

#navig ul li ul{
  display:none;margin:0; padding:0;
}

#navig ul li table{
  position:absolute;
}

#navig ul li:hover ul{
  position:absolute; display:block;z-index:100;margin-top:-4px;width:135px;
  background:#000;padding:5px;
}

#navig ul li:hover table{
  position:absolute; display:block;z-index:100;
}

#navig ul li:hover ul li{list-style-type: none;padding:3px;}
/*
*  Rakenne
*/

#content{
 width:450px;
 padding:20px;
 float:left;
}
#content_ajankohtaista{
 width:850px;
 padding:20px;
 float:left;
 font-size:
 }
#sidebar{
  width:350px;
  float:left;
  margin-top:46px;
  margin-left:30px;
  margin-bottom:30px;
}
#sidebaretu{
  width:350px;
  float:left;
  margin-top:80px;
  margin-left:10px;
  margin-bottom:10px;
}
#sidebaretu_ajankohtaista{
  width:350px;
  float:left;
  margin-top:20px;
  margin-left:20px;
  margin-bottom:px;
  font-size:13px;
}

#sidebaretu_ajankohtaista ul li{
list-style-type: none; white-space:pre;
}

#footer{
 clear:both; padding-left: 20px; font-size:10px;background:#eee;margin:0;
 padding:10px;

}

#sidebar img{
  margin:0;padding:;float:left;
}

#sidebar a img{
  margin:0; padding:0; border-bottom:1px solid #fff;border-left:1px solid #fff;
}

#sidebaretu img{
  margin:0;padding:;float:center;
}

/*FORMI*/


form, fieldset, input, textarea, select, button, label { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color:#000;}

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;
        color:#000;
}
label, .label {
	line-height: 18px; width: 80px; top: 1px;
	margin: 0 5px 3px 0; padding: 0;
	color: #000;
}

input { width: 160px; }
textarea { width: 240px; height: 100px; line-height: 18px; top: -1px; }
select { width: 204px; margin-top: -1px; }
button, .button, input.btn { top: -1px; margin-right: 10px; width: auto; }

.errors {
 background: #f00;
 color: #fff;
 text-align: center;
 padding: 10px;
 border: 2px solid #fff;
}
.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%;
}

