/*
Theme created for use with Sequence.js (http://www.sequencejs.com/)

Theme:   Sliding Horizontal Parallax
Version:   0.3 Beta
Theme Author:   Ian Lunn @IanLunn
Author URL:   http://www.ianlunn.co.uk/
Theme URL:   http://www.sequencejs.com/themes/sliding-horizontal-parallax/

This is a FREE theme and is dual licensed under the following: 
http://www.opensource.org/licenses/mit-license.php | http://www.gnu.org/licenses/gpl.html

Sequence.js and its dependencies are (c) Ian Lunn Design 2012 unless otherwise stated.
Aside from these comments, you may modify and distribute this file as you please. Have fun!
 */

body {
	/*background: url(../img/bg-sky.png) repeat-x #65B7F1;*/
	color: white;
	font-family: 'Play', sans-serif;
	/*max-width: 2560px;*/
	/*margin: 0 auto;*/
	/*min-width: 960px;*/
}

a {
	color: white;
}

#header {
	height: 750px;
	position: relative;
	margin: 0 auto;
	min-width: 960px;
	overflow: hidden;
}

#sequence {
	opacity: 0;
	/*backface-visibility prevents graphical glitches when frames are animating*/
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
}

#sequence-preloader.preloading-complete {
	opacity: 0;
	visibility: hidden;
}

#sequence.preloading-complete {
	opacity: 1;

	-webkit-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-o-transition-duration: 1s;
	-ms-transition-duration: 1s;
	transition-duration: 1s;
}

#sequence-preloader {
	background: none;
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 99;
}

@keyframes preload {
 0% {
   	opacity: 0;
 }
 50% {
   	opacity: 1;
 }
 100% {
   	opacity: 0;
 }

}

@-moz-keyframes preload {
 0% {
   opacity: 0;
 }
 50% {
   opacity: 1;
 }
 100% {
   opacity: 0;
 }

}

@-webkit-keyframes preload {
 0% {
   opacity: 0;
 }
 50% {
   opacity: 1;
 }
 100% {
   opacity: 0;
 }

}

@-ms-keyframes preload {
	0%  {
	opacity: 0;
}
 50% {
   opacity: 1;
 }
 100% {
   opacity: 0;
 }

}

 @-o-keyframes preload {
	0%  {
	opacity: 0;
}
 50% {
   opacity: 1;
 }
 100% {
   opacity: 0;
 }

}

 #sequence-preloader img {
	background: #ff9933;

	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	display: inline-block;
	height: 12px;
	opacity: 0;
	position: relative;
	top: -50%;
	width: 12px;

	-webkit-animation: preload 1s infinite;
	-moz-animation: preload 1s infinite;
	-ms-animation: preload 1s infinite;
	-o-animation: preload 1s infinite;
	animation: preload 1s infinite;
}

.preloading {
	height: 12px;
	margin: 0 auto;
	top: 50%;
	position: relative;
	width: 48px;
}

#sequence-preloader img:nth-child(2) {
	-webkit-animation-delay: .15s;
	-moz-animation-delay: .15s;
	-ms-animation-delay: .15s;
	-o-animation-delay: .15s;
	animation-delay: .15s;
}

#sequence-preloader img:nth-child(3) {
	-webkit-animation-delay: .3s;
	-moz-animation-delay: .3s;
	-ms-animation-delay: .3s;
	-o-animation-delay: .3s;
	animation-delay: .3s;
}

#main {
	border: none;
	margin: -100px auto 0 auto;
	position: relative;
	z-index: 200;
}
.slider .next{
	background: url(../img/index/slider_buttons.png) 60px 0;
}
.slider .prev{
	background: url(../img/index/slider_buttons.png) 0 0;
}

.slider .next:hover{
	background: url(../img/index/slider_buttons_hover.png) 60px 0;
}
.slider .prev:hover{
	background: url(../img/index/slider_buttons_hover.png) 0 0;
}

.next,.prev {
	color: white;
	cursor: pointer;
	display: none;
	font-size: 80px;
	font-weight: bold;
	position: absolute;
	top: 158px;
	height: 60px;
	width: 60px;
	z-index: 20;

	-webkit-transition-duration: .4s;
	-moz-transition-duration: .4s;
	-o-transition-duration: .4s;
	-ms-transition-duration: .4s;
	transition-duration: .4s;
}

.prev {
	left: 13px;
	position: absolute;
}

.next {
	position: absolute;
	right: 13px;
}

.next:hover,.prev:hover {
	opacity: 1;

	/*-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);*/

	-webkit-transition-duration: .4s;
	-moz-transition-duration: .4s;
	-o-transition-duration: .4s;
	-ms-transition-duration: .4s;
	transition-duration: .4s;
}

#sequence li > * {
	position: absolute;
}

#sequence {
	/*height: 600px;*/
	min-height: 519px;
	margin: 0 auto;
	position: relative;
	max-width: 1400px;
}

h2 {
	font-size: 1.5em;
	line-height: 1.2em;
}

.info {
	color: black;
	font-size: 1em;
	right: 150%;
	line-height: 1.2em;
	top: 385px;
	width: 25%;
	z-index: 10;
	vertical-align: middle;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;*/

	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.info.animate-in {
	right: 599px;
	top: 385px;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;*/

	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.info.animate-out {
	right: -150%;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;*/

	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.balloon {
	left: -140%;
	top: 107px;
	/*max-width: 40%;*/

	/*-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 6;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.balloon.animate-in {
	left: 353px;
	top: 107px;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 4;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.balloon.animate-out {
	left: 140%;
	top: 107px;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 2;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.aeroplane {
	left: -50%;
	max-width: 40%;
	top: 800px;

	/*-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 6;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.aeroplane.animate-in {
	left: 10%;
	top: 100px;

	/*-webkit-transform: rotate(20deg);
	-moz-transform: rotate(20deg);
	-o-transform: rotate(20deg);
	-ms-transform: rotate(20deg);
	transform: rotate(20deg);

	-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top -webkit-transform;
	-moz-transition-property: left top -moz-transform;
	-o-transition-property: left top -o-transform;
	-ms-transition-property: left top -ms-transform;
	transition-property: left top transform;*/
	z-index: 4;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.aeroplane.animate-out {
	left: 70%;
	top: -900px;

	/*-webkit-transform: rotate(40deg);
	-moz-transform: rotate(40deg);
	-o-transform: rotate(40deg);
	-ms-transform: rotate(40deg);
	transform: rotate(40deg);

	-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top -webkit-transform;
	-moz-transition-property: left top -moz-transform;
	-o-transition-property: left top -o-transform;
	-ms-transition-property: left top -ms-transform;
	transition-property: left top transform;*/
	z-index: 2;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.sky {
    height: auto;
    width: 100%;
	left: 40%;
	opacity: 0;
	top: 0;
	vertical-align: middle;

	/*-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 1;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.sky.animate-in {
	left: 0%;
	opacity: 1;
	top: 0;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 1;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.sky.animate-out {
	left: -40%;
	opacity: 0;
	top: 0;

	/*-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;*/
	z-index: 1;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.kite {
	left: -30%;
	opacity: 0;
	max-width: 40%;
	top: 300px;

	/*-webkit-transition-property: left top;
	-moz-transition-property: left top;
	-o-transition-property: left top;
	-ms-transition-property: left top;
	transition-property: left top;

	-webkit-transform-origin: 100% 100%;
	-moz-transform-origin: 100% 100%;
	-o-transform-origin: 100% 100%;
	-ms-transform-origin: 100% 100%;
	transform-origin: 100% 100%;*/
	z-index: 6;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.kite.animate-in {
	left: -15%;
	top: 300px;
	opacity: 1;

	/*-webkit-transform: rotate(80deg);
	-moz-transform: rotate(80deg);
	-o-transform: rotate(80deg);
	-ms-transform: rotate(80deg);
	transform: rotate(80deg);

	-webkit-transform-origin: 100% 100%;
	-moz-transform-origin: 100% 100%;
	-o-transform-origin: 100% 100%;
	-ms-transform-origin: 100% 100%;
	transform-origin: 100% 100%;

	-webkit-transition-duration: 4s;
	-moz-transition-duration: 4s;
	-o-transition-duration: 4s;
	-ms-transition-duration: 4s;
	transition-duration: 4s;

	-webkit-transition-property: left top -webkit-transform;
	-moz-transition-property: left top -moz-transform;
	-o-transition-property: left top -o-transform;
	-ms-transition-property: left top -ms-transform;
	transition-property: left top transform;*/
	z-index: 4;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.kite.animate-out {
	left: -15%;
	opacity: 0;
	top: 300px;

	/*-webkit-transform: rotate(200deg);
	-moz-transform: rotate(200deg);
	-o-transform: rotate(200deg);
	-ms-transform: rotate(200deg);
	transform: rotate(200deg);

	-webkit-transform-origin: 100% 100%;
	-moz-transform-origin: 100% 100%;
	-o-transform-origin: 100% 100%;
	-ms-transform-origin: 100% 100%;
	transform-origin: 100% 100%;

	-webkit-transition-duration: 3s;
	-moz-transition-duration: 3s;
	-o-transition-duration: 3s;
	-ms-transition-duration: 3s;
	transition-duration: 3s;

	-webkit-transition-property: left top -webkit-transform;
	-moz-transition-property: left top -moz-transform;
	-o-transition-property: left top -o-transform;
	-ms-transition-property: left top -ms-transform;
	transition-property: left top transform;*/
	z-index: 2;
	
	-webkit-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.sequence-fallback .kite.animate-in {
    left: 20%;
    top: 200px;
}