/* Globals
------------------------------------------------------------------*/

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address {
    margin: 0pt;
    padding: 0pt;
}
    
body {
color: #585858; 
font-family: Verdana, Helvetica, sans-serif;
background: #f0f0f0;
font-size: 80%;
font-size-adjust: none;
font-stretch: normal;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 130%;
}

	p {
		margin: 12px 0 0 0;
		padding: 0 0 0 0;
		line-height: 1.5;
	}
	
	p a {
		text-decoration: none;
		color: #474a51;
		font-weight: bold;
		font-size: 85%;
	}
	
	p span {
		margin: 0 0 0 20px;
		font-size: 85%;
	}

	
	h2 {
		padding: 0 0 0 0;
		margin:12px 0 0 0;
		color: #474a51;
		font-size: 110%;
		font-family: Verdana, sans-sans-serif;
	}

	h3 {	
		padding: 18px 0 0 0;
		margin: 0 0 0 0;
		font-size: 100%;
	}

	h4 {	
		padding: 0 0 0 0;
		margin: 26px 0 0 0;
		color: #474a51;
		font-size: 95%;
	}
	
	h5 {	
		padding: 14px 0 0 0;
		margin: 0 0 0 0;
		color: #474a51;
		font-size: 85%;
	}
	
	ul {
		margin: 6px 0 0 22px;
	}
	
	li {
		list-style: none;
		margin: 0 0 0 0;
		padding: 6px 0 6px 18px;
		background: url(images/li_bullet.gif) left center no-repeat;
	}
	
	li a {
		text-decoration: none;
		color: #474a51;
		font-weight: bold;
		font-size: 95%;
	}
	
	img {
		border: 1px solid #bcb8b8;
	}
	
	table {
		max-width: 540px;
		margin: 16px 0 0 0;
	}
	
	th {
		font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
		color: #6D929B;
		border-right: 1px solid #C1DAD7;
		border-left: 1px solid #C1DAD7;
		border-bottom: 1px solid #C1DAD7;
		border-top: 1px solid #C1DAD7;
		letter-spacing: 2px;
		text-transform: uppercase;
		text-align: center;
		padding: 6px 4px;
		background: #CAE8EA;
	}
	
	td {
		border-right: 1px solid #C1DAD7;
		border-left: 1px solid #C1DAD7;
		border-bottom: 1px solid #C1DAD7;
		border-top: 1px solid #C1DAD7;
		background: #fff;
		padding: 4px 5px;
		color: #6D929B;
		text-align: center;
	}
	
	td p {
		margin: 0;
		padding: 0;
	}
	
	a:hover, a:active, li a:hover, p a:hover {
		color:  #2b84b6;
	}
	
	form {
	    width: 440px;
	    float: left;
	}
	
	fieldset {
	    width: 440px;
	    float: left;
	    border: none;
	    border-bottom: 1px solid #d8d8d8;
	    margin: 19px 0 0 0;
	    padding: 0 0 8px 0;
	}
	
	.mail-message {
		color: #6e1b1b;
	}
	
	form p {
	    margin: 12px 0 0 4px;
	}
	
	form label {
	    margin: 0 0 0 8px;
	}
	
	input {
	    padding: 15px;
	    border: 1px solid #d8d8d8;
	    width: 250px;
	}
	
	input.checkbox {
	    width: 10px;
	}
	
	select  {
		padding: 15px;
	    border: 1px solid #d8d8d8;
	    width: 250px;
		margin: 6px 0 0 0;
	}
	
	div#left-column form textarea {
	    border: 1px solid #d8d8d8;
	    background: #f5f5ef;
	    width: 400px;
	    height: 200px;
	    overflow: auto;
	    padding: 5px;
	    font-family: inherit;
		font-size: 100%;
	}
	
/* Custom table definitions

Pages ladattavat.php and referenssit.php
------------------------------------------------------------------*/
	
	
	table.load-table {
		width: 600px;
		margin: 0 0 0 0;
		font-size: 80%;
		/*display: inline;*/
		
		/*border: 1px solid #000;*/
	}
	
	.load-table caption {
		width: 540px;
		text-align: left;
		padding-top: 24px;
		font-weight: bold;
		border-bottom: 1px dotted #d8d8d8;
	}
	
	.load-table th {
		font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
		color: #474a51;
		background-color: #f0f0f0;
		border: none;
		
		border-bottom: 1px solid #d8d8d8;
		
		letter-spacing: 2px;
		text-transform: uppercase;
		text-align: left;
		padding: 12px 8px;
	}
	
	.load-table td {
		background-color: #fff;
		border: none;
		color: #474a51;
		text-align: left;
		
		padding: 8px 3px;
	}
	
	.load-table td a {
		text-decoration: none;
		color: #878785;
	}
	
	.load-table td a:hover, #load-table td a:active {
		color: blue;
	}
	
	
	.load-table td.alt  {
		background-color: #f2f2f0;
	}
	
	
	table.data-table {
		width: 600px;
		margin: 0 0 0 0;
		font-size: 80%;
	}
	
	.data-table caption {
		width: 540px;
		text-align: left;
		padding-top: 24px;
		font-weight: bold;
		border-bottom: 1px dotted #d8d8d8;
	}
	
	.data-table th {
		font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
		color: #474a51;
		background-color: #f0f0f0;
		border: none;
		
		border-bottom: 1px solid #d8d8d8;
		
		letter-spacing: 2px;
		text-transform: uppercase;
		text-align: left;
		padding: 12px 8px;
	}
	
	.data-table td {
		background-color: #fff;
		border: none;
		color: #474a51;
		text-align: left;
		
		padding: 8px 3px;
	}
	
	.data-table td a {
		text-decoration: none;
		color: #878785;
	}
	
	.data-table td a:hover, #load-table td a:active {
		color: blue;
	}
	
	
	.data-table td.alt  {
		background-color: #f2f2f0;
	}
	
/* Custom class definitions
------------------------------------------------------------------*/	

	.clear {
		clear: both;
		height: 1px;
		margin: 0;
		overflow: hidden;
		padding: 0;
	}
	
	.clear-both {
		clear: both;
	}
	
	.file-description, .case-description {
		color: #474a51;
	}
	
	.link {
		padding: 0 0 0 22px;
		background: url(images/link_bullet.gif) left center no-repeat;
	}
	
	.date {
		padding: 4px 0 4px 35px;
		background: url(images/calendar_icon.gif) left center no-repeat;
	}
	
	.pdf {
		background: url(images/pdf.gif) left top no-repeat;
		padding: 4px 0 9px 22px;
	}
	
	.dwg {
		background: url(images/autocad.gif) left top no-repeat;
		padding: 4px 0 9px 22px;
	}
	
	.reference {
		padding: 13px 0 13px 25px;
		background: url(images/doc_icon.gif) left center no-repeat;
	}
	
	img.centered {
	padding: 4px;
	display: block;
	margin-top: 12px;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 12px 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 12px 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
	
.contact-information {
	width: 200px;
	float: left;
	margin: 22px 0 0 2px;
	font-size: 85%;
}

	.contact-information img {
		border: none;
	}

	.contact-information ul {
		margin: 0 0 0 0;
		float: left;
		width: 190px;
		
			}
	
	.contact-information li {
		list-style: none;
		margin: 4px 0 0 0;
		padding: 0;
		background-image: none;
	}
	
	.contact-information li.li-header {
		margin: 8px 0 0 0;
	}

	
	.employee-information {
		width: 300px;
		float: left;
		margin: 12px 0 0 6px;
		padding: 0 0 12px 0;
	}
	
	.employee-information ul {
		margin: 12px 6px 0 0;
		padding: 0;
		float: right;
	
	}
	
	.employee-information li {
		margin: 0;
		padding: 0;
		background-image: none;
		font-size: 85%;
	}
	
	.product-information {
		width: 600px;
		float: left;
		margin: 12px 0 0 0;
	}
	
	.product-information a {
		display: block;
		float: left;
		text-decoration: none;
		color:  #474a51;
		padding: 6px;
	}
	
	.product-information p {
		margin: 12px 0 0 136px;
	}
	
	.product-information h5, .product-information h4 {
		margin: 12px 0 0 136px;
	}
	
	.product-information a:hover, .product-information a:active {
		background: #ebebeb;
	}
	
	ul#quick-nav {
		width: 600px;
		float: left;
		padding: 22px 0 22px 0;
		margin: 0;
	}
	ul#quick-nav li {
		float: left;
		margin: 4px 0 0 4px;
		padding: 0;
		background-image: none;
	}
	
		ul#quick-nav li a {
		text-decoration: none;
		font-weight: bold;
		font-size: 80%;
		color: #808080;
		background: url(images/quick_nav_bullet.png) center right no-repeat;
		border-bottom: 1px dotted #808080;
		padding: 1px 14px 1px 2px;
	}
	
		ul#quick-nav li a:hover, ul#quick-nav li a:active {
			background: url(images/quick_nav_bullet_a.png) center right no-repeat;
			border-bottom: 1px dotted #fff;
		}
		
		
	
	ul.CAD {
		margin: 30px 0 0 0;
		padding: 0;
	}
	
	.CAD li {
		background-image: none;
		margin: 0;
		padding: 0;
	}
	
	.CAD a {
		text-decoration: none;
		color: #474a51;
		font-weight: bold;
		font-size: 85%;
	}
	
	.CAD li ul {
		margin: 0 0 0 60px;
		padding: 0 0 0 15px;
		background: url(images/folder_tree_icon.png) center left no-repeat;
		
		/*border: 1px solid #000;*/
	}
	
	.CAD li ul li {
		padding: 0 0 0 0;
		margin: 0 0 0 0;

		/*border: 1px solid #000;*/
	}
	
	.CAD li ul li p {
		float: left;
		padding: 16px 0 0 0;
		margin: 0;
		color: #474a51;
		font-weight: bold;
		font-size: 85%;
	}
	.CAD li ul li img {
		float: left;
		margin: 0 0 0 70px;
		padding: 0;
	}
	.CAD li ul li a {
		float: left;
		margin: 0 0 0 50px;
		padding: 16px 0 0 0;
	}
	
	
	
	h4#putkisillat, h4#suodatinkankaat, h4#pohjaveden-suojaus, h4#lujiteverkot {
		margin-top: 25px;
	}

/* Layout definitions
------------------------------------------------------------------*/

#wrapper {
		float: left;
		width: 100%;
}

	#site-top {	
		width: 100%;
		border-bottom: 1px solid #e8e7e7;
		padding: 40px 0 0 0;
		float: left;
	}
	
		p.company-name {
			float: left;
			color: #a6a3a3;
			font-size: 85%;
			font-family: verdana, sans-serif;
			margin-bottom: 1px;
			margin-left: 6px;
		}
		
		p.address-information {
			float: right;
			color: #a6a3a3;
			font-size: 85%;
			font-family: verdana, sans-serif;
			margin-bottom: 1px;
			margin-right: 6px;
		}
		
		
	#header {
		float: left;
		width: 100%;
		background: #f5f5ef url(images/header_border_top.png) top left repeat-x;
		padding: 13px 0 0 0;
		margin: 2px 0 0 0;
	}
	
		#inner-header {
			float: left;
			width: 100%;
			background: url(images/header_border_bottom.png) bottom left repeat-x;
		}
		
		#inner-header h1 {
			width: 1024px;
			height: 268px;
			background: url(images/header_graph.gif) no-repeat;
			text-indent:-9000px;
		}
		
		
	#content-wrapper {
		float: left;
		width: 100%;
		background: #fff;
		border-bottom: 1px solid #e8e7e7;
   }
				
		#content {
			width: 1024px;
			float: left;
			background: #fff url(images/content_bg.gif) top left repeat-y;
			
			/*border: 1px solid #000;*/
		}
		
			#left-column {
				width: 620px;
				float: left;
				margin: 0 0 0 110px;
				padding: 25px 0 25px 0;
				display: inline; /*fix for 5.xx*/
				
				/*border: 1px solid #000;*/
			}
			
			
			#right-column {
				width: 280px;
				float: right;
				padding: 25px 0 35px 0;
				display: inline;
				
				/*border: 1px solid #000;*/
			}
			
				.content-block {
					float: left;
					width: 264px;
					display: inline;
					border-bottom: 1px dotted #474a51;
					margin: 16px 0 0 16px;
					padding: 0 0 12px 0;
				}
				
				.cushycms {
					float: left;
					width: 264px;
					display: inline;
					border-bottom: 1px dotted #474a51;
					margin: 16px 0 0 16px;
					padding: 0 0 12px 0;
				}
				
			#right-column h3 {
				font-family: georgia, sans-serif;
				color: #474a51;
				margin: 6px 0 0 0;
				padding: 0;
			}
			
			#right-column h4 {
				font-size: 100%;
				margin: 6px 0 0 0;
				padding: 0;
			}
				
				
	#footer {
		width: 600px;
		clear: both;
		padding: 20px 0 20px 0;
		margin: 0 auto;
	}
	
		#footer p {
			color: #a6a3a3; 
			font-weight: bold;
			font-family: verdana, sans-serif;
			font-size: 80%;
		}
		
			#footer p em {
				font-style: normal;	
				margin-left: 8px;
			}
			
			#footer p em.coding {
				padding-left: 20px;
				background: url(images/footer_ico.gif) left center no-repeat;
			}
			
			#footer .address {
				padding-bottom: 10px;
			}
			
			#footer p em.browser {
				margin-left: 4px;
			}
			
			#footer p em a {
				text-decoration: none;
				color: #259ef9;
			}
			
				#footer p em a:hover, #footer p em a:active {
					color: #1f82d9;
				}
		
/* Site navigation
------------------------------------------------------------------*/

#main-nav {
		width: 100%;
		background: #fff url(images/grey_border.gif) bottom left repeat-x;
		float: left;
		padding: 0 0 0 0;
}

	#main-nav ul {
			float: left;
			padding: 0 0 0 0;
			margin: 0 0 0 200px;
			display: inline; /* fix for IE 5.0xx*/
			/*border: 1px solid black;*/
	}
	
	#main-nav li {
		float: left;
		list-style: none;
		margin: 0 0 0 3px;
		padding: 0;
		background-image: none;
		/*border: 1px solid red;*/
	}
	
	#main-nav a {
		/*display: block;*/
		text-decoration: none;
		color: #474a51;
		font-weight: bold;
		font-family: verdana, sans-serif;
		font-size: 80%;
		float: left;
		margin: 20px 0 0 0;
		background:  url(images/tab_right.gif) top right no-repeat;
		/*border: 1px solid green;*/
	}
	
	#main-nav span {
		background:  url(images/tab_left.gif) top left no-repeat;
		padding: 8px 8px;
		float: left;
	}
	
	#main-nav a:hover, #main-nav a:active {
		margin-top: 14px;
	}
	
	#main-nav a:hover span, #main-nav a:active span {
			padding-bottom: 14px;
	}
	
	#yritys .yritys a, #konserni .konserni a, #tuotteet .tuotteet a, #yhteystiedot .yhteystiedot a, #referenssit .referenssit a, 
	#etusivu .etusivu a, #ladattavat-tiedostot .ladattavat-tiedostot a, 
	#tuotteet-putkisillat .tuotteet a, #tuotteet-supercor .tuotteet a, #tuotteet-rumputuotteet .tuotteet a,
	#tuotteet-suodatinkankaat .tuotteet a, #tuotteet-pohjaveden-suojaus .tuotteet a,
	#tuotteet-lujiteverkot .tuotteet a, #tuotteet-kivikorit .tuotteet a, #ota-yhteytta .ota-yhteytta a {
		margin-top: 8px;
	}
	
	#yritys .yritys a span, #konserni .konserni a span, #tuotteet .tuotteet a span, #yhteystiedot .yhteystiedot a span, #referenssit .referenssit a span, 
	#etusivu .etusivu a span, #ladattavat-tiedostot .ladattavat-tiedostot a span,
	#tuotteet-putkisillat .tuotteet a span, #tuotteet-supercor .tuotteet a span, #tuotteet-rumputuotteet .tuotteet a span,
	#tuotteet-suodatinkankaat .tuotteet a span, #tuotteet-pohjaveden-suojaus .tuotteet a span,
	#tuotteet-lujiteverkot .tuotteet a span, #tuotteet-kivikorit .tuotteet a span, #ota-yhteytta .ota-yhteytta a span	{
		padding-bottom: 20px;
	}
	
	
	#secondary-nav {
		width: 100%;
		background: #fff;
		float: left;
		padding-top: 2px;
		background: #fff url(images/grey_border.gif) bottom left repeat-x;
	}
	
	#secondary-nav-inner {
		width: 100%;
		float: left;
		background: url(images/grey_border.gif) top left repeat-x;
	}
	
	#secondary-nav ul {
			float: left;
			padding: 0 0 0 0;
			margin: 0 0 0 10px;	
			display: inline;
		}
		
		#secondary-nav li {
			float: left;
			list-style: none;
			margin: 0 0 0 3px;	
			display: inline;
			background-image: none;
			padding: 0;
		}
		
		#secondary-nav span {
				float: left;
				padding: 8px;
				background:  url(images/tab_left.gif) bottom left no-repeat;	
		}
				
		#secondary-nav  a {
			margin-bottom: 15px;
			background:  url(images/tab_right.gif) bottom right no-repeat;
			text-decoration: none;
			color: #474a51;
			font-weight: bold;
			font-family: verdana, sans-serif;
			font-size: 80%;			
			float: left;
		}
		
		#secondary-nav a:hover span , #secondary-nav a:active span  {
				padding-top: 4px;
		}
		
		#tuotteet-putkisillat .tuotteet-putkisillat a, #tuotteet-supercor .tuotteet-supercor a, #tuotteet-rumputuotteet .tuotteet-rumputuotteet a,
		#tuotteet-suodatinkankaat .tuotteet-suodatinkankaat a, #tuotteet-pohjaveden-suojaus .tuotteet-pohjaveden-suojaus a,
		#tuotteet-lujiteverkot .tuotteet-lujiteverkot a, #tuotteet-kivikorit .tuotteet-kivikorit a {
			background-color: #fff;
			background-image: none;
			border-left: 1px solid #cbc7c7;
			border-right: 1px solid #cbc7c7;
			margin-bottom: 0;
			padding-bottom: 19px;
		}
		
		#tuotteet-putkisillat .tuotteet-putkisillat a span, #tuotteet-supercor .tuotteet-supercor a span, #tuotteet-rumputuotteet .tuotteet-rumputuotteet a span,
		#tuotteet-suodatinkankaat .tuotteet-suodatinkankaat a span, #tuotteet-pohjaveden-suojaus .tuotteet-pohjaveden-suojaus a span,
		#tuotteet-lujiteverkot .tuotteet-lujiteverkot a span, #tuotteet-kivikorit .tuotteet-kivikorit a span {
			background-image: none;
			padding-top: 4px;
		}