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

Theme:   Sliding Horizontal Parallax (Responsive)
Version:   0.2.2 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: #323333;
	color: white;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.625em;*/
	min-width: 200px;
}

#slider-container{
	/*background: #d9d9d9;
	border-bottom: black solid 5px;*/
	/*width: 100%;*/
}

#slider {
	/*background:  #D9D9D9;*/
	height: 345px;
	margin: 0 auto;
	margin-bottom: 25px;
    padding-top: 10px;
	position: relative;
	overflow: hidden;
	max-width: /*1280*/1000px;
	width: 100%;
}
#sequence ul {
	padding:0;
	margin:0;
}
/*
#main, #aside{
	font-size: 1.6em;
}

a{
	color: white;
}
*/
.next,.prev {
	color: white;
	cursor: pointer;
	opacity:0;
	font-weight: bold;
	padding: 10px 15px;
	position: absolute;
	top: 50%;
	z-index: 1000;
	height: 29px;
	margin-top: -30px;
	padding-left: 0px;
	padding-right: 0px;
}

.pause {
	bottom: 0;
	cursor: pointer;
	position: absolute;
	z-index: 1000;
}

.paused {
	opacity: 0.3;
}

.prev {
	left: 1%;
}

.next {
	right: 1%;
}

.prev img, .next img{
	height: 100%;
	width: auto;
}

#sequence-preloader{
	background: #d9d9d9;
}

#nav {
	bottom: 1%;
	display: none;
	right: 6%;
	position: absolute;

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

#nav li {
	display: inline-block;
	height: 140px;
}

#nav li img {
	cursor: pointer;
	opacity: 0.5;

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

#nav li img.active {
	opacity: 1;
}

@media only screen and (min-width : 1224px) {
	/*only display the hover effect on desktops/laptops*/
	#nav li img:hover {
		opacity: 1;
	
		-webkit-transition-duration: 1s;
		-moz-transition-duration: 1s;
		-o-transition-duration: 1s;
		-ms-transition-duration: 1s;
		transition-duration: 1s;
	}

}

#sequence li{
	height: 100%;
	position: absolute;
	top: -50%;
	width: 100%;
}

#sequence li * {
	position: absolute;
}

#sequence li img{
	height: 96%;
}

#sequence {
	/*background: url("../images/bg-sequence.jpg") no-repeat 50% 100%;*/
	display: block;
	height: 100%;
	margin: 0;
	position: absolute;
	max-width: /*1280*/1000px;
	width: 100%;
	
	/*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 h2 {
	color: #606060;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	font-size:34px;
	line-height:34px;
	margin-bottom:0;
	
}

#sequence h3 {
	color: #f0bc01;
	font-family: 'Open Sans', sans-serif;
	font-weight:lighter;
	font-size:25px;
	line-height:25px;
	margin-bottom:0;
}

.next,.prev {
	position: absolute;
	opacity: 0.1;

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

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

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

.title {
	font-size: 3.4em;
	right: 45%;
	width: 45%;
	opacity: 0;
	bottom: 20%;
	z-index: 50;
}

.title.animate-in {
	right: 50%;
	opacity: 1;

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

.title.animate-out {
	right: 35%;
	opacity: 0;

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

.subtitle {
	right: 45%;
	width: 45%;
	opacity: 0;
	top: 87%; /*change block position*/
}

.subtitle.animate-in {
	right: 50%;
	opacity: 1;

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

.subtitle.animate-out {
	right: 65%;
	opacity: 0;

	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
	-o-transition-duration: .5s;
	-ms-transition-duration: .5s;
	transition-duration: .5s;
}
.subtitle-2 {
	right: 39%;
	width: 39%;
	opacity: 0;
	top: 93%;/*change block position*/
}

.subtitle-2.animate-in {
	right: 56%;
	opacity: 1;

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

.subtitle-2.animate-out {
	right: 60%;
	opacity: 0;

	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
	-o-transition-duration: .5s;
	-ms-transition-duration: .5s;
	transition-duration: .5s;
}
.slider-caption {
	font-size:14px;
	line-height:18px;
	font-weight:lighter;
	color:#606060;
	margin-top:14px;
	margin-bottom:14px;
}

.subtitle-3 {
	right: 45%;
	width: 45%;
	opacity: 0;
	top: 120%;/*change block position*/
}

.subtitle-3.animate-in {
	right: 50%;
	opacity: 1;

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

.subtitle-3.animate-out {
	right: 65%;
	opacity: 0;

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

.model {
	right: 30%;
	bottom: -48%;
	opacity: 0;
	position: relative;
	height: auto !important;
	max-height: 345px !important;
	width: 100%;
	min-width: 225px; /*prevents the model from shrinking when the browser is resized*/
	max-width: 500px;
}

.model.animate-in {
	right: 5%;
	opacity: 1;

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

.model.animate-out {
	right: 5%;
	opacity: 0;

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








/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 959px) {
        #slider    { 
			height: 265px;
		}
		
		#sequence h2 {

			font-size: 26px;
			line-height: 26px;
		}
		
		#sequence h3 {
			color: #F0BC01;
			font-family: 'Open Sans',sans-serif;
			font-size: 20px;
			line-height: 20px;
			font-weight: lighter;
		}
		.slider-caption {
			color: #606060;
			font-size: 12px;
			font-weight: lighter;
			line-height: 14px;
		}
		#sequence li img {
			width: 50%;
		}
  		
    }


/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
        #slider    { 
			height: 235px;
		}
		.model{
			left: 50%;
			bottom: -20%;
			min-width: 65%; /*prevents the model from shrinking when the browser is resized*/
			width: 65%;
			/*height:300px;*/	
		}
		
		.model.animate-in {
			left: 50%;
			margin-left: -33%;
		}
		
		.model.animate-out {
			left: 50%;
			margin-left: -30%;
		}
		
		.title{
			background-color: #F0F0F0;
			bottom: 0;
			left: 100%;
			padding: 4%;
			bottom: -50%;
			width: 100%;
			z-index: 10;
		}
		
		.box-main-container {
			background-color: #F0F0F0;
			border-color: #D6D6D6;
			border-radius: 3px 3px 0 0;
			border-style: solid solid dashed;
			border-width: 1px;
			padding-bottom: 15px;
			padding-top: 15px;
			text-align: center;
		}
		
		.title.animate-in{
			left: 0%;
		}
		
		.title.animate-out{
			left: -100%;	
		}
		.subtitle{
			visibility: hidden;
		}
		.subtitle-3{
			visibility: hidden;
		}
		.subtitle-2{
			visibility: hidden;
		}
		
		#nav{
			bottom: 40px;
		}
		
		#nav li img{
			height: 100px;
		}

    }


/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) {
         #slider    { 
			height: 265px;
		}
		.model{
			left: 50%;
			bottom: -20%;
			min-width: 65%; /*prevents the model from shrinking when the browser is resized*/
			width: 65%;
			/*height:300px;*/	
		}
		
		.model.animate-in {
			left: 50%;
			margin-left: -33%;
		}
		
		.model.animate-out {
			left: 50%;
			margin-left: -30%;
		}
		
		.title{
			background-color: #F0F0F0;
			bottom: 0;
			left: 100%;
			padding: 4%;
			bottom: -50%;
			width: 100%;
			z-index: 10;
		}
		
		.box-main-container {
			background-color: #F0F0F0;
			border-color: #D6D6D6;
			border-radius: 3px 3px 0 0;
			border-style: solid solid dashed;
			border-width: 1px;
			padding-bottom: 15px;
			padding-top: 15px;
			text-align: center;
		}
		
		.title.animate-in{
			left: 0%;
		}
		
		.title.animate-out{
			left: -100%;	
		}
		.subtitle{
			visibility: hidden;
		}
		.subtitle-3{
			visibility: hidden;
		}
		.subtitle-2{
			visibility: hidden;
		}
		
		#nav{
			bottom: 40px;
		}
		
		#nav li img{
			height: 100px;
		}

    }

/******************************/
/*******SLIDE TEXT SYLES*******/
/******************************/
#sequence .slide-2-light {
	font-size:37px;
	color:#606060;
	font-weight:lighter;
	
}
#sequence .slide-2-bold {
	font-size:34px;
	color:#373737 !important;
	font-weight:bold;
	top: 87%;
}
#sequence .slide-2-yellow {
	font-size:26px;
	color:#f0bc01;
	font-weight:normal;
	top: 90%;
}

/******************************/
/***********FOR SAFARI*********/
/******************************/
@media screen and (-webkit-min-device-pixel-ratio:0)

{
	body, #sequence h3, #sequence h2 {
		-webkit-font-smoothing:antialiased;
	}
}

