/*
Theme created for use with Sequence.js (http://www.sequencejs.com/)

Theme: Modern Slide In
Version: 1.0
Theme Author: Ian Lunn @IanLunn
Author URL: http://www.ianlunn.co.uk/
Theme URL: http://www.sequencejs.com/themes/modern-slide-in/

This is a FREE theme and is available under a MIT License:
http://www.opensource.org/licenses/mit-license.php

Sequence.js and its dependencies are (c) Ian Lunn Design 2012 unless otherwise stated.
*/
/* CSS RESET - http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
/*html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}*/

/* HTML5 display-role reset for older browsers */
/*article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}*/

/* !CSS RESET */
/* prefix declarations */
/* THEME STYLES */
#sequence-theme {
	height: 345px;
	margin: 0 auto;
	margin-bottom: 25px;
    padding-top: 10px;
	position: relative;
	overflow: hidden;
	max-width: /*1280*/1000px;
	width: 100%;
  /*color: white;
  font-size: 0.625em;
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 600px;
  max-width: 1280px;
  -webkit-backface-visibility: hidden;*/
  /* prevent graphical glitches in WebKit browsers when using transitions */
}
#sequence-theme #sequence {
  /*height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  width: 100%;
  background-color: #D9D9D9;
  background-image: url("../images/bg-sequence.jpg");
  background-repeat: no-repeat;
  background-position: 50% 100%;*/
  /*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-theme .next,
#sequence-theme .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;*/
  	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;
}
#sequence-theme .pause {
  bottom: 0;
  cursor: pointer;
  position: absolute;
  z-index: 1000;
}
#sequence-theme .paused {
  opacity: 0.3;
}
#sequence-theme .prev {
  left: 1%;
}
#sequence-theme .next {
  right: 1%;
}
#sequence-theme .prev img,
#sequence-theme .next img {
  height: 100%;
  width: auto;
}
#sequence-theme #sequence-preloader {
  background: #d9d9d9;
}
#sequence-theme .nav {
  bottom: 1%;
  display: none;
  right: 6%;
  position: absolute;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#sequence-theme .nav li {
  display: inline-block;
  height: 140px;
}
#sequence-theme .nav li {
  *display: inline;
  /* Hack for IE7 and below as they don't support inline-block */
}
#sequence-theme .nav li img {
  cursor: pointer;
  opacity: 0.5;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}
#sequence-theme .nav li img.active {
  opacity: 1;
}
#sequence-theme #sequence li {
  height: 100%;
  position: absolute;
  top: -50%;
  width: 100%;
}
#sequence-theme #sequence li > * {
  position: absolute;
}
#sequence-theme #sequence li img {
  height: 96%;
}
#sequence-theme h2 {
  /*color: white;
  font-family: 'Sirin Stencil', serif;
  font-weight: bold;
  text-transform: uppercase;*/
  color: #606060;
	/*font-family: 'Open Sans', sans-serif;*/
	font-weight: bold;
	font-size:34px;
	line-height:34px;
	margin-bottom:0;
}
#sequence-theme h3 {
  /*font-family: 'Ruluko', serif;*/
  	color: #f0bc01;
	/*font-family: 'Open Sans', sans-serif;*/
	font-weight:lighter;
	font-size:25px;
	line-height:25px;
	margin-bottom:0;
}
#sequence-theme .next,
#sequence-theme .prev {
  position: absolute;
  opacity: 0.1;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
  
}
#sequence-theme .next:hover,
#sequence-theme .prev:hover {
  opacity: 1;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}
#sequence-theme .title {
  /*font-size: 3.4em;*/
 /* left: 65%;
  width: 35%;
  opacity: 0;
  bottom: 1%;
  z-index: 50;*/
  right: 45%;
	width: 45%;
	opacity: 0;
	bottom: 20%;
	z-index: 50;
}
#sequence-theme .animate-in .title {
  /*left: 50%;
  opacity: 1;*/
  
  right: 50%;
	opacity: 1;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#sequence ul {
	padding:0;
	margin:0;
}
#sequence-theme .animate-out .title {
 /* left: 35%;
  opacity: 0;*/
  right: 35%;
	opacity: 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#sequence-theme .subtitle {
  /*color: black;
  font-size: 2em;
  left: 35%;
  width: 35%;
  opacity: 0;
  top: 101%;*/
  right: 45%;
	width: 45%;
	opacity: 0;
	top: 87%;
}
#sequence-theme .animate-in .subtitle {
 /* left: 50%;
  opacity: 1;*/
  right: 50%;
	opacity: 1;
	
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#sequence-theme .animate-out .subtitle {
  /*left: 65%;
  opacity: 0;*/
  
  right: 39%;
	width: 39%;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#sequence-theme .subtitle-2 {
	right: 39%;
	width: 39%;
	opacity: 0;
	top: 93%;/*change block position*/
}
#sequence-theme .animate-in .subtitle-2{
	right: 56%;
	opacity: 1;

	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

#sequence-theme .animate-out .subtitle-2{
	right: 60%;
	opacity: 0;

	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
#sequence-theme .slider-caption {
	font-size:14px;
	line-height:18px;
	font-weight:lighter;
	color:#606060;
	margin-top:14px;
	margin-bottom:14px;
}
#sequence-theme .subtitle-3 {
	right: 45%;
	width: 45%;
	opacity: 0;
	top: 120%;/*change block position*/
}
#sequence-theme .animate-in .subtitle-3 {
	right: 50%;
	opacity: 1;

	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

#sequence-theme .animate-out .subtitle-3{
	right: 65%;
	opacity: 0;

	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
#sequence-theme .model {
 /* left: 30%;
  bottom: -48%;
  opacity: 0;
  position: relative;
  height: auto !important;
  max-height: 568px !important;
  width: 30%;
  min-width: 225px;*/
  /*prevents the model from shrinking when the browser is resized*/
 /* max-width: 266px;*/
 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;
}
#sequence-theme .animate-in .model {
  /*left: 15%;
  opacity: 1;*/
  right: 5%;
	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 .model {
  /*left: 15%;
  opacity: 0;*/
  right: 5%;
	opacity: 0;
	
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
/******************************/
/*******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%;
}






/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 959px) {
        #sequence-theme    { 
			height: 265px;
		}
		
		#sequence-theme h2 {

			font-size: 26px;
			line-height: 26px;
		}
		
		#sequence-theme h3 {
			color: #F0BC01;
			font-family: 'Open Sans',sans-serif;
			font-size: 20px;
			line-height: 20px;
			font-weight: lighter;
		}
		#sequence-theme .slider-caption {
			color: #606060;
			font-size: 12px;
			font-weight: lighter;
			line-height: 14px;
		}
		#sequence-theme #sequence li img {
		  width: 50%;
		}
  		
    }


/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
        #sequence-theme    { 
			height: 235px;
		}
		#sequence-theme .model{
			left: 50%;
			bottom: -20%;
			min-width: 65%; /*prevents the model from shrinking when the browser is resized*/
			width: 65%;
			/*height:300px;*/	
		}
		
		#sequence-theme .animate-in .model {
			left: 50%;
			margin-left: -33%;
		}
		
		#sequence-theme .animate-out .model {
			left: 50%;
			margin-left: -30%;
		}
		
		#sequence-theme .title{
			background-color: #F0F0F0;
			bottom: 0;
			left: 100%;
			padding: 4%;
			bottom: -50%;
			width: 100%;
			z-index: 10;
		}
		
		#sequence-theme .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;
		}
		
		#sequence-theme .animate-in .title{
			left: 0%;
		}
		
		#sequence-theme .animate-out .title{
			left: -100%;	
		}
		#sequence-theme .subtitle{
			visibility: hidden;
		}
		#sequence-theme .subtitle-3{
			visibility: hidden;
		}
		#sequence-theme .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) {
        #sequence-theme    { 
			height: 265px;
		}
		#sequence-theme .model{
			left: 50%;
			bottom: -20%;
			min-width: 65%; /*prevents the model from shrinking when the browser is resized*/
			width: 65%;
			/*height:300px;*/	
		}
		
		#sequence-theme .animate-in .model {
			left: 50%;
			margin-left: -33%;
		}
		
		#sequence-theme .animate-out .model {
			left: 50%;
			margin-left: -30%;
		}
		
		#sequence-theme .title{
			background-color: #F0F0F0;
			bottom: 0;
			left: 100%;
			padding: 4%;
			bottom: -50%;
			width: 100%;
			z-index: 10;
		}
		
		#sequence-theme .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;
		}
		
		#sequence-theme .animate-in .title{
			left: 0%;
		}
		
		#sequence-theme .animate-out .title{
			left: -100%;	
		}
		#sequence-theme .subtitle{
			visibility: hidden;
		}
		#sequence-theme .subtitle-3{
			visibility: hidden;
		}
		#sequence-theme .subtitle-2{
			visibility: hidden;
		}
		
		#nav{
			bottom: 40px;
		}
		
		#nav li img{
			height: 100px;
		}

    }