/* ------------------- RESET ------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
body { line-height: normal; margin: 0; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }
input,textarea { margin: 0; }

/* Removes Firefox imposed outline */
a { outline: none; }

/* Clearing floats without extra markup - give the parent container the group class */
.group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* IE6 */
* html .group { height: 1%; }

/*IE7 */
.group { min-height: 1px; }


/* ------------------- BODY ------------------- */

body {
	background: #ebeef1;
}

.madeby {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 13px;
	height: 77px;
}

.clear {
	clear: both;
}

::selection {
	background: #c3c8ce; color: #fff;  /* Safari */
}
::-moz-selection {
	background: #c3c8ce; color: #fff; /* Firefox */
}

article,aside,details,figcaption,figure,  
footer,header,hgroup,menu,nav,section {  
   display: block;
}  

#header-wrapper {
	width: 100%;
	background: #fff;
}	

header {
	height: 118px;
	width: 960px;
	margin: 0 auto;
	padding: 40px 20px 0;
	background: #fff url(../kuvat/header_kuva.jpg) no-repeat right;  
}

#logo {  
	background: url(../kuvat/logo.png) no-repeat;  
	height: 60px;
	float: left;
	margin-top: 15px;
}  
	#logo h1 {
		margin: 0px;  
		display: block;  
		text-indent: -9999px; 
		height: 60px;
		width: 300px;
	}

#content-wrapper {
	width: 100%;
	background: url(../kuvat/main_tausta.jpg) repeat-x top center;  
	overflow: hidden;
	min-height: 400px;
}	

#content {
	width: 960px;
	margin: 20px auto 0;
	padding: 0 20px 0;
	overflow: hidden;
	position: relative;
}	

#tuotteet, #galleria {
	float: left;
	padding: 40px 20px 40px 40px;
	position: relative;
}

#white-box {
	width: 960px;
	margin: 40px auto 0;
	background: rgba(255, 255, 255, 0.5); 
	border: 1px solid #d8dce1;
	overflow: hidden;
}	

#slideshow {
  width: 600px;
  height: 300px;
  border: 1px solid #d8dce1;
}

div.caption {
	/*display: none;*/
	background: none repeat scroll 0 0 white;
    border-bottom: 1px solid #dbdddb;
    border-top: 1px solid #dbdddb;
    color: #d1151b;
    font: italic 24px Georgia, Times, serif;
    left: 50%;
    margin-left: -299px;
    margin-top: -51px;
    padding: 10px 10px;
    position: absolute;
    text-align: left;
    width: 580px;	
}

aside {
	width: 240px;
	float: right;
	padding: 40px 40px 20px 0;
	position: relative;
}

article {
	width: 620px;
	float: left;
	padding: 40px 20px 40px 40px;
	position: relative;
}

article img {
	border: 1px solid #d8dce1;
	margin: 0 10px 0 0;	
}	

.box {
	background: #fff; 
	border: 1px solid #d8dce1;
	width: 238px;
	overflow: hidden;
	padding: 20px;
	margin: 0 20px 20px 0;
	float: left;
	height: 100px;
}

.page-candola-taytot .box, .page-tarjoukset .box, .page-Uutiset .box {
	height: 200px;
}

.page-candola-taytot .box p {
	height: 173px; overflow: hidden;
}

footer {
	width: 960px;
	margin: 20px auto;
	overflow: hidden;
	position: relative;
}

	aside img {
		border: 1px solid #fff;
		margin: 0 15px 15px 0;	
	}
	
	.box img {
		border: 1px solid #fff;
		margin: 0 15px 145px 0;	
	}
	
	aside a {
		color: #57575a;
	}

.galleria img {
	border: 5px solid #fff;
	margin: 0 10px 0 0;	
}

/* ------------------- LOMAKE ------------------- */

#palautelomake {
	padding: 10px 0 0 0;
}

#palautelomake label {
	float: left;
	width: 200px;
}

#palautelomake input[type=text], #palautelomake input[type=email], #palautelomake select {
	border: 1px solid #dadada;
	background-color: #fff;
	float: left;
	font-family: Arial;
	color: #333;
	font-size: 10pt;
	margin-bottom: 6px;
	width: 200px;
	padding: 3px;
}

#palautelomake select {
	width: 200px;
}

#palautelomake textarea {
	border: 1px solid #dadada;
	background-color: #fff;
	float: left;
	font-family: Arial;
	color: #333;
	font-size: 10pt;
	margin-bottom: 6px;
	height: 120;
	width: 200px;
	padding: 3px;
}

#palautelomake input[type=submit] {
	border: 1px solid #d1151b;
	background-color: #d1151b;
	color: #fff;
	float: left;
	font-family: Arial;
	font-size: 10pt;
	margin-bottom: 6px;
	padding: 2px 10px;
	cursor: pointer; /* hand-shaped cursor */
	}
	#palautelomake input[type=submit]:hover {
		background-color: #ac0a0f;
	}