body {
	margin: 0 auto;
	padding: 0;
	background: #FFFFFF url(images/ylaosa.jpg) repeat-x;
	font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
	color: #666666;
	height: 100%;
}
h1, h2, h3, h4, h5, h6{
	margin:0px;
	padding:0px;
	margin-top:10px;
	color: #003366;
}
h1 {
	text-transform: uppercase;
	margin-top:20px;
}
h2 {
	font-size: 18px;
}
h3 {
	letter-spacing: 2px;
	font-size: 11px;
	color:#0354c2;
}
p, blockquote, ul, ol {
	line-height: 14px;
	margin-left:30px;
	padding-left:0px;
}
blockquote {
	padding-left: 10px;
	font-style:italic;
}
a {
	color: #003366;
	text-decoration:none;
}
a:hover {
	text-decoration: underline;
}
  table {border:outset 0px; border-collapse:collapse}
  td    { border-bottom:solid 2px}


/* Ylaosa */
#header {
	width: 868px;
	height: 130px;
	margin: 0 auto;
	background: url(images/img02.jpg);
}
#headermenu{
	float:right;
	margin-right:25px;
	margin-top:20px;
	line-height:16px;
}
#headermenu li{
	list-style:none;
	line-height: 18px;
}
#lippu{
	height:13px;
	width:19px;
	float:left;
	margin-top:2px;
}

/* Sisalto */
#content {
	margin:0 auto;
 	position:relative;
	width: 866px;
	margin: 0 auto 0 auto;
	padding-top:10px;
	border: 1px solid #003366;
	border-top:none;
	background-color:#FFFFFF;
	padding-bottom:3px;

}
#box{
	margin: 0px;
	padding: 5px;
	position: relative;
	margin-left: auto;
	margin-right: auto;	
	text-align: left;
	width:80%;			/* <-- use this to tie width to viewport size */
	width:640px;				/* <-- use this for a set width */
	background-color: #ffffff;
	float:left;
}
#box2{
	position: relative;
	margin:0 auto;
	text-align: left;
	width:80%;			/* <-- use this to tie width to viewport size */
	width: 210px;				/* <-- use this for a set width */
	background-color: #ffffff;
	float:right;
}
#post{
	padding:10px;
	width:620px;	
}
#keski {
    text-align: center;
}
IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }
#content2{
	min-height: 505px;
	text-indent: 5px;
	width:640px;
	margin:0px;
	padding:0px;
	padding-bottom:10px;
	height: 100%;
}
#content2 h1{
	color:#0354c2;
	font-weight: bold;
	font-size: 18px;
	font-family: helvetica, geneva, arial, sans-serif;
}
#content2 p{
	color:#3b3b3b;
	font-size: 1em;
	line-height: 1.3em;
	font-family: arial, helvetica, sans-serif;
	padding:0px;
	margin:0;
	padding:5px;
}
#content3{
	background-color: transparent;
	padding:10px 2px 0px 2px;
}
#palsta1{
	width: 290px;
	float: left;
	padding-top:8px;
	padding-left:10px;
	padding-right:5px;
	background: url(images/img05.gif) repeat-y right;

}
#palsta2{
	width: 290px;
	float: right;
	padding-top:8px;
	padding-right:10px;

}
/* Sivuikkuna */
#links {
	float: right;
	width: 213px; 
	background: url(images/img05.gif) repeat-y;
}
#links p{
	padding:3px 10px 0px 0px;
	margin:0 auto;
}
#uutinen{
	padding:5px;
	padding-bottom:10px;
	background: url(images/img06.gif) repeat-x left top;
}
#uutinen ul{
	margin:0;
	list-style: none;
	text-align: left;
	list-style:none;
}
#links h1 {
	color:#FFFFFF;
	font-size:20px;
	background: url(images/img07.gif) repeat left bottom;
	text-indent: 5px;
	padding:0px;
	margin-top:0px;
}
#links h2 {
	background: url(images/img06.gif) repeat-x left bottom;
	padding: 3px 0 0 3px;
	font-size: 14px;
}
#links h5{
padding-top:10px;
	padding-bottom:0px;
	margin:0;
	text-align:right;
	font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
	padding-right:10px;
}
#yhteys{
	padding:0px;
	margin:0px;
	padding-bottom:10px;
}
/* Alaosa */
#footer {
	width: 864px;
	height: 2px;
	margin: 0 auto;
	margin-bottom:20px;
	padding: 5px 0 0 0;
	text-align: center;
	color: #003366;
}
/*  Valikko */
#menu{
	margin: 0 auto;
	padding:0;
	width: 866px;
	background: transparent;
	height:26px;
	border: 1px solid #003366;
	border-bottom:none;
	background-image:url(images/img070.gif);
}
#menu ul{
	text-align:center;
	margin:0 auto;
	padding:0;
	list-style:none;
	width:864px;
	height:26px;
}

#menu li {
	display:inline;
	margin:0;
	padding:0;
	text-transform: uppercase;
}
#menu a{
width:108px;
height:26px;
float:left;
color: #FFFFFF;
background: url(images/menunappi.gif) no-repeat left top;
margin:0 0px 0 0;
padding:5px 0 0px 0px;
text-decoration:none;
letter-spacing: 1px;
}
#menu a span{
float:left;
display:block;
background: transparent url(images/menunappi.gif) no-repeat right top;
padding:4px 9px 2px 0px;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#menu a span {float:none;}
#menu a:hover{
background-position:0 -108px;;
}
#menu a:hover span{
background-position:0 -108px;
}
#menu #current a{ 
background-position:0 -108px;
}
#menu #current a span {
background-position:100% -108px;
color: black;
}
#menu a:hover {
background-position:right top;
}
#menu a:hover span {
background-position:100% -108px;
}
/* ---=== Pyöristetyt kulmat ===--- */
/*
	tlc = top left corner
	trc = top right corner
	blc = bottom left corner
	brc = bottom right corner
	lb = left border
	rb = right border
	tb = top border
	bb = bottom border 
*/

#tlc, #trc, #blc, #brc
	{
	background-color: transparent;
	background-repeat: no-repeat;
	}
#tlc
	{
	background-image:url(images/images/tlc.gif);
	background-position: 0% 0%;
	}
#trc
	{
	background-image:url(images/images/trc.gif);
	background-position: 100% 0%;
	}
#blc
	{
	background-image:url(images/images/blc.gif);
	background-position: 0% 100%;
	}
#brc
	{
	background-image:url(images/images/brc.gif);
	background-position: 100% 100%;
	}
#tb, #bb
	{
	background-color: transparent;
	background-repeat: repeat-x;
	}		
#tb
	{
	background-image:url(images/images/tb.gif);
	background-position: 0% 0%;
	}
#bb
	{
	background-image:url(images/images/bb.gif);
	background-position: 50% 100%;
	}
#rb
	{
	background-image:url(images/images/r.gif);
	background-position: 100% 0%;
	background-repeat: repeat-y;
	}
#lb
	{
	background-color: #eeeeee;
	background-image:url(images/images/l.gif);
	background-position: 0% 100%;
	background-repeat: repeat-y;
	}
	