/* Main Sequence container styles */

#sequence {
    position: relative; /* required */
    overflow: hidden;
	margin-bottom:30px;
}
#sequence > .sequence-canvas { /* required */
    width: 100%;
}
#sequence > .sequence-canvas > li { /* required */
    position: absolute;
    width: 100%;
    height:100%;
    z-index: 1;
}

/* Media queries to resize elements based on screen size - Responsive design! */
@media (min-width: 980px) { /* DESKTOP */
	#sequence {
	    height: 400px;
    	width:100%;
	}
	#sequence h1 {
		padding: 10px;
		margin: 20px;
		font-size:28px;
	}
	#sequence p {
		font-size:20px;
		padding:20px;
		margin: 20px;
	}
}
@media (min-width: 768px) and (max-width: 979px) { /* TABLET */
	#sequence {
	    height: 323px;
    	width:100%;
	}
	#sequence h1 {
		padding: 10px;
		margin: 10px;
		font-size:20px;
	}
	#sequence p {
		font-size:16px;
		padding:10px;
		margin: 10px;
	}
}
@media (max-width: 767px) { /* PHONE */
	#sequence {
	    height: 200px;
    	width:100%;
	}
	#sequence h1 {
		padding: 5px;
		margin: 5px;
		font-size:18px;
	}
	#sequence p {
		font-size:14px;
		padding:5px;
		margin: 5px;
	}
}
/* Pagination and Controls */
.sequence-controls {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.75);
    bottom:0;
    right: 0;
    padding: 10px;
    position: absolute;
    color: white;
    z-index:999;
    margin:0;
}
.sequence-pagination {
	float:left;
	margin:0;
}
.sequence-pagination li {
	cursor: pointer;
}
.sequence-pagination li.current {
	color:red;
}
.sequence-pause {
	cursor:pointer;
    float:left;
    padding-left:10px;
    padding-right:10px;
}

/* Event information block */
#sequence .teambuilding-event-information {
	position: absolute;
	bottom:0;
	left:0;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
	color:white;
	padding:5px;
	font-weight:bold;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.15);
}
#sequence .teambuilding-event-information a {
	color:white;
}
#sequence .teambuilding-event-information a:hover {
	color:white;
}

/* Slide base styling */
#sequence .foreground {
	position:absolute;
	height:90%;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;
}
#sequence .foreground-1 {
	position:absolute;
	height:90%;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;
}
#sequence h1 {
	background-color: #0192e2;
	color:white;
	position: absolute;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;

    -webkit-box-shadow: 1px 1px 2px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    1px 1px 2px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         1px 1px 2px 0px rgba(50, 50, 50, 0.5);

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#sequence h1 small {
	font-size: 80%;
	color: white;
}
#sequence p {
	background-color:#8c0000;
	color:white;
	position: absolute;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;

    -webkit-box-shadow: 1px 1px 2px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    1px 1px 2px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         1px 1px 2px 0px rgba(50, 50, 50, 0.5);

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#sequence h1:hover {
	background-color:white;
	color:#0192e2;
}
#sequence p:hover {
	background-color:white;
	color:#8c0000;
}
.slide {
	//position:relative;
	//overflow:hidden;
	height:100%;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;
}
#slide-1, #slide-2, #slide-3, #slide-4, #slide-5 {
	width:100%;
}

/* Slide 1 start styling */
#slide-1 {
	opacity:0;
	background-image: url('../../images/slides/1/background.jpg');
}
#slide-1 .foreground {
	bottom:0;
	left:-50%;
}
#slide-1 h1 {
	top:0;
	right:-50%;
}
#slide-1 p {
	top:20%;
	right:-50%;
	max-width:50%;
}

/* Slide 1 animate in styling */
.animate-in #slide-1 {
	opacity: 1;
}
.animate-in #slide-1 .foreground {
	left:0%;
}
.animate-in #slide-1 h1 {
	right:0%;
}
.animate-in #slide-1 p {
	right:0%;
}

/* Slide 1 animate out styling */
.animate-out #slide-1 {
	opacity: 0;
}
.animate-out #slide-1 .foreground {
	left:-50%;
}
.animate-out #slide-1 h1 {
	right:-70%;
}
.animate-out #slide-1 p {
	right:-50%;
}

/** slide 2 start styling **/
#slide-2 {
	opacity: 0;
	background-image: url('../../images/slides/2/background.jpg');
}
#slide-2 .foreground {
	bottom:0;
	right:-50%;
}
#slide-2 h1 {
	top:0;
	left:-70%;
	max-width:800px;
}
#slide-2 p {
	top:20%;
	max-width: 380px;
	left:-50%;
}
/* Slide 2 animate in styling */
.animate-in #slide-2 {
	opacity: 1;
}
.animate-in #slide-2 .foreground {
	right:0%;
}
.animate-in #slide-2 h1 {
	left:0px;
}
.animate-in #slide-2 p {
	left:0px;
}
/* Slide 2 animate out styling */
.animate-out #slide-2 {
	opacity: 0;
}
.animate-out #slide-2 .foreground {
	right:-50%;
}
.animate-out #slide-2 h1 {
	left:-70%;
}
.animate-out #slide-2 p {
	left:-50%;
}
/* slide 3 start styling */
#slide-3 {
	opacity: 0;
	background-image: url('../../images/slides/3/background.jpg');
}
#slide-3 .foreground {
	bottom:-100%;
	left:0;
}
#slide-3 .foreground-1 {
	bottom:0;
	right:-50%;
}
#slide-3 h1 {
	top:0;
	max-width: 55%;
	top:-50%;
	left:20%;
}
#slide-3 p {
	top:0;
	max-width: 30%;
	top:-50%;
	left:30%;
	text-align:center;
}
/* Slide 3 animate in styling */
.animate-in #slide-3 {
	opacity: 1;
}
.animate-in #slide-3 .foreground {
	bottom:0%;
}
.animate-in #slide-3 .foreground-1 {
	right:0%;
}
.animate-in #slide-3 h1 {
	top:0%;
}
.animate-in #slide-3 p {
	top:30%;
}
/* Slide 3 animate out styling */
.animate-out #slide-3 {
	opacity: 0;
}
.animate-out #slide-3 .foreground {
	bottom:-50%;
}
.animate-out #slide-3 .foreground-1 {
	right:-50%;
}
.animate-out #slide-3 h1 {
	top:-50%;
}
.animate-out #slide-3 p {
	top:-50%;
}

/** slide 4 start styling **/
#slide-4 {
	opacity: 0;
	background-image: url('../../images/slides/4/background.jpg');
}
#slide-4 .foreground {
	bottom:0;
	right:-50%;
}
#slide-4 h1 {
	top:0;
	left:-70%;
}
#slide-4 p {
	top:20%;
	left:-50%;
	max-width:50%;
}
/* Slide 4 animate in styling */
.animate-in #slide-4 {
	opacity: 1;
}
.animate-in #slide-4 .foreground {
	right:0%;
}
.animate-in #slide-4 h1 {
	left:0px;
}
.animate-in #slide-4 p {
	left:0px;
}
/* Slide 4 animate out styling */
.animate-out #slide-4 {
	opacity: 0;
}
.animate-out #slide-4 .foreground {
	right:-50%;
}
.animate-out #slide-4 h1 {
	left:-70%;
}
.animate-out #slide-4 p {
	left:-50%;
}

/** slide 6 start styling **/
#slide-6 {
	opacity: 0;
	background-image: url('../../images/slides/6/background.jpg');
}
#slide-6 .foreground {
	bottom:-50%;
	left:35%;
	height:30%;
}
#slide-6 .foreground-1 {
	bottom:0;
	right:-50%;
}
#slide-6 h1 {
	top:0;
	left:-70%;
}
#slide-6 p {
	top:20%;
	left:-50%;
}
/* Slide 6 animate in styling */
.animate-in #slide-6 {
	opacity: 1;
}
.animate-in #slide-6 .foreground {
	bottom:5%;
}
.animate-in #slide-6 .foreground-1 {
	right:0%;
}
.animate-in #slide-6 h1 {
	left:0px;
}
.animate-in #slide-6 p {
	left:0px;
}
/* Slide 6 animate out styling */
.animate-out #slide-6 {
	opacity: 0;
}
.animate-out #slide-6 .foreground {
	bottom:-50%;
}
.animate-out #slide-6 .foreground-1 {
	right:-50%;
}
.animate-out #slide-6 h1 {
	left:-70%;
}
.animate-out #slide-6 p {
	left:-50%;
}

/* Slide 7 start styling */
#slide-7 {
	opacity:0;
	background-image: url('../../images/slides/7/background.jpg');
}
#slide-7 h1#one {
	
	background-color:#8c0000;

	top:40%;
	right:-50%;
}
#slide-7 h1#one:hover {
	background-color:white;
}
#slide-7 h1#one:hover small {
	color:#0192E2;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;
}
#slide-7 h1#two {
	max-width: 50%;
	top:0;
	right:-50%;
}
#slide-7 h1#two:hover {
	background-color:white;
	color: #8C0000;
}
#slide-7 h1#two:hover small {
	color: #8C0000;
	-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;
}
#slide-7 h1#three {
	top:60%;
	left:-50%;
	background-color:#8c0000;
}
#slide-7 h1#three:hover {
	background-color:#0192E2;
}


/* Slide 7 animate in styling */
.animate-in #slide-7 {
	opacity: 1;
}
.animate-in #slide-7 h1#one {
	right:0%;
}
.animate-in #slide-7 p#one {
	right:0%;
}
.animate-in #slide-7 h1#two {
	right:0%;
}
.animate-in #slide-7 p#two {
	right:0%;
}
.animate-in #slide-7 h1#three {
	left:0%;
}
.animate-in #slide-7 p#three {
	left:0%;
}

/* Slide 7 animate out styling */
.animate-out #slide-7 {
	opacity: 0;
}
.animate-out #slide-7 h1#one {
	right:-50%;
}
.animate-out #slide-7 p#one {
	right:-50%;
}
.animate-out #slide-7 h1#two {
	right:-50%;
}
.animate-out #slide-7 p#two {
	right:-50%;
}
.animate-out #slide-7 h1#three {
	left:-50%;
}
.animate-out #slide-7 p#three {
	left:-50%;
}

/** slide 8 start styling **/
#slide-8 {
	opacity: 0;
	background-image: url('../../images/slides/8/background.jpg');
}
#slide-8 h1 {
	top:0;
	right:-50%;
}
#slide-8 p {
	top:20%;
	right:-50%;
}
/* Slide 8 animate in styling */
.animate-in #slide-8 {
	opacity: 1;
}
.animate-in #slide-8 h1 {
	right:0px;
}
.animate-in #slide-8 p {
	right:0px;
}
/* Slide 8 animate out styling */
.animate-out #slide-8 {
	opacity: 0;
}
.animate-out #slide-8 h1 {
	right:-50%;
}
.animate-out #slide-8 p {
	right:-50%;
}

/** slide 9 start styling **/
#slide-9 {
	opacity: 0;
	background-image: url('../../images/slides/9/background.jpg');
}
#slide-9 .foreground {
	bottom:-50%;
	left:55%;
	height:50%;
}
#slide-9 .foreground-1 {
	bottom:0;
	left:-50%;
}
#slide-9 h1 {
	top:0;
	right:-70%;
}
#slide-9 p {
	top:20%;
	right:-50%;
}
/* Slide 9 animate in styling */
.animate-in #slide-9 {
	opacity: 1;
}
.animate-in #slide-9 .foreground {
	bottom:5%;
}
.animate-in #slide-9 .foreground-1 {
	left:0%;
}
.animate-in #slide-9 h1 {
	right:0px;
}
.animate-in #slide-9 p {
	right:0px;
}
/* Slide 9 animate out styling */
.animate-out #slide-9 {
	opacity: 0;
}
.animate-out #slide-9 .foreground {
	bottom:-50%;
}
.animate-out #slide-9 .foreground-1 {
	left:-50%;
}
.animate-out #slide-9 h1 {
	right:-70%;
}
.animate-out #slide-9 p {
	right:-50%;
}

/** slide 10 start styling **/
#slide-10 {
	opacity: 0;
	background-image: url('../../images/slides/10/background.jpg');
}
#slide-10 .foreground {
	bottom:-50%;
	left:40%;
	height:50%;
}
#slide-10 .foreground-1 {
	bottom:0;
	left:-50%;
}
#slide-10 h1 {
	top:0;
	right:-70%;
}
#slide-10 p {
	top:20%;
	right:-50%;
}
/* Slide 10 animate in styling */
.animate-in #slide-10 {
	opacity: 1;
}
.animate-in #slide-10 .foreground {
	bottom:5%;
}
.animate-in #slide-10 .foreground-1 {
	left:0%;
}
.animate-in #slide-10 h1 {
	right:0px;
}
.animate-in #slide-10 p {
	right:0px;
}
/* Slide 10 animate out styling */
.animate-out #slide-10 {
	opacity: 0;
}
.animate-out #slide-10 .foreground {
	bottom:-50%;
}
.animate-out #slide-10 .foreground-1 {
	left:-50%;
}
.animate-out #slide-10 h1 {
	right:-70%;
}
.animate-out #slide-10 p {
	right:-50%;
}

/** 
	Status bar CSS (Sliding timer bar)
	
 **/
 @-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: -119px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-moz-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -119px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-ms-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -119px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@-o-keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -119px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@keyframes status-bar {
  /* cause the status bar to move */
  0% {
    background-position: -119px 0;
  }

  100% {
    background-position: 0 0;
  }
}

#sequence .status {
  background: url("../../images/slides/status-bar.png") -119px 0 repeat-y;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  height: 6px;
  margin: 0 auto 10px;
  position: relative;
  top: 4px;
  width: 118px;
}
#sequence .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 .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;
}
