body {
	background-color: #C7C89C;
	font-family: Verdana, sans-serif;
	font-size: 10pt;
	color: #000000;
	margin: 0px;
	padding: 0px;
}

div,ul,li,a,h1,h2,h3,h4,img {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

/* otsikko */
h1 {
	display: none;
}

/* sivujen otsikot */
h2 {
	width: 782px;
	margin-left: 2px;
	font-size: 14pt;
	color: #5A644D;
	text-align: center;
	background-color: #DDD9A9;
	border: solid 2px #5A644D;
	padding: 5px;
}

/* sivujen alaotsikot */
h3 {
	float: left;
	width: 766px;
	font-size: 12pt;
	color: #947F6A;
	text-align: left;
	margin-left: 0px;
	padding: 5px 5px 5px 25px;
	background-color: #DDD9A9;
	border: solid 2px #947F6A;
	margin-bottom: 10px;
}

/* heppasivun otsikko */
h4 {
	width: 782px;
	margin-left: 2px;
	font-size: 16pt;
	color: #5A644D;
	text-align: center;
	background-color: #DDD9A9;
	border: solid 2px #5A644D;
	padding: 5px;
}

/* sukujen alapaskat */
h5 {
	font-size: 8pt;
	padding-left: 0px;
	margin: 0px;
	font-weight: normal;
}

/* otsikko */
#top {
	width: 800px;
	height: 220px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2px;
	text-align: left;
	overflow: visible;
	background-image: url(otsikko.jpg);
	background-repeat: no-repeat;
	background-position: top center;
}

/* sivupohja */
#page {
	width: 800px;
	height: 492px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
}

/* linkit */
#link {
	width: 800px;
	height: 37px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 2px;
	text-align: left;
	font-size: 10pt;
	font-weight: bold;
}

#link li {
	float: left;
	width: 131px;
	height: 35px;
	list-style-type: none;
	margin-right: 2px;
}

/* tekstialue */
#base {
	float: left;
	width: 800px;
	min-height: 400px;
}

/* alareuna */
#bot {
	float: left;
	color: #000000;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	text-align: center;
	font-size: 7pt;
}

#link a {
	width: 131px;
	height: 35px;
	display: block;
}

#link a.etu {
	background-image: url('letusivu.jpg');
	background-position: 0 0;
}

#link a.esi {
	background-image: url('lesittely.jpg');
	background-position: 0 0;
}

#link a.toi {
	background-image: url('ltoiminta.jpg');
	background-position: 0 0;
}

#link a.ori {
	background-image: url('lorit.jpg');
	background-position: 0 0;
}

#link a.tam {
	background-image: url('ltammat.jpg');
	background-position: 0 0;
}

#link a.inf {
	background-image: url('linfo.jpg');
	background-position: 0 0;
}

#link a:hover {
	background-position: -131px;
}

/* konin kuva -divi */
#pic {
	float: left;
	width: 40%;
	margin-left: 100px;
	margin-top: 10px;
	padding-bottom: 30px;
	font-size: 7pt;
}

#pic img {
	border: solid 1px #5A644D;
}

/* tietodivi */
#tiedot {
	float: left;
	width: 40%;
	padding-top: 30px;
	padding-bottom: 30px;
}

#tiedot ul {
	list-style-type: none;
	font-size: 10pt;
	text-align: left;
	margin: 0px;
}

/* kuvausdivi */
#kuvaus {
	float: left;
	width: 100%;
	padding-bottom: 30px;
	font-size: 10pt;
	text-align: left;
}

/* kuvadivi */
.kuva {
	text-align: center;
}

.kuva img {
	border: solid 1px #5A644D;	
}

/* sukudivi */
#suku {
	float: left;
	width: 100%;
	text-align: center;
	padding-bottom: 30px;
	font-size: 10pt;
}                                                                                                                                                                                        

#suku table {
	background-image: url('sukupohja.jpg');
	background-repeat: no-repeat;
	float: left;
	width: 800px;
	height: 300px;
	text-align: left;
	padding: 10px;
}

#suku table td {
	width: 25%;
}

/* kisa- ja jälkeläisdivit */
.listat {
	float: left;
	width: 100%;
	padding-bottom: 30px;
	paddind-top: 10px;
}

/* heppasivun heppapalikkadivi */
.hep {
	float: left;
	width: 200px;
	height: 100px;
	margin: 10px 0px 40px 0px;
	padding: 10px 0px 10px 0px;
}

.hep img {
	padding: 3px;
	border: solid 1px #5A644D;
	background-color: #DDD9A9;
}

/* reunoista tasatut tekstit */
.tasa {
	text-align: justify;
}

/* esittelyn kuvat */

.eskuva {
	text-align: center;
}

/* yhteystietosivun kuva */
.ykuva {
	float: right;
	border: 1px solid #5A644D;
	margin-top: 20px;
	margin-left: 20px;
}

/* yhteystietosivun otsikko */
.cp {
	width: 365px;
	margin-top: 60px;
}

/* kasvatussivun otsikko */
.br {
	float: left;
	width: 344px;
}

/* sivujen peruslinkit */
a {
	text-decoration: none;
	color: #5A644D;
}

a:hover {
	text-decoration: underline;
}

/* kasvatussivun kasvattitaulukko */
table {
	width: 805px;
}

th {
	width: 16%;
	border: 2px solid #947F6A;
	padding: 5px;
	color: #947F6A;
	background-color: #DDD9A9;
}

/* kasvatussivun lista */

#ls {
	list-style-type: none;
	padding: 5px;
	margin-bottom: 15px;
}
