body {
	margin: 0px;
	padding: 0px;
	font-family:Verdana, Helvetica, sans-serif;
	font-size: 12px;
}

body, html {
	width: 100%;
	height: 100%;
	background: #b1ca00;
}

a{
	color: black;
}

#mainwrap {
	width: 1000px;
	/* background-color:#b1ca00; */
	margin: auto;
	min-height: 613px;
	height: auto !important;
	height: 613px;
	background-image:url(/images/tausta.jpg);
	background-repeat: no-repeat;
}

.clearing {
	clear:both;
}

.whitebg{
	background-color: #FFFFFF;
	min-height: 341px;
	height: auto !important;
	height: 341px;
	
}

form, fieldset {
	margin: 0;
	padding: 0;
}

/* fieldset { border: 1px solid #000; } */

/* legend {
	padding: 0;
	color: #000;
} */

a img, iframe { 
	border: none; 
}

input[type="text"]{

}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 8px 0px;
}

h4{
	font-size:14px;
	font-weight: bold;
}

p{
	margin: 0px;
	padding: 8px 0px;
}


ul, ol, dl, li, dt, dd {
	margin: 0;
	padding: 0;
}

a, a:link {}
a:visited {}
a:hover {}
a:active {}


input, textarea, select {
	margin: 0;
	padding: 1px;
	font-size: 100%;
	font-family: inherit;
}

select { padding: 0; }

.rightbox{
	width: 279px;
}

.grayots{
	font-size: 12px;
	color: #98989c;
	font-weight: bold;
}

.grayots a {
  color: #98989c !important;
}

.grayots a:hover {
  color: #000 !important;
  text-decoration: underline;
}

.newsbox, .ajankohtaista_box{
	font-size: 11px;
}

.dotline_red{
	height: 2px;
	background-image: url(/images/red_dot.jpg);
	background-repeat: repeat-x;
	margin-left: 5px;
}

.entry{
	margin: 15px 0px;
}

.ajankohtaista_box{
		margin: 20px 5px 5px 10px;
}

.content_box{
	margin: 10px 30px 30px 102px;
}

.content_box_subpage{
	margin: 0px 30px 30px 102px;
	clear:both;
}

.newsbox a{
	text-decoration: none;
	font-weight: bold;
	color: #000000;
}

.newsbox a:hover{
	color: #CCCCCC;
}

.subnavi_box{
	width: 152px;
	background-image: url(/images/alinavi_bg.jpg);
	background-repeat: repeat-x;
	background-color: #c0d344;
	height: 320px;
	padding: 10px;
	vertical-align:top;
	text-align:left;
	font-size: 11px;
}

.subnavi_box a{
	text-decoration: none;
}

.subnavi_box a:hover{
	color: white;
}

.middlecontent_box{
	/* float: left; */
	vertical-align:top;
	text-align:left;
	padding: 10px;
}

#ylanavi{
	color: white;

}

#ylanavi a{
	color: white;
	font-size: 11px;
	text-decoration: none;
	font-weight:bold;
}

#ylanavi a:hover{
	color: black;
}

#footer{
	margin-top: 40px;
	height: 5px;
	/* background-color: #c3d44c; */
	width: 100%;
	text-align: center;
	font-size: 10px;
	color: #e9ff4c;
	border-top: 1px solid #cee536;
	padding: 10px 0px;
}

.box_links{
	/* background-image:url(/images/smallbox_02.jpg);
	background-repeat:repeat-x; */
	/* background: #e3ecb0;
	padding: 0px 10px; */
}

.box_links a{
	font-size: 10px;
	font-style:italic;
}

.box_links a:hover{
	color: white;
}

.kuvabg{
	
	/* height: 500px; */ /* 341 */
}

a.selected{
	font-weight:bold;
}

.sub_links{
	/* position: absolute; bottom:45px; */
}

.sub_links a{
	line-height: 13px;
	/* display: block; */
}

.squarebox{
	padding-top: 5px;
}


/* img, div { behavior: url(iepngfix.htc) } */
img, div { behavior: url(pngbehavior.htc) }


.banneri{
	clear: both;
	margin-top: 10px;
	background-color: #FFFFFF;
	padding: 5px;
}


/*    *******  */
.customed{
	/* background-color: #FFFF00; */
	width: 115px;
	
	/* height: 300px; */
}



table.customed a{
	font-size: 10px;
 	text-decoration: none;
	z-index:1;
	/* margin: 2px */
}

table.customed a:hover{
	color: gray;
}

.bottompadd{
	padding-bottom: 43px;
}


table#ratkaisut{
	background-image:url(/images/bt_ratkaisut_bg.png);
	background-repeat:no-repeat;
	background-position:bottom;
	height: 370px;
}

table#tuotteet{
	background-image:url(/images/bt_tuotteet_bg.png);
	background-repeat:no-repeat;
	background-position:bottom;
	height: 370px;
}

table#palvelut{
	background-image:url(/images/bt_palvelut_bg.png);
	background-repeat:no-repeat;
	background-position:bottom;
	height: 370px;
}

table#asiakkaat{
	background-image:url(/images/bt_asiakkaat_bg.png);
	background-repeat:no-repeat;
	background-position:bottom;
	height: 370px;
}

table#otayhteys{
	background-image:url(/images/bt_otayhteys_bg.png);
	background-repeat:no-repeat;
	background-position:bottom;
	height: 370px;
}


table#ratkaisut, table#tuotteet, table#palvelut, table#asiakkaat, table#otayhteys{
	behavior: url(iepngfix.htc)
}


#alanavi_subpage ul{
	list-style-type: none;
	margin:0px;
	padding:0px;
}

#alanavi_subpage ul li {
	margin:0px;
	padding:0px;
	float:left;
}


.lisaa_link {
	margin-top: 4px;
	float: right;
}


.news-item {
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: dashed 1px #5a5;
}

#mederra-logo {
	width: 85px;
	height: 97px;
	position: absolute;
	margin-left: 13px;
}

#mederra-logo a {
	display: block;
	width: 85px;
	height: 97px;
}

.subnavi_box_nobg {
	width: 152px;
	height: 320px;
	padding: 10px;
	vertical-align:top;
	text-align:left;
	font-size: 11px;
}

.news_date {
	color: #888;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 4px;
}