*
{
    margin: 0;
    padding: 0;
}

body
{
    background: url("../images/bg.jpg") repeat-x #002242;
    font-family: Arial, Helvetica, Sans-Serif;
    color: #434343;
    font-size:12px;
}

h1, h2, h3, h4, h5
{
    color: #2E2E2E;   
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: bold;   
}

ul {
    margin-left: 15px;
    }

h1 {    font-size: 20px; color:#C63535; }
h2 {    font-size: 17px;    }
h3 {    font-size: 15px;    }
h4 {    font-size: 13px;    }
h5 {    font-size: 12px;    }

p
{
    margin-top: 5px;    
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: normal;
}

a
{
    text-decoration: none;  
    color: #4E739F;
    font-weight: bold;
}

img
{
    border: 0px;   
}

hr{
    border-top: 1px dotted #C0C0C0;
    border-bottom: 0px;
    margin-bottom: 7px;
    border-left: 0px;
    border-right: 0px;
    }

    
#wrapper
{
    width: 1050px;
    margin:0 auto;    
}

#maintop
{   
    width: 990px;
    height: 60px;
    background: url("../images/header.png") no-repeat;    
    margin-top: 10px;
    padding: 10px 30px 0px 30px;
    text-align: left;
}

#maintop a img
{
    float: left;
    border: 0px;
}

#top_left{
    width: 200px;
    margin-top:15px;  
    float:left;   
    }

#top_center{
    width: 245px;
    height: 55px;
    padding-left: 40px;
    padding-top:0px;
    float:left;
    line-height: 1.2em;
    border-left: 1px solid #CBCBCB;
    }

#top_right{
    width: 210px;    
    height: 60px;
    padding-left: 30px;    
    float:left;
    line-height: 1.3em;
    border-left: 1px solid #CBCBCB;  
    }
  
#top_center p, #top_right p{
    font-size: 13px;
    }        

#top_right a{
    font-weight: normal;
    font-size: 13px;
    }        
    
    
#links{
    float: left;
    margin-top:20px;
    width: 210px;
    height: 20px;
    }        

#links a{
    color: #434343;
    font-weight: normal;
    }        
        
        
#langmenu
{ 
    margin-top:5px;
    margin-bottom:5px;
    float: left;
    text-align:right;
    width:550px;
}

#langmenu a
{
    border: 0px 0px;
    padding: 0px 0px;
    margin: 0px 0px;
}

#langmenu a.hover_eng
{
    background-image: url("../images/langmenu/en-hover.png");
}

#langmenu a.hover_fi
{
    background-image: url("../images/langmenu/fi-hover.png");
}

#langmenu img
{
    border: 0px 0px;
    padding: 0px 0px;
    margin: 0px 0px 0px 5px;
}

#navi
{
    float:left;
    width: 780px;
    height: 20px;
    margin-top:26px;
    text-align: left;   
    overflow:hidden;
}

#mainmenu
{
    list-style-type: none;  
}

#mainmenu li
{
    float: left;
    height: 20px;
}

#mainmenu li a
{
    background: url("../images/navbg.jpg") no-repeat 100% 1px;    
    text-decoration: none;
    font-size: 13px;
    margin-top:3px;
    padding: 0px 15px 5px 15px;
    font-weight: bold; 
    color: #2E2E2E;
}

#mainmenu li a:hover
{
    color: #3F8FCE;
}

#mainmenu li a.active
{
    color: #3F8FCE;
}

#container
{
    background: url("../images/mainbg.png") repeat-y;
    text-align: left;
    float: left;
    width: 990px;
    padding: 3px 30px 0px 30px;
    clear: both;
}

#main
{
    background: url("../images/greybg.jpg") repeat-x;    
    text-align: left;
    float: left;
    width: 980px;
}


#main ul{    
    margin-left:30px;
    }



#sidebar
{
    background: url("../images/sidebg.jpg") no-repeat 30px 10px;    
    width: 210px;
    padding-left: 30px;
    float: left;
}

#subnav{
    width: 100%;
    margin-bottom: 10px;
    list-style-type: none;     
    }

#subnav ul{
    margin-left:0px;
    }    
    
#subnav .subnavblock{
    padding: 3px 5px 3px 5px;
    display:inline;    
    }
    
    
#sidebar h2
{
    font-size: 18px;
    color: #768183;
    text-transform: uppercase;
    margin-left: 20px;
}


#submenu
{
    list-style-type: none;
    margin-left: 15px;  
    margin-top: 10px;
    margin-bottom: 20px;
}

#submenu li
{
/*    width: 220px;*/
}

#submenu li a
{
    display: block;
    width: 165px;
    height: 35px;
    padding-left: 30px;
    background-image: url("../images/nuoli.jpg");
    background-repeat: no-repeat;
    line-height: 26px;
    text-decoration: none;
    color: #768183;
    font-weight: bold;
    font-size: 16px;
}

#submenu li a:hover
{
    background-position: 3px 0px;   
    color: #0282C3;
}

#submenu li a.navi_current
{
    color: #0282C3;
}

/* subMenu */

#submenu li ul {
    margin-left: 40px;    
}

#submenu li li a
{
    display: block;
    width: 165px;
    height: 25px;
    line-height: 10px;
    text-decoration: none;
    color: #768183;
    font-weight: bold;
    font-size: 16px;
}


#submenu li li a:link, #submenu li li a:visited {
    background-image: none;   
    font-size: 15px;
    padding-left: 5px;
}



#headerpic-container
{
    background-color: #ececec;  
    width: 710px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-image: url("../images/headerpic-bottom.gif");
    background-repeat: no-repeat;   
    background-position: center bottom;
}


#headerpic-container-in
{   
    background-image: url("../images/headerpic-top.gif");
    background-repeat: no-repeat;   
    background-position: center top;
    padding: 10px;
}

.maintext
{
    width: 510px;
    float: left;
    padding-right: 15px;
    padding-left:5px;
    overflow:hidden;
}

.maintext p
{
  margin-left: 20px;
}


.right_column{
    float: right;
    margin-left: 5px;
    width: 400px;
    padding: 10px;
    background-color: #E2E2E2;
    padding-bottom:10px;
    }

#slideshow{
    width:395px;
    height:260px;
    border: 3px solid #CDCDCD;
    background-color: #FFFFFF;    
    overflow: hidden;
    margin-bottom: 10px;
    text-align:center;
    }    

.bluebox{
    background: url("../images/bluebg.png") no-repeat;
    width: 380px;
    height: 83px;
    margin-bottom: 5px;
    padding: 12px 5px 10px 15px;
    overflow:hidden;
    }    

.bluebox p, .bluebox h1, .bluebox h2, .bluebox h3, .bluebox h4{
    color: white;
    margin:2px;
    padding: 0px;
    }    

.bluebox a{
    color: #375171;
    }     
    
   
.bluebox h1{
    margin-bottom:4px;
    }     
    
.bluebox strong{
    color: black;
    }    
        
        
.column230
{
    width: 240px;
    margin-left: 20px;
    margin-bottom: 10px;    
    float: left;
}

.column230.rightmargin
{
    margin-right: 10px; 
}

.otsikko {
    width: 200;
    height: 30px;
    background-color: #5F6D70;    
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;    
    padding-left: 15px;
    padding-top: 10px;    
    }

.news_top {
    background: url("../images/greybox_top.png") no-repeat;     
    width: 100%;
    height: 10px;
    }
 
.news{
    margin-bottom: 10px;
    }       

.news_content {
    background-color: #E9E9E9;
    width: 467px;   
    padding: 2px 20px 2px 20px;
    font-size: 0.8em;
    margin:0px;
    clear:both;
    }
    
        
.news_footer {
    background: url("../images/greybox_footer.png") no-repeat 0 100%;     
    width: 100%;
    height: 10px;
    }
    

.news p.text{
    background: url("../images/newspaper.png") no-repeat;    
    padding-left: 30px;
    margin-top: 7px;
    margin-bottom: 15px;
    }
        

.news p.header{ 
    margin-top: 3px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1em;
    }

/* tarjoussivun taulukko */    

.basic{
    border: 1px dotted #E5E5E5;
    padding: 2px;
    }

.basic tr.odd{
    background-color: #F0F0F0;
    }
    
.basic th{
    padding:2px 2px;
    }
            
.basic td{
    border-top: 1px solid #E5E5E5;
    padding:5px 5px 3px 5px;
    }
        
/* lomakekentät */

#yhteydenottolomake
{
    margin: 0px 5px 10px 5px;
}

#yhteydenottolomake td
{
    padding: 4px 10px 5px 10px;
    border-top: 2px solid #ffffff;
    border-bottom: 1px solid #d0d0f0;
    background-color: #f0f0f5;
    font-size: 12px;
    font-weight: bold;
    vertical-align: top;    
}

#yhteydenottolomake .label
{
    color: #606060;
    width: 150px;
    height: 25px;

}

#yhteydenottolomake td input
{
    width: 230px;   
}

#yhteydenottolomake td input[type=radio]
{
    width: 20px;   
}

#yhteydenottolomake td input[type=checkbox]
{
    width: 20px;   
}

#yhteydenottolomake td textarea
{
    width: 350px; 
}

.lomakeotsikko{
    color: #C63535;
    }
  
    
/* Aineistopankki */

#aineistopankki img{
    border: 0px;
}

#aineistopankki .aineistotausta{
    display: block;
    float: left;
    width: 120px;
    height: 135px;
    padding:3px;
    background: url('../images/aineistotausta.png') no-repeat;
    overflow:hidden;
    text-align:center;
}

#aineistopankki #kuvaalue{
    display: block;
    float: left;
    width: 107px;
    height: 85px;
    overflow:hidden;
    text-align: center; 
    border: 1px solid #E5E5E5;
    margin-bottom: 3px;
}

#aineistopankki .tekstialue{
    display: block;
    float: left;
    width: 107px;
    height: 30px;
    overflow:hidden;
    text-align: left;
    font-size: 10px; 
    text-align:center; 
}

#aineistopankki .tekstialue p{
    font-size: 11px; 
    color: #000000;
    margin:1px;
    padding:1px;           
}

#aineistopankki .tekstialue a{
    text-decoration: none;
    color: #2667AB; 
    margin:1px;
    padding:1px;
    font-weight: bold;                              
}

#aineistopankki .linkit{
    text-decoration: none;
    color: #2667AB; 
    font-weight: bold;                              
    font-size: 11px;
    text-align:left;    
}

div.errors
{
/*    border: 1px solid #ebccbc;*/
    padding: 5px;
/*    background-color: #faf0eb;*/
    margin: 3px;
    color: #f03030; 
    font-weight: bold;
    width: 100%;
}

div.errors ul
{
    margin-bottom: 0;
    padding-bottom: 0;  
}

ul.errorlist
{
    list-style-type:none;
}

ul.errorlist li
{
    font-size: 12px;
    background-image:url("../images/cross.png");
    padding-left: 20px;
    background-repeat: no-repeat;
    margin:3px 0px 3px 0px;
}

#footer
{   
    background: url("../images/footer.png") no-repeat 0 100%;
    width: 990px;
    height: 127px;
    padding: 0px 30px 0px 30px;
    font-size: 11px;
}

#footer .contact
{   
    width: 200px;
    padding:0px 5px 0px 0px;
    float:left;
}

#footer .footertext
{   
    background: url("../images/greybg.jpg") repeat-x;
    width: 970px;
    float:left;
    padding-left:10px;
}

.logo{
    float:left;
    padding: 15px 10px 10px 10px; 
    }

#footer p,#footer a{
    color: #4C4C4C;
    font-size: 12px;
    }