/* 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, 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,
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;
}
ol, ul {
	list-style: none;
}
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: #ffffff;
	overflow-x: hidden;
	height: 3550px;
	line-height: 1.5;
	color: #000;
	font-size: 14px;
	font-family: "Lucida Console", Monaco, monospace
}
h1 {
	color: #EFFBFB;
}
a, a:link,
a:active,
a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color:#6699cc;
	outline: none;
	text-decoration:none;
	}
	a:hover { 
		color:#000;
		}
img { 
	display:block;
	}
p {
	margin:1em 0;
	}

/* Common shared styles
*****************************************************************/

hr {
	margin: 0;
	border: none;
	height: 3px;
}

/* Page structure
*****************************************************************/

#wrapper {
	position: relative;
}
#branding {
	width: 100%;
	background: #fff;
	}
	#branding h1 {
		width: 940px;
		padding: 10px 15px;
		margin: 0 auto;
		text-transform: uppercase;
		font-size: 18px;
		}

/* Nav
*****************************************************************/

nav#primary {
	z-index: 6;
	position: fixed;
	top: 50%;
	right: 16px;
	margin-top: -40px;
}
nav#primary li {
	position: relative;
	height: 20px;
}
nav#primary a {
	display: block;
	width: 20px;
	height: 20px;
	text-indent: -9999px;
	background: transparent url('../img/nav-dot.png') 4px 4px no-repeat;
}
nav#primary a:hover, nav#primary a.active {
	background: transparent url('../img/nav-dot.png') 4px -16px no-repeat;
}
nav#primary h1 {
	position: absolute;
	right: 22px;
	top: -7px;
	display: none;
	padding: 4px 20px 4px 7px;;
	color: #fff;
	white-space: nowrap;
	background: transparent url('../img/nav-arrow.png') 100% 50% no-repeat;
	}
nav.next-prev {
	margin: 20px 0 0 0;
	}
	a.prev,
	a.next {
		display: block;
		width: 15px;
		height: 11px;
		text-indent: -9999px;
		}
	a.prev {
		margin: 0 auto 5px auto;
		background: transparent url('../img/scroll-arrow-up.png') 0 0 no-repeat;
		}
		a.prev:hover {
			background: transparent url('../img/scroll-arrow-up.png') 0 -11px no-repeat;
			}
	a.next {
		margin: 5px auto 0 auto;
		background: transparent url('../img/scroll-arrow-down.png') -1px 0 no-repeat;
		}
		a.next:hover {
			background: transparent url('../img/scroll-arrow-down.png') -1px -11px no-repeat;
			}

/* Parallax
*****************************************************************/

/* content */
#content {
	z-index: 5;
	position: relative;
	max-width: 740px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	}
	#content article {
		
		}
		#mps ,
		#tyot,
		#ref,
		#yht {
			padding-top: 105px;
			}
		#mps {
			position: absolute;
			top: 100px;
			width: 630px;
			}
		#tyot {
			position: absolute;
			top: 1090px;
			}
		#ref {
			position: absolute;
			top: 2120px;
			}
			#content h1 {
				margin: 0 0 25px 0;
				font-size: 50px;
				font-family: "Courier New", Courier, monospace;
				font-weight: normal;
				line-height: 65px;
				}
#yht {
			position: absolute;
			top: 3200px;
			width: 685px;
			padding: 20px;
			border: 1px solid black;
			margin: 0px;
			background-color: #ffffff;
			}
				#yht1 {
				position: absolute;
				top: 12px;
				border: 0px solid black;
				border-radius: 100px;
				margin: 0px;
				background-color: #ffffff;
				left:450px;
				}	

#logo {
			position: absolute;
			top: 40px;
			margin-left: -200px;
		}
		
#yla {
			z-index: 7;
			position: fixed;
			top: -15px;
			right: 0px;
			padding-right: 10px;
			width: 100%;
			margin: 0px;
			margin-right: 0px;
			text-align: right;
			color: #666666;
			/* Fallback for web browsers that doesn't support RGBa */
			background: rgb(255, 255, 255) transparent;
			/* RGBa with 0.6 opacity */
			background: rgba(255, 255, 255, 0.6);
			/* For IE 5.5 - 7*/
			filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff);
			/* For IE 8*/
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff)";
		}
/* foreground (ballons/landscape) */
#aita {
	z-index: 4;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0px;
	width: 940px;
	margin-left: -970px; /* move left by half element's width */
	}
	#aita1 {
	position: absolute;
	top: 1200px;
	left: 0px;
	height: 400px;
	}
	
#kuva {
	z-index: 4;
	position: fixed;
	top: 0px;
	left: 110px;
	border-radius: 10px;
	}
	
	#kuva1 {
	position: absolute;
	top: 0px;
	left: -50px;
	border-radius: 10px;
	}
	
	#kuva2 {
	position: absolute;
	top: 140px;
	left: 1100px;
	border-radius: 10px;
	}
	
	#kuva3 {
	position: absolute;
	top: 50px;
	left: 1150px;
	border-radius: 10px;
	}
	
	#kuva4 {
	position: absolute;
	top: 440px;
	left: 100px;
	border-radius: 10px;
	}
	
#refe {
	z-index: 2;
	position: absolute;
	top: 1200px;
	left: 0px;
	}
#refe1 {
	z-index: 2;
	position: absolute;
	top: 1200px;
	left: 450px;
	}
#refe2 {
	z-index: 2;
	position: absolute;
	top: 1200px;
	left: 900px;
	}
	
	
/* midground (clouds) */
#ruoho {
	z-index: 3;
	position: fixed;
	left: 0px; /* align left edge with center of viewport */
	top: 0px;
	width: 100%;
	margin-left: 0px; /* move left by half element's width */
	}
	#ruoho1 {
		position: absolute;
		top: 820px;
		left: 0px;
		}
/* background (clouds) */
#taivas {
	z-index: 1;
	position: fixed;
	left: 0%; /* align left edge with center of viewport */
	top: 0;
	width: 100%;
	margin-left: -600px; /* move left by half element's width */
	}
	#taivas1 {
		position: absolute;
		top: 0px;
		left: -270px;
		}
