html, body
{margin:0;padding:0;}

body
{font: 76% verdana,arial,sans-serif;
/*text-align:center;*/
background-color:#998866;
/*background-repeat: repeat-x;*/
background-image: url('taustat/tausta_5.jpg')}

P
{
	font-family : verdana;
	color : #A66F31;
	font-size : small;
	margin-left : 16px;
	margin-right : 16px;
	margin-top : 4px;
	text-align: left
}

P.yhteys
{
	font-family : verdana;
	color : #A66F31;
	font-size : small;
	margin-left : 16px;
	margin-right : 16px;
	margin-top : 0px;
	text-align: center
}

P.suku 
{
	font-family : verdana ;
	color : #A66F31;
	font-size : small;
	margin-left : 1cm;
	margin-right : 16px;
	margin-top : 6px;
	text-align: left;
}

p.outset {border-top-style: outset}

p.double {border-style: double; border-bottom-color: #5E4220}

h1
{

	font: 20px verdana, arial;
	color: #5E4220;
	padding:2px 2px;
	text-align: left;
	margin-left : 16px;
}


/*p
{margin:0 10px 10px}*/

/*a
{display:block;color: #981793;padding:10px}*/

div#ylapalkki 
h1{height:80px;line-height:80px;margin:0;
padding-left:10px;background: #EEE;color: #79B30B}

div#valipalkki 
h1{/*height:60px;line-height:60px;*/margin:0;
padding-left:0px;background: #EEE;color: #79B30B}
  
div#container{text-align:left}

div#teksti p{line-height:1.4}

div#sivupalkki{background:#FFFFFF}

div#alapalkki 
	{
	margin-top : 0px; 
	border-collapse: collapse; 
	margin-left: 25%; 
	font-family : Verdana; 
	font-size: xx-small; 
	color : #A66F31;
	}

div#container{
	text-align:left;
	background-color: #FFFFFF;
	border: 4px solid #75654B;
	width: 800px;
	margin-left: 80px;
}


div#teksti
{
	float:right; 
	width:498px; 
	background-color: #FFFFFF; 
	border-width: 1px;
	/*border-style: solid;
	border-color: #996633;*/
	padding: 0px 0px;
	height: 700px;
	overflow: auto
}

div#teksti_suku
{
	float:right; 
	width:800px; 
	background-color: #FFFFFF; 
	border-width: 1px;
	border-style: solid;
	border-color: #996633;
	padding: 0px 0px;
	height: 700px;
	overflow: auto
}

div#sivupalkki
{
	float:left;
	width:298px; 
	height:700px; 
	margin: 0 auto;
	background-color: #FFFFFF; 
	border-width: 1px;
	/*border-style: solid;
	border-color: #996633;*/
}

div#sivupalkki_rullaus
{
	float:left;
	width:298px; 
	height:700px; 
	margin: 0 auto;
	background-color: #FFFFFF; 
	border-width: 1px;
	border-style: solid;
	border-color: #996633;
	overflow: auto
}
/*div#alapalkki{clear:both;width:100%}*/

/* sivupalkin kuvien määrittely */

img.sivu
{

	margin-top : 6px;
	margin-bottom : 6px;
	margin-left : 6px;
	margin-right : 6px;
    padding: 2px;
    border-top: 2px solid #996633;
    border-left: 2px solid #996633;
    border-bottom: 2px solid #996633;
    border-right: 2px solid #996633;
}

img.vali
{
	margin-left : 4.5cm;
}

img.vali_yhteys
{
	margin-left : 3.75cm;
	margin-right : 2.5cm;
}
  /*Päivitys taulukko*/
  
table.paivitys 
{

	/*border-left-width: 1px; border-right-width: 1px;
	border-top-width: 1px; border-bottom-width: 1px;
	border-style: solid; border-color : #5E4220;*/
	border-collapse: separate; border-spacing: 1pt;
	padding-left: 5px;	margin-left: 16px;
	margin-right: auto;


}
  table.kuulumiset
{

	padding-left: 2px;
	margin-top:8px; margin-right:10px; margin-left:10px;

	
}

td.otsikko1 
{

	margin-left: 0px;
	padding-left: 0px;
	font-family : verdana, arial;

	
}

td.paivitys
{

	background-color: #E8C373;
	margin-left: 2px;
	padding-left: 2px;
	font-family : Verdana, arial; 
	font-size : 10pt;
	color : #A66F31;
	text-align: left;

}
/* Päivitys päättyy*/

  table.tulokset
{

	padding-left: 2px;
	margin-top:4px; margin-right:6px; margin-left:6px;

	
}

  table.suku1
{

	padding-left: 2px;
	margin-top:6px; margin-right:6px; margin-left:6px;

	
}
  table.keikka
{

	padding-left: 2px;
	margin-top:8px; margin-right:10px; margin-left:1cm;

	
}

td.otsikko_keikka
{
	background-color: #996633;
	margin-left: 1px;
	padding-left: 2px;
	font-family : verdana, arial;
	color : #ffffff;
	font-size : 10pt;
	font-weight: bold;
	text-align: left;
	
}

td.tiedot_keikka
{


	margin-left: 1px;
	padding-left: 2px;
	font-family : Verdana, arial; 
	font-size : 10pt;
	color : #996633;
	text-align: left;

}

table.vir_tiedot 
{
	padding: 0.5cm 0.5cm;
	margin-top:4px; margin-right:6px; margin-left:6px;
}

table.terveys 
{
	padding: 1cm 1cm; 
}

	
td.otsikko2 
{
	margin-left: 1px;
	padding-left: 2px;
	font-family : verdana, arial;
	color : #A66F31;
	font-size : small;
	
}
td.otsikko3 
{
	margin-left: 2px;
	padding-left: 2px;
	font-family : verdana, arial;
	color : #A66F31;
	font-size : small;
	font-weight: bold;
	
}
td.otsikko 
{
	margin-left: 2px;
	padding-left: 2px;
	font-family : verdana, arial;
	color : #A66F31;
	font-size : 10pt;
	text-align: left;
	font-weight: bold;
	
}
td.tiedot
{


	margin-left: 2px;
	padding-left: 2px;
	font-family : Verdana, arial; 
	font-size : 10pt;
	color : #A66F31;
	text-align: left;

}

ul.disc 
{
	list-style-type: none;
	margin-top : 8px;
	margin-bottom : 8px;
	margin-left : 16px;
	margin-right : 8px;
	padding: 6px;
	color : #5E4220;
}

/* Ruskan tuloksien valikko (haku, toko, näyttelyt) */

ul.lista
{
	list-style-type: none;
	/*margin-top : 4px;
	margin-bottom : 4px;*/
	margin-left : 50%;
	/*margin-right : 4px;
	padding: 2px;*/
	
}



/*td.varjo1 
{
width: 15px; background-image: url(designkuvat/varjo1_b.gif); background-repeat: repeat-y
}*/

	/*linkit*/
a.copy
{
	font-family: verdana, arial;
	font-size: xx-small;
	color: #A66F31;
	text-align: center;
}

a
{
	font-family: verdana, arial;
	text-decoration:none;
	font-size : small;
	color:#663300;
	
	
}

a:hover
{
	font-family: verdana, arial;
	text-decoration:none;
	font-size : small;
	color:#B47938;
	
}
/* Valikon tyylit */

.chromestyle{
/*width: 99%;*/
height: 23px;
font-weight: bold;
}

.chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}

.chromestyle ul{
border: 1px solid #996633;
width: 100%;
background: url('layout/valikko_2.gif') repeat-x center; /*THEME CHANGE HERE*/
margin: 0;
float: left;
font-style:normal; font-variant:normal; font-weight:normal; font-size:12px; font-family:Verdana; padding-left:0; padding-right:0; padding-top:4px; padding-bottom:4px
}

.chromestyle ul li{
display: inline;
margin-left: 0;
margin-right: 0;
margin-bottom: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding: 0;
margin: 0px;
line-height: 12px;
}

.chromestyle ul li a{
float: left;
color: #494949;
padding: 2px 2px 2px 8px;
/*padding: 4px 7px;
margin: 0;*/
text-decoration: none;
border-right: 1px solid #FFCC66; /*THEME CHANGE HERE*/
}

.chromestyle ul li a:hover{
background: url('layout/valikko_1.gif') repeat-x center; /*THEME CHANGE HERE*/
}

.chromestyle ul li a[rel]:after{ 
}


/* ######### Style for Drop Down Menu ######### */

.dropmenudiv{
border-left:1px solid #FFCC99; border-right:1px solid #FFCC99; border-top:1px solid #FFCC99; border-bottom:0px solid #FFCC99; position:absolute;
top: 0;
/*THEME CHANGE HERE*/
line-height:18px;
z-index:100;
background-color: white;
filter:alpha(opacity=90);   
   -moz-opacity:0.8;           
   opacity: 0.8;
width: 200px;
visibility: hidden; font-style:normal; font-variant:normal; font-weight:normal; font-size:12px; font-family:Verdana
}


.dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #FFCC99; /*THEME CHANGE HERE*/
padding: 2px 0;
text-decoration: none;
font-weight: bold;
color: black;
}

.dropmenudiv a:hover{ /*THEME CHANGE HERE*/
background-color: #FFCC66;
}