body
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: black;
	padding: 0;
	margin: 0;
	background-image: url("/layout/body.png");
	background-color: white;
	background-repeat: repeat-x;
}

#container
{
	border: 0;
	margin: 0;
	width: 720px;
}

#top
{
	padding: 0;
	margin: 0;
}

#menu
{
	padding: 0;
	margin: 20px 10px;
	float: left;
}

#menu ul
{
	display: block;
	padding: 0;
	margin: 0;
	width: 160px;
	background-image: url("/layout/menu.png");
	background-repeat: repeat-y;
	background-position: top right;
}

#menu ul li
{
	display: inline;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: right;
}

#menu ul li a:link, #menu ul li a:active, #menu ul li a:visited
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	display: block;
	color: #37418a;
	background-color: transparent;
	padding: 4px 28px 4px 4px;
	margin: 0;
}

#menu ul li a:hover
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	display: block;
	color: white;
	background-color: black;
	background-image: url("/layout/menu_hover.png");
	background-repeat: repeat-y;
	background-position: top right;
	padding: 4px 28px 4px 4px;
	margin: 0;
}

#menu li li a:link, #menu li li a:active, #menu li li a:visited
{
	font-size: 10px;
	background-image: url("/layout/submenu.png");
	background-repeat: repeat-y;
	background-position: right;
	padding: 4px 34px 4px 4px;
}

#menu li li a:hover
{
	font-size: 10px;
	background-image: url("/layout/submenu_hover.png");
	background-repeat: no-repeat;
	background-position: right;
}

#menu li.selected a:link, #menu li.selected a:active, #menu li.selected a:visited, #menu li.selected a:hover
{
	color: white;
	background-color: #37418a;
	background-image: url("/layout/menu_selected.png");
	background-repeat: repeat-y;
	background-position: top right;
}

#menu li li.selected a:link, #menu li li.selected a:active, #menu li li.selected a:visited, #menu li li.selected a:hover
{
	color: white;
	background-color: #37418a;
	background-image: url("/layout/submenu_selected.png");
	background-repeat: repeat-y;
	background-position: right;
}

#menu li li.last a:link, #menu li li.last a:active, #menu li li.last a:visited
{
	color: #37418a;
	background-color: white;
	background-image: url("/layout/submenu2.png");
	background-repeat: repeat-y;
	background-position: right;
}

#menu li li.last a:hover
{
	color: white;
	background-color: black;
	background-image: url("/layout/submenu2_hover.png");
	background-repeat: repeat-y;
	background-position: right;
}

#menu li li.selectedlast a:link, #menu li li.selectedlast a:active, #menu li li.selectedlast a:visited, #menu li li.selectedlast a:hover
{
	color: white;
	background-color: #37418a;
	background-image: url("/layout/submenu2_selected.png");
	background-repeat: repeat-y;
	background-position: right;
}

#menu li.submenu ul
{
	border-top: 2px solid #37418a;
}

#menu h1
{
	font-family: "Gill Sans MT", "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 40px;
	text-align: center;
	color: black;
	background-image: url("/layout/number.png");
	background-repeat: no-repeat;
	width: 114px;
	padding: 30px 0 42px 0;
	margin-left: 24px;
}

#content
{
	padding: 15px 5px;
	width: 500px;
	margin-left: 175px;
}

#content h1
{
	font-family: "Gill Sans MT", "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 24px;
	color: #ff9000;
	margin-top: 4px;
}

#content h2
{
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #37418a;
}

#content h3
{
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #37418a;
}

#content p, #content li, #content dd, #content td
{
	font-family: Georgia, Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: black;
}

#content li
{
	margin-bottom: 0.5em;
	list-style-type: square;
}

#content dt
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: white;
	background-color: #37418a;
	padding: 2px 12px;
}

#content dd
{
	margin-top: 2px;
	margin-bottom: 4px;
}

#content hr
{
	border: 0;
	background: #565FA6;
	height: 3px;
}

#content div.side
{
	float: right;
	margin: 8px;
	width: 160px;
	text-align: center;
}

#content div.kuvagalleria
{
	margin-left: 28px;
	width: 532px;
}

#content a:link.item, #content a:active.item, #content a:visited.item, #content a:hover.item
{
	border: 1px solid black;
	float: left;
}

#content a:hover.item
{
	border-color: red;
}

#content .item {
	float: left;
	margin: 0 2px 2px 0;
}

#content table.navi {
	width: 500px;
}

#content table.navi td.left {
	width: 100px;
	text-align: left;
}

#content table.navi td.center {
	text-align: center;
}

#content table.navi td.right {
	width: 100px;
	text-align: right;
}

#content .time {
	font-size: 11px;
	color: #999999;
}

#figure {
	position: absolute;
	top: 30px;
	left: 700px;
}

#bottom
{
	padding: 0;
	margin: 0 0 30px 0;
}

#bottom h1
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: black;
	padding: 4px 10px;
	margin: 0;
	border-top: 1px solid #37418a;
}

.spacer
{
	clear: both;
}

a:link, a:active, a:visited
{
	font-weight: bold;
	text-decoration: underline;
	color: #555EA5;
}

a:hover
{
	font-weight: bold;
	text-decoration: none;
	color: red;
}

.spacer {
	clear: both;
	margin: 0;
	padding: 0;
	height: 12px;
}
