body
{
  background: #111 url("kuvat/bg.jpg") center repeat-y;
  background-attachment: fixed;
  background-position: -20px 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 20px;
  margin: 0;
  padding: 0;
}

.container_12
{
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  margin-bottom: 20px !important;
  margin-bottom: 0px;
}

#menu,
#sidebar-left,
#content,
#footer
{
  display:inline;
  float: left;
  position: relative;
}

#menu,
#footer
{
  width: 940px;
}

#sidebar-left
{
  width: 300px !important;
  width: 280px;
}

#content
{
  margin: 0;
  padding: 0;
  width: 620px;
}

img
{
  behavior: url(iepngfix.htc);
  border: none;
}

#header *
{
  text-align: center;
}

h1
{
  margin: 20px 0 20px 0;
}

#menu img
{
  border: none;
}

#menu ul
{
  list-style: none;
  padding: 20px 0 0 0 ;
  margin: 0;
  text-align: center;
}

#menu ul li
{
  display: inline;
  padding: 0;
}

#menu ul li a
{
  display: inline;
  padding: 10px 20px 10px 20px;
  width: 64px;
  font-family: georgia, serif;
  text-decoration: none;
  font-size:16px;
  font-weight: bold;
  color: #fff;
}

#menu ul li a:visited
{
  color: #fff;
}

#menu li
{
  border-right: 2px dotted #fff;
}

#menu li.yhteystiedot
{
  border: none;
}

h2, h3
{
  margin: 20px 20px 20px 20px;
  font-size: 14px;
  text-align: left;
}

#sidebar-left p, #content p
{
  margin: 0 20px 20px 20px;
  line-height: 20px;
  font-size: 12px;
  text-align: left;

}

.kuva
{
  text-align: center;
  background: none;
  margin-top: 20px;

}

#sidebar-left .kuva p
{
  text-align: center;

}

.kuva p, .kuva a, .kuva a:visited
{
  color: #000;
  font-size: 12px;
  text-decoration: none;
}

.kuva a
{
  font-weight: bold;
}


 #footer p
{
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
}

#content .content,
#content .t,
#content .b,
#content .b div
{
  background-image: url(kuvat/back_40.png) !important;
  background-image: url(kuvat/back_r40v.gif);
}

#sidebar-left .content,
#sidebar-left .t,
#sidebar-left .b,
#sidebar-left .b div
{
  background-image: url(kuvat/back_40.png) !important;
  background-image: url(kuvat/back_b40v.gif);
}

#menu .content,
#menu .t,
#menu .b,
#menu .b div
{
  background-image: url(kuvat/back_r40.png) !important;
  background-image: url(kuvat/back_r40.gif);
}

#footer .content,
#footer .t,
#footer .b,
#footer .b div
{
  background-image: url(kuvat/back_b40.png) !important;
  background-image: url(kuvat/back_b40.gif);
}

#content h2,
#content h3,
#content p
{
  margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
  padding:20px 20px 0px 20px;
}

#content h1,
#sidebar-left h1
{
  padding-bottom:0px;
}

#content p,
#sidebar-left p
{
  font-size: 14px;
}

#menu ul li a,
#footer p
{
  letter-spacing: -1px;
}

#sidebar-left h2,
#sidebar-left h3,
#sidebar-left p,
#footer p
{
  margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
  padding:20px 0px 0px 0px;
}

#content,
#sidebar-left,
#menu,
#footer
{
  position: relative;
  min-width: 100px;
  z-index:1;
}

#content
{
  max-width:600px; /* based on image dimensions - not quite consistent with drip styles yet */
  color:#000;
  margin: 0px auto 20px 40px !important;
  margin: 0px 0px 20px 20px;
}

#sidebar-left
{

  max-width:300px; /* based on image dimensions - not quite consistent with drip styles yet */
  color:#000;
  margin: 0px auto 20px 20px !important;
  margin: 0px 20px 20px 20px;
}

#menu
{
  margin:0px auto;
  max-width:960px; /* based on image dimensions - not quite consistent with drip styles yet */
  color:#000;
  margin-left:20px; /* default, width of left corner */
  margin-bottom:20px; /* spacing under dialog */
}

#footer
{
  margin:0px auto;
  max-width:960px; /* based on image dimensions - not quite consistent with drip styles yet */
  color:#000;
  margin-left:20px; /* default, width of left corner */
  margin-bottom:20px; /* spacing under dialog */
}

#menu .etusivu a:hover, #etusivu #menu ul li.etusivu a
{
  color: #307BFF;
}

#menu .tuotteet a:hover, #tuotteet #menu ul li.tuotteet a
{
  color: #E5FA22;
}

#menu .pihaleikit a:hover, #pihaleikit #menu ul li.pihaleikit a
{
  color: #D90B03;
}

#menu .sisaleikit a:hover, #sisaleikit #menu ul li.sisaleikit a
{
  color: #FF4F1A;
}

#menu .smart a:hover, #smart #menu ul li.smart a
{
  color: #147D1E;
}

#menu .yhteystiedot a:hover, #yhteystiedot #menu ul li.yhteystiedot a
{
  color: #0A007A;
}

.content
{
  position:relative;
  zoom:1;
  overflow-y: visible !important;
  overflow-y: hidden;
  padding: 0px 20px 0px 0px;
  background-position: top right !important;
}

.t
{
  /* top+left vertical slice */
  position:absolute;
  left:0px;
  top:0px;
  width:20px; /* top slice width */
  margin-left:-20px;
  height:100% !important;
  height:6000px; /* arbitrary long height, IE 6 */
  background-position:top left !important;
}

.b
{
  /* bottom */
  position:relative;
  width:100%;
}

.b,
.b div
{
  height:20px; /* height of bottom cap/shade */
  font-size:1px;
}

.b
{
  background-position:bottom right !important;
}

.b div
{
 position:relative;
  width:20px; /* bottom corner width */
  margin-left:-20px;
  background-position:bottom left !important;
}

#footer .b div {
  background-position:bottom left;
}

.hd,
.bd,
.ft
{
  position:relative;
}

.wrapper
{
 /* extra content protector - preventing vertical overflow (past background) */
 position:static;
 max-height:1000px;
 overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}

#content .content
{
  min-height: 600px;
}

#pihaleikit #content .content ul
{
  padding: 20px 0 0 20px;
  margin: 0;
  width: 170px;
  float: left;
}

#pihaleikit #content .content li a
{
  font-size: 12px;
  color: #000;
}

#pihaleikit #content .content h3
{
  zoom: 1;
  clear: both;
}

#pihaleikit #content .content p
{
  padding-top: 10px;

}

#index *
{
  text-align: center;
}

#index h1
{
  margin-top: 120px;
}

address {
  padding-top: 10px;
  font-family: monospace;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
}

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

#yhteystiedot #content .content address {
  padding-left: 20px;
}

#sidebar-left .content address a {
  color: blue;
}

iframe {
  margin-top: 20px;
}

