body {
  text-align: center;
  background: #000 url("images/kuva_15.gif") repeat-y center top;
  margin: 0px auto 10px auto;
  padding: 0px 0;
  font-size: 0.9em;
  color: #000;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

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

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

a:visited {
  color: #5E5473;
}

a:hover {
  text-decoration: none;
}


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

h1 {
  color: #000;
  font-weight: 100;
  font-size: 2em;
  text-align: center;
  padding: 15px 0 15px 0px;
  margin: 10px 0 0px 0;
  background: url("images/kuva_05.gif") no-repeat center center;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  width: 549px;
}

h2 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
  color: #000;
  font-size: 1.2em;
  font-weight: 100;
  border-bottom: 1px solid #ccc;
}

h3 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
  color: #000;
  font-size: 1.1em;
  font-weight: bold;
}



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

td, p {
  line-height: 1.7;
}

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

td {
  vertical-align: top;
}

.kuvataulukko {
  width: 500px;
}

p {
  margin-left: 10px;
}

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

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

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

#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 {
}

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

body > #sivu {
  width: 819px;
}

#sivu {
  margin: 0 auto;
  width: 820px;
}

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


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

#IE-fix {
  margin: 0px 0 0 26px;
}

#navi {
  margin: 0px 0 0 0px;
  padding: 0px 0 0 0px;
  float: left;
  width: 200px;
}

#navi ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #212121;
  width: 100%;
}

#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 13px;
  margin: 0 0px 0px 0px;
  display: block;  
  text-align: left;
  height: 30px;
}

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

#navi ul li a:hover {
  font-weight: 100;
  color: #BF3838;
  background: url("images/kuva_09.gif") no-repeat left bottom;
}

#navi ul li #tamasivu {
  color: #B72B14;
  font-weight: bold;
  background: url("images/tamasivu.gif") no-repeat left bottom;
}

#navi ul ul li a {
  padding-left: 30px;
  background: url("images/ala_valikko.gif") no-repeat left bottom;
}

#navi ul ul li a:hover {
  padding-left: 30px;
  background: url("images/hover_alavalikko.gif") no-repeat left bottom;
}

#navi ul ul li #tamasivu {
  padding-left: 20px;
  background: url("images/tamasivu_alavalikko.gif") no-repeat -12px 0px;
}

#IE-fix > #navi ul ul li #tamasivu {
  padding-left: 30px;
  background: url("images/tamasivu_alavalikko.gif") no-repeat left bottom;
}

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

#runko {
  background: #fff url("images/kuva_12.gif") repeat-y left top;
}

#ylareuna {
  background: transparent url("images/kuva_02.jpg") no-repeat left top; 
  padding-top: 220px;
}

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

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

#sisalto img {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  margin: 10px;
}

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

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

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

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

.powered_by #text {
  font-size: 0.7em;
  font-family: Arial, Sans-serif;
  text-align: left;
}

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

label {
}

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

#lomaketaulu {
  width: 540px;
}

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


#harjoitukset table {
  width: 550px;
}

#harjoitukset table  {
  border: 1px solid #fff;
}

#harjoitukset table td {
  font-family: Arial, Sans-Serif;
  font-size: 0.8em;
  border: 1px solid #ccc;
  text-align: center;
}

#harjoitukset table th {
  font-family: Arial, Sans-Serif;
  font-size: 0.8em;
  border: 1px solid #aaa;
  padding-top: 5px;
  padding-bottom: 5px;
}

#harjoitukset table td p {
  margin: 0;
  padding: 0;
}

#sisalto > #harjoitukset table td {
  font-size: 0.8em;
}

#etusivu h1 {
  margin-bottom: 0.3em;
}

#etusivu img {
  margin: 0;
}

#kuukaudenkuva p {
  margin-left: 0;
  text-align: center; 
}

#etusivu ul li {
  margin-bottom: 5px;
  margin-left: 10px;
}

#etusivu ul {
  margin-top: 0;
  padding-top: 15px;
}

#foorumin-viestit h2, #kuukaudenkuva h2, #ilmoitustaulu h2 {
  text-align: center;
}

#luokkanousijat ul, #valiot ul {
  margin-top: 0;
  padding-top: 5px;
}

#luokkanousijat ul li, #valiot ul li {
  margin-bottom: 0;
  margin-left: 10px;
}

#etusivu h2, #luokkanousijat h2, #valiot h2 {
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 10px;
}

#luokkanousijat img, #valiot img {
  margin: 5px 0 10px 0;
}

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

.required {
  color: #FF0000;
  padding: 0 5px;
}

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

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

.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;
}
