body {
    background-color: #dcdcdc;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size:62.5%;
}

/*
span
{
    font-size: 1em;
}
*/
font
{
    font-size: 1em;
}

div 
{
    margin: 0;
    padding: 0;    
}

input {
    font-size: 11px;
    border-width: 0;
    background-color: #f0f0f0;
}

/* DEFAULT FONT STYLES */

h1, h2, p
{
    font-family: Arial, sans-serif;    
}

h1, h2
{
    font-weight: bold;
}

h1
{
    color: #666666;
    font-size: 18px;
}

h2
{
    color: #666666;
    font-size: 14px;
}

p 
{
    font-weight: normal;
    color: #000000;    
    font-size: 11px;
    line-height: 18px;    
}

img
{
    border: 0;
}

a:link, a:visited, a:active
{
    color: #000000;
    text-decoration: underline;
}

a:hover
{
    color: #8c8c8c;
    text-decoration: underline;
}


#container {
    width: 1020px;
    margin: auto; 
    height: 100%; 
/*    overflow: auto; */    
    border: solid 2px #ffffff;
    text-align: left;
}

#innercontainer {
    width: 1018px;
/*    overflow: auto;  */
    margin: 0;
    padding: 0;
    border: solid 1px #666666;
/*    background-color: #8c8c8c; */
    background-color: #ffffff; 
    background: url('/img/tausta_sarakkeet.gif');
    background-position: top left;
    background-repeat: repeat-y;    
}

#headbarcontainer {
    width: 1018px;
    float: left;
    clear: both; 
}

#logo {
    float: left;
    clear: left;
    width: 199px;
    height: 55px;
}

#header {
    float: left;
    clear: right; 
    width: 819px;
    height: 55px; 
    background: url('/img/ylaosa2.jpg');
    background-repeat: no-repeat;
}

#headerright {
    float: right;
    clear: right;
    height: 55px;
    padding-top: 17px;
}

    .searchbutton {
       vertical-align: middle;
       margin-right: 5px;
    }
    
#mainarea {
    clear: both; 
    height: 100%;
    min-height: 100%; 
    background-color: #8c8c8c;     
}

#navigation {
   float: left;
   clear: left;
   width: 200px;
   background-color: #8c8c8c;
   background-image: url('/img/tausta.jpg');   
}

#navitop {
    clear: both;
    width: 178px;
    height: 33px;
    background-image: url('/img/logonala.jpg');
    background-repeat: no-repeat;
    font-size: 10px;
    font-weight: bold;
    padding-left: 20px;
    padding-top: 15px;
    margin-bottom: -15px;
}

    a:link.navitoplink {
        color: #d7d7d7;
        text-decoration: none;
    }
    
    a:active.navitoplink {
        color: #ffffff;
        text-decoration: none;
    }
    
    a:visited.navitoplink {
        color: #d7d7d7;
        text-decoration: none;
    }
    
    a:hover.navitoplink {
        color: #ffffff;
        text-decoration: none;
    }

#navimid
{
    clear: both;
    width: 178px;
    padding-top: 10px;
    padding-left: 20px;
    padding-bottom: 20px;
}

#navimid ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-bottom: solid 1px #b2b2b2;
}

#navimid ul li
{
    padding-left: 10px;
    border-top: solid 1px #b2b2b2;
    background: url('/img/menu2_eivalittu.gif') no-repeat top left;
}

#navimid ul li a
{
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

#navimid ul li ul,
#navimid ul li ul li ul
{
    border: none !important;
}

#navimid ul li ul li
{
    border: none;
    background-image: none;
    margin-top: 2px;
}

#navimid ul li ul li a
{
    font-size: 11px;
    font-weight: normal;
}

#navimid li.selected a
{
    color: #000;
    position: relative;
}

#navimid ul li.selected
{
    background: url('/img/menu2_uusi.gif') no-repeat top left;
    padding-top: 2px;
}

#navimid ul li ul li.selected
{
    border-top: 1px solid #c0c0c0;
    background: url('/img/menu2_uusi2.gif') no-repeat top left;
    padding-top: 1px;
    padding-bottom: 2px;
}

#navibottom 
{
    clear: both;
    background-image: none;    
    background-color: #8c8c8c; 
    margin-top: 24px;    
    width: 199px; 
}

    #navibottom .address 
    {
        color: #d7d7d7;    

        width: 170px; 
        padding-left: 20px;
        padding-top: 24px;  
        font-size: 10px;
        font-weight: bold;
        padding-bottom: 24px; 
    }

#content_container
{
    padding: 0;
    margin: 0;
    width: 818px; 
    float: left;    
    clear: right;
    background-color: #ffffff;
}

#content,
body.yhteydenotto div#content_container,
body.kayttoturvatiedotteet div#content_container
{
    /*    width: 748px; */   
    float: left;
    clear: right;
    background-color: #ffffff;
    margin-top: 0;
    width: 580px;    
    padding: 27px 10px 10px 33px; 
/*    border: 1px solid blue; */
}

body.kayttoturvatiedotteet div#content_container
{
    width: 660px;
}

#content .product-image
{
    float: left;
    margin-right: 10px;
    border: 1px solid #885FAA;
}

body.autotuotteet #content .product-image
{
    border: 1px solid #5D93D8;
}

body.teollisuustuotteet #content .product-image
{
    border: 1px solid #82E1D6;
}

#content .first-chapter
{
    float: left;
    width: 360px;
}

#content .first-chapter h1
{
    margin-bottom: 6px;
}

#content #frames
{
    width: 526px; /* 548 in IE? */
    padding: 10px;
    float: left;
    background-color: #efefef;
    border: 1px solid #885FAA;
}

body.autotuotteet #content #frames
{
    border: 1px solid #5D93D8;
}

body.teollisuustuotteet #content #frames
{
    border: 1px solid #82E1D6;
}

/* RIGHT SIDE BAR */

#rightbar
{
    margin: 0;
    padding: 0;
    margin-top: 19px;
    padding-top: 18px;
    padding-bottom: 9px;
    float: right;
    width: 193px;
    /* background-color: #ffffff;   */
    border-top: 1px solid #e95a27;
    border-left: 1px solid #e95a27;
    border-bottom: 1px solid #e95a27;
}

/*    border: 1px solid #5d93d8; */

#rightbar .box
{
    padding: 0px 0px;
    width: 177px;  
/*    border: 1px solid #8c8c8c; */
    /*    width: 177px; */
    margin-bottom: 10px;
    float: right;
}

#rightbar .box .content
{
    font-size: 1.1em;
    padding: 12px 5px 10px 13px; 
    margin: 0; 
    color: #666666;   
}

#rightbar .box .content p
{
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
    color: #666666;   
}

body.frontpage .box .content h3 a
{
    font-size: 12px;
}

#rightbar .box .content a:link, 
#rightbar .box .content a:visited, 
#rightbar .box .content a:active 
{
    color: #666666;   
    text-decoration: underline;
}

#rightbar .box .content a:hover
{
    color: #666666;   
    text-decoration: none;    
}

#rightbar .box .content h2
{
    font-size: 14px;
    font-weight: bold;
    margin: 0;  
    margin-bottom: 10px;
}

#rightbar .box .content h3
{
    font-size: 12px;
    font-weight: bold;    
    margin: 0;  
    margin-bottom: 10px;    
}

/* FRONTPAGE STYLE */

body.frontpage #content_container
{
    padding: 0;
    margin: 0;
    width: 785px;
    float: left;    
    clear: right;
    background-color: #ffffff;    
    padding: 20px 0px 10px 30px;    
    /* right padding: 36px; */
}

body.frontpage #content_container #branding
{
    width: 786px;
    font-size: 0px;
/*
    height: 224px;
    background: #ccf;
*/
}

body.frontpage #content_container #branding img
{
    border: 0;
}

body.frontpage #content
{
    width: 585px;
    margin: 0;
    padding: 0;
/*    height: 200px; */
    margin-top: 19px;    
}

body.frontpage #content .frontbox
{
    width: 189px;
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 6px;
}

body.frontpage #content .frontbox .content
{
    width: 171px;
    height: 130px;    
    padding: 8px 8px 8px 8px; 
   /* overflow: hidden; */
}

body.frontpage #content .boxfrontbox .content
{
}

body.frontpage #content .frontbox .content h2
{
    margin: 0;
}

body.frontpage h1
{
    font-size: 14px;        
    margin: 0;
    margin-bottom: 10px;
}

body.frontpage table
{
    border: 1px solid #8c8c8c;
    cellspacing: 0px;
    margin-top: 15px; 
}

body.frontpage table td
{
    padding: 15px 5px;
    border-top: 1px solid #8c8c8c; 
    color: #666666;
    font-size: 10px;
}

body.frontpage table td a:link,
body.frontpage table td a:visited
{
    color: #666666;
    text-decoration: none;
}

body.frontpage table td a:hover
{
    text-decoration: underline;
}

body.frontpage table td#left
{
    padding: 5px;
    border-right: 1px solid #8c8c8c;
}

body.frontpage table td#right
{
    padding: 5px;
    border-left: 1px solid #8c8c8c;
}

body.frontpage table th
{
    padding: 5px 15px 5px 15px;
    text-align: left;
    background: #f7f7f7;
    font-size: 12px;
    color: #666666; /* b2b2b2 */
}

body.frontpage table td ul
{
    margin: 0;
    padding: 0;
    text-indent: -5px;    
}   

body.frontpage table td ul li
{
    margin: 0;
    padding: 0;
    margin-left: 25px;    
}



/* RIGHT SIDE COMPOSITES */

body.autotuotteet #rightbar
{
    border-top: 1px solid #5d93d8;
    border-left: 1px solid #5d93d8;
    border-bottom: 1px solid #5d93d8;    
}

body.automaalit #rightbar
{
    border-top: 1px solid #885faa;
    border-left: 1px solid #885faa;
    border-bottom: 1px solid #885faa;
}

body.teollisuustuotteet #rightbar
{
    border-top: 1px solid #009e9f;
    border-left: 1px solid #009e9f;
    border-bottom: 1px solid #009e9f;
}



/* NEWS STYLE */

body.ajankohtaista #content_container,
body.news #content_container
{
    padding: 0;
    margin: 0;
    width: 785px;
    float: left;    
    clear: right;
    background-color: #ffffff;    
    padding: 20px 0px 10px 33px;    
    /* right padding: 36px; */
    
}

/* CONTACT FORM STYLES */

body.yhteydenotto div#content_container fieldset.contact_information label
{
    float: left;
}

body.yhteydenotto div#content_container fieldset.contact_information label
{
    text-align: left;
    float: left;
    display: block;
    width: 220px;
}

body.yhteydenotto div#content_container fieldset.contact_information label input
{
    width: 200px;
}

body.yhteydenotto div#content_container select
{
    width: 200px;    
    font-size: 11px;
    border-width: 0;
    background-color: #f0f0f0;    
}

body.yhteydenotto div#content_container textarea
{
    font-size: 11px;
    border-width: 0;
    background-color: #f0f0f0;    
    width: 420px;
    height: 200px;    
}

body.yhteydenotto div#content_container fieldset legend
{
    color: #666666;
    font-size: 14px;
    margin-left: -3px;
}




#footer 
{
    clear: both;
}

/* PAGE STYLES */

/* "LEVEL 4" is the default style, no specific style needed */

#content h1
{
    padding: 0;       
    margin-top: 0;
    margin-bottom: 20px;   
}

#content h2
{
    padding: 0;   
    margin-top: 20px; /* LESS? */
    margin-bottom: 0;    
}

#content p
{
    padding: 0;       
    margin-top: 5px; /* 12 */
    margin-bottom: 11px;
}

.product_box
{
    width: 270px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
/*    overflow: auto; */
}

.product_box .big_picture img
{
    margin: 5px 0px 4px 5px;
    border: 1px solid #B28CFD;
}

.product_box h3
{
    margin: 0;
    font-size: 11px;
}

.product_box .top
{
    height: 76px;   
    padding: 5px 6px 3px 6px; 
}

.product_box .bottom
{
    height: 35px; 
}

div.product_box div.listimage
{
    float: left;
    width: 93px;
}

div.product_box .top div.listimage
{
    margin-right: 6px;
}

div.product_box .top div.textblock
{
    font-size: 1.1em;
}

body.automotive-spare-parts .product_box,
body.autotuotteet .product_box
{
    border: 1px solid #96bee2;
}

body.automotive-spare-parts .product_box .top img,
body.autotuotteet .product_box .top img
{
    border: 1px solid #96bee2;
}

body.automotive-spare-parts .product_box .top,
body.autotuotteet .product_box .top
{
    border-bottom: 1px solid #96bee2;
}

body.refinish-department .product_box,
body.automaalit .product_box
{
    border: 1px solid #b28cfd;
}

body.refinish-department .product_box .top img,
body.automaalit .product_box .top img
{
    border: 1px solid #b28cfd;
}

body.refinish-department .product_box .top,
body.automaalit .product_box .top
{
    border-bottom: 1px solid #b28cfd;
}

body.industrial-department .product_box,
body.teollisuustuotteet .product_box
{
    border: 1px solid #82e1d6;
}

body.industrial-department .product_box .top img,
body.teollisuustuotteet .product_box .top img
{
    border: 1px solid #82e1d6;
}

body.industrial-department .product_box .top,
body.teollisuustuotteet .product_box .top
{
    border-bottom: 1px solid #82e1d6;
}

.close    
{
    clear: both;
}

body.frontpage .close
{
    padding-bottom: 20px;
}

table#tuotteet td
{
    width: 264px;
    border: 1px solid black;
    margin-right: 8px;
}

.l2-box-container
{
    float: left;
    margin: 0;
    padding: 0;
}

.l2-box-container .composite-title
{
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    padding: 0;
    width: 200px;
}

.l2-box
{
    width: 256px;
    margin: 0;
    margin-right: 8px;
    padding: 9px 6px 0px 6px;
    height: 120px;     
}

.l2-box p
{
    margin: 0;
    padding: 0;
    line-height: 14px;     
}
.l2-box h3
{
    margin: 0;
    padding: 0;
}

#l2_box
{
    margin-top: 10px;
}



body.autotuotteet .l2-box
{
    border: 1px solid #96bee2;
}

body.automaalit .l2-box
{
    border: 1px solid #b28cfd;
}

body.teollisuustuotteet .l2-box
{
    border: 1px solid #82e1d6;
}

/* net.nemein.personnel */

#container #content .personnel
{
}

#container #content .personnel td
{
    padding: 20px 20px 0px 0px;
}

#container #content .personnel p
{
    text-align: center;
}

/* Table stuff */

table td
{
    font-size: 11px;
}

table td ul li
{
    font-size: 11px;
}

body.frontpage #top
{
    background-color: #F3F3F3;
    margin: -20px 0 0 -30px;
    padding: 20px 0 0 30px;
}

/* o.o.products */

body.kayttoturvatiedotteet .group
{
    
}

body.kayttoturvatiedotteet .productGroup
{
    width: 120px;
}

#results
{
    width: 620px;
    text-align: center;
}

.admin
{
    width: 680px !important;
}

.admin #heading
{
    margin-left: 60px;
}

.admin .edit_me
{
    width: 50px;
}

#results span
{
    float: left;
}

#results .supplier
{
    width: 80px;
}

.admin .row
{
    margin-left: 10px;
}

#results .brand
{
    width: 185px;
}

#results .id
{
    width: 90px;
}

#results .name
{
    width: 265px;
}

/* Deprecated
#results .manual
{
    width: 140px;
}
*/

#results .item
{
    clear: left;
    font-size: 1.1em;
}

#results .item a
{
    float: left;
    text-decoration: none;
    color: #666;
}

#results .item a:hover
{
    background-color: #ccc;
}

#results #heading
{
    float: left;
    border-bottom: 1px solid #000;
    font-size: 1.2em;
}

/* Photostream */

div.photostream_item
{
    border-top: 1px solid #D7D7D7;
    margin-top: 10px;
}

#content div.photostream_item p.title
{
    background-color: #EFEFEF;
    margin: 0 0 10px 0;
    padding: 5px 10px;
    font-weight: bold;
}

#content div.photostream_item .thumbnail
{
    float: left;
    padding-right: 10px;
    border-right: 1px solid #d7d7d7;
    margin-right: 10px; 
    width: 150px;
}

#content div.photostream_item .description
{
    float: left;
    width: 400px;
}

#content div.photostream_item div.clearing
{
    clear: left;
    height: 0;
    line-height: 0;
}
