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

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



/* _____ 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: 300px;
	background-color: #FFF;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	padding: 20px;
	border: 3px solid #528da5;
	background-image: url(../img/bg_sky_light.png);
	background-repeat: repeat;
}

/*------------ 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; */
    margin:10px 0 3%;
    -webkit-text-stroke: 0.35px;

}

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

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

.sequence-theme .sequence-next,
.sequence-theme .sequence-prev {
    cursor: pointer;
    top: 40%;
    margin-top: 0px;
    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: 30px;
    height: 30px;
    text-decoration: none;
    font-size: 30px;
    line-height: 50px;
    color: #fff;
    background: #528da5;
    text-align: center;
   	text-indent: -9999px; 
    background:url(../img/sliderarrows.png) -145px 50% no-repeat;
}

.sequence-theme .sequence-prev {
	background-position: -185px 50%;
    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;
}

/*------------ Pagination Control Dots ------------ */
.sequence-pagination {
    margin:0px;
    padding: 0px;
    position: relative;
    display:block;
    top:50%;
    z-index: 8;
    width: 50%;
    text-align: right;
}
.sequence-pagination li {
    margin: 0px 5px 0px 5px;
    padding: 5px;
    line-height: 1;
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.sequence-pagination li a {
    width: 15px;
    height: 15px;
    display: block;
    background:#bdcdd4;
    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: #528da5;
    cursor: default;
}
.lt-ie8 .sequence-pagination {
	position: relative;
	overflow:visible;
	background:#bdcdd4;
}

/*------------ Base Slide Styles ------------ */
.slide-image img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    max-height: 300px;
}



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

.sequence-theme .slide-caption {
		right: 150%;
		top: 10px;
		width: 610px;
		z-index: 10;
		display:block;

}    

.sequence-theme .slide-caption h2 {
		font-size: 300% ;
		line-height: 1.1em;
		margin-bottom: 10px;
}


.sequence-theme .slide-caption p {
		font-size:115%;
		line-height:1.5em;
}




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

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

/* ----------- TITLE on RIGHT - left to right animation ------------*/
.sequence-theme .animate-slide-caption {
    position: absolute;
	right: 150%;
	top: 20px;
    width: 610px;
    z-index: 10;
	vertical-align: middle;
    max-width:630px;
}
.sequence-theme .animate-in .animate-slide-caption {
	right: 60px;
    -webkit-transition-duration: 3s;
    -moz-transition-duration: 3s;
    -ms-transition-duration: 3s;
    -o-transition-duration: 3s;
    transition-duration: 3s;
}
.sequence-theme .animate-out .animate-slide-caption {
	right: -150%;
    -webkit-transition-duration: 3s;
    -moz-transition-duration: 3s;
    -ms-transition-duration: 3s;
    -o-transition-duration: 3s;
    transition-duration: 3s;
}
/* ----------- IMAGE on LEFT from left out to the right  ------------*/
.sequence-theme .animate-slide-image {
    width: 40%;
    position: absolute;
    z-index: 5;
    left: -100%;
	max-width: 450px;
	top: 20px;
}
.sequence-theme .animate-in .animate-slide-image {
		left: 0px;
    -webkit-transition-duration: 3s;
    -moz-transition-duration: 3s;
    -ms-transition-duration: 3s;
    -o-transition-duration: 3s;
    transition-duration: 3s;
}
.sequence-theme .animate-out .animate-slide-image {
		left: -100%;
    -webkit-transition-duration: 3s;
    -moz-transition-duration: 3s;
    -ms-transition-duration: 3s;
    -o-transition-duration: 3s;
    transition-duration: 3s;
}

/*------------------- XLARGE Screens ------------------- */
@media only screen and (min-width: 1199px) { 
	.sequence-theme .slide-caption {width:620px}
	.sequence-theme .slide-caption h2 { font-size: 320%;line-height:1.1}	
	.sequence-theme .slide-caption p { font-size: 120%;line-height:1.4}	
}

/*------------------- LARGE Screens ------------------- */
@media only screen and (max-width: 1199px) { 
	#sequence {height: 240px;}
	.slide-image img { max-height: 260px;max-width:95%;}
	.sequence-theme .slide-caption {width:490px}
	.sequence-theme .slide-caption h2 { font-size: 240%;line-height:1.2}	
	.sequence-theme .slide-caption p { font-size: 100%;line-height:1.4}	
}


/*------------------- medium Screens ------------------- */
@media only screen and (max-width: 979px) { 
	#sequence {height: 190px;}
	.slide-image img { max-height: 240px;max-width:85%;}
	.sequence-theme .slide-caption {width:370px}
	.sequence-theme .slide-caption h2 { font-size: 160%;line-height:1.2}	
	.sequence-theme .slide-caption p { font-size: 100%;line-height:1.2}	
}
/*------------------- Small Screens --------------------*/
@media only screen and (max-width: 767px) { 
	#sequence {height: 190px;}
	.slide-image { display:none;}
	.sequence-theme .slide-caption {width:90%;margin-left:10px;}
	.sequence-theme .slide-caption h2 { font-size: 160%;line-height:1.2}	
	.sequence-theme .slide-caption p { font-size: 100%;line-height:1.2}	
}

/*------------------- tiny Screens --------------------*/
@media only screen and (max-width: 480px) { 
	.sequence-theme { display:none; }
}

