/*
Sticky Footer Solution
by Steve Hatcher 
http://stever.ca
http://www.cssstickyfooter.com
*/

* {margin:0;padding:0;} 

/* must declare 0 margins on everything, also for main layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */

html,body,#wrap {height: 100%; }

body,html{
 

color:#cccccc;
background:#000000;
/*background-image:url("tausta_musta2.gif");*/
background-repeat:repeat-y;
font-family: Trebuchet MS,verdana, tahoma, arial;
font-size:14px;
}

#wrap {
/*width:1010px;   /*1010px;*/
width: 771px;
/*margin-left: 200px;*/
margin: 0 auto;



}

body > #wrap {height: auto; min-height: 100%;}

#main {
  
        padding-bottom: 32px; /* must be same height as the footer */
        float:left;
        /*width: 771px;   borderi lisätty */
        width: 771px;
        min-height:490px;
        background:#000000;
        border: solid 1px #ffffff;
       /* background-image:url("sivutausta.jpg");*/

}

#footer {position: relative;
	margin-top: -32px; /* negative value of footer height */
	height:32px;
	clear:both;
        /*background-image:url("footer_musta2.jpg"); */
        background-repeat:no-repeat;
        width: 771px;


        }
        


/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



#header {
/*padding:5px 10px;*/
background:#ddd;
background-image:url("logo_musta6.jpg");
background-repeat:no-repeat;
width: 771px;
height: 151px;
padding:0px 0px 0px 0px;

}

#nav {
float:left;
/*padding:5px 10px;*/
background:#c99;
background-image:url("linkkitausta_musta2.jpg");
background-repeat:no-repeat;
width: 771px;
height: 62px;
}


.sisalto{
font-family: Trebuchet MS, Verdana, arial, times;
font-size: 12px;
font-weight: normal;
color: #cccccc;
margin-top: 20px;
margin-left: 20px;
margin-right: 10px;
}

#paataso{
margin-top: 20px;
margin-left: 20px;

}

#paataso a{
font-family:Trebuchet MS,verdana,tahoma,arial;
font-size:12px;
margin-left:30px;
}

a.otsikko:link{color: #cccccc; font-weight: bold; text-decoration: none; }
a.otsikko:active{color: #cccccc; font-weight: bold; text-decoration: none; }
a.otsikko:visited{color: #cccccc; font-weight: bold; text-decoration: none; }
a.otsikko:hover{color: #cccccc; font-weight: bold; text-decoration: underline; }

a.paalinkit:link{color: #cccccc; font-weight: bold; text-decoration: none; }
a.paalinkit:active{color: #cccccc; font-weight: bold; text-decoration: none; }
a.paalinkit:visited{color: #cccccc; font-weight: bold; text-decoration: none; }
a.paalinkit:hover{color: #cccccc; font-weight: bold; text-decoration: underline; }

a.tuotelinkki:link{color: #cccccc; font-weight: bold; text-decoration: none; }
a.tuotelinkki:active{color: #cccccc; font-weight: bold; text-decoration: none; }
a.tuotelinkki:visited{color: #cccccc; font-weight: bold; text-decoration: none; }
a.tuotelinkki:hover{color: #cccccc; font-weight: bold; text-decoration: underline; }

.tuotenimi{ background-image:url("hinnastolinkintausta2.jpgg "); background-repeat:repeat-x; }

.formkentta {
display: none;


}


