/* PARALLAX SCROLLING EXPERIMENT
   Master Styles
   Author: Jonathan Nicol (f6design.com)
*****************************************************************/


/* Global reset
   http://meyerweb.com/eric/tools/css/reset/ 
*****************************************************************/

/* EDITED By Muharrikuddin (arik udin)
   To meet my desire result
*****************************************************************/

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-attachment:local;
	background-image:url(img/bg2.jpg);
	background-repeat:repeat-x;
	background: #354662;*/
	overflow-x: hidden;
	/*height: 4550px;*/
	line-height: 1.5;
	color: #000;
	font-size: 12px;
	font-family: Arial,sans-serif;
}
h1 {
	color: #21a97e;

	
}
/* text tagline */
h5 {
	color:#FF0;
	font-size: 45px;
	font-weight:400;
	font-family:'Titillium Web', Geneva, sans-serif;
}
/* text opening */
h6 {
	color: #fff;
	font-size: 14px;
	font-style:italic;
	
}

h7 {
	color: #fff;
	font-size: 14px;
	font-style:normal;
}


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:#21a97e;
	outline: none;
	text-decoration:none;
	}
	a:hover { 
		color:#000;
		}
img { 
	display:block;
	}
p {
	margin:1em 0;
	text-align:right;
	}
	
	#grad1 {
    /*height: 4550px;*/
	height:5800px;
    background: #354662; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#123354, #123354,#071c32); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#123354, #123354, #071c32); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#123354, #123354, #071c32); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#123354, #123354, #071c32); /* Standard syntax (must be last) */
}

/* 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;
}
#branding {
	width: 100%;
	background: #ccc;
	height:0;
	
	}
	#branding img{
		padding:10px;
		padding-right:5px;
		padding-left:5px;
		width:10%;
		margin-left:10%;
		background-color:#303;
		border-bottom-left-radius:10px;
		border-bottom-right-radius:10px;

	}
	#branding h1 {
		width: 940px;
		margin-top:-30px;
		margin-left: 40%;
		text-transform: lowercase;
		font-size: 18px;
		font-weight: bold;
		color:#FFF;
		}
		

/* Nav
*****************************************************************/

nav#primary {
	z-index: 5;
	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: -15px;
	display: none;
	padding: 4px 20px 4px 7px;;
	color: #fff;
	white-space: nowrap;
	font-size: 14px;
	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: 4;
	position: relative;
	max-width: 940px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	
	}
	#content article {
		width: 500px;
		}
		#manned-flight{padding-top: 315px; right:-2%; color:#999;}
		#frameless-parachute{padding-top: 105px;}
		#english-channel{padding-top: 1px; left: 800px;}
		#about{margin-top: -250px;}
		#mail {
			margin-top: -600px;
			left:600px;

			}
		#manned-flight {
			position: absolute;
			top: 0px;
			}
		#frameless-parachute {
			position: absolute;
			left:1000px;
			top: 1110px;
			}
		#english-channel {
			position: absolute;
			top: 2180px;
			}
		#about {
			position: absolute;
			top: 3550px;
			}
		#mail {
			position: absolute;
			top: 5550px;
			}
		#content h1 {
				margin: 0 0 25px 0;
				font-size: 60px;
				font-family: Georgia, serif;
				font-weight: normal;
				line-height: 65px;
				text-align:right;
				color:#fff;
				}

#mail img{
			margin-top: -600px;
			margin-left:-100px;

			}
			
#about img{
			margin-top: -300px;
			margin-left:200px;

			}
			
#english-channel img{
			margin-top: -300px;
			margin-left: 400px;
}
		
		
#frameless-parachute img{
			margin-top: -300px;
			margin-left: -400px;
}	
/* foreground (ballons/landscape) */
#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 940px;
	margin-left: -470px; /* move left by half element's width */
	}
	/* balloon */
	#bg3-1 {
		position: absolute;
		top: -30px;
		left: 100px;
		}
	#bg3-2 {
		position: absolute;
		top: 812px;
		left: 100px;
		}
	#bg3-3 {
		position: absolute;
		top: 1628px;
		left: 100px;
		}
	#bg3-4 {
		position: absolute;
		top: 2700px;
		left: 100px;
		}
		
	/*#media-player{
		color:#036;

		}*/
	/* tween sprite*/
.cnc1 {
  z-index:11;
  position: absolute;
  top: 720px;
  left:-330px;
  margin: auto;
  width: 1510px;
  height: 1100px;
  background:url(../img/evo-test-one.png) no-repeat 0 0%;
  background-size: 100%;
}

.cnc2 {
  z-index:11;
  position: absolute;
  top: 1490px;
  left:-120px;
  margin: auto;
  width: 1220px;
  height: 1110px;
  background:url(../img/evo-test-6.png) no-repeat 0 0%;
  background-size: 100%;
}

.cnc3 {
  z-index:11;
  position: absolute;
  top: 2115px;
  left:-310px;
  margin: auto;
  width: 1450px;
  height: 1450px;
  background:url(../img/evo-test-5.png) no-repeat 0 0%;
  background-size: 100%;
}

.cnc4 {
  z-index:11;
  position: absolute;
  top: 3655px;
  left:-30px;
  margin: auto;
  width: 1000px;
  height: 1000px;
  /*transform:rotate(90deg);*/
  background:url(../img/mailbot5.png) no-repeat 0 0%;
  background-size: 100%;
}



/* midground (clouds) */
#parallax-bg2 {
	z-index: 2;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg2-1 {
		position: absolute;
		top: 162px;
		left: 1000px;
		-webkit-animation:spin 4s linear infinite;
    	-moz-animation:spin 4s linear infinite;
   		 animation:spin 4s linear infinite;
		
		}
		
		
	#bg2-2 {
		position: absolute;
		top: 300px;
		left: 1150px;
		}
	#bg2-3 {
		position: absolute;
		width:150px;
		top: 543px;
		left: -100px;
		}
	#bg2-4 {
		position: absolute;
		top: 1180px;
		left: 250px;
		}
	#bg2-5 {
		position: absolute;
		top: 900px;
		left: 890px;
		}



/* background (clouds) */
#parallax-bg1 {
	z-index: 1;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg1-1 {
		position: absolute;
		top: 85px;
		left: -90px;
		opacity:0.8;
	
		}
	#bg1-2 {
		position: absolute;
		top: 1100px;
		left: -100px;
		opacity:0.8;

		}
	#bg1-3 {
		position: absolute;
		top: 600px;
		left: -440px;
		}
	/*#bg1-4 {
		position: absolute;
		top: 1800px;
		left: 800px;
		}*/
.cnc5 {
  z-index:1;
  position: absolute;
  top: 200px;
  left:-620px;
  margin: auto;
  width: 1500px;
  height: 1400px;
  background:url(../img/earth-sim-ok.png) no-repeat 0 0%;
  background-size: 100%;
}
/*hide & seek*/

.seek{
	visibility:visible;
	z-index:12;
}
.hide{
	visibility:hidden;
}
/*#media-player {
	visibility:hidden;
}
/*#media-controls {
	visibility:hidden;
}
#media-play-list {
	visibility:hidden;
}


/*Social*/
#container{
	z-index:18;
	position:absolute;
	background-color:#000;
	float:right;
	width: 100%;
	/*height:5700px;*/
	top:5588px;
	height: 50px;
	margin-top : 2%;
	/*opacity:0.6;
    filter:alpha(opacity=60);*/
	
}





/*footer*/
#footer {
   z-index:20;
   position:fixed;
   bottom:0;
   left:0;
   width:100%;
   height:30px;   /* Height of the footer */
   background:#000;
   opacity:0.6;
   filter:alpha(opacity=60);
   /*text-align:center;*/
}
#footer p{
	color:#FFF;
	margin:2px;
	left:50%;
	text-align:center;

}

::-webkit-scrollbar {
      width: 5px;
} /* this targets the default scrollbar (compulsory) */

::-webkit-scrollbar-track {
      background-color:#003;
} /* the new scrollbar will have a flat appearance with the set background color */
 
::-webkit-scrollbar-thumb {
      background-color:#0CF;
} /* this will style the thumb, ignoring the track */
 
::-webkit-scrollbar-button {
      background-color:#06C;
} /* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */
 
::-webkit-scrollbar-corner {
      background-color: black;
} /* if both the vertical and the horizontal bars appear, then perhaps the right bottom corner also needs to be styled */


/* animation */	
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
	