/**
 * @ package    ST Slider Module
 * @ version    1.5
 * @ author     7Studio Tomasz Herudzinski http://www.7studio.eu
 * @ copyright  Copyrights (C) 2009 - 2014 7Studio Tomasz Herudzinski
 * @ license    Joomla! CMS, Joomla! is Free Software Released under GNU/GPL License: http://www.gnu.org/copyleft/gpl.html
 *
 * @ see        Sequence.js is released under MIT License http://www.opensource.org/licenses/mit-license.php
 * @ see        Sequence.js and its dependencies are (c) Ian Lunn Design 2012 unless otherwise stated.
**/

 /* Basic Style
-----------------------------------------------------------------------------------*/
.st-slider {
	background-color: #1a1a1a;
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.sequence {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.sequence > .sequence-canvas {
	height: 100%;
	width: 100%;
}

.sequence > ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.sequence > .sequence-canvas > li {
	z-index: 1;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
    -webkit-transform: scale(1);
}

.sequence > .sequence-canvas li > * {
	position: absolute;
}

.sequence .slide-image > img {
	max-width: inherit;
	display: block;
	height: auto;
}

/* Slide overaly */
.sequence .slide-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 18;
	opacity: 0;
	background-color: rgba(0,0,0,0.05);
	padding: 40px 40px 40px 340px;
    -webkit-transition-duration: 1s;
       -moz-transition-duration: 1s;
			transition-duration: 1s;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;	
}

.sequence .slide-overlay:after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	z-index: 19;
	background-color: transparent;
	border: 1px solid #ffffff;
	border: 1px solid rgba(255,255,255,0.4);
}
/* sequence requirment */
.animate-in .slide-overlay  {
	opacity: 1;
}

.animate-out .slide-overlay {
	opacity: 0;
}

/* Slide Content
-----------------------------------------------------------------------------------*/
.sequence .text-block {
	display: block;
	position: absolute;
	bottom: 100px;
	right: 0;
	color: #ffffff;
	z-index: 20;
	-webkit-transition-duration: .5s;
	   -moz-transition-duration: .5s;
			transition-duration: .5s;
}

/* title block */
.sequence .title-block {
	display: block;
	overflow: hidden;
	background-color: #ffffff;
	padding: 26px 20px 26px 40px;
	margin-bottom: 20px;
}

.sequence .title-block h2 {
	float: left;
	margin: 0;
	text-align: right;
	display: block;
	font-size: 36px;
	line-height: 42px;
	padding-right: 20px;
}

/* subtitle block */
.sequence .subtitle-block {
	background-color: #343399;
	display: block;
	float: right;
	padding: 18px 30px 18px 35px;
}

.sequence .subtitle-block  h4 {
	color: #ffffff;
	float: left;
	font-size: 16px;
	color: #999999;
	padding: 0;
	margin: 0;
}

.sequence .subtitle-block a.slide-link {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 0px dotted #262626;
	font-size: 12px;
	color: #c5c5c5;
	display: block;
	float: right;
	text-transform: uppercase;
	line-height: 36px;
}

.sequence .subtitle-block a:hover {
	color: #ffffff;
}

.sequence .subtitle-block a span.btn-arrow {
	font-size: 14px;
	text-align: center;
	margin-top: 3px;
	margin-left: 8px;
	display: inline-block;
	position: relative;
	height: 24px;
	width: 24px;
	line-height: 24px;
	border: 2px solid #262626;
	-webkit-border-radius: 24px;
			border-radius: 24px;
	-webkit-transition: border .3s ease;
	   -moz-transition: border .3s ease;
			transition: border .3s ease;
}

.sequence .subtitle-block a:hover span.btn-arrow {
	border: 2px solid #ffffff;
}

/* Navigation (next/prev)
-----------------------------------------------------------------------------------*/
.sequence .sequence-navigation {
	margin: 0;
	padding: 0;
	float: right;
	display: inline-block;
	z-index: 21;
}

.sequence .sequence-navigation li {
	display: block;
	position: relative;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	margin: 0;
	padding: 0;
	float: left;
}

.sequence .sequence-next,
.sequence .sequence-prev {
	background-color: #ffffff;
	cursor: pointer;
	text-indent: -9999px;
	background-image: url('../images/nav-buttons.png');
	background-repeat: no-repeat;
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
			transition: all .3s ease;
}

.sequence .sequence-prev { background-position: 0 100%; }
.sequence .sequence-next { background-position: 100% 0; }
.sequence .sequence-prev:hover { background-position: 100% 100%; }
.sequence .sequence-next:hover { background-position: 0 0; }

/* Pagination Nav
-----------------------------------------------------------------------------------*/
.sequence > .sequence-pagination {
	width: 100%;
	list-style-type: none;
	position: absolute;
	bottom: 25px;
	margin: 0;
	padding-left: 300px;
	text-align: center;
	z-index: 22;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;	
}

.sequence > .sequence-pagination li {
	margin-right: 22px;
	display: inline-block;
	float: none;
}

.sequence-pagination li span {
	width: 8px;
	height: 8px;
	display: block;
	border: 2px solid #ffffff;
	cursor: pointer;
	position: relative;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
			border-radius: 20px;
	-webkit-transition: all .2s ease;
	   -moz-transition: all .2s ease;
			transition: all .2s ease;
}

.sequence-pagination li span:hover {
	background-color: #ffffff;
	cursor: pointer;
}

.sequence-pagination li.current span {
	background-color: #ffffff;
}

.sequence-pagination li span:before {
	content: "";
	display: block;
	position: absolute;
	margin-top: -7px;
	margin-left: -7px;
	width: 18px;
	height: 18px;
	border: 2px solid transparent;
	background-color: transaprent;
	-webkit-border-radius: 24px;
			border-radius: 24px;
	-webkit-transition: border .2s ease;
	   -moz-transition: border .2s ease;
			transition: border .2s ease;
}

.sequence-pagination li.current span:before {
	border: 2px solid #ffffff;
}

/* Progress Bar
-----------------------------------------------------------------------------------*/
.st-progress {
	position: absolute;
	top: 80px;
	right: 80px;
	z-index: 17;
	width: 150px;
	height: 1px;
	overflow: hidden;
	background: rgba(255,255,255,.3);
}

.st-progress::before {
	position: absolute;
	content: '';
	top: 0px;
	left: 0;
	height: 1px;
	width: 150px;
	opacity: 0;
	-webkit-transform: translateX(-150px);
		-ms-transform: translateX(-150px);
			transform: translateX(-150px);
	background-color: #ffffff;
	-webkit-transition: all .2s linear;
	   -moz-transition: all .2s linear;
			transition: all .2s linear;
}

.st-progress.active::before {
	opacity: 1;
}

@-webkit-keyframes loader {
	0% {
		-webkit-transform: translateX(-150px);
		transform: translateX(-150px);
	}

	100% {
		-webkit-transform: translateX(0px);
		transform: translateX(0px);
	}
}

@keyframes loader {
	0% {
		-webkit-transform: translateX(-150px);
		-ms-transform: translateX(-150px);
		transform: translateX(-150px);
	}
  
	100% {
		-webkit-transform: translateX(0px);
		-ms-transform: translateX(0px);
		transform: translateX(0px);
	}
}

/* Preloader
-----------------------------------------------------------------------------------*/
.sequence-preloader {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 30;
	background-color: #cacaca;
	display: block;
	opacity: 1;
	visibility: visible;
    -webkit-transition-duration: .5s;
       -moz-transition-duration: .5s;
			transition-duration: .5s;
}

.sequence-preloader.preloading-complete {
	opacity: 0;
	visibility: hidden;
	-webkit-transition-delay: .6s;
	   -moz-transition-delay: .6s;
			transition-delay: .6s;
}

.sequence .spinner {
	z-index: 31;
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0;
	margin: -50px 0 0 125px;
	width: 50px;
	height: 50px;
	border-top: 1px solid #444444;
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	border-radius: 50px;
	box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.4);
	-webkit-animation: preloaderSpin .9s infinite ease normal;
			animation: preloaderSpin .9s infinite ease normal;
}

@-webkit-keyframes preloaderSpin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes preloaderSpin {
	0% {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
  
	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* Animations
-----------------------------------------------------------------------------------*/
/* image,text animation */
.sequence .animate-in .st-animate,
.sequence .animate-in .slide-image {
    -webkit-transition-duration: 1s;
       -moz-transition-duration: 1s;
			transition-duration: 1s;
}

.sequence .animate-out .st-animate,
.sequence .animate-out .slide-image {
    -webkit-transition-duration: 1s;
       -moz-transition-duration: 1s;
			transition-duration: 1s;
}

/* Text Block
-----------------------------------------------------------------------------------*/
.sequence .text-block {
	opacity: 0;
	-webkit-transform: scale(1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.sequence .animate-in .text-block { opacity: 1; }
.sequence .animate-out .text-block { opacity: 0; }

/* fade */
.sequence .text-block.fade .st-animate { opacity: 0; }
.sequence .animate-in .text-block.fade .st-animate { opacity: 1; }
.sequence .animate-out .text-block.fade .st-animate { opacity: 0; }

/* fall */
.sequence .text-block.fall .st-animate {
	opacity: 0; 
	-webkit-transform: rotateX(-90deg); 
	   -moz-transform: rotateX(-90deg);
			transform: rotateX(-90deg);
	-webkit-transform-origin: 0 0;
	   -moz-transform-origin: 0 0;
			transform-origin: 0 0;
	-webkit-backface-visibility: hidden; 
			backface-visibility: hidden;
	-webkit-transition-duration: 1s;
       -moz-transition-duration: 1s;
			transition-duration: 1s;
}

.sequence .animate-in .text-block.fall .st-animate {
	opacity: 1;
	-webkit-transform: rotateX(0deg);
	   -moz-transform: rotateX(0deg); 
			transform: rotateX(0deg);
}

.sequence .animate-out .text-block.fall .st-animate {
	opacity: 0;
	-webkit-transform: rotateX(-90deg); 
	   -moz-transform: rotateX(-90deg);
			transform: rotateX(-90deg);
}

/* text animation delays */
.st-animate.short-delay {
	-webkit-transition-delay: .4s;
	   -moz-transition-delay: .4s;
			transition-delay: .4s;
}

.st-animate.medium-delay {
	-webkit-transition-delay: .7s;
	   -moz-transition-delay: .7s;
			transition-delay: .7s;
}

/* Slider Image
-----------------------------------------------------------------------------------*/
.sequence .slide-image  {
	opacity: 0;	
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: scale(1);
}

.sequence .animate-in .slide-image { opacity: 1; }
.sequence .animate-out .slide-image { opacity: 0; }


.sequence .animate-in .slide-image.scale img {
	-webkit-animation: rotateIn 1s ease none;
			animation: rotateIn 1s ease none;
}

@-webkit-keyframes rotateIn {
	0% {
		opacity: 0;
		-webkit-transform: scale(1.24) rotate(5deg);
		transform: scale(1.24) rotate(5deg);
	}

	100% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
	}
}

@keyframes rotateIn {
	0% {
		opacity: 0;
		-webkit-transform: scale(1.24) rotate(5deg);
		-ms-transform: scale(1.24) rotate(5deg);
		transform: scale(1.24) rotate(5deg);
	}
  
	100% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0deg);
		-ms-transform: scale(1) rotate(0deg);
		transform: scale(1) rotate(0deg);
	}
}

/* Responsive Style
-----------------------------------------------------------------------------------*/
@media (max-width: 1170px) {
	.sequence .slide-overlay {
		padding: 40px 40px 40px 310px;
	}

	.sequence .spinner {
		margin: -50px 0 0 95px;
	}
}

@media (max-width: 979px) {
	.sequence .slide-overlay {
		padding: 130px 40px 40px 40px;
	}

	.sequence .text-block {
		bottom: 80px;
	}

	.sequence .title-block {
		padding: 25px;
	}

	.sequence .title-block h2 {
		font-size: 30px;
		line-height: 36px;
		padding-right: 20px;
	}

	.sequence .subtitle-block {
		padding: 10px 20px;
	}

	.sequence > .sequence-pagination {
		padding-left: 0px;
	}

	.st-progress {
		top: 180px;
	}

	.sequence .spinner {
		margin: 0 0 0 -50px;
	}
}

@media (max-width: 768px) {
	.sequence .slide-overlay {
		padding: 120px 30px 30px 30px;
	}

	.sequence .text-block {
		bottom: 0;
	}
	
	.sequence .title-block {
		padding: 20px;
		margin-bottom: 0;
		float: right;
	}

	.sequence .title-block h2 {
		font-size: 24px;
		line-height: 36px;
		padding: 0;
		margin-bottom: 0;
		text-align: left;
		float: left;
		display: block;
	}
	
	.sequence .subtitle-block {
		padding: 10px 20px;
	}

	.sequence .subtitle-block h4 {
		display: block;
		margin: 10px 10px 10px 0;
		line-height: 24px;
	}
	
	.sequence .subtitle-block a.slide-link {
		float: left;
		display: inline-block;
		padding: 0;
		margin: 0;
		line-height: 48px;
	}

	.st-progress {
		top: 160px;
	}
	
	.sequence .sequence-navigation {
		float: right;
	}
	
	.sequence ul.sequence-pagination {
		padding-left: 0px;
		bottom: 15px;
		display: none ! important;
	}
}

@media (max-width: 640px) {
	.sequence .title-block {
		float: none;
	}
	
	.sequence .sequence-navigation {
		display: none;
	}
}

@media (max-width: 480px) {
	.sequence .title-block {
		padding: 12px;
		margin-bottom: 0;
	}

	.sequence .title-block h2 {
		margin-bottom: 5px;
		font-size: 18px;
		line-height: 24px;
	}

	.sequence .subtitle-block {
		padding: 6px 12px;
	}
	
	.sequence .subtitle-block h4 {
		margin-bottom: 6px;
	}
} 