* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Verdana, sans-serif;
    font-size: small;
    text-align: center;
	background-color: #013801;
	color: black;
}
div, p, img, a, td, ul, ol {
    font-size: 1em; 
}
h1, h2, h3, h4 {
	font-family: Verdana, sans-serif;
	font-weight: bold;
	margin: 0.2em 0 0.6em 0;
	letter-spacing: 0.07em;
	color: black;
}
h1 { font-size: 218% }
h2 {
	padding: 5px;
	font-size: 140%;
	margin-top: 30px;
	margin-bottom: 0px;
	background-color: #cc7b07;
	text-align: right;
	color: #fff;
	width: 210px;
}
h3 { font-size: 110%; letter-spacing: .15em }
h4 { font-size: 110%; color: white; }

p { padding: 0 0 1em 0; }

a, a:link { 
    text-decoration: none;
    color: maroon;
}
a:visited { color: maroon; }
a:hover {   color: maroon; text-decoration: underline; }
a:active {  color: maroon; }


a img, img {
    border: none;
}

ol {
	margin: 0 0 20px 1.8em;
}
ul {
    margin: 0 0 20px 1.3em;
	list-style-type: disc;
}
ul ul {
	margin-bottom: 0;
}
li {
    margin-bottom: 3px;
}

#wrapper {
    width: 1006px;
    margin: 0px auto;
	background: url('images/taustavarjo.jpg') repeat-y;
}

#page {
    width: 900px;
    margin: 0px auto;
}

#header {
	position: relative;
	height: 28px;
	text-align: right;
	background: url('images/ylapalkki.jpg') repeat-x;
}

#searchbox {
	position: absolute;
	top: 4px;
	right: 0px;
}
#searchbox form {
	position: relative;
}
#searchbox #ajaxSearch_input {
	position: absolute;
	right: 38px;
	border: 1px solid #8bb289;
	background-color: #fff;
	color: #000;
	padding-left: 4px;
}
#searchbox #ajaxSearch_submit {
	position: absolute;
	right: 4px;
	width: 30px;
	height: 18px;
	font-size: 85%;
	border: 1px solid #d98b1c;
	background-color: #fdc41b;
	color: #fff;
}

#banner {
	height: 198px;
	overflow: hidden;
}

#topmenu {
	height: 66px;
	background-color: orange;
	overflow: hidden;
}

#topmenu ul {
	margin: 0;
	list-style: none;
}
#topmenu ul li {
	float: left;
	padding: 0;
	margin: 0;
}
* html #topmenu ul li {
	width: 1px;
}
#topmenu ul li a {
	display: block;
}
#topmenu ul li.active a, #topmenu ul li a:hover {
	text-decoration: none;
}

#topmenu ul li a {
	padding: 0;
	overflow: hidden;
	text-indent: -9000px;
	width: 150px;
	height: 66px;
}

#topmenu ul li#topmenu8 a {
	background: url('images/navi_asennustyo.jpg') no-repeat top left;
}

#topmenu ul li#topmenu8.active a, #topmenu ul li#topmenu8 a:hover {
	background-image: url('images/navi_asennustyo2.jpg');
}

#topmenu ul li#topmenu31 a {
	background: url('images/navi_materiaalit.jpg') no-repeat top left;
}

#topmenu ul li#topmenu31.active a, #topmenu ul li#topmenu31 a:hover {
	background-image: url('images/navi_materiaalit2.jpg');
}


#topmenu ul li#topmenu21 a {
	background: url('images/navi_laatu.jpg') no-repeat top left;
}

#topmenu ul li#topmenu21.active a, #topmenu ul li#topmenu21 a:hover {
	background-image: url('images/navi_laatu2.jpg');
}

#topmenu ul li#topmenu23 a {
	background: url('images/navi_referenssit.jpg') no-repeat top left;
}

#topmenu ul li#topmenu23.active a, #topmenu ul li#topmenu23 a:hover {
	background-image: url('images/navi_referenssit2.jpg');
}

#topmenu ul li#topmenu22 a {
	background: url('images/navi_turvallisuus.jpg') no-repeat top left;
}

#topmenu ul li#topmenu22.active a, #topmenu ul li#topmenu22 a:hover {
	background-image: url('images/navi_turvallisuus2.jpg');
}

#topmenu ul li#topmenu32 a {
	background: url('images/navi_yhteistyo.jpg') no-repeat top left;
}

#topmenu ul li#topmenu32.active a, #topmenu ul li#topmenu32 a:hover {
	background-image: url('images/navi_yhteistyo2.jpg');
}

#middle {
	text-align: left;
	background-color: white;
	margin-bottom: 20px;
}

#contenttitle {

}

#content {
    text-align: left;
    line-height: 1.5em;
	padding: 30px;
	min-height: 300px;
}

* html #content {
	height: 300px;
}

.B_currentCrumb {
	color: #65abc4;
}

.clear, .gapfix {
	height: 0;
}
* html .clear, * html .gapfix {
	overflow: hidden;
}
.clear {
	clear: both;
}

#footer {
	background: url('images/infoboksit.jpg') repeat-x;
	height: 150px;
	color: white;
	font-size: 70%;
}

#footer div {
	text-align: left;
	float: left;
	width: 239px;
	height: 120px;
	margin: 0px;
	padding: 30px 30px 0px 30px;
	border-right: 1px solid #0d5b09;
}

#footer div .noborder {
	border: none;
	width: 240px;
}

#bottomfooter {
	padding-right: 10px;
	text-align: right;
	height: 20px;
	font-size: 70%;
	line-height: 20px;
	color: black;
	background-color: #fdc41b;
}

#bottomfooter a, #bottomfooter a:link {
	font-weight: bold;
	color: black;
}

#preload {
	display: none;
}

hr { display: none; }

.error, .message {
    padding: 12px;
    background-color: red;
    color: #fff;
}
.message {
    background-color: green;
}

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	text-align: center;
	display: block;
	margin: 0 auto;
}
img.alignright {
	float: right;
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	float: left;
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

table.thumbs { width: 99%; }
table.thumbs td { text-align: center; padding: 0 0.5em; }

img.datasheet {
	float: right;
	margin-right: 200px;
}
ul.product {
	list-style: none;
}
ul.product li {
	height: 104px;
}
img.product {
	float: left;
}

a.QE_Link {
	margin-top: -17px;
}

#kartta {
	float: right;
	width: 400px;
}
