*
{
    margin: 0;
    padding: 0;
}

body
{
    background: url("../images/bg.jpg") repeat-x #020204;
    font-family: Arial, Helvetica, Sans-Serif;
    color: #434343;
    font-size:12px;
}

h1, h2, h3, h4, h5
{
    color: #000018;   
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: bold;   
}

ul {
    margin-left: 15px;
    }

h1 {    font-size: 24px; color:#010042; padding-bottom: 5px; border-bottom: 1px dotted #C0C0C0; }
h2 {    font-size: 20px;    }
h3 {    font-size: 15px;    }
h4 {    font-size: 13px;    }
h5 {    font-size: 12px;    }

p
{
    margin-top: 5px;    
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: normal;
}

a
{  
    font-weight: bold;
    color: #261FA3;
}

a:visited
{  
    font-weight: bold;
    color: #261FA3;
}


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;    
    background: url("../images/wrapper.png") repeat-y;        
    padding: 0px;
}

#maintop
{   
    width: 1050px;
    height: 190px;
    background: url("../images/header.jpg") no-repeat;    
    text-align: left;
    position: relative;
}

#maintop a img
{
    float: left;
    border: 0px;
}

#top_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{
    position: absolute;
    top: 20px;
    right: 30px;
    width: 250px;    
    height: 100px;
    padding-left: 30px;    
    float:left;
    line-height: 1.3em;
    border-left: 1px solid #3D3974;  
    }
  
#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
{
    position: absolute;
    top: 143px;
    left: 35px;
    width: 1000px;
    height: 30px;
    text-align: left;   
    overflow:hidden;
}

#mainmenu
{
    list-style-type: none;  
}

#mainmenu li
{
    float: left;
    height: 30px;
}

#mainmenu li a
{
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 5px 10px 7px 10px;
    margin-right: 1px;
    font-weight: bold; 
    color: #FFFFFF;
}

#mainmenu li a:hover
{
    background: url("../images/nav_active.jpg") repeat-x;        
    color: #FFFFFF;
}

#mainmenu li a.active
{
    background: url("../images/nav_active.jpg") repeat-x;            
    color: #FFFFFF;
}

#container
{
    text-align: left;
    float: left;
    width: 990px;
    padding: 3px 30px 0px 30px;
    clear: both;
}

#main
{    
    text-align: left;
    float: left;
    width: 720px;
}


#main ul{    
    margin-left:30px;
    }



#sidebar
{  
    width: 220px;
    padding-left: 15px;
    margin-right: 25px;
    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;
    text-transform: uppercase;
    margin-left: 20px;
}


#submenu
{
    list-style-type: none; 
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 15px;
}

#submenu li
{
/*    width: 220px;*/
}

#submenu li a
{
    display: block;
    height: 30px;
    background-repeat: no-repeat;
    line-height: 24px;
    text-decoration: none;
    color: #000009;
    font-weight: bold;
    font-size: 16px;
}

#submenu li a:hover
{
    background-position: 3px 0px;   
    color: #261FA3;
}

#submenu li a.navi_current
{
}

/* subMenu */

#submenu li ul {
    margin-left: 20px;    
}

#submenu li li a
{
    display: block;
    width: 165px;
    height: 25px;
    line-height: 10px;
    text-decoration: none;
    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-repeat: no-repeat;   
    background-position: center bottom;
}


#headerpic-container-in
{   
    background-repeat: no-repeat;   
    background-position: center top;
    padding: 10px;
}

.white_box{
    background-color: #FFFFFF; 
    width: 195px;
    text-align:center;
    padding-bottom: 10px;
    }

.logo{
    float:left;
    width: 100%;
    padding-top:10px;
    clear: both;
    text-align:center; 
    }
    

.right_column{
    float: right;
    margin-left: 5px;
    width: 350px;
    padding-bottom:10px;
    }    
        
.maintext
{
    width: 350px;
    float: left;
    padding-right: 10px;
}

.maintext_wide
{
    width: 720px;
    float: left;
    
}


.maintext p
{
  margin-left: 20px;
}

.maintext ul, .maintext_wide ul
{
    margin-left: 30px;
    line-height: 20px;
}


#slideshow{
    width:680px;
    height:270px;
    padding: 20px 20px 5px 20px;
/*    background-color: #000000;    */
    overflow: hidden;
    margin-bottom: 10px;
    }    

.slide1{
    float: left;
    width:330px;
    height:240px;
    overflow: hidden;
    margin-right: 15px;
    border: 1px solid black;
    }     

.slide2{
    float: left;
    width:330px;
    height:240px;
    overflow: hidden;
    border: 1px solid black;    
    }     
    
.slideshowtext{
    float: left;
    display: block;
    padding-top: 5px;
    width:315px;
    padding-left: 15px;           
    }          
       
.otsikko {
    width: 200;
    height: 30px;
    background-color: #5F6D70;    
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;    
    padding-left: 15px;
    padding-top: 10px;    
    }

.news_top {     
    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 {   
    width: 100%;
    height: 10px;
    }
    

p.text{  
    margin-top: 7px;
    margin-bottom: 10px;
    font-size: 1.1em;
    }
        

p.header{ 
    margin-top: 3px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    }

/* 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 */

img{
    border: 0px;
}


#kuvaalue{
    display: block;
    float: left;
    width: 107px;
    height: 80px;
    overflow:hidden;
    text-align: center; 
    border: 1px solid #E5E5E5;
    padding: 5px 5px;
    margin-bottom: 3px;
    margin-right: 3px;    
}

.tekstialue{
    display: block;
    float: left;
    width: 107px;
    height: 30px;
    overflow:hidden;
    text-align: left;
    font-size: 10px; 
    text-align:center; 
}

.tekstialue p{
    font-size: 11px; 
    color: #000000;
    margin:1px;
    padding:1px;           
}

.tekstialue a{
    text-decoration: none;
    color: #2667AB; 
    margin:1px;
    padding:1px;
    font-weight: bold;                              
}

.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
{   
    width: 1050px;
    height: 50px;    
}


#footer .footertext
{   
    margin-left: 25px;
    width: 1000px;
    height: 25px;
    padding-top: 5px;
    text-align: center;
    float:left;
    font-size: 18px;
    color: #454473;
    font-weight: bold;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    margin-bottom: 20px;
}


#footer p,#footer a{
    color: #4C4C4C;
    font-size: 12px;
    }
