/*

	Pasi Toropainen
	Buuma OY

*/

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

div.uutta
{
width: 140px;
border: solid 3px #CC0000;
padding-top: 5px;
margin: 5px 5px 5px 5px;
padding: 5px;
}
body
{
	background: #F9F9F7 url('images/a1.gif') repeat-x;
	font-size: 11px;
	font-family: "trebuchet ms", helvetica, sans-serif;
	color: #000;
	line-height: 18px;
}
div.emolinkki 
{
	float: left;
	top: 5px;
	left: 5px;
	width: 800;
	height: 200px;
}
#inner a.emolinkki 
{
	float: left;
	text-decoration: none;
	line-height: 18px;
}
#inner a.emolinkki img.emolinkki
{
	position: absolute;
	top: 50px;
	left: 5px;
	width: 800;
	height: 200px;
	z-index: 2;
}
a
{
	color: #cc0001;
	text-decoration: underline;
}

a:hover
{
text-decoration: none;
}

sup
{
font-size: 0.5em;
}


p
{
margin-bottom: 14px;
text-align: justify;
}

img.picA
{
position: relative;
top: -2px;
background: url('images/a47.gif') no-repeat;
width: 76px;
height: 74px;
padding: 8px;
}

img.picB
{
position: relative;
top: -2px;
background: url('images/a26.gif') no-repeat;
width: 146px;
height: 75px;
padding: 7px;
}

img.floatleft
{
float: left;
margin: 0px 14px 3px 0px;
}


ul.linklist
{
list-style: none;
}

ul.linklist li
{
border-top: solid 1px #EEEEEE;
padding-top: 5px;
margin: 5px 0px 0px 0px;
}

ul.linklist li.first
{
border-top: 0px;
margin-top: 0px;
padding-top: 0px;
}

ul.linklist li.porras_0
{
padding-left: 10px;
}
ul.linklist li.porras_1
{
padding-left: 15px;
}
ul.linklist li.porras_2
{
padding-left: 20px;
}
ul.linklist li.porras_3
{
padding-left: 25px;
}
ul.linklist li.porras_4
{
padding-left: 30px;
}
ul.linklist li.porras_5
{
padding-left: 35px;
}
ul.linklist li.porras_6
{
padding-left: 40px;
}
ul.linklist li.porras_7
{
padding-left: 45px;
}
ul.linklist li.porras_8
{
padding-left: 50px;
}

#upbg
{
	position: absolute;
	top: 0px;
	left: 0px;
	background: #fff url('images/upbg.gif') no-repeat;
	width: 948;
	height: 264px;
	z-index: 1;
}

#outer
{
position: relative;
width: 927px;
margin: 0 auto;
background: #fff url('images/abg.gif') repeat-y;
}

#inner
{
position: relative;
padding: 13px 30px 13px 30px;
z-index: 2;
}


#header span
{
font-weight: normal;
}

#header h1
{
position: absolute;
font-size: 23px;
letter-spacing: -1px;
top: 30px;
line-height: normal;
}

#header h2
{
	position: absolute;
	font-size: 10px;
	font-weight: normal;
	color: #000;
	top: 51px;
}

#header sup
{
color: #cc0001;
}

#ylakuva
{
	position: absolute;
	background: #EAEAE2 url('images/header.jpg') no-repeat;
	width: 865px;
	height: 264px;
}

#menu
{
position: relative;
background: #46461F url('images/a16.gif') repeat-x;
height: 67px;
padding: 0px 20px 0px 5px;
margin: 268px 0px 20px 0px;
}

#menu ul
{
}

#menu ul li
{
display: inline;
line-height: 52px;
padding-left: 3px;
}

#menu ul li.first
{
border-left: 0px;
}

ul.linklist li div.muokkaukset
{
position: absolute;
line-height: 15px;
position: relative;
padding-bottom: 8px;
white-space: none;
}
ul.linklist li div.muokkaukset_tukijat
{
position: absolute;
line-height: 25px;
position: relative;
padding-bottom: 8px;
white-space: none;
}
div.muokkaukset_tukijat a:hover
{
position: absolute;
white-space: none;
text-decoration: none;
}
div.muokkaukset_tukijat a.jarjesta
{
position: absolute;
white-space: none;
left: 0px;
}
div.muokkaukset_tukijat a.muokkaa
{
position: absolute;
white-space: none;
left: 20px;
}
div.muokkaukset_tukijat a.lisaa
{
position: absolute;
white-space: none;
left: 40px;
}
div.muokkaukset_tukijat img.nakyy
{
position: absolute;
white-space: none;
left: 60px;
}


div.muokkaukset a:hover
{
position: absolute;
white-space: none;
top: 0px;
text-decoration: none;
}
div.muokkaukset a.jarjesta
{
position: absolute;
white-space: none;
left: 0px;
}
div.muokkaukset a.muokkaa
{
position: absolute;
white-space: none;
left: 20px;
}
div.muokkaukset a.lisaa
{
position: absolute;
white-space: none;
left: 40px;
}
div.muokkaukset img.nakyy
{
position: absolute;
white-space: none;
left: 60px;
}
div.muokkaukset a.muokkaa_oikea
{
position: absolute;
white-space: none;
right: 20px;
}
div.muokkaukset a.lisaa_oikea
{
position: absolute;
white-space: none;
right: 40px;
}
#menu ul li a
{
background-color: transparent;
background-repeat: repeat-x;
padding: 8px 12px 8px 12px;
font-size: 12px;
color: #fff;
font-weight: bold;
}
#menu ul li a.ylapalkki
{
background-color: transparent;
background-repeat: repeat-x;
padding: 8px 0px 8px 0px;
font-size: 12px;
color: #fff;
font-weight: bold;
}
#vasenvalikko ul li a:hover
{
	background-color: #f9f9f7;
	background-repeat: repeat-x;
	display: block;
	font-size: 12px;
	color: #white;
	width: auto;
}
#secondarycontent ul li a:hover
{
	background-color: #f9f9f7;
	background-repeat: repeat-x;
	display: block;
	font-size: 12px;
	color: #white;
	width: auto;
}
#menu ul li a:hover
{
background: #fff url('images/a18.gif') repeat-x top;
color: #4A4A24;
text-decoration: none;
}
#date
{
position: absolute;
top: 0px;
line-height: 52px;
color: #BDBDA2;
right: 20px;
font-weight: bold;
font-size: 12px;
letter-spacing: -1px;
}

#secondarycontent
{
position: relative;
width: 160px;
float: right;
}
#vasenvalikko
{
position: relative;
width: 150px;
float: left;
}

#secondarycontent h3
{
	position: relative;
	top: 4px;
	font-size: 16px;
	line-height: 25px;
	color: #000;
	letter-spacing: -1px;
	background: url('images/a22.gif') bottom repeat-x;
	padding: 0px 0px 10px 10px;
	margin-bottom: 20px;
}

#secondarycontent .content
{
padding: 0px 10px 0px 10px;
margin-bottom: 20px;
}

#primarycontent
{
	position: relative;
	width: 530px;
	float: left;
}

#primarycontent h3
{
	position: relative;
	top: 4px;
	font-size: 18px;
	line-height: 25px;
	color: #000;
	letter-spacing: -1px;
	background: url('images/a22.gif') bottom repeat-x;
	padding: 0px 0px 10px 15px;
	margin-bottom: 20px;
}

#primarycontent h3.tapahtumakalenteri_lista
{
	background: none;
	padding: 0px 0px 0px 5px;
}
h3.tapahtumakalenteri_lista a
{
	color: #000;
	text-decoration: none;
}
#primarycontent .content
{
padding: 0px 15px 0px 15px;
margin-bottom: 20px;
}

#primarycontent .content2
{
padding: 0px 15px 0px 15px;
margin-bottom: 20px;
}

#primarycontent .post
{
margin-bottom: 30px;
vertical-align: text-top;

}

#primarycontent .post .header
{
position: relative;
padding-right: 100px;

}

#primarycontent .post .date
{
position: absolute;
right: 15px;
top: 0px;
line-height: 30px;
color: #AFAFA4;
font-weight: bold;
}
#primarycontent .post .kirppis_uusi
{
position: absolute;
right: 15px;
top: 0px;
line-height: 30px;
color: #AFAFA4;
font-weight: bold;
}

#primarycontent .post .peruttu
{
position: absolute;
right: 15px;
top: 0px;
line-height: 35px;
color: #FF0000;
font-weight: bold;
font-size: 20px;
}

#primarycontent .post .content
{
margin-bottom: 0px;
}

#primarycontent .post .content2
{
margin-bottom: 0px;
/*min-height: 500px;*/
}

#primarycontent .post .content img
{
float:left;
margin-right: 5px;
margin-bottom: 5px;
max-width: 200px;
width:expression(document.body.clientWidth > 200? "200px": "auto" );
height: auto;

}

#primarycontent .post .content2 img
{
margin-right: 5px;
margin-bottom: 5px;
max-width: 500px;
width:expression(document.body.clientWidth > 500? "500px": "auto" );
height: auto;
}

#primarycontent .post .footer
{
position: relative;
top: -10px;
background: url('images/a33.gif') repeat-x;
height: 64px;
}

#primarycontent .post .footer ul
{
list-style: none;
position: absolute;
right: 15px;
bottom: 15px;
}

#primarycontent .post .footer ul li
{
display: inline;
line-height: 14px;
padding-left: 17px;
margin-left: 25px;
background-repeat: no-repeat;
background-position: 0px 2px;
}

#primarycontent .post .footer ul li.printerfriendly
{
background-image: url('images/a41.gif');
}

#primarycontent .post .footer ul li.comments
{
background-image: url('images/a36.gif');
}

#primarycontent .post .footer ul li.readmore
{
background-image: url('images/a38.gif');
}

#footer
{
position: relative;
clear: both;
height: 66px;
text-align: center;
line-height: 66px;
background-image: url('images/a50.gif');
color: #A8A88D;
}

#footer a
{
color: #8C8C73;
text-decoration: none;
}