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

Sequence.js and its dependencies are (c) Ian Lunn Design 2012 unless otherwise stated.
MIT License for Sequence.js
Copyright (c) 2012 Ian Lunn Design
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the â€œSoftwareâ€), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/

/*------------ base background css for slides ------------ */
.slide1 .bgimg, .slide2 .bgimg, .slide3 .bgimg, .slide4 .bgimg {
	    background-repeat: repeat-x;
	    background-position: 50% 0%;
}

/*---------------------------------------------------------------- 
BACKGROUND IMAGES USE MOBILE FIRST AND THEN A FALL BACK FOR OLDER IE - smaller image for the small device. 
 ---------------------------------------------------------------- */

/*------------ media query for devices from 981px and up (Large screens) ------------ */
@media only screen and (min-width:981px) { 
	.slide1 .bgimg {background-image: url(../../images/low-poly-bg-6.jpg);}


}

/*------------ media query Medium devices from 501px to 980px ------------ */
@media only screen and (min-width:481px) and (max-width:980px) { 
	.slide1 .bgimg {background-image: url(../../images/low-poly-bg-980.jpg);}

}

/*------------ media query for Small Screens 500px and down ------------ */
@media only screen and (max-width: 480px) { 
	.slide1 .bgimg {background-image: url(../../images/low-poly-bg-sm.jpg);}

}


/*------------ THESE are outside a media query for Background Images IE ONLY LEGACY BROWSERS ------------ */
.lt-ie9 .slide1 .bgimg {background-image: url(../../images/low-poly-bg-6.jpg);}


/*------------ end IE background images ------------ */


/* _____ assumes all dark backgrounds, adjust css to accomodate your needs */

#sequence > .sequence-canvas {
  height: 100%;
  width: 100%;
}
#sequence > .sequence-canvas > li {
  position: absolute;
  width: 100%;
  height:100%;
  z-index: 1;
  top: 0;
}
#sequence > .sequence-canvas li > * {
  position: absolute;
}

#sequence {height:430px; }

/*------------ Container(s) ------------ */
.sequence-theme ul,
.sequence-theme ul li {
    margin: 0;
    padding: 0;
}
.sequence-theme ul li { list-style: none }
.sequence-theme {
    width: 100%;
    overflow:hidden;
    position: relative;
    -webkit-backface-visibility: hidden;
    margin: -2% 0 0 0;
}

.sequence-theme #sequence.sequence-fallback { overflow: hidden }

/*------------ Navigation ------------ */

.sequence-theme .sequence-next,
.sequence-theme .sequence-prev {
    cursor: pointer;
    top: 50%;
    margin-top: -30px;
    opacity: 0;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
    position: absolute;
    z-index: 200;
    right: -50px;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    font-size: 30px;
    line-height: 50px;
    color: #fff;
    background: #53A3B7;
    text-align: center;
}
.sequence-theme .sequence-prev {
    left: -50px;
    right: auto;
}
.sequence-theme .sequence-next:hover,
.sequence-theme .sequence-prev:hover { opacity: .5 }
.sequence-theme:hover .sequence-next {
    opacity: 1;
    right: 0;
}
.sequence-theme:hover .sequence-prev {
    opacity: 1;
    left: 0;
}
.sequence-theme .sequence-prev i {
    position: relative;
    left: 2px;
    *top:10px;
}
.sequence-theme .sequence-next i {
    position: relative;
    left: -2px;
	*top:10px;
}

/*------------ Control Dots ------------ */
.sequence-pagination {
    margin: 0 0 40px 0;
    padding: 0;
    position: relative;
    clear:both;
    z-index: 8;
    width: 100%;
    text-align: center;
}
.sequence-pagination li {
    margin: 10px 2px 5px 2px;
    padding: 0;
    line-height: 1;
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.sequence-pagination li a {
    width: 10px;
    height: 10px;
    display: block;
    background:#EAEEF2;
    cursor: pointer;
    text-indent: 9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.sequence-pagination li a:hover { background: #000 }
.sequence-pagination li.current a {
    background: #53A3B7;
    cursor: default;
}
.lt-ie8 .sequence-pagination {
	position: relative;
	overflow:visible;
	background:#fff;
}

/*------------ Base Slide Styles ------------ */
.slide-image img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    max-height: 350px;
}
.sequence-theme .bgimg {
    position: absolute;
    top: 0;
    left: 0;
    height: 600px;
    opacity: 0;
    width: 100%;
}


/*------------ caption ------------ */

.sequence-theme .caption {
    z-index: 2000;
}
.sequence-theme .caption h2 {
	font-size: 300%;
	color: #fff;
	margin:0;
	text-shadow: #1a1a1a 1px 1px 2px;
	font-weight: 700;
}
.sequence-theme .caption h3 {
	font-size:250%;
	line-height:1.3;
	color: #fff;
	margin:0;
	font-weight: 700;
	text-shadow: #1a1a1a 1px 1px 2px;
}

.sequence-theme .caption h2 span, .sequence-theme .caption h3 span  {
		padding: 8px 16px;
	
		line-height:2;
}



.lt-ie9 .sequence-theme .caption h3 span {

}

.lt-ie9 .sequence-theme .caption h2 {
	font-size:300%;
}

.lt-ie9 .sequence-theme .caption h3 {
	font-size:250%;
}

/*------------ Background Image Animation ------------ */
.sequence-theme .animate-in .bgimg {
    opacity: 1;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -ms-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}
.sequence-theme .animate-out .bgimg {
    opacity: 1;
    -webkit-transition-duration: 2s;
    -moz-transition-duration: 2s;
    -ms-transition-duration: 2s;
    -o-transition-duration: 2s;
    transition-duration: 2s;
}


/* Title from top center */
.sequence-theme .title-from-top-animate {
    left: 0;
    position: absolute;
    width: 100%;
    top: -800px;
    text-align: center;
    z-index: 10;
}
.sequence-theme .animate-in .title-from-top-animate {
    left: 0;
    top: 105px;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -ms-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}
.sequence-theme .animate-out .title-from-top-animate {
    left: 0;
    top: -800px;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -ms-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

/* Title from bottom center */
.sequence-theme .title-from-bottom-animate {
    left: 0;
    position: absolute;
    width: 100%;
    bottom: -800px;
    text-align: center;
    z-index: 6;
}
.sequence-theme .animate-in .title-from-bottom-animate {
    left: 0;
    bottom: 0px;
    -webkit-transition-duration: 2s;
    -moz-transition-duration: 2s;
    -ms-transition-duration: 2s;
    -o-transition-duration: 2s;
    transition-duration: 2s;
}
.sequence-theme .animate-out .title-from-bottom-animate {
    left: 0;
    bottom: -800px;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -ms-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

/* IMAGE from bottom center */
.sequence-theme .img-from-bottom {
    left: 0;
    width: 100%;
    position: absolute;
    bottom: -800px;
    z-index: 5;
}
.sequence-theme .animate-in .img-from-bottom {
    left: 0;
   bottom: 40px;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -ms-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}
.sequence-theme .animate-out .img-from-bottom {
    left: 0;
    opacity: 0;
    bottom: 50px;
    -webkit-transition-duration: 2s;
    -moz-transition-duration: 2s;
    -ms-transition-duration: 2s;
    -o-transition-duration: 2s;
    transition-duration: 2s;
}

/*--------- LARGE Screens ------------------- */
@media only screen and (min-width: 1900px) { 
	.sequence-theme .bgimg { background-size: 100% }
}

@media only screen and (max-width: 1300px) { 
	.sequence-theme .caption h2 { font-size: 280%;line-height:1.8}
	.sequence-theme .caption h3 { font-size: 180% }
	#sequence {
		height: 370px;
	}
 
}

/*------- iPads ---------*/

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  { 
.sequence-theme .caption h2 {
	font-size: 300%;
	color: #fff;
	margin:0;
	text-shadow: #1a1a1a 1px 1px 2px;
	font-weight: 700;
}
.sequence-theme .caption h3 {
	font-size:280%;
	line-height:1.3;
	color: #fff;
	margin:0;
	font-weight: 700;
	text-shadow: #1a1a1a 1px 1px 2px;
}
.sequence-theme .animate-in .title-from-bottom-animate {
	bottom: 75px;
}
.sequence-theme .title-from-bottom-animate p {
	 font-size: 250%;
}

.sequence-theme .caption h2 span, .sequence-theme .caption h3 span  {
		padding: 8px 16px;
		line-height:2;
}
		.sequence-theme .caption {
	    text-align: center;
	    margin: 0;
	}
	.sequence-theme .caption br {
    display:none;
	}
	.sequence-theme .caption h2 { padding: 0 3% }
	
	.slide-image img { max-height: 280px }
	
	.sequence-theme .title-from-top-animate {
	    left: 0;
	    width: 100%;
	    text-align: center;
	}
	.sequence-theme .animate-in .title-from-top-animate {
	    left: 0;
	    top: 75px;
	}
	.sequence-theme .animate-out .title-from-top-animate { left: 0 }
	/* IMAGE from bottom center */
	.sequence-theme .img-from-bottom {
	    left: 0;
	    width: 100%;
	}
	.sequence-theme .animate-in .img-from-bottom {
	    left: 0;
	    bottom: 20px;
	}
	.sequence-theme .animate-out .img-from-bottom {
	    left: 0;
	    opacity: 0;
	    bottom: -100px;
	}


}


@media only screen and (max-width: 767px) { 
	.sequence-theme .sequence-next,
	.sequence-theme .sequence-prev {
		width: 30px;
 	   height: 30px;
 	   font-size: 15px;
 	   line-height: 30px;
	}
	.sequence-theme .sequence-next i {
    	left: 1;
	}
	.sequence-theme .sequence-prev i {
 	   left: 0;
	}
		
}


@media only screen and (max-width: 480px) { 
	#sequence { height: 230px }
	.slide-image img { max-height: 230px }
	.sequence-theme .caption h2 { font-size: 110% }
	.sequence-theme .caption h3 { font-size: 110% }

	.sequence-theme .animate-in .title-from-bottom-animate {
    left: 0;
    bottom: 25px;
font-size: 70%;
}
}

/* max height !!! */
@media only screen and (max-height:321px) {

	#sequence { height: 175px }
	.slide-image img { max-height: 100px }
	.sequence-theme .title-left-to-right-animate {
	    top: 10px;
	}

	.sequence-theme .caption h2 { font-size: 120% }
	.sequence-theme .caption h3 { font-size: 80% }

}

/**** iPhone 2G-4S in portrait ****/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) 
and (orientation : portrait) { 
 #sequence { height: 175px }
 .sequence-theme .caption h2 { font-size: 112% }
	.sequence-theme .caption h3 { font-size: 110% }
 .sequence-theme .animate-in .title-from-top-animate {
    left: 0;
    top: 45px;

}

.sequence-theme .animate-in .img-from-bottom {
    left: 0;
    bottom: 00px;
}

 }
 
 
 @media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) { 

 #sequence { height: 200px }
 .sequence-theme .caption h2 { font-size: 150% }
	.sequence-theme .caption h3 { font-size: 140% }
 .sequence-theme .animate-in .title-from-top-animate {
    left: 0;
    top: 45px;

}

.slide-image img { max-height: 175px }

.sequence-theme .animate-in .img-from-bottom {
    left: 0;
    bottom: 00px;
}}

