body
{
	background: #e7e7e7;
	text-align: center
}

table.ulko
{
	border-collapse: collapse;
	border: 1px solid black;
	margin-left:auto; width:1%; margin-right: auto;
	
	height:100%;
	margin-top: 5%;
	font-family: arial, verdana;
	empty-cells: show;
}

table.sisa
{
	border-collapse: separate;
	width: 100%; 
	height:100%;
	empty-cells: show;
}

/*sanaa-kodan taulukot:*/
table.lsolu
{
	/*height: 150px;*/ width: 100%;
	border: none;
	border-collapse: separate;
	empty-cells: show;
	
	
}



td.logo
{
	border: 1px solid black;
	background: #000000;
	width:1%; height:1%;
}
/*vaakahakemiston solut:*/
td.hakemisto
{
	font-size: 0.6em;
	font-weight: bold;
	color: #e7e7e7;
	background: #000000;
	text-align: center;
	border: 1px solid #000000;
	width: 16%; white-space: nowrap;
}

td.hakemisto2
{
	font-size: 0.6em;
	font-weight: bold;
	color: #000000;
	background: #8A8989;
	text-align: center;
	border: 1px solid #000000;
	width: 16%; 
	white-space: nowrap;
}
/*vaakahakemiston linkit:*/
a:link
{
	color: #e7e7e7;
	text-decoration: none;
}

a:visited
{
	color: #e7e7e7;
	text-decoration: none;
}

a:active
{
	color: #000000;
	text-decoration: none;
}

a:hover
{
	color: #000000;
	text-decoration: none;
}

/*vaakahakemiston alapuolinen tila:*/
td.sisalto
{
	height: 100%;
	background: #8A8989;
	font-weight: normal;
	
}

td.ajanksisalto
{
	height: 400px;
	background: #8A8989;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	font-size: 0.8em;
	color: #ffffff;
}

td.sisaltotoip
{
	text-align: left;
	height: 100%;
	background: #8A8989;
	font-weight: normal;
}

td.palsta
{
	width:50%;
	border: none;
	font-size:0.8em;
	text-align: left;
	vertical-align: top;
	color: #ffffff;
}

td.palstaetu
{
	width:50%;
	border: none;
	font-size:0.8em;
	text-align:center;
	vertical-align: top;
	font-weight: bold;
}

td.vali
{
	width:4%;	
	border: none;
}

font.syntyots
{
	font-weight: bold;	
}

td.palstasyn
{
	width:48%;
	border: none;
	font-size:0.8em;
	text-align: left;
	vertical-align: top;
	color: #ffffff;
}

td.palstaryh
{
	width:25%; height: 100%;
	border: none;
	font-size:0.8em;
	text-align: left;
	vertical-align: top;
	color: #ffffff;
	white-space: nowrap;
}

td.persisalto
{
	
	height: 1%;
	border: 4px solid #FF9933; /*3px solid #ffffff;*/
	color:#FF9933;
	background: #8A8989;
	vertical-align: top;
	text-align: left;
	font-size:1.0em;
	font-weight: bold;
	margin-top: 0;margin-bottom: 0;margin-left:0;margin-right: 0;
	
}

td.persisalto2
{
	/*width: 75%;
	height: 75%;*/ 
	border: none; /*3px solid #ffffff;*/
	background: #8A8989;
	color: #ffffff;
	text-align: center;
	vertical-align:bottom;
}
/*sanaa-taulukoiden solut:*/
td.lause
{
	width: 70%;
	height: 100%;
	border: 4px solid #FF9933;
	color: #FF9933;
	font-size: 1.2em;
}

td.kuva
{
	width: 30%;
	border: none;
	height: 100%;
	
}

/*ryhmäperiaate-sisätaulukon rivit:*/

/*#row1
{
	height: 25%;
}

*#row2
{
	height: 75%;
}*/

a.periaatteet:link
{
	color: #e7e7e7;
	text-decoration: underline;
}

a.periaatteet:visited
{
	color: #e7e7e7;
	text-decoration: underline;
}

a.periaatteet:active
{
	color: #000000;
	text-decoration: underline;
}

a.periaatteet:hover
{
	color: #000000;
	text-decoration: underline;
}

/*periaatteiden otsikoiden muotoilut*/
font.perotsake
{
	font-weight: bold;
	
}

font.kaupots
{
	font-size: 1.5em;
}




	
