body {
  text-align: center;
  margin: 0px auto 10px auto;
  padding: 0px 0;
  font-size: 0.8em;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  background: #8d8d8d url("images/kuva_01.gif") repeat-x center top;
}

/* ================================================== */
/*   Linkit                                           */
/* ================================================== */

a {
  color: #2E54c3;
  text-decoration: underline;
}

a:visited {
  color: #5E5473;
}

a:hover {
  text-decoration: none;
}


/* ================================================== */
/*   Otsikot                                          */
/* ================================================== */

h1 {
  color: #123100;
  font-weight: 100;
  font-size: 2.5em;
  text-align: center;
  padding: 10px 0 10px 0px;
  margin: 0px 0 0px 20px;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #ccc;
}

h2 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
  color: #123100;
  font-size: 1.4em;
  font-weight: 100;
  margin-left: 20px;
}

h3 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
  color: #123100;
  margin-left: 20px;
  font-size: 1.1em;
  font-weight: bold;
}



/* ================================================== */
/*   Listat ja kappaleet ja taulukot                  */
/* ================================================== */

td, p {
  line-height: 1.7;
}

table, td {
  border: 1px solid #ccc;
}

td p {
  margin: 0;
  padding: 0;
}

th {
  text-align: center;
  background-color: #eee;
}

td {
  padding-left: 2%;
  padding-right: 5%;
  vertical-align: top;
}

.kuvataulukko {
  width: 500px;
}

p, table {
  margin-left: 20px;
}

#sisalto ul li {
  margin-left: 30px;
  padding-left: 18px;
  margin-bottom: 0.7em;
  background: transparent url("images/listapallura.gif") no-repeat 4px 5px;
  list-style: none;
  line-height: 1.4em;
}

ul {
  padding-left: 0;
  margin-left: 0;
}

#sisalto ul ul li  {
  margin-left: 20px;
}

#sisalto ul ul ul li {
  margin-left: 60px;
}

#sisalto ul ul ul ul li {
  margin-left: 90px;
}

li {
  margin-bottom: 0.3em;
}

/* ================================================== */
/*   Sivun otsikko ja sisältö                         */
/* ================================================== */

#sivun-otsikko {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  height: 146px;
/*  background: transparent url("images/kuva_03.jpg") no-repeat 17px 0px; */
}

#sivun-otsikko #teksti{
  display: none;
}

#sivun-otsikko #teksti, #sivun-otsikko #siirrysisaltoon{
  display: none;
}

#sivu {
  margin: 0 auto;
  width: 908px;
  background: transparent url("images/kuva_23.gif") repeat-y right top;
}

#sisalto {
  text-align: left;
  padding: 0px 40px 10px 170px;
  margin: 0 0px 0 0;  
}


/* ================================================== */
/*   Menuvalikko                                      */
/* ================================================== */

#navi-alareuna {
  padding-bottom: 20px;
  background: transparent url("images/kuva_18.gif") no-repeat right bottom;
}

#navi {
  margin: 0px 0 0px 0px;
  padding: 0px 0 0px 0px;
  float: left;
  width: 168px;
  background: transparent url("images/kuva_15.gif") repeat-y right top;
}

#navi ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  width: 100%;
  background: transparent url("images/kuva_02.gif") no-repeat 0px -146px;
}

#navi ul li {
  padding: 0;
  display: inline;
  line-height: 2.1;
}

#navi ul li a,  #navi ul li a:hover, #navi ul li #tamasivu {
  padding: 0px 10px 0 0px;
  margin: 0 0px 0px 0px;
  display: block;  
  text-align: right;
  height: 30px;
}

#navi ul li a {
  font-weight: normal;
  color: #fff;
  text-decoration: none;
  background: url("images/kuva_10.gif") no-repeat right top;
}

#navi ul li a:hover {
  color: #fff;
  font-weight: bold;
}

#navi ul li #tamasivu {
  color: #fff;
  font-weight: bold;
  background: url("images/kuva_10_tama.gif") no-repeat right top;
}

#navi ul ul {
  background: transparent none;
}

#navi ul ul li a {
  background: url("images/kuva_10_ala.gif") no-repeat right top;
}

#navi ul ul li #tamasivu {
  color: #fff;
  font-weight: bold;
/*  background: url("images/kuva_10_tama_ala.gif") no-repeat right top; */
}

#navi ul ul li a, #navi ul ul li a:hover {
  padding-right: 16px;
}

#navi ul ul #tamasivu a {
  background: none;
  padding-right: 16px;
}

#navi ul ul #tamasivu {
  margin-right: 0px;
  padding-right: 0px;
  background: url("images/kuva_10_tama_ala.gif") no-repeat right top; 
}

/* IE-fiksaukset */
#navi ul ul > #tamasivu a {
  color: #fff;
  font-weight: bold;
  background: url("images/kuva_10_tama_ala.gif") no-repeat right top;
}


/* ================================================== */
/*   Sivun taustat                                    */
/* ================================================== */


#ylareuna {
  background: transparent url("images/kuva_05.gif") repeat-x left top; 
}

#alareuna {
  background: transparent url("images/kuva_24.gif") no-repeat right bottom;
}

#vasen-ylanurkka {
  background: transparent url("images/kuva_02.gif") no-repeat left top;
}

#oikea-ylanurkka {
  background: transparent url("images/kuva_04.gif") no-repeat right top;
}


/* ================================================== */
/*   Kuvat ja kuvatekstit                             */
/* ================================================== */

#sisalto p img, #sisalto li img {
  background: #fff url("images/kuvan_varjo.gif") no-repeat bottom right;
  padding: 1px 1px 17px 1px;
  margin: 7px 11px 0 5px;
  clear: right;
}

/* ================================================== */
/*   Alatunniste ja tekijä                            */
/* ================================================== */

.powered_by a {
  color: #bbb;
  text-decoration: none;
}

.powered_by a:hover {
  text-decoration: underline;
}

.powered_by {
  color: #bbb;
  width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0px;
}

.powered_by #text {
  font-size: 0.7em;
  font-family: Arial, Sans-serif;
  text-align: right;
  margin-right: 40px;
}

/* ================================================== */
/*   Lomake                                           */
/* ================================================== */

label {
}

#button, .lomakkeenosa {
  margin-top: 10px;
}

#lomaketaulu {
  width: 540px;
}

/* ================================================== */
/*   Sivukohtaiset tyylit                             */
/* ================================================== */

#terveiset p {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}


.post_title h2 a {
  text-decoration: none;
}

.post_title h2 a:hover {
  text-decoration: underline;
}

.post_title h2 {
  border-bottom: 1px solid #69c034;
  margin-bottom: 5px;
}

.post_date { 
  font-size: 0.7em; 
  text-align: right; 
  font-weight: bold; 
}

.post_short p, .read_more {
  margin: 0 0 0 20px;
  padding: 0;
}

.post_image { 
  float: right;
  margin-top: 10px;
}

.nosto {
  background: #ca5d0c url("images/kuva_07.gif") no-repeat left top;
  width: 260px;
  margin: 1px -18px 0px 0;
  float: right;
  clear: right;
}

.nosto p, .nosto h2, .nosto a:link, .nosto a:visited {
  color: #fff;
  text-decoration: none;
  font-family: Verdana, sans-serif;
}

.nosto:hover {
  color: #ea9e65;
}

.nosto a:hover {
  color: #ea9e65;
}

.nosto h2 {
  padding: 0px 10px 5px 10px;
  margin: 0;
  font-size: 10px;
  font-weight: bold;
}

.nosto p {
  padding: 0 10px 10px 10px;
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
}


.nosto h2 img {
  background: transparent none;
  margin: 10px 10px 0px 0;
  padding: 0;
  border: #fff 1px solid;
  float: left;
}

.noston-reuna {
  background: transparent url("images/kuva_13.gif") no-repeat left bottom;
}

#etusivun_uutiset{
  width: 400px;
}

#etusivun_uutiset h2, #etusivun_uutiset h3, #etusivun_uutiset p {
/*  margin: 0;
  padding: 0; */
}

#etusivun_uutiset h2 {
  margin-bottom: 5px;
}
#etusivun_uutiset h3 {
  font-size: 1.2em;
}
#etusivun_uutiset p {
  margin-top: 0;
  padding-top: 0;
}


/* ================================================== */
/*   WB:n lomaketyylit muokattuna omaksi              */
/* ================================================== */

/* Palautelomake*/



#palaute td, table#palaute {
  border: 0px solid #fff;
}

.required {
  color: #FF0000;
  padding: 0 5px;
  font-weight: bold;
}

.field_title {
  vertical-align: top;
  text-align: left;
  padding-left: 10px;
}

.textfield, .email {
  width: 300px;
}

.textarea {
  width: 90%;
  height: 100px;
}

.field_heading {
  padding: 0;
  margin: 0;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
  color: #000;
  font-size: 1.2em;
  font-weight: 100;
  border-bottom: 1px solid #ddd;
/*
	font-size: 12px;
	font-weight: bold;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	padding-top: 10px;
	color: #666666;
*/
}

/* ================================================== */
/*   RSS-syötteen tyylit                              */
/* ================================================== */

.rss-paivays {
  font-size: 0.8em;
  display: block;
  color: #888;
}

#foorumin-viestit ul li {
  margin-bottom: 0.5em;
  line-height: 1.1;
}

