﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
	background-color: #5c87b2;
	font-size: 0.84em;
	font-family: Verdana, Helvetica, Sans-Serif;
	margin: 0;
	padding: 0;
}

a:link {
	color: #034af3;
	text-decoration: underline;
}
a:visited {
	color: #505abc;
}
a:hover {
	color: #1d60ff;
	text-decoration: none;
}
a:active {
	color: #12eb87;
}

p, ul {
	margin-bottom: 20px;
	line-height: 1.3em;
}

small {
	font-size: 75%;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	color: #000;
}

h1 {
	color: White;
	font-size: 50px;
	padding: 0;
	margin: 0;
	font-family: Monospace;
	margin-bottom: -5px;
}
h2 {
	font-size: 1.4em;
	padding: 0 0 5px 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
	max-width: 52em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	padding: 0 10px;
	position: relative; /* Enable absolute positioning of the right column */
}

#header {
	color: #000;
	padding: 0;
	margin-bottom: 0;
	position: relative; /* Enable absolute positioning of menu */
}

#main {
	padding: 1em 3em 1.5em 3em;
	margin-bottom: 30px;
	background-color: #fff;
	color: #000;
	border: 1px solid #333593;
}

#footer {
	color: #999;
	padding-top: 2em;
	margin-bottom: 0;
	margin-right: -1em;
	text-align: right;
	font-size: .9em;
}

#left {
	width: 200px;
	position: absolute;
	left: -200px;
	top: 5em;
}

#right {
	width: 160px;
	position: absolute;
	right: -160px;
	top: 5em;
}

.sidebox {
	background-color: #CFDCE9;
	border: 1px solid #333593;
}

/* TAB MENU   
----------------------------------------------------------*/

#menucontainer {
	position: absolute;
	/*float: right;*/
	bottom: 0;
	right: 0; 
}

ul#menu {
	margin: 0;
	text-align: right;
}

ul#menu li {
	display: inline;
	list-style: none;
}

ul#menu li a {
	line-height: 2.5em;
	padding: 0.26em 1.1em;
	font-weight: bold;
	text-decoration: none;
	background-color: #CFDCE9;
	color: #034af3;
	margin: 0;
	border: 1px solid #333593;
}

ul#menu li a:hover, ul#menu li.selected a {
	background-color: #fff;
	text-decoration: none;
	border-bottom-color: White;
	z-index: 2;
	
}

ul#menu li a:active {
	background-color: #a6e2a6;
	text-decoration: none;
}

/* ----------------------------------------------------------------- */
/* News */

ul.leftlist {
	padding: 0;
	margin: 0 0.4em 1em 0.6em;
	line-height: 1.1em;	
	font-family: Arial, Sans-Serif;
}
ul.leftlist li {
	list-style: none;
}
ul.leftlist .date {
	margin-top: 1.2em;
	margin-bottom: 0;
	font-size: 0.8em;
	font-style: italic;
}
ul.leftlist .header {
	font-weight: bold;
	margin-bottom: 0.2em;
}
ul.leftlist p {
	line-height: 1.1em;	
	margin-top: 0em;	
	margin-bottom: 0.4em;	
}

ul.leftlist .scheduledEvent {
	color: #669;
}

/* ----------------------------------------------------------------- */

table#perustiedot {
	color: #000;
	border-spacing: 0px;
	border-collapse: collapse;
}
table#perustiedot th {
	text-align: right;
	background-color: #CCC;
}
table#perustiedot tr.header th 
{
	text-align: left;
}
table#perustiedot .nyt 
{
	background-color: #ffb;
}

table#perustiedot td, th {
	border: 1px solid #5c87b2;
	padding: 0.2em 0.5em;
	margin: 0;
}

.chart {
	display: block;
	margin-top: 1em;
}
