html, body {
	margin: 0px;
	padding: 0px;
}

body {
	background-color: #f5f5f5;
	font-family: "Trebuchet MS", Arial;
	font-size: 12px;
}

form {
	margin: 0;
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	border-style: none;
}

input.text {
	border: 1px solid #000000;
}

/* vakio-otsikko */
div.title {
	color: #688904;
	font-size: 20px;
	/*background-image: url(/www/images/dotted_bold_lgreen.gif);
	background-position: bottom left;
	background-repeat: repeat-x; */
	padding-bottom: 5px;
	margin-bottom: 10px;
}

div.title a {
	text-decoration: none;
	color: #688904;
}

/* koko härdelli */
#mainwrapper {
	margin: 0px auto 0px auto;
	width: 880px;
	padding-left: 20px;
	padding-top: 5px;
}

/* taustakuva */
#bgwrapper {
	background-image: url(/www/images/layout/background.gif);
	background-position: top left;
		background-repeat: repeat-y;
	width: 940px;
	margin-left: 20px;
}

#bgwrapper #bottomshadow {
	background-image: url(/www/images/layout/bottom.gif);
	background-position: top left;
	background-repeat: no-repeat;
	width: 940px;
	height: 30px;
}

/* yläpalkki */
#mainwrapper #topwrapper {
	height: 22px;
	padding: 0px 7px;
	text-align: left;
}

#mainwrapper #topwrapper table {
	float: left;
	margin: 0;
	border-collapse: collapse;
	color: #688904;
	font-weight: bold;
	width: 100%;
}

#mainwrapper #topwrapper table td {
	padding: 0;
}

#mainwrapper #topwrapper table td.links {
	padding-right: 20px;
	float: left;
}

#mainwrapper #topwrapper table td.links a {
	text-decoration: none;
	color: #688904;
}

/* yläpalkin haku */
#mainwrapper #topwrapper table td.search {
	float: right;
	width: 140px;
}
#mainwrapper #topwrapper table td.mainpage {
	float: right;
	width:80px;
}
#mainwrapper #topwrapper table td.mainpage a {
	color:#5D9E00;
	text-decoration:none;
}

#mainwrapper #topwrapper table td.search input {
	height: 14px;
	font-size: 12px;
}

#mainwrapper #topwrapper table td.search td.searchbtn {
	padding-left: 3px;
}

#mainwrapper #topwrapper table td.search td.searchbtn a {
	font-weight: bold;
	text-decoration: none;
	color: #688904;
}

/* yläpalkin ja bannerin erotin */
#mainwrapper #bannertopsep {
	height: 9px;
	margin: 0px 0px 1px 0px;
	background-image: url(/www/images/layout/ylaerotin.gif);
	background-position: top right;
	background-repeat: no-repeat;
}

/* yläbanneri */
#mainwrapper #topbanner {
	height: 120px;
	background-image: url(/www/images/layout/ylabanneri.jpg);
	background-position: top right;
	background-repeat: no-repeat;
}

/* ylämenu */
#mainwrapper #topmenu {
	height: 27px;
	background-color: #eebb08;
	margin: 1px 0px;
}

#mainwrapper #topmenu ul {
	margin: 0;
	padding: 0;
	height: 27px;
}

#mainwrapper #topmenu ul li {
	margin: 0;
	padding: 0;
	display: block;
	float: left;
	height: 27px;
	border-right: 1px solid #ffffff;
	color: #ffffff;
}

#mainwrapper #topmenu ul li.current {
	background-color: #5e9e00;
}

#mainwrapper #topmenu ul li a {
	display: block;
	float: left;
	padding: 0px 10px;
	line-height: 27px;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;
}

#mainwrapper #topmenu ul li a:hover {
	background-color: #5e9e00;
}

/* ylämenun ja sisällön erotin */
#mainwrapper #topmenulowersep {
	height: 5px;
	background-color: #5e9e00;
	margin-bottom: 20px;
}

/* vasen lodju */
#mainwrapper #leftwrapper {
	width: 190px;
	float: left;
}

/* vasen menu */
#mainwrapper #leftmenu {
	
}

#mainwrapper #leftmenu ul {
	margin: 0;
	padding: 0;
}

#mainwrapper #leftmenu ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#mainwrapper #leftmenu ul li a {
	display: block;
	background-image: url(/www/images/layout/bglevel1.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
	padding-left: 13px;
	line-height: 26px;
	color: #000000;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
}

#mainwrapper #leftmenu ul li a.current {
	background-image: url(/www/images/layout/bglevel1active.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
	background-color: #e9f4cc;
}


#mainwrapper #leftmenu ul li a:hover {
	background-color: #ffffff;
	color:#6DBF05;
}

#mainwrapper #leftmenu ul li ul li a {
	background-image: none;
	padding-left: 15px;
	font-weight: normal;
}

#mainwrapper #leftmenu ul li ul li a.current {
	background-image: none;
}

#mainwrapper #leftmenu ul li ul li ul li a {
	padding-left: 30px;
}

/* login lodju */
#mainwrapper #loginbox {
	margin-top: 20px;
	font-size: 14px;
}

#mainwrapper #loginbox #loginfields {
	margin: 5px 0px;
	padding: 10px;
	border: 1px solid #b4b4b4;
	font-size: 12px;
	background-color: #f5f5f5;
}

#mainwrapper #loginbox #loginfields table {
	border-collapse: collapse;
}

#mainwrapper #loginbox #loginfields table td.buttoncol {
	padding: 2px;
}

#mainwrapper #loginbox #loginfields input.button {
	border: 1px solid #000000;
	font-size: 12px;
}

#mainwrapper #loginbox #loginfields div.extranetlink {
	background-image: url(/www/images/layout/readmore.gif);
	background-position: 2px 50%;
	background-repeat: no-repeat;
	padding-left: 17px;
	margin: 2px 0px 5px;
}

#mainwrapper #loginbox #loginfields div.extranetlink a {
	color: #5d9e00;
	text-decoration: none;
	font-weight: bold;
}

#mainwrapper #loginbox #loginfields div.extranetlink a:hover {
	text-decoration: underline;
}

/* pikavalikko */
#mainwrapper #shortcutnavi {
	margin-top: 20px;
}

#mainwrapper #shortcutnavi div.title {
	font-size: 14px;
	font-weight: bold;
}

#mainwrapper #shortcutnavi ul {
	margin: 0;
	padding: 0;
}

#mainwrapper #shortcutnavi ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	padding-left: 0px;
}

#mainwrapper #shortcutnavi ul li a {
	color: #000000;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

#mainwrapper #shortcutnavi ul li a:hover {
	text-decoration: underline;
}

#mainwrapper #shortcutnavi ul li ul li a {
	font-weight: normal;
}

#mainwrapper #shortcutnavi ul li ul li {
	padding-left: 10px;
}

#mainwrapper #shortcutnavi ul li ul li ul li {
	padding-left: 20px;
}

/* kaikki sisältö */
#contentwrapper {
	margin: 0px 0px 0px 210px;
}

div.textcontent {
	line-height:1.3em;
}

/* sisältö oikeilla nostoilla */
#contentwrapper #contentnormal {
	width: 450px;
	float: left;
}

/* oikeat nostot */
#contentwrapper #rightwrapper {
	margin-left: 470px;
}

/* oikeat uutisnostot */
#contentwrapper #rightnews {
	width: 180px;
}

#contentwrapper #rightnews div.topframe {
	background-image: url(/www/images/layout/rightboxtop.gif);
	background-position: bottom left;
	background-repeat: no-repeat;
	height: 10px;
}

#contentwrapper #rightnews div.bottomframe {
	background-image: url(/www/images/layout/rightboxbottom.gif);
	background-position: top left;
	background-repeat: no-repeat;
	height: 10px;
}

#contentwrapper #rightnews div.content {
	background-color: #f5f5f5;
	padding: 0px 15px;
	line-height:1.2em;
	font-size:11px;
}

#contentwrapper #rightnews div.title {
	font-size: 14px;
	font-weight: bold;
}

#contentwrapper #rightnews div.entry {
	background-image: url(/www/images/layout/greensquare.gif);
	background-position: 2px 4px;
	background-repeat: no-repeat;
	padding: 0px 0px 10px 14px;
}

#contentwrapper #rightnews div.entry a {
	color: #000000;
	text-decoration: none;
	font-weight: normal;
}

#contentwrapper #rightnews div.entry a:hover {
	text-decoration: underline;
}

/* leveä sisältö */
#contentwrapper #contentwide {
	padding-right: 10px;
}

#contentwrapper #rightwrapper div.liftentry {
	margin-bottom: 20px;
}

/* vakio linkit */
#contentwrapper a {
	color: #5d9e00;
	text-decoration: none;
	font-weight: bold;
}

#contentwrapper a:hover {
	color: #71be00;
}

/* etusivun ylimmät uutiset */
#contentwrapper table.newstop {
	border-collapse: collapse;
	margin: 15px 0px 0px 0px;
	width: 100%;
	background-image: url(/www/images/layout/dashed_lgreen.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
}

#contentwrapper table.newstop tr td.image {
	width: 1%;
	vertical-align: top;
	padding: 0px 20px 10px 0px;
}

#contentwrapper table.newstop tr td.news {
	vertical-align: top;
	padding-bottom: 10px;
}

#contentwrapper table.newstop div.title {
	font-size: 18px;
	padding-bottom: 4px;
	margin-bottom: 12px;
	line-height:1.1em;
}

#contentwrapper div.readmore {
	margin-top: 12px;
	background-image: url(/www/images/layout/readmore.gif);
	background-position: 2px 50%;
	background-repeat: no-repeat;
	padding-left: 17px;
}

/* etusivun alemmat uutiset */
#contentwrapper table.newsbottom {
	border-collapse: collapse;
	margin-top: 10px;
}

#contentwrapper table.newsbottom tr td.newsleft {
	vertical-align: top;
	width: 50%;
	padding: 0px 10px 10px 0px;
}

#contentwrapper table.newsbottom tr td.newsright {
	vertical-align: top;
	width: 50%;
	padding: 0px 0px 10px 10px;
}

#contentwrapper table.newsbottom div.title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	background-image: none;
	line-height:1.1em;
}

/* etusivun ajankohtaista -lodju */
#contentwrapper table.bottomnewsbox {
	border-collapse: collapse;
	width: 461px;
	margin: 5px 0px 0px 4px;
}

#contentwrapper table.bottomnewsbox tr td.top {
	height: 12px;
	background-image: url(/www/images/layout/newsbox_top.gif);
	background-position: bottom left;
	background-repeat: no-repeat;
}

#contentwrapper table.bottomnewsbox tr td.bottom {
	height: 12px;
	background-image: url(/www/images/layout/newsbox_bottom.gif);
	background-position: top left;
	background-repeat: no-repeat;
}

#contentwrapper table.bottomnewsbox tr.newsrow {
	background-color: #e9f4cc;
}

#contentwrapper table.bottomnewsbox tr td.news {
	vertical-align: top;
	width: 50%;
}

#contentwrapper table.bottomnewsbox div.title {
	color: #000000;
	font-size: 16px;
	font-weight: bold;
	background-image: url(/www/images/layout/newsboxnelio.gif);
	background-position: 10px 7px;
	background-repeat: no-repeat;
	padding-left: 25px;
}

#contentwrapper table.bottomnewsbox div.content {
	padding: 5px 5px 0px 25px;
}

/* footteri */
#mainwrapper #footerwrapper {
	clear: both;
	padding-top: 25px;
}

#footerwrapper #footercontent {
	height: 70px;
	margin: 0px 20px 0px 0px;
	background-image: url(/www/images/layout/footer_bg.gif);
	background-repeat: repeat-x;
	background-position: top left;
}

#footerwrapper #footercontent #footerimgcontainer {
	margin: 10px 0px 0px 20px;
	float: left;
}

#footerwrapper #footercontent #footertextcontainer {
	margin-left: 600px;
	padding: 20px 25px 0px 0px;
	font-size: 16px;
	text-align: right;
}

/* uutisen esitys, pvm */
#contentwrapper #singlenews div.date {
	font-style: normal;
	font-weight: bold;
	margin-bottom: 5px;
}

/* etusivulle, takaisin, tulosta -linkit */
#pageactions {
	margin: 10px 0px;
	text-align: center;
}

#pageactions table {
	margin: 0px auto;
}

#pageactions table tr td {
	text-align: left;
	padding: 0px 5px 0px 15px;
}

/* etusivun sisältönostot */
#contentwrapper div.indexcontent {
	padding-bottom: 5px;
	background-image: url(/www/images/layout/dashed_lgreen.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
}

/* uutislistaus */
#contentwrapper #newslist div.entry {
	font-size: 13px;
	margin-bottom: 5px;
}

#contentwrapper #newslist div.entry a {
	color: #000000;
	text-decoration: none;
	font-weight: normal;
}

#contentwrapper #newslist div.entry a:hover {
	text-decoration: underline;
}

#contentwrapper #extranetlogin {
	width: 280px;
	border: 1px solid #aaaaaa;
	margin: 20px auto;
	padding: 10px;
}

#contentwrapper #extranetlogin table td.title {
	text-align: right;
	padding-right: 5px;
}

/* meForm */
table.meFormPublicTable td.meFormPublicTitle {
	text-align: right;
	padding-right: 5px;
	vertical-align: top;
}

div.meFormErrorTitle {
	font-weight: bold;
	color: #ff0000;
}
div.liftwrapper{
	margin-top:20px;
}