/* body */

body.perus
{
	//background-color: #b9c9ff;
	background-color: #b9c9d9;
	font-family: arial;
}


div.links
{
	// background-color: #B0C4DE; /* LightSteelBlue */
 	// background-color: #6495ED; /* CornflowerBlue*/
	background-color: #B0DEAD;
	width: inherit;
 	text-align: center;
 	padding: 0px;
	margin: 0px;
}

div.links ul
{
 	list-style-type: none;
 	margin: 0px;
 	padding: 0px;
}

div.links li
{
 	display: inline;
 	margin: 0px;
 	padding: 0px;
}

div.links a
{
 	display: inline-block;
 	// min-width: 18%;
 	min-width: 104px;
}

div.links a:link, div.links a:visited
{
	font-size: 16px;
 	font-weight: bold;
 	color: #007007;
 	text-align: center;
 	padding: 6px;
 	text-decoration: none; /* removes underline */
	/* text-transform: capitalize; */
}

div.links a:hover, div.links a:active
{
 	/* background-color: #4169E1; */ /* Royal Blue*/
 	background-color: #00DEAD;
}

/* div.horizontal styles end */


/* h1 - h? */

h1
{
	text-align:left;
	margin-left:0.5cm;
	margin-right:0.5cm;
	color: #0099ff;
	font-size:150%;
}

h1.keski
{
	text-align:center;
	margin-left:0.5cm;
	margin-right:0.5cm;
	font-family: arial;
	color: #0099ff
}

h2 
{
	color: #0099ff;
}

h3.juhlanimi
{
	text-align:left;
	margin-left:0.5cm;
	margin-right:0.5cm;
	font-size: 120%;
	color: #0099ff
}



/* p */

p
{
	background-color:#ffffff;
	margin-right:0.5cm;
}

p.juhlakpl
{
	background-color:#ffffff;
	margin-right:0.5cm;
	margin-left:0.5cm;
}


/* menu */
table.menu
{
	background-color: #b9c9ff;
	width: 100%
}

ul.menu { list-style-type: none; }

p.menu
{
	background-color:#b9c9ff;
	font-family: arial;
}

.menu a { text-decoration: none; }
.menu a:hover {text-decoration: underline; }

p.basic
{
	background-color:#b9c9ff;
	font-family: arial;
	align: top;
}

p.footnote
{
	text-align: center;
	background-color:#b9c9ff;
	font-family: sans-serif;
	font-size: 80%;
}

p.lista { margin-bottom: 0.3cm; }


/* a */

A:link { color: blue }
A:visited { color: navy }
A:hover { text-decoration: none; }


/* table */

table#pohja2
{
	border-collapse: collapse;
	background-color: #FFFFFF;
	empty-cells: show;
}

table#pohja2, table#pohja2 td, table#pohja2 tr
{
	border: 2px solid black;
	height: 14px;
	min-width: 10px;
}

div#pohja2
{
	padding: 10px;
	min-width: 400px;
}

table.vuokra th { width: 100px; }

table.isoperus
{
	background-color: #000000;
	empty-cells: show;
	min-width: 400px;
}

table.et { width:480px; }

.teksti td  { background: #eef; }

td, th 
{
	vertical-align: top;
	text-align: left;
}

td.perus
{
	height: 12px;
	min-width: 10px;
	background-color: #ffffff
}

td.sivu
{
	width: 10em;
	background-color: #b9c9ff;
	vertical-align: top
}

td.teksti
{
	width: 40em;
	padding: 0.8em 2.2em;
	background-color: #ffffff;
	font-family: helvetica, arial;
}

.teksti table { border-spacing: 3px; }

.teksti td, .teksti th 
{ padding: 0.2em 0.1em; }

td.tekninen
{
	border: solid 0px;
	background-color:#b9c9ff;
}

/* ol ul li*/
li { margin: 0.1em 0.3em .8em 0; }
li li { margin: 0.1em 0.3em .6em 0; }

div.figure 
{
	text-align: right; 
	display: table;
}

div.figure img { display: block; }


/* pre */

pre.ajank { font-family: consolas, courier; }
pre.poem  { font-family: inherit; }

