/* 
    Document   : tyyli
    Created on : 21.1.2010, 11:31:38
    Author     : pekka
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root { 
    display: block;
}

html,body {
    margin: 0;
    padding: 0;
    height: 101%; /* needed for container min-height */
    background: #DDD;
    color:#000;
}

div#container {
    position:relative; /* needed for footer positioning*/
    margin: 0 auto; /* center, not in IE5 */
    width: 990px;
    background: #fff url('images/content_bg.png') repeat-y;
    height:auto !important; /* real browsers */
    height:101%; /* IE6: treaded as min-height*/
    min-height:101%; /* real browsers */
    z-index: 1;
    font-family: verdana;
    font-size: 7pt;
}

div#header {
    /*position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
    width: 990px;*/
    height: 148px;
    background: url("images/banneri.jpg") no-repeat;
}

div#navi {
    position: absolute;
    top: 148px;
    margin: 0 auto;
    height: 28px;
    width: 990px;
    background-color: #818382;
    z-index: 3;
}

div#navi ul {
    list-style-type: none;
    margin: 6px 0 0 165px;
    padding: 0;
    font-family: Verdana;
    font-size: 8pt;
    font-weight: bold;
    /*font-family: Arial;
    font-size: 13px;
    font-weight: bold;*/
    text-transform: uppercase;
}
div#navi ul li {
    float: left;
    margin: 0 15px;
}

span#tuotteet {
    position: absolute;
    right: 120px;
    color: #cf6547;
    font-family: Verdana;
    font-size: 8pt;
    font-weight: bold;
    text-transform: uppercase;
}

/*div#navi ul li.last {
    margin-left: 130px;
}

div#navi ul li.last a {
    color: #cf6547;
}*/

div#navi a {
    color: #fff;
    text-decoration: none;
}

div#navi a:hover {
    text-decoration: underline;
}

div#content {
    padding: 46px 0px 60px; /* bottom padding for footer */
    /*min-height: 350px;*/
}
div#content p {
    text-align:justify;
    /*padding: 0 3px;
    margin: 5px 0;*/
}

div#yhteystiedot {
    width: 145px;
    margin-top: 10px;
    padding-bottom: 200px;
    float: left;
}

div#yhteystiedot p {
    width: 115px;
    margin: 0;
    padding: 0 0 10px 17px;
    letter-spacing: -0.1px;
}

div#yhteystiedot p.email {
    width: auto;
    padding: 0 0 0 2px;
}

div#toimitusehdot {
    position: absolute;
    bottom: 90px;
    margin-left: 20px;
    left: 0;
}

div#toimitusehdot a {
    font-family: verdana;
    font-size: 7pt;
    text-decoration: none;
    color: #000;
}
div#toimitusehdot a:hover {
    text-decoration: underline;
}

div#main {
    position: relative;
    width: 480px;
    padding-bottom: 80px;
    /*height: 100%;*/
    margin-left: 175px;
    /*float: left;*/
    /*top: 195px;*/
}

div#mainokset {
    position: absolute;
    bottom: 80px;
    left: 150px;
}

div#kategoriat {
    position: absolute;
    left: 680px;
    top: 190px;
}

div#kategoriat ul {
    list-style-type: none;
    display: block;
}

/*div#kategoriat ul li {
    padding-right: 10px;
}*/

div#kategoriat ul li.active a {
    background: url('images/pallo.jpg') no-repeat right;
    padding-right: 15px;
}

div#kategoriat ul li ul {
    position: absolute;
    display: block;
    left: 120px;
    top: 6px;
    padding-bottom: 120px;
}

div#kategoriat ul li.active ul li a {
    background-image: none;
}

div#kategoriat ul li.active ul li.active a {
    background: url('images/pallo.jpg') no-repeat right;
}

div#rightcorner {
    background: url('images/oik_al.png');
    width: 286px;
    height: 241px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

div#footer {
    position: absolute;
    width: 100%;
    bottom: 0; /* stick to bottom */
    background: url('images/footer_top.png') no-repeat top #ec5b32;
    border: 0;
    height: 40px;
}
div#footer p {
    padding: 3px;
    margin: 0;
}

div#topbg {
    position: absolute;
    top: 25px;
    left: 450px;
    width: 131px;
    height: 151px;
    background: url('images/laakeri_banner.png') no-repeat;
    z-index: 2;
}

div#leftbg {
    position: absolute;
    bottom: 180px;
    left: 30px;
    width: 85px;
    height: 98px;
    background: url('images/laakeri_vasen_palsta.png') no-repeat;
}

div#bottomleft {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 82px;
    height: 55px;
    background: url('images/laakeri_footer.png') no-repeat left bottom;
}

div#bottomright {
    position: absolute;
    bottom: 10px;
    left: 850px;
    width: 131px;
    height: 151px;
    background: url('images/laakeri_oikea_alakulma.png');
    z-index: 3;
}

a {
    text-decoration: none;
    color: #000;
}
a:hover {
    text-decoration: underline;
}

/*p {
    margin: 0 0 5px 0;
    padding: 0;
}*/