body { 
	text-align: center;
	background: #f3f4f8 url(layout/bg.jpg) repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #333;
	margin-top: 0px;
	margin-bottom: 0px;
}
/* main web div styles */
#cont {
	margin: 0px auto 0px auto;
	text-align: left;
	width: 970px;
	background: #fff url(layout/bg_cont.gif) repeat-y;
}
#top {
	width: 940px;
	height: 70px;
	text-align: right;
	padding-top: 15px;
	padding-right: 30px;
	background: url(layout/top.jpg) no-repeat top;
}
#topfin {
	width: 950px;
	height: 70px;
	text-align: right;
	padding-top: 15px;
	padding-right: 20px;
	background: url(layout/topfin.jpg) no-repeat top;
}
#topclear {
	width: 930px;
	height: 70px;
	text-align: right;
	padding-top: 15px;
	padding-right: 40px;
	background: url(layout/topclear.jpg) no-repeat top;
}
#main {
	width: 970px;
	height: 100%;
	_background: url('layout/textbox.png') no-repeat bottom right;
}
#left {
	width: 392px;
	height: 100%;
	position: relative;
	float: left;
}
#right {
	width: 578px;
	height: 100%;
	position: relative;
	float: right;
}
#bottom {
	width: 970px;
	height: 86px;
	clear: both;
	background: url(layout/bottom.jpg) no-repeat top right;
}
#pagepic {
	width: 392px;
	height: 351px;
}
#logo {
	width: 392px;
	height: 100%;
}
#leftleft {
	width: 49px;
	height: 212px;
	position: relative;
	float: left;
}
#lang {
	width: 170px;
	height: 40px;
	padding-left: 408px;
	padding-top: 49px;
	font-size: 0.9em;
	background: url(layout/right_top.jpg) no-repeat top;
}
* html #lang { 
	height: 30px;
	padding-top: 59px;
}
*:first-child+html #lang { 
	height: 30px;
	padding-top: 59px;
}
#rightright {
	width: 68px;
	height: 100%;
	position: relative;
	float: right;
}
#textbox {
	width: 470px;	
	height: 100%;
	min-height: 520px;
	padding-left: 39px;
	position: relative;
	float: left;
	background-color: transparent;
}
html>body #textbox {
	background: url('layout/textbox.jpg') no-repeat bottom right;
}
* html #textbox { 
	padding-left: 31px;
}
*:first-child+html #textbox { 
	padding-left: 39px;
}
#sublinks {
	width: 50%;
	padding-bottom: 30px;
	position: relative;
	float: left;
}
#subright {
	z-index: 5;
	width: 45%;
	padding-bottom: 30px;
	text-align: left;
	float: right;
}
#content {
	width: 100%;
	height: 100%;
	clear: both;
}
#text {
	min-width: 200px;
	float: left;
}
#imgver {
	width: 175px;
	float: right;
}
#imghor {
	clear: both;
}
#news {
	width: 450px;
	height: 100%;
	clear: both;
}
#news1 {
	width: 220px;
	height: 100%;
	padding-right: 5px;
	color: #003366;
	position: relative;
	float: left;
}
#news2 {
	width: 220px;
	height: 100%;
	padding-left: 5px;
	color: #003366;
	position: relative;
	float: right;
}
#persoona {
	text-align: right;
	padding-right: 80px;
	margin-top: -25px;
}
/* link styles */
a:active, a:focus {
	border: none;
	outline: none;
}
#top a, #topfin a, #topclear a {
	font-size: 0.9em;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	voice-family:"\"}\"";
	voice-family:inherit;
}
/*end*/
/*\*/
html*#top a, html*#topfin a, html*#topclear a {
	[padding-left: 10px;
	padding-left: 7px;
	]padding-left: 10px;
	[padding-right: 10px;
	padding-right: 7px;
	]padding-right: 10px;
}/*end*/
.dummyend[id]{clear:both;}
/*\*/
* html #top a, * html #topfin a, * html #topclear a {
	padding-left: 10px;
	padding-right: 10px;
}
#logo a {
	font-size: 1.1em;
	font-weight: normal;
	padding-left: 120px;
	display: block;
	line-height: 140%;
	text-decoration: none;
}
#sublinks a {
	font-size: 1.1em;
	font-weight: normal;
	display: block;
	line-height: 140%;
	text-decoration: none;
	background: url('layout/arrow.gif') no-repeat left;
	padding-left: 12px;
}
#subright a {
	font-size: 0.9em;
	font-weight: normal;
	display: block;
	line-height: 160%;
	text-decoration: none;
	background: url('layout/arrow_small.gif') no-repeat left;
	padding-left: 7px;
}
#top a, #topfin a, #topclear a {
	color: #345c86;
	text-decoration: none;
}
a.act {
	color: #660099;
	text-decoration: none;
}
p#newsheader a {
	font-weight: normal;
}
a {
	outline: none;
	text-decoration: underline;
	color: #003366;
}
a:hover, #sublinks a:hover, #top a:hover, #topfin a:hover, #topclear a:hover {
	text-decoration: none;
	color: #660099;
}
#persoona a, #persoona a:hover {
	color: #ccc;
	text-decoration: none;
}
/* paragraph styles */
h1 {
	font-size: 1.3em;
	color: #003366;
	font-weight: bold;
}
h2 {
	font-size: 1.1em;
	color: #003366;
	font-weight: bold;
}
h2.ajankohtaista { margin: 5px 0; }
h2.ajankohtaista a { text-decoration: none; }
#logo p {
	font-size: 0.9em;
	margin-top: -1px;
	padding-left: 130px;
	color: #003366;
}
p#date {
	margin-bottom: -12px;
}
* html p#date { 
	margin-bottom: -19px;
}
*:first-child+html p#date { 
	margin-bottom: -19px;
}
p#newsheader {
	font-weight: bold;
}
p.floater {	float: right; }
p.red { color: #996666; }
p.imgtext { font-style: italic; }
p.small { font-size: 80%; }
*:first-child+html p.small { margin-top: -15px; } 
* html p.small { margin-top: -15px; } 
/* misc styles */
select#jobs {
	width: 200px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	border: 1px solid #cccccc;
}
.txtfield {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	padding: 4px;
	border: 1px solid #cccccc;
}
img { border: 0px; }
img.pw { padding-left: 100px; }
img.ipw { padding-left: 70px; }
img#newsline { margin-left: -20px; }
img.small {
	border: 1px solid #ccc;
	margin: 20px 0px 10px 10px;
	float: right;
}
img.smallmany {
	border: 1px solid #ccc;
	margin: 1px;
}
img.big {
	border: 1px solid #ccc;
}
img.personnel {
	border: 1px solid #ccc;
	margin: 15px 20px 200px 20px;
	float: left;
}
/* button styles */
.buttonpale {
	font-size: 0.7em;
	font-family: Arial, Helvetica, sans-serif;
	background : #ffffff;
	color : #ccc;
}
.custom {
	padding: 0px;
	margin: 0px;
	border: none;
	background: none;
	cursor: pointer;
}
* html .custom {cursor:hand;} 
/* hallinta styles */
#logincont {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: left;
	width: 520px;
	height: 302px;
	background: url(layout/login_bg.jpg) no-repeat top;
}
#login {
	padding-left: 280px;
	padding-top: 130px;
}
#logintext {
	padding-left: 10px;
	padding-top: 80px;
}
#btlogin { padding-left: 85px; }
#btsend { padding-left: 350px; }
#adminsave { padding-left: 385px; }
/* RTE styles */
.rteImage {
	background: #ffffff;
	border: 1px solid #D3D3D3;
	cursor: pointer;
	cursor: hand;
}
.rteImageRaised, .rteImage:hover {
	background: #ffffff;
	border: 1px outset;
	cursor: pointer;
	cursor: hand;
}
.rteImageLowered, .rteImage:active {
	background: #ffffff;
	border: 1px inset;
	cursor: pointer;
	cursor: hand;
}
.rteVertSep {
	margin: 0 4px 0 4px;
}
.rteBack {
	background: #ffffff;
	letter-spacing: 0;
	padding: 2px;
}
.rteBack tbody tr td, .rteBack tr td {
	background: #ffffff;
	padding: 2px;
}