* {
	margin: 0;
	padding: 0;
}

body  {
	height: 100%;
	background: #e7ddd2;
}

a img  {
	border: 0;
}   


.c {
	clear: both;
}

#header {
	width: 100%;
	height: 372px;
	background: url(../../images/mainpicbg.jpg) repeat-x;
}

#headercontent {
	width: 940px;
	height: 372px;
	margin-right: auto;
	margin-left: auto;
	background: url(../../images/mainpic.jpg) no-repeat;
}


#headerB {
	width: 100%;
	height: 372px;
	background: url(../../images/mainpicbgB.jpg) repeat-x;
}

#headercontentB {
	width: 940px;
	height: 372px;
	margin-right: auto;
	margin-left: auto;
	background: url(../../images/mainpicB.jpg) no-repeat;
}

#header2 {
	width: 100%;
	height: 158px;
	background: url(../../images/mainpicbg2.jpg) repeat-x;
}

#headercontent2 {
	width: 940px;
	height: 158px;
	margin-right: auto;
	margin-left: auto;
	background: url(../../images/mainpic2.jpg) no-repeat;
}

#logo {
	padding-top: 50px;
	padding-left: 12px;
}


#logoB {
	padding-top: 30px;
	padding-left: 20px;
}

#navibg {
	width: 100%;
	height: 84px;
	background: #fff url(../../images/navibg.jpg) repeat-x;
}

#navi {
	width: 940px;
	margin-right: auto;
	margin-left: auto;
}


#linkit {

}

#linkit ul {
	border-right: 1px solid #f4f2f1;	
	border-left: 1px solid #b1a2a2;
}	

#linkit ul li {
	float: left;
	padding: 30px 0 12px 0;
	list-style-type: none;
}

#linkit ul li a {
	border-right: 1px solid #b1a2a2;
	border-left: 1px solid #f4f2f1;
	font-family: helvetica,arial,sans-serif;
	letter-spacing: 0;
	font-weight: bold;
	font-size: 16px;
	color: #3d2414;
	display:inline;
	height: 42px;
	padding: 16px 10px 12px 10px;
	text-decoration: none;
}


#linkit ul li a:hover {
	background: #f8efe8 url(../../images/navisel.jpg) repeat-x;
	display:inline;
	height: 42px;
	border-right: 1px solid #b2b1ad;
	border-bottom: 1px solid #bdb4ab;
	border-left: 1px solid #b2b1ad;
	padding: 16px 10px 12px 10px;
}

#linkit ul li a.selected {
	background: #f8efe8 url(../../images/navisel.jpg) repeat-x;
	display:inline;
	height: 42px;
	border-right: 1px solid #b2b1ad;
	border-bottom: 1px solid #bdb4ab;
	border-left: 1px solid #b2b1ad;
	padding: 16px 10px 12px 10px;
}

#linkit ul li a.alku {
	border-left:none;
	border-bottom:none;
	background:none;
	padding:0 0 0 10px;
}

#linkit ul li a.loppu {
	border-right:none;
	border-bottom:none;
	background:none;
	padding:0;
}


#merkit {
	float: right;
	height: 84px;
}

#contentbg {
	width: 100%;
	background: #fff;
}

#content {
	width: 940px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 20px;
	padding-bottom: 30px;
	padding-left: 34px;
}

#footer {
	width: 100%;
	padding-top: 20px;
	background: url(../../images/footerbg.jpg) repeat-x;
	text-align: center;
}