/*
 *  Kemistikillan sivujen CSS-tyylit
 *  Matti Lehtimäki 2005-2012
 */

html
{
  height: 100%;
}

body
{
  margin: 0px;
  padding: 0px;
  border-width: 0px;
  height: 100%;
  font-family: verdana, arial, sans-serif;
  font-size: 13px;
  background: url(../kuvat/bg.png) 0 0 repeat;
}

h1
{
  color: #000099;
  font-family: serif;
  font-size: xx-large;
  font-weight: bold;
  background-color: transparent;
  margin: 0px;
  padding: 10px;
  border-width: 0px;
}

h2
{
  color: #000000;
  font-size: 1.2em;
  font-weight: bold;
  background-color: transparent;
}

h3
{
  font-size: 1.1em;
  font-weight: bold;
  background-color: transparent;
}

h4
{
  font-size: 1em;
  font-weight: bold;
  background-color: transparent;
}

p.kentta
{
  padding: 2px;
  background: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-color: #eeeeee;
}

div
{
  margin: 0px;
  padding: 0px;
  border-width: 0px;
  text-align: center;
  color: #000000;
  background-color: transparent;
}


div.otsikko
{
  margin: 0 auto;
  padding: 0px;
  border-width: 0px;
  border-color: #d9e2ea;
  border-style: solid;
  height: 80px;
  width: 800px;
  text-align: center;
  color: #000000;
  background: #10115f url(../kuvat/otsikko2011.png) 0 0 no-repeat;
}

div.frame
{
  margin: 0 auto;
  height: 100%;
  width: 800px;
  text-align: center;
  background-color: transparent;
}

div.valikko
{
  padding: 0px;
  border-width: 0px;
  border-color: #d9e2ea;
  border-style: solid;
  text-align: center;
  color: #000000;
  background-color: #eeeeee;
}

div.sisalto
{
  padding: 20px;
  border-width: 0px;
  min-height: 70%;
  text-align: left;
  color: #000000;
  background-color: #eeeeee;
}
div.keskusta
{
  padding: 0px;
  border-width: 0px;
  border-color: #d9e2ea;
  border-style: solid;
  height: 100%;
  text-align: left;
  color: #000000;
  background: #eeeeee;
}

div.alareuna
{
  clear: both;
  margin: 0 auto;
  width: 800px;
  padding: 5px 0px;
  border-width: 0px;
  border-color: #666666;
  border-style: solid;
  border-top-width: 1px;
  text-align: center;
  font-size: smaller;
  color: #000000;
  background-color: #eeeeee;
}

div.col1
{
  margin-left: 180px;
  width: 200px;
  float: left;
  background-color: #eeeeee;
}

div.col2
{
  width: 200px;
  float: left;
  background-color: #eeeeee;
}

div.sisalto:after
{
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

table
{
  margin: 0px;
  padding: 0px;
  border-width: 0px 0px;
  text-align: left;
  color: #000000;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0px;
  vertical-align: top;
}

td
{
  background: transparent;
  text-align: center;
  vertical-align: top;
}

table.ilmo tr td
{
  text-align: left;
  vertical-align: top;
}

table.hytit tr td
{
  text-align: left;
  vertical-align: top;
}

table.hytit tr.r1 td
{
  background: #dddddd;
}

table.hytit tr.r2 td
{
  background: #eeeeee;
}

table.left tr td
{
  padding-right: 20px;
  text-align: left;

}

.keskitetty
{
  text-align: center;
}

.vasen
{
  text-align: left;
}

.oikea
{
  text-align: right;
}

.valikko a:link, .valikko a:visited, .valikko a:active, .valikko a:hover {
  text-decoration: none;
  padding: 3px;
}
/* link #993333 active #996666 */
.valikko a:link, .valikko a:visited{ color: #333399; background-color: transparent; }

.valikko a:active, .valikko a:hover{ color: #666699; background-color: transparent; }

a.alivalikko { margin-left: 10px; }

a.alivalikko, a.valikko
{
  background-color: transparent;
}

a { color: #222299; text-decoration: none; font-size: 1.0em; background-color:transparent;}

a:hover { color: #222266; text-decoration: underline; background-color:transparent;}

img
{
  margin: 0px;
  padding: 0px;
  border-width: 0px;
}

img.left{
  float: left;
}

img.right{
  float: right;
}

