*{
	margin:0 auto;
	padding:0;
}
body {
	background-color:#ffffff;
	background-image:url('../userfiles/Image/layout/tausta.gif');
	color:#000;
	font-family: Verdana, Arial, sans-serif;
	font-size:9pt;
	line-height:15px;
}

#wrapper{
	width:838px;
	background: transparent url('../userfiles/Image/layout/kr-bg.png') repeat-y 0 0;
	padding: 0 4px 0 4px;
	margin-bottom: 0px;
}

#contentwrapper {

}

#content {
	min-height:300px;
}
* html #content{
	margin-left:8px;
}

#header {
	height:267px;
	background: transparent url('../userfiles/Image/layout/ylapalkki.jpg') 0 0 no-repeat;
}


#header a.main-logo {
float: left;
	width: 310px;
        height:120px;
        margin-left: 500px;
display: block;
}


#logo a{
	width: 307px;
	height: 102px;
	float: right;
	
}

#logo h1{

}

/*menu taso 1*/
#menu {
	width: 800px;
	height: 20px;
	padding: 9px 0;
	margin: 0;
}



/* Alasivu S1 */
#maincontent {
	float:left;
	width:530px; /*415px*/
	margin-left:10px;

}

/* Alasivu S1 */
#maincontent_wide {
	float:left;
	width:540px; /*415px*/
	/*margin-left:5px;*/

}


/* Oikea palsta S2 */
#rightcontent {
	float:right;
	width:270px;
	margin-right:2px;

}

/* Oikea palsta S2 */
#leftcontent {
	float:left;
	width:270px;
	margin-right:2px;

}



#footer {
	width: 830px;
	height:10px;
	text-align:center;
	clear: both;
	color: #000;
	font-weight:bold;
	background-color:#db0006;
	margin: 0;
	padding: 14px 0;
}
#footer a {
	color: #000;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}


#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menu li {
	display:block;
	border-right: 1px solid #999;
	padding: 0;
	margin: 0;
	float: left;
	
}

/* menu taso 1 muotoilu */
#menu a {
	display: block;
	text-decoration: none;
	padding: 0px 20px 0px 20px;
	color: #999;
	font-size: 12px;

}

#menu a.h {
	color: #000;
}

#menu a:hover {
	color: #000;
}




ul#topmenu {
	list-style: none;	
	margin: 0;
	padding: 241px 10px;
}

ul#topmenu li {
	display: block;
	padding: 3px 0;
	margin: 0;
	float: left;

}

/* menu taso 1 muotoilu */
ul#topmenu a {
	display: block;
	text-decoration: none;
	padding: 0px 6px 0px 6px;
	color: #000;
	font-size: 12px;
	width: 158px;
	height: 23px;
	float: left;
}

ul#topmenu a.h {
	color: #000;
}

ul#topmenu a:hover {
	color: #000;
}

ul#topmenu a.m1 {
	width: 155px;
	background: url('../userfiles/Image/layout/menu1.png') 0 0 no-repeat;
}

ul#topmenu a.m1:hover {
	width: 155px;
	background: url('../userfiles/Image/layout/menu1_h.png') 0 0 no-repeat;
}

ul#topmenu a.mh1 {
	width: 155px;
	background: url('../userfiles/Image/layout/menu1_h.png') 0 0 no-repeat;
}



ul#topmenu a.m2 {
	background: url('../userfiles/Image/layout/menu2.png') 0 0 no-repeat;
}

ul#topmenu a.m2:hover {
	background: url('../userfiles/Image/layout/menu2_h.png') 0 0 no-repeat;
}

ul#topmenu a.mh2 {
	background: url('../userfiles/Image/layout/menu2_h.png') 0 0 no-repeat;
}



ul#topmenu a.m3 {
	width: 143px;
	background: url('../userfiles/Image/layout/menu3.png') 0 0 no-repeat;
}

ul#topmenu a.m3:hover {
	width: 143px;
	background: url('../userfiles/Image/layout/menu3_h.png') 0 0 no-repeat;
}

ul#topmenu a.mh3 {
	width: 143px;
	background: url('../userfiles/Image/layout/menu3_h.png') 0 0 no-repeat;
}


ul#topmenu a.m4 {
	width: 143px;	
	background: url('../userfiles/Image/layout/menu4.png') 0 0 no-repeat;
}

ul#topmenu a.m4:hover {
	width: 143px;
	background: url('../userfiles/Image/layout/menu4_h.png') 0 0 no-repeat;
}
ul#topmenu a.mh4 {
	width: 143px;
	background: url('../userfiles/Image/layout/menu4_h.png') 0 0 no-repeat;
}



ul#topmenu a.m5 {
	width: 143px;
	background: url('../userfiles/Image/layout/menu5.png') 0 0 no-repeat;
}

ul#topmenu a.m5:hover {
	width: 143px;
	background: url('../userfiles/Image/layout/menu5_h.png') 0 0 no-repeat;
}
ul#topmenu a.mh5 {
	width: 143px;
	background: url('../userfiles/Image/layout/menu5_h.png') 0 0 no-repeat;
}





/*anchor*/
a,
a:link{
	color:#FF6600;
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}



/* Sisältö koko sivu */
/*main content */
h1,
h2,
h3,
h4,
h5,
h6{
	/* padding-bottom:20px; */
	padding: 10px 10px 5px 0;
	
}
h1{
	font-size:16px;
	padding-bottom:20px;
}

h2 {
	font-size:14px;
	padding-bottom:20px;
}


h3{
	font-size:14px;
	padding-bottom:15px;

}
h4{
	font-size:13px;
	padding-bottom:15px;

}
h5{
	font-size:12px;
	padding-bottom:15px;
}
h6{
	font-size:12px;
	padding-bottom:15px;

}

p, ul, ol, li, td, span {
	padding: 5px 10px 0 0;
color: #000;
}

p.small {
	font-size:10px;
}


/*contact-form*/
form{
	padding:0;
	margin:0;
}


/*common styles*/

p,pre,ol,ul,dl{
	padding-bottom:20px;
}
ul li{
	list-style:outside;
	margin-left:20px;
}

ol li{
	list-style:decimal;
	margin-left:20px;
}
dl dt{
	font-weight:bold;
}
dl dd{
	padding-bottom:10px;
	margin-left:10px;
	font-style:italic;
}


strong{
	font-weight:bold;
}
em, code{
	font-style:italic;
}
ul, ul li {
	list-style-type:disc;
}
ol, ol li {
	list-style-type:decimal;
}
table {
	margin-bottom:1.4em;
	width:100%;
}
th {
	font-weight:bold;
}
th, td, caption {
	padding:4px 10px 4px 5px;
}
tfoot {
	font-style:italic;
}
sup, sub {
	line-height:0;
}
abbr, acronym {
	border-bottom: 1px dotted;
	cursor:help;
}
address {
	margin:0 0 1.5em;
	font-style:italic;
}
del {
	text-decoration: line-through;
}
pre {
	white-space:pre;
}
img.centered, .aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	display: inline;
	margin:0 0 10px 20px;
}
img.alignleft {
	display: inline;
	margin:0 20px 10px 0px;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}

img {	
border: 0;
}

em{
	font-style:italic;
}


.clear { clear: both; background: none; }



.formfieldmissing {
	border: 1px solid #ee0000;
}
.formfieldmissingtext {
	color: #ee0000;
}
.formfieldmissinghead {
	width:90%;
	color: #000000;
	background-color:#FFF2F2;
	padding: 10px;
	margin-bottom:10px;
	margin-top:10px;
	font-weight: bold;
	border: 1px solid #ee0000;
}





