html { 
  /* Pakotetaan scrollbarin tulostus */
  height: 100.02%;
  margin: 0;
  padding: 0;
}

body {

	/*background-color: #f7dade;*/
	background-color: #ddd3b3;
        /* georgia */
	font-family: trebuchet ms, Verdana;
	font-size: small;
	/*color: #5c343b;*/
	color: #4c3e11;

        margin: 0;
        padding: 0;

	
	/*background-image: url(http://koti.mbnet.fi/kuuttero/bakki2.jpg);*/
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-position: top left;
	
}

body.welcome {
	background-color: #E7DFCC; /*#ddd3b3 */
}

div.sivu {
  background-image: url(taustakuva.jpg);
	background-color: White;
	/*border: 1px solid #e8a5b0;*/
	border: 1px solid #af9c5d;
	padding: 1%;
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 10px;

	margin-top: 0.5em;
	margin-left:  7%;
	margin-right: 7%;
	margin-bottom: 1%;
	
	overflow: hidden;
	display: block;
	/*height: 100%; */

}

div.palkki {
 text-align: center;
}

div.tervetuloa {
 text-align: center;
 padding-top: 4em;
}


div.etusivuwrapper {


 display: block;
 height: 99%;
 
 overflow: hidden;


}


div.etusivu {
	float: right;
	width: 20%;
	
	text-align: left;

	/*border-left: 2px dotted #d0a09a;*/
	border-left: 2px dotted #4c3e11;
	margin-left: 15px;
	padding-left: 15px;
	
	display: block;

}

div.etusivu p {

  text-align: left;
  font-size: 95%;
}


h1 {
	
	font-size: 102%;

	text-align: center;
	border: 2px #baa86f; /*#4c3e11 #d9b8b8*/
   border-left: 0px;
   border-right: 0px;
	margin-left: 3%;
	margin-right: 3%;
	margin-bottom: 2%;
	font-family: trebuchet ms, Tahoma;
	padding: 4px;
	border-style: dotted;
}

h2 {
		
	font-size: 105%;
	/*color:  #993445; */
	text-align: center;
	margin-left: 5%;
	margin-right: 5%;
	margin-bottom: 0.8em;
	font-family: trebuchet ms,Tahoma;
	padding: 4px;
}


h3 {
  font-size: 100%;
  font-weight: bold;
  font-family: trebuchet ms,Tahoma;
  margin: 0;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  

}


hr {
   border-color: #d0a09a;
	border-style: dotted;
	border-width: 1px;
	margin-right: 5%;
	margin-left: 5%;
	margin-bottom:  0.25em;
	margin-top: 0.25em;
}

p {
   padding: 3px;
	/*border: 1px solid #d9b8b8; */
   text-align: justify;
   line-height: 150%;
}

div.alapalkki {

  display: block;
  position: relative;



   background-color: #c57069;
	background-image: url(tausta_uusi2.jpg);
	font-size: 80%;
	text-align: center;
	border: 2px solid #baa86f; /*#d9b8b8*/
	padding: 1px;
	margin-top: 15px;
	margin-bottom: 0;

}

p.paivakirja {
   background: transparent;
   /*background-color: #f6f0ef; */
	border-bottom: 1px dotted #baa86f; /*#d9b8b8*/

	
	margin: 0;
	margin-bottom: 1.0em;
	
	padding: 0;
	padding-bottom: 1em;

}


div.paivakirjamerkinta {

   border-bottom: 1px dotted #baa86f; /*#d9b8b8*/

}



div.galleriamenu {

 text-align: center;
 margin-right: 2em;
}

.galleriamenu ul {

   /*margin: 0.5em 0 0.5em 0;*/
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.galleriamenu li {

   display: inline;
   font-size: 90%;
   margin: 0 0.2em 0 0.2em;

}





p.tyhja {
	height: 150px;
}


/* ///////// Alakommentin tyylit /////////////////// */

p.alakommentti {
   margin-bottom: 1px;
	margin-right: 1%;
   color: #af9c5d; /*#e8a5b0*/
	float: right;
	font-size: 75%
}

 
p.alakommentti a:link { 
	color: #af9c5d; /*#e8a5b0*/
	text-decoration: underline;
} 

p.alakommentti a:visited { 
	color: #af9c5d; /*#e8a5b0*/
	text-decoration: underline;
}

p.alakommentti a:active { 
	color: #af9c5d; /*#e8a5b0*/
	text-decoration: underline;
} 

/* ///////////////////////////////////////////////// */

img {
	margin-top: 0%;
	margin-bottom: 15px;
   border: 2px;
	border-color: #baa86f; /*#d0a09a*/
	border-style: dotted;
}

img.left {
	float: left;
	margin-right: /*9%*/ 30px;
}

img.right {
   float: right;
	margin-left: /*9%*/ 30px;
}

img.ylapalkki {
	margin: 0%;
   border: 0px;
	border-color: #9c0304;
	border-style: solid;
}

img.galleria {
	margin-left: 0.5em;
   margin-right: 0.5em;
	border-style: solid;
	
}

img.galleriamenu
{
  border: 1px dotted #9c0304;

    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.puzina
{
   border: 2px solid black;
   text-align: center;
   /*margin: 1em 12% 0 12%;*/
    display: block;
    margin-left: auto;
    margin-right: auto;
}


img.etusivu {
   border-width: 0px;
   float: left;
	margin-right: 2em;
}

img.noborder {
	border: 0px;
}
   



/* Linkkityylit */

a:link { 
	color: #ccac3f; /*#993445*/
	text-decoration: underline;
} 

a:visited { 
	color: #bca94d; /*#ccac3f*/ /*#993445*/
	text-decoration: underline;
}

a:active { 
	color: #ccac3f; /*#993445*/
	text-decoration: underline;
}  



a.menu:link { 
	color: #ccac3f; /*#993445*/
	text-decoration: none;
}   

a.menu:visited { 
	color: #9e8923; /*#ccac3f; */ /*#993445*/
	text-decoration: none;
} 

a.menu:active { 
	color: #9e8923; /*#993445*/
	text-decoration: none;
}

a.menu:hover { 
	color: #ccac3f; /*#993445*/
	/*background-color: #f6ded8; */
	text-decoration: underline;
}



 

ul {
	padding-top: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
}


li {
	margin: 0px;
	font-size: 100%;
}


br {
	margin: 3px;
}


#right {
	float: right;
}


#right_middle {
	float: right;
	margin-right: 40px;
}


#left {
	float: left;
}


table.sukutaulu_sin
{
   border-width: 2px;
	background: #e0e0ff;
	font-size: 100%;
	margin-top: 0px;
   text-align:center;
	margin-left:auto;
	margin-right:auto;
	width:600px;
	border-color: #460102;
	border-collapse: collapse;
	border-style: dotted;
}


table.noborder
{
   border-width: 0px;
   text-align:center; 
	 margin-left:auto; 
	 margin-right:auto; 
}

td.noborder {
   border-width: 0px;

}

table.sukutaulu_pun
{
   border-width: 2px;
	background: #ffe8ee; /* #f6ded8 */
	font-size: 100%;
	margin-top: 25px;
   text-align:center; 
	margin-left:auto; 
	margin-right:auto; 
	width:600px;
	border-color: #460102;
	border-collapse: collapse;
	border-style: dotted;
}


td {
   border-width: 1px;
   border-color: #460102;
	border-collapse: collapse;
	border-style: dotted;
}


div#sis { 
  float: right;
  margin-left: 30px;
/*
position: relative; 
right:15px; 
top:15px;*/
}


#center {
	text-align: center;
}


div#jalk_main { 

	position: relative;
	height: 15em;
	margin-bottom: 1em;
}

div#jalk_vasen {
	position: absolute; 
	padding-top: 1%;
   margin-right: 0.5%;
	margin-left:  4%;
	left: 0;
	
	top:0;
	text-align: center;
}

div#jalk_keski {
	position: static;
   margin-right: auto;

	margin-left:  auto;   

	text-align: center;
}

div#jalk_oikea {
	position: absolute; 
   margin-right: 4%;
	padding-top: 1%;
	margin-left:  0.5%;
   
	right: 0;
	top:0;
	text-align: center;
}
