*
{
padding: 0em;
margin: 0em;
}

html {
margin-bottom : 1px;
margin-top:0px;
padding-top:0px;
overflow-y: scroll;
height: 98%;
}


body
{
background:#dcdcdc url('images/topbg.png') top repeat-x;
padding: 5px 0px 5px 0px;
}

body,input
{
font-size: 10pt;
/*font-family: "georgia", "times new roman", serif;*/
font: 71% Verdana,Tahoma,Arial,sans-serif;
color: #333333;
}



p
{
line-height: 1.5em;
margin-bottom: 1.0em;
text-align: justify;
}

a
{
color: #166090;
text-decoration: underline;
}

a:hover
{
text-decoration: none;
}


#primarycontent h1
{
font-size: 1.4em;
margin-bottom:8px;
}

#primarycontent h2
{
font-size: 1.4em;
margin-bottom:8px;
}

h3 span
{
font-weight: normal;
}

h3,h4
{
display: inline;
font-weight: bold;
background-repeat: no-repeat;
background-position: right;
}

h3
{
font-size: 1.1em;
padding-right: 10px;
}

h4
{
font-size: 0.9em;
padding-right: 8px;
}

.contentarea
{
padding-top: 1.3em;
background: #fff url('images/alavalbg.jpg') no-repeat top left;
}

.uutisetbox
{
padding-top: 1.3em;
padding-left:5px;
padding-right:5px;
min-height:400px;
background: #fff7e0  url('images/uutistopbg.jpg') no-repeat top left;
}
.contentarea a /*valikko2*/
{
color: #166090;
text-decoration: underline;
}


img
{
border: solid 1px #6F5230;
}
img.noborder{
border:none;
border:0px;
}

#primarycontent img{
margin:4px; /* tekstialueella olevat kuvat, aina tilaa */
}

img.left
{
position: relative;
float: left;
margin: 0em 1.8em 1.4em 0em;
}

img.right
{
position: relative;
float: right;
margin: 0em 0em 1.8em 1.8em;
}

.divider1
{
position: relative;
background: #fff url('images/border2.gif') repeat-x;
height: 14px;
margin: 2.0em 0em 1.5em 0em;
clear: both;
}

.divider2
{
position: relative;
height: 1px;
border-bottom: solid 1px #eaeaea;
margin: 2.0em 0em 2.0em 0em;
}

.post .details
{
position: relative;
top: -1.5em;
font-size: 0.8em;
color: #787878;
}

.post ul.controls
{
clear: both;
}

.post ul.controls li
{
display: inline;
font-size: 0.8em;
}

.post ul.controls li a
{
background-repeat: no-repeat;
background-position: left;
padding: 0em 1.0em 0em 20px;
}

.post ul.controls li a.printerfriendly
{
background-image: url('images/icon-printerfriendly.gif');
}

.post ul.controls li a.comments
{
background-image: url('images/icon-comments.gif');
}

.post ul.controls li a.more
{
background-image: url('images/icon-more.gif');
}

.box
{
position: relative;
background: #FDFCF6 url('images/boxbg.gif') repeat-x;
left: -1.5em;
top: -1.5em;
padding: 1.5em;
border-bottom: solid 1px #E1D2BD;
margin-bottom: 1.0em;
}


/* ------------------------ VALIKKO2 ------------------------ */

ul.linklist
{
margin: 5px 0 10px 0;
padding: 0;
/* border-top: 2px solid #e0e0e0; */
display: block;
list-style: none;
font-size:12px;
font-weight:bold;
}

.linklistminkorkeus{
height:250px;
padding-top:35px;
}


ul.linklist li
{
list-style:none;
background: #f0f0f0;
/*background:transparent url(images/menu2libg.png) no-repeat top left; ei toimi*/
}
li.menu-first{
border-top: 2px solid #e0e0e0; 
}
ul.linklist li a
{
	display: block;
	padding: 2px 0 2px 8px;
	border-right: 2px solid #e0e0e0;
	border-bottom: 2px solid #e0e0e0;
	border-left: 2px solid #e0e0e0;

/*background:transparent url(images/menu2libg.png) no-repeat top left; ei toimi*/
}

ul.linklist li a:hover, ul.linklist li.menu-current a {
	text-decoration: none;
	background: #fff;
	border-bottom: 2px solid #c0c0c0;
	border-right: 2px solid #c0c0c0;
	border-left: 2px solid #fff;
}


#papillontausta{
position: fixed;
bottom: 5px;
right: 28px;
width: 100%;
height: 100%;
background:transparent url('images/yhdlogo.gif') no-repeat bottom right;
z-index: 1;
}

#outer
{
z-index: 2;
position: relative;
width: 900px;
background-color: #fff;
margin: 0 auto;
}

#header
{
position: relative;
width: 100%;
height: 210px;
background: #000;
}

#headercontent
{
font-family: "Arial Narrow", "Arial", serif;
padding: 5px auto auto 0px;
}


#headercontent h2
{
text-align:left;
font-size: 12px;
font-weight: normal;
color: #fff;
margin-left:5px;
float:left;
clear:both;
}
#pagedesc{
float:right;
font-size:10px;
color:#888;
margin-top:12px;
}

#search
{
position: absolute;
top: 5.5em;
right: 2.0em;
padding-right: 0.0em;
}

#search input.text
{
margin-right: 0.5em;
vertical-align: middle;
border-top: solid 1px #000000;
border-right: 0px;
border-bottom: solid 1px #777777;
border-left: 0px;
padding: 0.15em;
width: 10.0em;
}

#search input.submit
{
background: #939B00 url('images/buttonbg.gif') repeat-x;
border: solid 1px #5F6800;
font-weight: bold;
padding: 0.25em;
font-size: 0.8em;
color: #F2F3DE;
vertical-align: middle;
}

#headerpic
{
margin-top:0px;
position: relative;
height: 200px;
background: #000 url('images/headerfoto.jpg') no-repeat top left;
margin-bottom: 0px;
float:left;
clear:both;
width:900px;
}

#menu
{
position: relative;
background: url(images/black_0.gif) repeat-x;
height: 35px;
width:100%;
padding: 0px;
margin-bottom: 0px;
margin-top:0px;
overflow:visible;
float:left;
clear:both;
border: 1px solid #ccc;
}


#menu ul
{
position: absolute;
top:0px;
vertical-align:top;
height: 25px;
width:100%;
padding: 3px 20px 0 20px;
/* background: url(images/black_0.gif) repeat-x; */
}

#menu ul li
{
position: relative;
display: inline;
vertical-align:top;
}

#menu ul li a
{
color: #c0c0c0;
font-size: 14px;
font-weight:bold;
line-height: 22px;
border: 1px solid #808080;
padding: 3px 5px 2px 5px;
text-decoration: none;
max-width:170px;
display:inline-block;
}

/*Firefox 3 menu liian ylhäälläbugifix */
.menu_default, .menu_current{
vertical-align:bottom;
margin-bottom:1px;
}

#menu ul li a:hover
{
text-decoration: underline;
color: #fff;
text-decoration: none;
}

#menu ul li a.menu_current
{
background: #000;
}

#menubottom
{
background: #fff url('images/wbg.png') repeat-x bottom left;
height: 35px;
margin-bottom: -22px;
width:100%;
clear:both;
display:block;
}


.menu-last{ /*secondary menu */
margin-bottom:10px;
}






#content
{
padding: 0em 2.0em 0em 2.0em;
}

#primarycontainer
{
float: left;
margin-right: -18.0em;
width: 100%;
}

#primarycontent
{
margin: 1em 22.0em 0em 0em;
position:relative;
clear:none;
}

#secondarycontent
{
margin-top: 1.0em;
float: right;
width: 18.0em;
}

#footer
{
background: url(images/black_0.gif) repeat-x;
border-top:2px solid #dadada;
clear:both;
color: #f0f0f0;
font-size:0.9em;
padding:8px 0;
margin-top:29px;
text-align:center;
height:20px;
}

#footer a{
margin-right:15px;
background: inherit;
color: #ffffff;
font-weight: 400;
text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .left
{
position: absolute;
left: 2.0em;
bottom: 1.2em;
}

#footer .right
{
position: absolute;
right: 2.0em;
bottom: 1.2em;
}
#title
{
width: 600px;
margin: 5px 0 10px;
font-size: 1.5em;
color: #FAF0E6;
padding-top:0px;
float:left;
clear:none;
}
#title a{
color:#fff;
padding-right:8px;
border:none;
font-size:10px;
}
#leftnewsbox{
background-color: #ccc;
border:1px solid #444;

}
#tuunix{
margin-left:30px;
color:#aaa;
}
