html,body
{
	margin: 0;
	padding: 0;
	height: 100%;
}

body
{
	font-family: arial, arial;
	font-size: 14px;
	color: #454545;
	
	background: url('layout/bck.png');
	background-repeat: repeat-x;	
	background-color: #3e424f;
	line-height: 20px;
}
#content
{
	position: relative;
	top: 9px;
	bottom: 0px;
	margin: 0 auto;
	width: 990px;
	background: url(layout/footer.png);
	background-repeat: no-repeat;
	background-position: bottom;
	background-color: #ffffff;
	min-height:  860px;
	
}

#footer
{
	position: relative;
	top: 9px;
	bottom: 0px;
	margin: 0 auto;
	width: 990px;
	color: #fff;
	

	height:  25px;
	
}

#logo
{
	position: relative;
	top: 15px;
	left: 30px;
}
#slogan
{
	position: relative;
	top: 15px;
	left: 30px;
}
#menu
{
	top: -9px;
	position: relative;
	right: 25px;
	float: right;
	font-size: 13px;
	font-weight: bold;
}

.grayborder
{
	position: relative;
	top: 15px;
	left: 30px;
	width: 930px;
	height: 8px;
	border-bottom:1px solid #d3d3d3;
	
}

	.middot
	{
		position: relative;
		top: -2px;
	}
.grayborder2
{
	position: relative;
	top: 290px;
	left: 30px;
	width: 930px;
	height: 8px;
	border-bottom:1px solid #d3d3d3;
	
}
#mainbox1_wrapper
{
	position: relative;
	left: 30px;
	top: 35px;
	text-align:right;
	float: left;
	
}
#mainbox2_wrapper
{
	position: relative;
	left: 35px;
	top: 35px;
	text-align:right;
	float: left;
	
}
.mainbox1
{
	
	width: 460px;
	height: 234px;
	background: url('layout/mainbox2_bck.png');
	position: relative;
	
	
	
	
}

.mainbox2
{
	
	width: 460px;
	height: 234px;
	background: url('layout/mainbox2_bck.png');
	position: relative;
	
	
	
}
.mainbox_shadow
{
	width: 450px;
	height: 42px;
	background: url('layout/mainbox_shadow.png');
	position: relative;
}
.mainbox_text
{
	position: relative;
	left: 20px;
	top: 10px;
	width: 410px;
	text-align:left;
	color: #ffffff;
	line-height: 18px;
	font-size: 13px;
}

.mainbox_arrow
{
	position: relative;
	top: -10px;
	right: 20px;
	
}
.t_header
{
	color: #387cb7;
	font-size: 20px;
	font-weight: bold;
	
}

.t_header_frontti
{
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
}

.t_header_inline
{
	color: #387cb7;
	font-size: 16px;
	font-weight: bold;
}

.news_header
{
	font-weight: bold;
}

#main_content
{
	height: 100%;
}

#main_content table
{
	position: relative;
	top: 50px;
	
	width: 930px;
	margin: 0 auto;
}

#main_content_other table
{
	position: relative;
	top: 30px;
	width: 920px;
	margin: 0 auto;
	left: 10px;
}

#alamainos table
{
	position: relative;
	top: 25px;
	width: 600px;
	
	
}

#footer
{
	position: relative;
	bottom: 1px;
	width: 990px;
	text-align: center;
}

.main_text
{
	padding: 10px;
}

.text_ajankohtaista
{
	padding: 10px;
	text-align: center;
}

.selitys
{
	
}
table
{
	border-collapse: collapse;
	border: 0px;
	position: relative;
	top: -1px;
	padding: 0px;
	margin: 0px;

}
#bordershow table tr td
{

	border: 1px solid #000;
	position: relative;

	padding: 0px;
	margin: 0px;
}
#bordershow tr
{

	border: 1px solid #000;
	position: relative;

	padding: 0px;
	margin: 0px;
}
#bordershow td
{

	border: 1px solid #000;
	position: relative;

	padding: 0px;
	margin: 0px;
}
td
{
	border-collapse: collapse;
	border: 0px;

	padding: 0px;
	margin: 0px;
	text-valign: top;
}

a
{
	position: relative;
	color:#454545;
	text-decoration: underline;
	
}
a:link
{
	color:#387cb7;
	text-decoration: underline;
}
a:active
{
	color:#387cb7;
	text-decoration: underline;
}
a:visited
{
	color:#387cb7;
	text-decoration: underline;
}
a:hover
{
	color:#454545;
	text-decoration: none;
}

.t_header a
{
	text-decoration: underline;
	color:#387cb7;
	
}
.t_header a:link
{
	
	text-decoration: underline;
	color:#387cb7;
}
.t_header a:active
{
	
	text-decoration: underline;
	color:#387cb7;
}
.t_header a:visited
{
	text-decoration: underline;
	text-decoration: none;
}
.t_header a:hover
{
	color:#454545;
	text-decoration: none;
}

.t_header_inline a
{
	text-decoration: underline;
	color:#387cb7;
	
}
.t_header_inline a:link
{
	
	text-decoration: underline;
	color:#387cb7;
}
.t_header_inline a:active
{
	
	text-decoration: underline;
	color:#387cb7;
}
.t_header_inline a:visited
{
	color:#387cb7;
	text-decoration: underline;
}
.t_header_inline a:hover
{
	color:#454545;
	text-decoration: none;
}


#alamainos a
{
	text-decoration: none;
	color:#387cb7;
	
}
#alamainos a:link
{
	
	text-decoration: none;
	color:#387cb7;
}
#alamainos a:active
{
	
	text-decoration: none;
	color:#387cb7;
}
#alamainos a:visited
{
	color:#387cb7;
	text-decoration: none;
}
#alamainos a:hover
{
	color:#454545;
	text-decoration: none;
}



#menu a
{
	position: relative;
	color:#454545;
	text-decoration: none;
	padding-left:5px;
	padding-right: 5px;

	
}
#menu a:link
{
	color:#454545;
	text-decoration: none;
}
#menu a:active
{
	color:#454545;
	text-decoration: none;
}
#menu a:visited
{
	color:#454545;
	text-decoration: none;
}
#menu a:hover
{
	color:#387cb7;
	text-decoration: none;
}


.mainbox_text a
{
	position: relative;
	color:#454545;
	text-decoration: none;


	
}
.mainbox_text a:link
{
	color:#ffffff;
	text-decoration: none;
}
.mainbox_text a:active
{
	color:#ffffff;
	text-decoration: none;
}
.mainbox_text a:visited
{
	color:#ffffff;
	text-decoration: none;
}
.mainbox_text a:hover
{
	color:#454545;
	text-decoration: none;
}

img
{
	border: 0px;
}

