#sequence-theme {
	height: 415px;
	margin: 0 auto;
	margin-bottom: 25px;
	position: relative;
	overflow: hidden;
	max-width: /*1280*/1000px;
	width: 100%;
}
#sequence-theme #sequence {
	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 ul {
	padding:0;
	margin:0;
	bottom:25px;
}
#sequence-theme .next,
#sequence-theme .prev {
	cursor: pointer;
	z-index: 1000;
	height: 16px;
	width:11px;
}
#sequence-theme .prev {
	padding-right:2px;
}
#sequence-theme .next {
	 padding-left:2px;
}
#sequence-theme .prev img,
#sequence-theme .next img {
  height: 100%;
  width: auto;
}
#sequence-theme #sequence-preloader {
  background: #f1c832;
}
#sequence-theme .nav {
  top: 340px;
  position: absolute;
  z-index:9999;
  padding:0;
  margin:0;
  margin-left:40px;
  margin-top:12px;
  -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;
}
#sequence-theme .nav li {
  *display: inline;
  /* Hack for IE7 and below as they don't support inline-block */
}
#sequence-theme .nav li img {
   background: none repeat scroll 0 0 #F8F8F8;
   border: 1px solid #D6D6D6;
   display: block;
   margin: 0 10px 0px 0;
   padding: 3px;

  cursor: pointer;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}
#sequence-theme ul.nav li:hover img {
	background: none repeat scroll 0 0 #f1c832;
  	border: 1px solid #f1c832;
}
#sequence-theme .nav li img.active {
  background: none repeat scroll 0 0 #f1c832;
  border: 1px solid #f1c832;
}
#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 .arrows-nav {
	background-color: !important;
	height:40px;
	/*width:30px;*//**/
	/*padding:12px 15px 12px 15px;*/
	right: 15px;
	bottom: 145px;
	position: absolute;
	z-index: 99;
}
#sequence-theme .next,
#sequence-theme .prev {
  opacity: 1;
  padding:12px;
  background-color:#f1c832;
  -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;
    background-color:#5a5a5a;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}
#sequence-theme .main-text {
	right: 65px;
	opacity: 0;
	bottom: -158px;/*change block position*/
}

#sequence-theme .animate-in .main-text{
	opacity: 1;
	-webkit-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-o-transition-duration: 1s;
	-ms-transition-duration: 1s;
	transition-duration: 1s;
}
#sequence-theme .animate-out .main-text{
	opacity: 0;

	-webkit-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-o-transition-duration: 1s;
	-ms-transition-duration: 1s;
	transition-duration: 1s;
}
#sequence-theme .main-text {
	padding: 18px 25px;
	background-color: rgba(47, 47, 47, 0.85);
	z-index:1;
	color:#fff;
	font-family: 'OswaldBook', Arial, Helvetica, sans-serif;
}
#sequence-theme .size-14 {
	font-size:14px;
	line-height:18px;
}
#sequence-theme .size-28 {
	font-size:28px;
	line-height:34px;
}
#sequence-theme .size-41 {
	font-size:41px;
	line-height:41px;
}
#sequence-theme .color {
	color:#f1c832;
}
#sequence-theme .model {
	right: 30%;
	bottom: -50%;
	opacity: 0;
	position: relative;
	height: auto !important;
	max-height: 362px !important;
	width: 94%;
	min-width: 225px; /*prevents the model from shrinking when the browser is resized*/
	max-width: 892px;
}
#sequence-theme .animate-in .model {
	right: 4%;
	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 {
	right: 4%;
	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 .bg-slide {
	bottom: -50%;
	opacity: 0;
	width: 100%;
}
#sequence-theme .animate-in .bg-slide {
	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 .bg-slide {
	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 .status {
  background: url("../images/status-bar.png") -940px 0 repeat-y;
  /*border-radius: 3px;*/
  height: 2px;
  margin: 0 auto;
  width: 940px;
}
#sequence-theme .status.paused {
  -webkit-animation: paused 1s linear alternate infinite;
  -moz-animation: paused 1s linear alternate infinite;
  -ms-animation: paused 1s linear alternate infinite;
  -o-animation: paused 1s linear alternate infinite;
  animation: paused 1s linear alternate infinite;
}
#sequence-theme .status.active {
  -webkit-animation: status-bar 4s linear;
  -moz-animation: status-bar 4s linear;
  -ms-animation: status-bar 4s linear;
  -o-animation: status-bar 4s linear;
  animation: status-bar 4s linear;
}
#sequence-theme .controls {
  padding:0;
  margin:0;
  position: absolute;
  top: 340px;
  display:block;
  width: 940px;
  z-index: 9999;
}
/* !CSS RESET */
/* prefix declarations */
/* Keyframes */
@-webkit-keyframes paused {
  /* animate the pause button when Sequence is paused */
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  100% {
    background-position: 0 0;
    opacity: .7;
  }
}

@-moz-keyframes paused {
  /* animate the pause button when Sequence is paused */
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  100% {
    background-position: 0 0;
    opacity: .7;
  }
}

@-ms-keyframes paused {
  /* animate the pause button when Sequence is paused */
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  100% {
    background-position: 0 0;
    opacity: .7;
  }
}

@-o-keyframes paused {
  /* animate the pause button when Sequence is paused */
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  100% {
    background-position: 0 0;
    opacity: .7;
  }
}

@keyframes paused {
  /* animate the pause button when Sequence is paused */
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  100% {
    background-position: 0 0;
    opacity: .7;
  }
}

@-webkit-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -940px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-moz-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -940px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-ms-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -940px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-o-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -940px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -940px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-webkit-keyframes preload {
  /* preloader icons */
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes preload {
  /* preloader icons */
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-ms-keyframes preload {
  /* preloader icons */
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes preload {
  /* preloader icons */
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes preload {
  /* preloader icons */
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}



/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 959px) {
        #sequence-theme    { 
			height: 310px;
		}

/***********************************************/		
		
		#sequence-theme .nav {
			display: none !important;
			opacity: 0;
			visibility: hidden;
		}
		#sequence ul {
			bottom: 0px;
		}
		#sequence-theme .main-text {
			bottom: -134px;
		}
		#sequence-theme .arrows-nav {
			bottom: 90px;
		}
		#sequence-theme .controls {
			position: relative;
			top: 289px;
		}

    }


/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
      
		#sequence-theme .main-text{
			visibility: hidden;
		}
		
/***********3333333333333333333333333************************************/		
		#sequence-theme    { 
			height: 124px;
			margin-top: 0;
		}
		#sequence-theme .nav {
			display: none !important;
			opacity: 0;
			visibility: hidden;

		}
		#sequence-theme .controls {
			display: none !important;
			opacity: 0 !important;
			visibility: hidden !important;
		}		
		#sequence ul {
			bottom: 0px;
		}
		#sequence-theme .arrows-nav {
			bottom: 15px;
			right: 15px;
		}
    }


/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) {

/***********************************************/		
		#sequence-theme    { 
			height: 174px;
		}
		#sequence-theme .nav {
			display: none !important;
			opacity: 0;
			visibility: hidden;

		}
		#sequence-theme .controls {
			display: none !important;
			opacity: 0 !important;
			visibility: hidden !important;
		}	

		#sequence-theme .arrows-nav {
			bottom: 15px;
		}
		#sequence ul {
			bottom: 0px;
		}
    }