body {
  background: #3F5F85;
  margin: 1em;
  padding: 0em;
}

/* TAITTO + MÄÄRITYKSIÄ */

div#main {
  background: url(images/bg.jpg) repeat-y #3F5F85;
  width: 750px;
  min-height: 479px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

div#otsikko {
  background: url(images/leiska_01.jpg) no-repeat transparent;
  width: 750px;
  height: 223px;
  text-align: left;
}

#otsikko p {
  font-size: 8pt;
  font-family: verdana, serif;
  padding: 0.1em;
  margin: 0.2em 0.5em;
  text-align: left;
}

div#textarea {
  width: 700px;
  left: 20px;
  background: #fff;
  position: relative;
}

div#vasen {
  background: transparent;
  position: absolute;
  left: 0;
  top: 223px;
  width: 15px;
}

/* NAVIGOINTI */

div#navi {
  background: transparent;
  min-height: 240px;
  position: absolute;
  left: 5px;
}

#navi li{
  list-style-type: none;
  display: inline;
  margin: 0;
  padding: 0;
  text-align: left;
}

#navi ul{
  display: inline;
  margin: 0;
  padding: 0;
  text-align: left;
}

#navi a {
  display: block;
  text-decoration: none;
  font-size: 10pt;
  font-family: verdana;
  color: #3F5F85;
  margin: 0.4em 0.1em;
  padding: 0.2em 1em;
  background: #fff;
  border: solid 1px #fff;
}

#navi a:hover {
  background: #3F5F85;
  border: solid 1px #BEDAD0;
  color: #000;
  margin: 0.4em 0.1em;
  padding: 0.2em 1em;
}

/* TEKTIKENTTÄ + SEN MÄÄRITYKSET */

div#teksti {
  background: url(images/puska.jpg) repeat-y; 
  width: 620px;
  min-height: 240px;
  position: relative;
  left: 170px;
}

#teksti p, td {
  text-align: justify;
  font-size: 10pt;
  font-family: verdana;
  color: #3F5F85;
  margin-left: 3em;
  margin-right: 6.5em;
}

#teksti h2 {
  font-size: 13pt;
  text-align: left;
  border-bottom: dashed 1px #3F5F85;
  font-family: serif, arial;
  color: #3F5F85;
  margin: 0.1em 5.2em 0.9em 2em;
  padding: 0.2em 3.8em;
}

#teksti a {
  font-size: 10pt;
  font-family: verdana;
  color: #93B4A8;
  text-decoration: underline;
}

#teksti a:hover {
  font-size: 10pt;
  font-family: verdana;
  color: #3F5F85;
}

/* LOPUT LEISKASTA */

div#oikea {
  background: transparent;
  position: absolute;
  right: 0;
  top: 223px;
  width: 15px;
}

div#ala {
  background: url(images/leiska_05.jpg) no-repeat #fff;
  position: relative;
  width: 750px;
  min-height: 37px;
}

#ala p {
  text-align: left;
  font-size: 10pt;
  font-family: verdana;
  color: #3F5F85;
  margin-left: 1.3em;
  margin-right: 6.5em;
  font-weight: bold;
}

#ala a {
  color: #3F5F85;
  text-decoration: underline;
}

#ala a:hover {
  color: #3F5F85;
  text-decoration: none;
}

/* JOTAIN MUITA JUTTUJA (en oo ihan varma, tarviiko niitä ees.) */

#otsikko a {
  color: #78B19C;
  font-size: 8pt;
  font-family: verdana;
  text-decoration: underline;
  font-weight: bold;
}

#otsikko a:hover {
  color: #78B19C;
  font-size: 8pt;
  font-family: verdana;
  text-decoration: none;
  background: none;
} 

#teksti table.tapahtuma {
  margin: 0.4em 0 0.4em 2em;;
  padding: 0.8em;
  width: 75%;
}

#teksti table.tapahtuma td {
  vertical-align: top;
  background: #BEDAD0;
  padding: 0.3em;
  border: solid 1px #78B19C;
}

#teksti table.tapahtuma td b {
  font-variant: small-caps;
}

#teksti table.tapahtuma a {
  font-size: 10pt;
  font-family: verdana;
  color: #3F5F85;
  font-weight: bold;
  text-decoration: underline;
}

#teksti table.tapahtuma a:hover {
  color: #78B19C;
}

#teksti table.tapahtuma p {
  margin: 0em 0.2em 1em 0.2em;
}

#teksti img {
  border: solid 3px #3F5F85;
  margin: 0.4em 0 0.4em 2em;
}

/* LOGINI */

div#login {
  position: absolute;
  top: 20px;
  left: 20px;
}

#login p {
  color: #D7DF70;
}

#login input {
  color: #564710;
  border: solid 1px #AFB748;
  background: transparent;
}

#login input:focus {
  background: #D7DF70;
}

