/* Yleiset */

body {
  font: normal 13px Arial, verdana, helvetica, "Trebuchet MS", sans-serif;
  color: #2b390a;
  padding: 0;
  margin: 0;
  background: #f2fce1 url(background.png) 0 45px repeat-x;
  text-align: center;
}

/* Universaalit */

* {
  margin: 0;
  padding: 0;
}

/* Kappalemarginaalit */

p { 
  margin: 10px 0 10px 0;
}

/* Otsikot */

h1 {
  font: 18px Verdana;
  margin: 5px;
  color: #495037;
}

h1 .isoh1 {
  position: relative;
  top: 1px;
  font-size: 22px;
  font-weight: bold;
  padding: 2px 1px 2px 5px;
  color: #273710;
}

h2 {
  margin: 10px 10px 10px 10px;
  font-size: 17px;
  color: #40482e;
  border-bottom: 1px solid #4c553d;
  padding: 0 0 2px 0;
}

h3 {
  margin: 15px 5px 15px 20px;
  font-size: 16px;
}

h4 {
  font-size: 16px;
  padding: 0 0 5px 0;
  margin: 10px 5px 10px 5px;
  border-bottom: 1px dashed #7b875e;
}

h5 {
  font-size: 14px;
  padding: 0 0 5px 0;
  margin: 5px;
  border-bottom: 1px solid #9dab7a;
  width: 450px;
}

/* Fontit */

.red {
  font: bold 14px Arial, verdana, helvetica, "Trebuchet MS", sans-serif;
  color: #ea0c0c;
}

.green {
  font: bold 14px Arial, verdana, helvetica, "Trebuchet MS", sans-serif;
  color: #398f1a;
}

.sign {
  text-align: right;
  margin: 0 15px 0 0;
  font: italic 12px Arial;
}

/* Rakenne */

#body {
  width: 800px;
  text-align: left;
  margin: 0 auto;
}

#header a {
  background: url(logo3.png) no-repeat;
  width: 404px;
  height: 158px;
  position: relative;
  top: 30px;
  left: 220px;
  display: block;
}

#header a:hover {
  background: url(logo3hover.png) no-repeat;
  width: 404px;
  height: 158px;
  position: relative;
  top: 30px;
  left: 220px;
}

/* Navigaatio */

#nav {
  width: 800px;
  margin: 70px 0 0 5px;
}

/* Root = Pystysuunta, Secondary = Vaakasuunta */

ul#navmenu-h {
  margin: 0;
  border: 0 none;
  padding: 0;
  list-style: none;
}

ul#navmenu-h li {
  margin: 0;
  border: 0 none;
  padding: 0;
  float: left; /* Gecko */
  display: inline;
  list-style: none;
  position: relative;
}

ul#navmenu-h ul {
  margin: 0;
  border: 0 none;
  padding: 0;
  width: 110px;
  list-style: none;
  display: none;
  position: absolute;
  top: 69px;
  left: 0;
}

ul#navmenu-h ul:after /* IE 7 */ {
  clear: both;
  display: block;
  font: 1px/0px serif;
  content: ".";
  height: 0;
  visibility: hidden;
}

ul#navmenu-h ul li {
  width: 130px;
  float: left; /* IE 7 */
  display: block !important;
  display: inline; /* IE */
}

/* Root */
ul#navmenu-h a {
  padding : 22px 10px 0 10px;
  float: none !important; /* Opera */
  float: left; /* IE */
  display: block;
  background: url(buttonmid.gif) repeat-x;
  height: 46px;
  width: 110px;
  color: #2b390a;
  font: bold 13px/22px Verdana, Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-align: center;
}

/* Root Hover */
ul#navmenu-h a:hover,
ul#navmenu-h li:hover a,
ul#navmenu-h li.iehover a {
  color: #d51a1a;
  background: url(buttonmidhover.gif) repeat-x;
}

/* 2. Menu */
ul#navmenu-h li:hover li a,
ul#navmenu-h li.iehover li a {
  float: none;
  background: #c2d4a5;
  color: #2b390a;
  height: auto !important;
  height: 1%; /*For IE*/
  text-align: left;
  font-weight: bold;
  font-size: 11px;
  width: 118px;
  padding: 2px 5px 2px 5px;
  border: 1px solid #768165;
  margin: -1px 0 0 0;
}

/* 2. Menu Hover */
ul#navmenu-h li:hover li a:hover,
ul#navmenu-h li:hover li:hover a,
ul#navmenu-h li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover a {
  background: #d1e4b4;
  color: #000;
  font-weight: bold;
  height: auto !important;
  height: 1%; /*For IE*/
}

/* 3. Menu */
ul#navmenu-h li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li a {
  background: #d1e4b4;
  color: #2b390a;
  font-weight: normal;
  height: auto !important;
  height: 1%; /* IE */
}

/* 3. Menu Hover */
ul#navmenu-h li:hover li:hover li a:hover,
ul#navmenu-h li:hover li:hover li:hover a,
ul#navmenu-h li.iehover li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover a {
  background: #b6ca97;
  font-weight: normal;
  color: #d51a1a;
}

/* 4. Menu */
ul#navmenu-h li:hover li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li.iehover li a {
  background: #c9dbad;
  color: #2b390a;
}

/* 4. Menu Hover */
ul#navmenu-h li:hover li:hover li:hover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover li a:hover {
  background: #97a87d;
  color: #fff;
}

ul#navmenu-h ul ul,
ul#navmenu-h ul ul ul {
  display: none;
  position: absolute;
  top: 0;
  left: 129px;
}

/* Älä liikuta - Tulee ennen display:block Gecko-selaimelle */
ul#navmenu-h li:hover ul ul,
ul#navmenu-h li:hover ul ul ul,
ul#navmenu-h li.iehover ul ul,
ul#navmenu-h li.iehover ul ul ul {
  display: none;
}
ul#navmenu-h li:hover ul,
ul#navmenu-h ul li:hover ul,
ul#navmenu-h ul ul li:hover ul,
ul#navmenu-h li.iehover ul,
ul#navmenu-h ul li.iehover ul,
ul#navmenu-h ul ul li.iehover ul {
  display: block;
}

#navleft {
  background: url(buttonleft.gif) no-repeat !important;
}

#navright {
  background: url(buttonright.gif) no-repeat right top !important;
  text-align: left !important;
  width: 120px !important;
}

#navesittely {
 background: url(buttonmid.gif) repeat-x !important;
}

/* Tekstiosa */

#content {
  margin: 10px 0 0 0;
  float: left;
  background: url(contentmiddle.gif) repeat-y;
}

#contenttop {
  width: 800px;
  height: 26px;
  background: url(contenttop.gif) no-repeat;
}

/* Vasen palsta */

#left {
  float: left;
  width: 520px;
  margin: 0 0 0 25px;
  padding: 5px 15px 5px 5px;
  border-right: 1px dashed #7b875e;
}

/* Uutislohkot */

.newstop {
  background: url(newstop.gif) no-repeat;
  width: 485px;
  height: 20px;
  margin: 0 0 0 15px;
}

.newsmid {
  background: url(newsmid.gif) repeat-y;
  padding: 1px 25px 5px 15px;
  width: 460px;
  margin: 0 0 0 15px;
}

.newsbottom {
  background: url(newsbottom.gif) no-repeat;
  height: 20px;
  width: 485px;
  margin: 0 0 5px 15px;
}

/* Oikea palsta */

#right {
  float: left;
  width: 175px;
  padding: 5px;
  margin: 0 5px 0 15px;
}

/* Alaosa */

#footer {
  clear: both;
  background: url(contentbottom.gif) no-repeat;
  height: 46px;
}

/* Listat */

#left ul, #left ol {
  margin: 0 0 0 25px;
}

#left ul {
  list-style: disc;
}

#left ul ul {
  margin: 0 0 0 20px;
  list-style: circle;
}

#right ol, #right ul {
  margin: 0 0 5px 10px;
}

#right ul {
  list-style: none;
}

#right ol li {
  margin: 0 0 5px 0;
}

/* Linkit */

a {
  text-decoration: underline;
  font-weight: bold;
  color: #2a4a7f;
}

a:hover {
  text-decoration: none;
  color: #cf2f3a;
}

h2 a {
  text-decoration: none;
}

a .unlink {
  display: none !important;
}

.alkuun {
  text-align: right;
}

/* Kuvat */

.kuva {
  float: right;
  border: 1px solid #4c553d;
  margin: 5px;
}

.kuva2 {
  border: 1px solid #4c553d;
  margin: 5px 5px 5px 30px;
}

/* Taulukko */

table {
  empty-cells: hide;
}

.trh {
  font-weight: bold;
  font-size: 14px;
}

tr {
  background: #e3f3c9;
}

td {
  width: 200px;
  padding: 5px;
}

.tr2 {
  background: #dff0c5;
}

.varauslomake {
  width: 520px;
}

.varauslomake td {
  width: auto;
}
