/*
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!
 */


.sequence_slider #header-container{
	width: 100%;
}

.sequence_slider #header {
	height: 450px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	max-width: 1280px;
	width: 100%;
}

.sequence_slider #main, .sequence_slider #aside{
	font-size: 1.6em;
}


.sequence_slider .next, .sequence_slider .prev {
	color: white;
	cursor: pointer;
	display: none;
	font-weight: bold;
	/*padding: 10px 15px;*/
	position: absolute;
	top: 50%;
	z-index: 1000;
	height: 75px;
	margin-top: -47.5px;
}

.sequence_slider .next:before, .sequence_slider .prev:before {
	position: absolute;
	font-family: 'icomoon';
	font-size: 25px;
	width: 35px;
	height: 35px;
	line-height: 35px;
	/*background: #000;*/
	display: block;
	text-align: center;
	border-radius: 50%;
	border: 2px solid #fff;
}

.sequence_slider .next:before {
	content: '\e006';
	right: 0;
}

.sequence_slider .prev:before {
	content: '\e007';
	left: 0;
}

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

.sequence_slider .paused {
	opacity: 0.3;
}

.sequence_slider .prev {
	left: 0;
}

.sequence_slider .next {
	right: 0;
}

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

#sequence-preloader{
	background: #fff;
}

#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 {
	display: block;
	height: 100%;
	margin: 0;
	position: absolute;
	max-width: 1280px;
	width: 100%;
	backface-visibility: hidden;
}


.sequence_slider .next,.sequence_slider .prev {
	position: absolute;
	opacity: 0.6;

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

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

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

.sequence_slider .title {
	font-size: 2em;
	left: 65%;
	width: 35%;
	opacity: 0;
	bottom: 4%;
	z-index: 50;
	border-bottom: 1px solid #fff;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	padding-bottom: 10px;
	margin-top:0;
	line-height: 1em;
	margin-bottom: 10px;
	z-index: 3;
}

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

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

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

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

.sequence_slider .subtitle {
	font-size: 1.2em;
	left: 35%;
	width: 35%;
	opacity: 0;
	top: 97%;
	line-height: 1.4em;
	z-index: 3;
}

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

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

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

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

.sequence_slider .model {
	left: 15%;
	bottom: -48%;
	opacity: 0;
	position: relative;
	height: auto !important;
	max-height: 568px !important;
	width: 40%;
	/*min-width: 225px;*/ /*prevents the model from shrinking when the browser is resized*/
	max-width: 550px;
}

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

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

.sequence_slider .model.animate-out {
	left: 15%;
	opacity: 0;

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

@media only screen and (min-width : 992px) {
	.sequence_slider .title{
		width: 42%;
	}
}

@media only screen and (max-width : 838px) {
	.sequence_slider #header{
		height: 550px;
	}
	
	.sequence_slider .model{
		max-height: 530px !important;
		width: auto;
	}
}

@media only screen and (max-width : 825px) {
	.sequence_slider #header{
		height: 500px;
	}
	
	.sequence_slider .title{
		font-size: 1.5em;
		z-index: 3;
		background: #000;
		background: hsla(0, 0%, 0%, 0.7);
		padding: 15px;
		border-bottom: none;
	}
	
	.sequence_slider .subtitle{
		font-size: 1em;
		z-index: 3;
		background: #000;
		background: hsla(0, 0%, 0%, 0.7);
		padding: 15px;
	}
	
	.sequence_slider .next,.sequence_slider .prev {
		height: 60px;
		margin-top: -40px;
	}
	
	.sequence_slider .model{
		max-height: 480px !important;
		width: auto;
	}
}


@media only screen
and (max-width : 568px) {
	.sequence_slider .model{
		left: 50%;
		min-width: 40%; /*prevents the model from shrinking when the browser is resized*/
			width: 40%;	
	}
	
	.sequence_slider .model.animate-in {
		left: 50%;
		margin-left: -20%;
	}
	
	.sequence_slider .model.animate-out {
		left: 50%;
		margin-left: -20%;
	}
	
	.sequence_slider .title{
		background: #a1a1a1;
		background: rgba(0,0,0,0.3);
		bottom: 0;
		left: 100%;
		padding: 4%;
		bottom: -50%;
		width: 100%;
		z-index: 10;
	}
	
	.sequence_slider .title.animate-in{
		left: 0%;
	}
	
	.sequence_slider .title.animate-out{
		left: -100%;	
	}
	
	.sequence_slider .subtitle{
		visibility: hidden;
	}
	
	#nav{
		bottom: 40px;
	}
	
	#nav li img{
		height: 100px;
	}
}



@media only screen
and (max-width : 518px) {
	.sequence_slider #header{
		height: 450px;
	}
}

@media only screen
and (max-width : 468px) {
	.sequence_slider #header{
		height: 415px;
	}
	
	#nav{
		opacity: 0;
		visibility: hidden;
	}
}

@media only screen
and (max-width : 418px) {
	.sequence_slider #header{
		height: 375px;
	}
}

@media only screen
and (max-width : 368px) {
	.sequence_slider #header{
		height: 325px;
	}
	.sequence_slider .title{
		font-size: 2.2em;
	}
}

@media 	only screen
		and (max-width : 320px)
		and (orientation : portrait) { /*iphone portrait*/
	.sequence_slider #header{
		height: 320px;
	}
	
	.sequence_slider .model{
		min-width: 45%;
		width: 45%;
	}
	
	.sequence_slider .model.animate-in{
		margin-left: -22.5%;
	}
	
	.sequence_slider .model.animate-out{
		margin-left: -22.5%;
	}
}

