﻿body {
	color: black;
	background-color: white;
	margin: 0;
	padding: 0;
	font: normal 75% Arial, Helvetica, sans-serif;
}

/*******************************************
 *
 *   Yleiset
 */

h1, h2, h3, h4, h5 {
	color: #316696;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 100%;
	margin: 0;
	padding: 0;
}

h1 {
	padding-top: 30px;
	margin-bottom: 1.6em;
}

h2, h3 {
	margin-top: 1.6em;
}

h2 {
	margin-bottom: 0.4em;
}

h3 {
	margin-bottom: 0.2em;
}

h5 {
	padding-top: 1em;
	margin-bottom: -0.2em;
	text-align: left;
}


p {
	margin: 0 0 1.6em 0;
	line-height: 1.3em;
	padding: 0;
}

a:link, a:visited {
	color: #316696;
	text-decoration: none;
}

a:hover, a:active {
	color: #316696;
	text-decoration: underline;
}

img {
	border: 0;
	margin: 0;
	padding: 0;
}

hr {
	margin: 0.6em 65px 0.6em 30px;
}

/*******************************************
 *
 *   Layout
 */
 
#wrapper {
	width: 700px;
	margin: 0 auto;
	padding: 0;
}

#header {
	margin: 0 auto;
	background: #4c5f9c url('../images/template/header-background.gif') no-repeat top left;
	color: white;
	height: 97px;
	clear: both;
}

#content {
	clear: both;
	position: relative;
	width: 700px;
	height: 100%;
	background: white url('../images/template/sidebar-background.gif') repeat-y top left;
}


#sidebar {
	width: 135px;
	min-height: 465px;
	height: auto !important;
	height: 465px;
	float: left;
	color: white;
	font-size: 95%;
}

#main {
	position: relative;	
	width: 565px;
	min-height: 465px;
	height: auto !important;
	height: 465px;
	float: left;
	padding-bottom: 1em;
}

#separator {
	height: 10px;
	background: #4c5f9c url('/images/template/separator-background.gif') repeat-x top left;
	line-height: 10px;
	clear: both;
	margin-top: 4px;
}

#footer {
	clear: both;
	margin-bottom: 2em;
}
/*******************************************
 *
 *   Navigaatio
 */

#sidebar ul {
	margin: 0 0 0 20px;
	padding: 0px;
	list-style-type: none;
}

#sidebar ul li {
	margin: 0 0 5px;
	padding: 0;
	text-indent: -0.6em;
}

#sidebar ul li a {
	color: white;
}

#sidebar p {
	margin: 14px 0 4px 8px;
}

#sidebar ul li a.active {
	text-decoration: underline;
}
#sidebar p a.active {
	text-decoration: underline;
	color: white;
}

#sidebar p a {
	text-decoration: none;
	color: white;
}



/*******************************************
 *
 *   Sisältöpalikat
 */

#header p {
	margin: 0;
	padding: 0;
	line-height: 1em;
}

#header img#logo {
	margin: 23px 0 0 23px;
	vertical-align: top;
}
#header img#logotext {
	margin: 36px 0 0 23px;
	vertical-align: top;
}

#main p, #main h1, #main h2, #main h3 {
	margin-left: 30px;
	margin-right: 65px;
}

#main p {
	padding-right: 16px;
}


#main ul li, #main ol li {
	margin-left: 16px;
	padding: 3px;
}

#main h4 {
	margin: 0px 4px 1em 4px;
	padding-left: 26px;
	height: 1.6em;
	line-height: 1.6em;
	color: white;
	background: #4c5f9c url('../images/template/heading-background.gif') repeat-x bottom left;
}

#footer p {
	margin: 4px 0 0 88px;
}

div.newsEntry {
	margin-bottom: 2.4em;
}

/*******************************************
 *
 *   Taulukko
 */
table.sample {
	border-width: 0px;
	border-spacing: ;
	border-style: none;
	border-color: none;
	border-collapse: separate;
	background-color: white;
}
table.sample th {
	border-width: 0px;
	width: 220px;
	padding: 1px;
	background-color: white;
	text-align: left;
	vertical-align: baseline;
	
}
table.sample td {
	border-width: 0px;
	padding: 1px;
	background-color: white;
	-moz-border-radius: ;
}




/*******************************************
 *
 *   Fiksaukset / spessukeissit
 */

#content:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;	
}

