/* andreas09 v1.0 (Dec 10th 2005) - An open source template by Andreas Viklund - http://andreasviklund.com. Free to use for any purpose as long as the proper credits are given to the original author. */
/* modified by E.Pulkkinen / Peartek Oy, Finland. */

body {
background-color: #859A91;
color:#303030;
font:76% Verdana,Tahoma,Arial,sans-serif;
margin:0;
padding:0;
text-align:center;
}

a {
color:#505050;
font-weight:bold;
text-decoration:none;
}

a:hover {
color:#808080;
text-decoration:underline;
}

p {
line-height:1.1em;
margin:0 0 15px;
}

/*** Main container ***/

#container {
background:#BEC9C5 url(../img/bodybg.jpg) repeat-x;
color:#303030;
margin:0;
min-width:770px;
padding:0;
text-align:left;
width:100%;
}

#container.wide {
min-width:940px;
}

/*** Header section ***/

#sitename {
color:#191486;
height:102px;
margin:0 20px 0;
text-align:left;
}

#sitename h1,#sitename h2 {
font-weight:500;
letter-spacing:0px;
margin:0;
padding:0;
}

#sitename h1 {
font-size:2.4em;
padding-top:20px;
}

#sitename h2 {
font-size:1.6em;
}

/*** Horizontal menu ***/

#mainmenu {
float:left;
margin-bottom:25px;
}

#mainmenu ul {
font-size:16px;
margin:0;
padding:0;
}

#mainmenu li {
float:left;
height:35px;
list-style:none;
margin:0;
padding:0;
}

#mainmenu a {
border-right:1px solid #b0b0b0;
color:#606060;
display:block;
font-size:0.7em;
padding:11px 10px 10px;
}

#mainmenu a:hover {
background:#f0f0f0 url(../img/menuhover.jpg) top left repeat-x;
color:#d0d0d0;
text-decoration:none;
}

#mainmenu a.current {
background:#f0f0f0 url(../img/menucurrent.jpg) top left repeat-x;
color:#000000;
text-decoration:none;
}

/*** Content wrap ***/

#wrap {
clear:both;
font-size:0.9em;
padding:0;
}

/*** Sidebars ***/

#leftside,#rightside {
margin:0;
padding:0 6px 10px;
}

#leftside {
width:150px;
float:left;
margin-right:10px;
}

#rightside {
width:185px;
float:right;
margin-left:10px;
}

#newswindow {
background-color: #BEC9C5;
background:#BEC9C5;
color:#303030;
margin:0;
padding:0;
text-align:left;
width:100%;
}

#leftside h1,#rightside h1,#newswindow h1 {
color:#505050;
font-size:1.6em;
font-weight:bold;
letter-spacing:-1px;
margin:0 0 12px;
}

#leftside h2,#rightside h2 {
font-size:1.1em;
margin:0 0 20px;
}

#leftside p,#rightside p,#newswindow p {
font-size:0.9em;
line-height:1.4em;
margin:10px 0 16px 10px;
}

.news {
font-size:0.9em;
line-height:1.4em;
margin:10px 0 16px 10px;
list-style-type: square;
}

.linklist {
list-style:none;
margin:0 0 16px 10px;
padding:0;
}

.linklist li {margin-bottom:0.7em;}

/*** Sidebar menu ***/

.nav
{
   font-size:12px;
   font-family:Verdana,sans-serif;
   font-weight:bold;
   color:#606060;
   width:143px;
   height:35px;
   background:url('../img/bttn1.jpg');
   background-repeat:no-repeat;
   border-style:none;
}

.nav:hover
{
   font-size:12px;
   font-family:Verdana,sans-serif;
   font-weight:bold;
   color:#d0d0d0;
   width:143px;
   height:35px;
   background:url('../img/bttn3.jpg');
   background-repeat:no-repeat;
   border-style:none;
}

.active
{
   font-size:12px;
   font-family:Verdana,sans-serif;
   font-weight:bold;
   color:#000000;
   width:143px;
   height:35px;
   background:url('../img/bttn2.jpg');
   background-repeat:no-repeat;
   border-style:none;
}

.sub
{
   margin:0 0 0 23px;
   font-size:12px;
   font-family:Verdana,sans-serif;
   font-weight:bold;
   color:#606060;
   width:120px;
   height:28px;
   background:url('../img/bttnsub1.jpg');
   background-repeat:no-repeat;
   border-style:none;
}

.sub:hover
{
   margin:0 0 0 23px;
   font-size:12px;
   font-family:Verdana,sans-serif;
   font-weight:bold;
   color:#d0d0d0;
   width:120px;
   height:28px;
   background:url('../img/bttnsub3.jpg');
   background-repeat:no-repeat;
   border-style:none;
}

/*** Content ***/

#content,#contentalt,#pictures {
background-color:#fafcff;
border:1px solid #909090;
color:#2a2a2a;
padding:15px 20px 5px;
}

#content,#pictures {margin:0 210px 0px 160px;}
#contentalt {margin:0 180px 0 20px;}

#content h1,#content h2,#contentalt h1,#contentalt h2,#pictures h1,#pictures h2 {
background-color:inherit;
color:#606060;
font-size:1.8em;
font-weight:bold;
letter-spacing:-1px;
margin:0 0 15px;
padding:0;
}

#content h2,#contentalt h2,#pictures h2 {
font-size:1.6em;
margin-bottom:10px;
}

#content img,#contentalt img {
border:1px solid #b0b0b0;
float:right;
margin:5px 15px 6px;
padding:5px;
}

#pictures img {
border:1px solid #b0b0b0;
margin:5px 15px 6px;
padding:5px;
}

#content img.photo,#contentalt img.photo {
border:0px solid #b0b0b0;
float:left;
margin:0;
padding:0;
}

#content td,#contentalt td,#content th,#contentalt th,#pictures th {
font-size:0.7em;
vertical-align:top;
text-align:left;
margin-bottom:10px;
}


/*** Footer ***/

#footer {
background:#8b8b8b url(../img/footerbg.jpg) top left repeat-x;
clear:both;
color:#606060;
font-size:0.9em;
font-weight:bold;
margin:0;
padding:20px 0;
text-align:center;
width:100%;
}

#footer a {
color:#606060;
font-weight:bold;
}

/*** Various classes ***/

.thumbnail {
background:#fafbfc;
border:1px solid #b0b0b0;
margin:0 0 10px 10px;
padding:5px;
}

.yle {margin:0 0 16px;}

.searchform {margin:0;}

.searchtype {margin:0 2px 5px 0;}

.searchbox {
background:#f0f0f0;
border:1px solid #b0b0b0;
margin:0 4px 0 0;
width:110px;
}

.searchbutton {
background:#f0f0f0;
border:1px solid #b0b0b0;
}

.clearingdiv {
clear:both;
height:30px;
width:1px;
}

.hide {display:none;}


/*** Text format ***/

.intro {
line-height:1.3em;
font-size:1.1em;
font-weight:bold;
letter-spacing:-1px;
}

.small {font-size:0.8em;}
.large {font-size:1.4em;}
.center {text-align:center;}
.right {text-align:right;}

/*** End of file ***/