* { margin: 0; padding: 0; }

html {
    font-size: .8em;
    min-height: 100%;
    height: auto;
    overflow-y: scroll; 
}

body {
    font-family: 'Trebuchet', Helvetica, sans-serif;
    background: #BCBEC0;
    }
    
#wrap {
    margin: 0px auto;
    width: 1143px;
    padding-top:10px;
    display: block;
    }
    
.clear {
    visibility: hidden;
    clear: both;
    }
    
a {
    text-decoration: none;
    font-weight: bold;
    color: #0490CE;
    }
    
a:hover {
    text-decoration: underline;
    }

    
h2 {
    font-size: 1.4em;
    letter-spacing: 1px;    
    font-weight: bold;  
    padding: 5px 0 5px 0px;
}

h2#etusivu {
    z-index: 99;
    color: #fff;
    width: 667px;
    height: 87px;
    display: block;
    font-size: 26px;
    margin-top: 300px;
    position: absolute;
    font-style: italic;
    font-weight: normal;
    padding: 20px 0 0 36px;
    font-family: "Trebuchet MS", Arial, Verdana, sans-serif;
    /* background: url('../images/logo.png') 35px 22px no-repeat transparent;*/
}

h2#etusivu span{
    font-size: 36px;
}

h2#etusivu a{
    color: #FFFFFF;
    text-decoration: none;
}


#mainpic-overlay {
    padding: 0;
    z-index: 90;
    width: 667px;
    height: 127px;
    display: block;
    overflow: hidden;
    margin-top: 300px;
    position: absolute;
    /* background: #f68b33; */ 
    background: #0085C6;
    /* Opacity */
    filter:alpha(opacity=80);
    -moz-opacity:0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

h2#etusivu strong {
    visibility: hidden;
}

h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin: 15px 0px 5px 0px;
    }
    

h4, h5 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0px 5px 0px;
    }

p {
    margin: 5px 5px 5px 0px;
    }

table.otayhteytta td{
    padding-right:20px;
    }   
    
        
/* Header stuff */
#header {
    display: block;
    width:1143px;
    height: 174px;
    background: url('../images/headerbg_oranssi.jpg') no-repeat #EEEEEE;
    }
#header h1 {
    width: 310px;
    height: 81px;
    padding: 15px 0 0 35px;
    float: left;
    }
#header h1 a {
    display: block;
    text-indent: -99999px;
    outline: 0;
    height: 59px;
    }

#ylapainikkeet {
    float: right;
    width:450px;
    height:95px;
    margin-top:30px;    
    }   
    
#ylapainikkeet .haku { 
    position: relative;
    top: 0px;
    left: 75px;
    width: 370px;
    height:30px;
    color: #ffffff;     
    }   

#ylapainikkeet .rahoitus {
    float:right;
    margin-top:5px;
    padding-right:37px;
    color: #ffffff;
    text-align:top;         
    }   
   
#ylapainikkeet .facebook{
    float: right;
    width: 50px;
    height: 50px;
    background:url("../images/facebook.png") no-repeat;
    margin-top: 15px;
    margin-right: 37px;   
    }

#ylapainikkeet .facebook a{
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    border: 0px;
    }    
    
         
/* Navigation */
#navigation {
    height:39px;
    position: relative;
    top: 10px;
    left:15px;  
    list-style: none;
    margin: 0px 30px 0px 30px;
    font-size: 1.2em;
    clear: both;
    }
#navigation li {
    width: 168px;
    margin-left:7px;
    float: left;
    text-align:center;
    }
#navigation li.last {
    background: none;
    }
#navigation a {
    display: block;
    color: #ffffff;
    height: 30px;
    text-decoration: none;
    padding: 9px 12px 0px 12px;
    font-weight: normal;
    }
#navigation a:hover {
    background: url('../images/navbg.jpg') repeat-x;    
    }
#navigation a.active {
    background: url('../images/navbg.jpg') repeat-x;
    color: #008ECF; 
    }

/* The big pic */
#rotatepic {
    background: white;
    width: 625px;
    height: 280px;
    margin-bottom:10px;
    }


/* Main content */

#content {
    width:1070px;
    background-color: #EEEEEE; 
    padding: 0px 36px 0px 37px;
    }
    
#mainpic {
    width: 1070px;
    height: 460px;
    overflow: hidden;
    margin-bottom:10px;
    }   
    
#left_area {
    float:left;
    display:block;
    width: 184px;
    }

.left_area_inner {
    padding-top:7px;
    height: 410px;
    }   
            
#left_area .tuoteryhma a{
    background: url('../images/navbg.jpg') repeat-x;    
    float:left;
    display:block;
    width: 165px;
    background-color: #000000;
    padding:5px 3px 7px 10px;
    margin-bottom:5px;
    color: white;
    font-weight: normal;
    }

#left_area .tuoteryhma a:hover{
    text-decoration:none;
    }

#left_area .chosen a{
    padding-left:5px;
    border-left: 5px solid #008ECF;
    font-weight: bold;
    }           

    
#left_area .tuotemerkki{
    margin:0px 0px 0px 10px;
    padding-bottom:5px; 
    text-decoration:none;
    font-style: italic;
    }
    
#left_area .tuotemerkki a{
    color: #838383;
    }   
    
#left_area .tuotemerkki a:hover{
    text-decoration:none;
    }   
                
#main_area {
    float: right;
    width: 885px;
    height: 468px;
    overflow: auto;
    }

    
#main_area li{
    margin-left: 20px;
    margin-top:5px;
    }   
    
/* Tarjoukset sivulla*/     
#main_area_wide {
    float: left;
    width: 1070px;
    height: 468px;  
    overflow: auto;
    }   
        
#merkkisivu {
    padding: 0px 0px 0px 0px;
    }
    
#merkkisivu .tuotelistaboksi{
    display:block;
    float: left;
    width: 270px;
    height: 210px;
    margin-right:16px;
    margin-bottom: 20px;
    border: 1px solid #D1D1D1;
    }
    
#merkkisivu .tuotekuva_pieni{
    display:block;
    float: left;
    width: 268px;
    height: 150px;
    text-align:center;
    margin: 0px 0px 4px 0px;
    padding-top:4px;
    background-color: white;
    border: 1px solid #D1D1D1;
    }       
    
#merkkisivu .tuoteotsikko_pieni{
    clear: both;
    font-size: 0.9em;
    font-weight: bold;
    margin: 5px 10px 5px 10px;
    color: #7E7E7E;
    }   

.tuotehinta_pieni{
    display:block;
    color: #999999;
    font-size: 0.9em;
    margin-left: 10px;
    }   

label {
    font-size:0.9em;
    font-weight: bold;
    color: #7E7E7E;
    display:block;
    float: left;
    }   
    
/* Tarjoukset sivut*/   
    
.tarjousboksi{
    display:block;
    float: left;
    width: 260px;
    height: 210px;
    margin-right: 5px;
    margin-bottom: 20px;
    border: 1px solid #D1D1D1;
    }
    
.tuotekuva_pieni{
    display:block;
    float: left;
    width: 259px;
    height: 150px;
    text-align:center;
    margin: 0px 0px 4px 0px;
    padding-top:4px;
    background-color: white;
    border: 1px solid #D1D1D1;
    }       
    
.tuoteotsikko_pieni{
    clear: both;
    font-size: 0.9em;
    font-weight: bold;
    margin: 5px 10px 5px 10px;
    color: #7E7E7E;
    }   

.tuotehinta_tuote{
    display:block;
    float:left;
    color: #118BC3;
    font-size: 1em;
    font-weight: bold;
    margin-top:10px;
    }

#tuotetaulukko {
    width: 315px;
    border: 1px solid #D1D1D1;
    padding:5px;
    color: #6A6A6A;
    font-size:0.85em;
    }   
                            
.kuvaselain {
    float:right;
    display:block;  
    width:550px;
/*  padding:10px 10px 10px 10px; */
    margin-left:10px;
    border: 1px solid #D1D1D1;
    }   
.isokuva_frame {
    width: 550px;
    height: 420px;
    text-align:center;
}
.isokuva {
    }   

.pikkukuva {
    vertical-align:top;
    margin: 5px 5px;
    border: 0;
    }   
    
            
#ryhmaboksi {
    width: 90%;
    padding-left:25px;
    padding-top:15px;
    float:left;
    display: block; 
    font-size:1em;
    }
    
#changeFont {
    float: right;   
    width:100px;
    height: 20px;
    margin-top:10px;
    margin-right:36px;
    }       

.newsitem {
    margin-bottom: 20px;
    }
    
#footer_etusivu{
    width:980;
    height:30px;
    background: url('../images/footerbg_oranssi.jpg') repeat-x; 
    color: black;
    margin-bottom:10px;
    }

#footer{
    width:980;
    height:40px;
    background: url('../images/footerbg2_oranssi.jpg') repeat-x 100% 50%;   
    color: black;
    }       
    
.tarjoukset {
    width:178px;
    height:38px;        
    }   
            
.tarjoukset_etusivu {
    width:400px;
    height:38px;        
    }   
        
