/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	clear: both;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }

a:focus {
	outline:none;
}


/*
LAYOUT: Two columns
*/
#container {
	float: left;
	margin: 0 0 0 0;
	width: 100%;
}
#content {
	margin: 0 0 0 20px;
}
#primary,
#secondary {
	float: left;
	overflow: hidden;
	width: 430px;
}
#secondary {
	clear: right;
}
#footer {
	clear: both;
	width: 100%;
}


/* 
Header pics
*/
#header_yritys {
	background: #78C407 url(images/header_laatoitus.jpg) top left no-repeat;
}
#header_tuotteet {
	background: #78C407 url(images/header_laudat.jpg) top left no-repeat;
}
#header_konevuokraus {
	background: #78C407 url(images/header_pihakivi.jpg) top left no-repeat;
}
#header_multaasema {
	background: #78C407 url(images/header_vesiaihe.jpg) top left no-repeat;
}
#header_myymala {
	background: #78C407 url(images/header_kenttakivet.jpg) top left no-repeat;
}
#header_yhteystiedot {
	background: #78C407 url(images/header_jyllannin.jpg) top left no-repeat;
}



/* 
Fonts
*/
body
{
	font-family: Arial, Helvetica, sans-serif;
}


/* 
Structure
*/
/* The main theme structure */
#main,
#wrapper {
	margin: 0 auto;
	width: 900px;
}

#main {
	margin-bottom: 40px;
}

#wrapper {
	margin-top: 0;
	background: #fff;
	padding: 0 20px;
}


/* 
Global Elements
*/
/* Main global 'theme' and typographic styles  */
body {
	background: #fff;
}

body {
	color: #666;
	font-size: 12px;
	line-height: 18px;
}
hr {
	background-color: #E7E7E7;
	border:0;
	height: 1px;
	margin-bottom: 18px;
	clear:both;
}


/* 
Text elements 
*/
p {
	margin-bottom: 18px;
}
ul {
	margin: 0 0 18px 0;
}
ul.withbullets {
	list-style: disc;
	margin: 0 0 18px 0.9em;
}
ul ul {
	margin-bottom:0;
}
strong {
	font-weight: bold;
}
a:link {
	color:#0066CC;
	text-decoration: none;
}
a:visited {
	color:#666;
	text-decoration: none;
}
a:active,
a:hover {
	color: #6699FF;
}

/* 
Content
*/
#main {
	overflow: hidden;
	padding: 40px 0 0 0;
}
#content {
	margin-bottom: 36px;
}
#content {
	color: #333;
	font-size: 14px;
	line-height: 24px;
}
#content p,
#content ul,
#content hr {
	margin-bottom:24px;
	line-height: 1.3em;
}
#content .left p, #content .center p , #content .right p{
	margin-bottom: 0;
}
#content ul ul {
	margin-bottom:0;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #555;
	margin: 0 0 15px 0;
	line-height: 1.5em;
}


/* 
Navigation
*/
#navigation_submenu {
	height: 171px;
	font-size:  13px;
	line-height: 18px;
	overflow: hidden;
	color: #fff;
}
#navigation {
	height: 138px;
	font-size:  13px;
	line-height: 18px;
	overflow: hidden;
	color: #fff;
}
#navigation a:link, #navigation_submenu a:link,
#navigation a:visited, #navigation_submenu a:visited {
	color: #fff;
	text-decoration: none;
}
#navigation a:active, #navigation_submenu a:active,
#navigation a:hover, #navigation_submenu a:hover {
	color: #fff;
}
#navigation a:focus {
	outline:none;
}


/* 
Main menu 
*/
#menu {
	margin: 95px auto 0 auto;
	width: 900px;
	display:block;
	float:left;
	font-size: 16px;
	font-weight: 700;
	border-bottom: 5px solid #78C407;
}
#menu  ul {
	list-style: none;
	margin: 0;
}
#menu  li {
	float:left;
	position: relative;
	width:150px;
	text-align:center;
}
#menu a {
	display:block;
	text-decoration:none;
	color:#aaa;
	padding:0 10px;
	line-height:38px;
}
#menu ul ul {
	display:none;
	position:absolute;
	top:38px;
	left:0;
	float:left;
	width: 180px;
	z-index: 99999;
}
#menu ul ul li {
	min-width: 180px;	
}
#menu ul ul ul {
	left:100%;
	top:0;
}
#menu ul ul a {
	background:#333;
	height:auto;
	line-height:1em;
	padding:10px;
	width: 160px;
}
#menu li:hover > a,
#menu ul ul :hover > a {
	color:#fff;
	background:#78C407;
}
#menu ul li:hover > ul {
	display:block;
}
#menu ul li .current {
	background:#78C407;	
}
#menu ul li a:focus {
	outline:none;
}



/* 
Sub menu 
*/
#submenu {
	margin: 0 auto 0 auto;
	width: 900px;
	display:block;
	float:left;
	font-size: 13px;
	border-bottom: 3px solid #78C407;
	color: #000;
	background: #fff;
}
#submenu  ul {
	list-style: none;
	margin: 0;
}
#submenu  li {
	float:left;
	position: relative;
}
#submenu a {
	text-decoration:none;
	color:#000;
	padding:0 5px;
	line-height:30px;
}
#submenu ul ul {
	display:none;
	position:absolute;
	top:30px;
	left:0;
	float:left;
	z-index: 99999;
}
#submenu ul ul li {
	min-width: 100px;	
}
#submenu ul ul ul {
	left:100%;
	top:0;
}
#submenu ul ul a {
	height:auto;
	line-height:1em;
	padding:0;
	color: #000;
}
#submenu a:link,
#submenu a:visited {
	color: #000;
	text-decoration: none;
}
#submenu li:hover > a,
#submenu ul ul :hover > a {
	color:#000;
	padding-bottom: 4px;
	border-bottom: 3px solid #78C407;
}
#submenu ul li .subcurrent {
	font-weight: 700;
	padding-bottom: 4px;
	margin: 0 2px 0 2px;
	border-bottom: 3px solid #78C407;	
}


/* 
Images
*/
#logo {
	margin: 5px 0 0 5px;
}
#content img {
	margin: 0;
	max-width: 640px;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content img.alignleft, 
#content img.alignright {
	margin-bottom: 12px;
}
#secondary img {
	margin-left: 15px;
	padding: 3px;
	/*border: 1px solid #888;*/
}


/* 
Products 
*/
.left,
.center ,
.right {
	float: left;
	/*overflow: hidden;*/
	width: 210px;
	height: 250px;
	/*border: 1px solid #000;*/
	margin: 0 45px 10px 1px;
	font-size: 13px;
}

.left,
.center {
	float: left;
	/*overflow: hidden;*/
	width: 210px;
	height: 250px;
	/*border: 1px solid #000;*/
	margin: 0 60px 10px 1px;
	font-size: 13px;
}

.left {
	clear: left;
}

.right {
	float: left;
	/*overflow: hidden;*/
	width: 210px;
	height: 250px;
	/*border: 1px solid #000;*/
	margin: 0 0 10px 0;
	font-size: 13px;
	clear: right;
}

.category_pic {
	clear:right;
}

.category_pic img {
	border: 1px solid #878787;
	padding: 1px;
}

.category_desc {
	float: left;
	width: 191px;
	height: 20px;
	margin-left: 2px;
}

.category_desc p {
	margin-bottom: 4px;
	display:block;
}

.category_desc a:link,
.category_desc a:visited,
.category_desc a:hover,
.category_desc a:active {
	color:#333;
	text-decoration:none;
}

.product_pic {
	clear:right;
}

.product_pic img {
	border: 1px solid #878787;
	padding: 1px;
}

.product_desc {
	float: left;
	width: 191px;
	height: 20px;
	margin-left: 2px;
}

.product_desc p {
	margin-bottom: 4px;
}


/* 
Footer
*/
#footer {
	border-top: 3px solid #78C407;
	line-height: 3.5em;
	text-align: center;
}

#footer  .credit{
	margin-left: 320px;
	text-align: right;
}

#footer a:link,
#footer a:visited {
	color: #666;
	text-decoration: none;
}
#footer a:active,
#footer a:hover {
	color: #6699FF;
}

