/* PARALLAX SCROLLING EXPERIMENT
   Master Styles
   Author: Jonathan Nicol (f6design.com)
*****************************************************************/


/* Global reset
   http://meyerweb.com/eric/tools/css/reset/ 
*****************************************************************/

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, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ul {
	list-style: none;
}
li { padding-bottom: 5px;}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Extended base styles (site specific)
*****************************************************************/

html { 
	overflow-y: scroll; /* always force a scrollbar in non-IE */
	}
body {
	background: #fff;
	overflow-x: hidden;
	height: 4000px;
	line-height: 1.5;
	color: #000;
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
}
h1 {
	color: #333;
	font-weight: 300;
	font-size: 24px;
	text-transform:uppercase;
	line-height: 24px;
	letter-spacing: 3px;
}
a, a:link,
a:active,
a:visited {
	-webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
	color:#666;
	outline: none;
	text-decoration: underline;
	}
	a:hover { 
		color:#444;
		}
img { 
	display:block;
	padding: 2px;
	border: 1px solid #ddd;
	}
	#content img {margin-bottom: 10px;}
p {
	margin:1em 0;
	}

/* Common shared styles
*****************************************************************/

hr {
	margin: 0;
	border: none;
	border-top: 1px solid #3b3b3b;
	border-bottom: 1px solid #3b3b3b;
	height: 3px;
}

/* Page structure
*****************************************************************/

#wrapper {
	position: relative;
}

#valikkotausta {
	width: 100%;
	height: 105px;
		z-index: 2000;
		position:fixed;
		background: #fff;

}


#valikko {
	height: 60px;
	width: 850px;
	margin: 0 auto 0 auto;
	text-align: center !important;
	border-bottom: 1px solid #ddd;
	padding-top:35px;
	padding-bottom:10px;
}
#valikko a { color: #666; font-size: 15px; text-decoration: none;}
#valikko a:hover { color: #222;}

.teksti { color: #666; font-size: 20px; font-style:italic; margin-bottom: 10px;}

#valikko ul { padding: 0; margin: 0; margin-top: -25px; float: right; }
#valikko li { display: inline; padding: 5px 0px 5px 20px;}

#valikko img { border: none !important; -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out; }
#valikko img:hover { opacity: 0.8;}

#etusivuboksi1 { width: 355px; height: 133px; background: url(../black.jpg) no-repeat; float: left; padding: 37px 20px 20px 20px; color: #fff; font-size: 16px; line-height: 22px; font-style:italic; }
#etusivuboksi2 {width: 450px; height: 187px; background: url(../hege.jpg) no-repeat; float: right;}

#footer { width: 810px; height: 100px; background: #f5f5f5; position: static; padding: 20px; color: #777; margin-top: 120px; margin-bottom: -10px; -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;}


#tuote { width: 250px; display: block; float: left; padding-right: 30px;}
#tuote img { max-height: 80px; margin-right:7px;}
#tuote em { color: #666; font-style: italic; font-size: 13px;}
#viiva { border-bottom: 1px solid #ddd; margin-top: 20px; margin-bottom: 10px; }
.linkki { font-size: 11px;}

/* Parallax
*****************************************************************/

/* content */
#content {
	z-index: 4;
	position: relative;
	max-width: 850px;
	padding: 0 10px;
	line-height: 1.7;
	margin: 0 auto;
	}
	#content article {
		width: 850px;
		margin-left: 8px;
		}
		#etusivu ,
		#palvelut,
		#tarina,
		#yhteystiedot {
			padding-top: 120px;
			}
		#etusivu {
			position: absolute;
			top: 0px;
			}
		#palvelut {
			position: absolute;
			top: 1090px;
			padding-top: 150px;
			}
		#tarina {
			position: absolute;
			top: 2180px;			padding-top: 150px;

			}
			
		#yhteystiedot {
			position: absolute;
			top: 3270px;			padding-top: 150px;

			}