.iphone-move-right {
	background-image: url('../images/sleep_better.png');
	background-size: cover;
	width: 250px;
	height: 480px;
	position: relative;
	top: 50px;
	animation: animationFramesLeft ease-in 33s;
	animation-iteration-count: 1;
	transform-origin: 50% 50%;
	animation-fill-mode: forwards;
	-webkit-animation: animationFramesLeft ease-in 33s;
	-webkit-animation-iteration-count: 1;
	-webkit-transform-origin: 50% 50%;
	-webkit-animation-fill-mode: forwards;
}

@keyframes animationFramesLeft {
	0% {
		opacity: 0;
		transform: translate(100%,0%);
	}
	
	97% {
		opacity: 0;
		transform: translate(100%,0%);
	}
	
	100% {
		opacity: 1;
		transform: translate(0%,0%);
	}
}

@-webkit-keyframes animationFramesLeft {
	0% {
		opacity: 0;
		-webkit-transform: translate(100%,0%);
	}
	
	97% {
		opacity: 0;
		transform: translate(100%,0%);
	}
	
	100% {
		opacity: 1;
		-webkit-transform: translate(0%,0%);
	}
}

.iphone-move-left {
	background-image: url('../images/get_fitter.png');
	background-size: cover;
	width: 250px;
	height: 480px;
	position: relative;
	top: 50px;
	animation: animationFramesRight ease-in 33s;
	animation-iteration-count: 1;
	transform-origin: 50% 50%;
	animation-fill-mode:forwards;
	-webkit-animation: animationFramesRight ease-in 33s;
	-webkit-animation-iteration-count: 1;
	-webkit-transform-origin: 50% 50%;
	-webkit-animation-fill-mode:forwards;
}

@keyframes animationFramesRight {
	0% {
		opacity: 0;
		transform: translate(-200%,0%);
	}
	
	97% {
		opacity: 0;
		transform: translate(-100%,0%);
	}
	
	100% {
		opacity:1;
		transform: translate(0%,0%);
	}
}

@-webkit-keyframes animationFramesRight {
	0% {
		opacity:0;
		-webkit-transform: translate(-100%,0%);
	}
	
	97% {
		opacity: 0;
		transform: translate(-100%,0%);
	}
	
	100% {
		opacity:1;
		-webkit-transform: translate(0%,0%);
	}
}

#myVideo {
	
}



/*** VIDEO CONTROLS CSS ***/
/* control holder */

/* video container */

.videoContainer{
	top: 102px;
	left: 47px;
	width: 209px;
	height: 371px;
	position:relative;
	overflow:hidden;
	background:#000;
	color:#ccc;
}

.videoContainer:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 6;
	pointer-events: none;
}

/* video caption css */
/*.caption{
	display:none;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	padding: 5px 10px;
	color:#ddd;
	font-size:14px;
	font-weight:300;
	text-align: center;
	background: rgba(0,0,0,0.4);
	text-transform: uppercase;
	border-radius: 6px 6px 0 0;
	-webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
  }*/

/*** VIDEO CONTROLS CSS ***/
/* control holder */

.control {
	color:#ccc;
	position:relative;
	bottom:70px;
	width: 70px;
	z-index:5;
	display:none;
	margin: 0 auto;
}

/* control bottom part */

.btmControl {
	clear:both;
}

.control .btnPlay {
	float:left;
	width:34px;
	height:30px;
	padding:5px;
	background: rgba(0,0,0,0.5);
	cursor:pointer;
	border-radius: 6px 0 0 6px;
	border: 1px solid rgba(0,0,0,0.7);
	box-shadow: inset 0 0 1px rgba(255,255,255,0.5);
}

.control .icon-play {
	background:url(http://s.cdpn.io/6035/vp_sprite.png) no-repeat -11px 0;
	width: 6px;
	height: 9px;
	display: block;
	margin: 4px 0 0 8px;
}

.control .icon-pause {
	background:url(http://s.cdpn.io/6035/vp_sprite.png) no-repeat -34px -1px;
	width: 8px;
	height: 9px;
	display: block;
	margin: 4px 0 0 8px;
}

.control .selected {
	font-size:15px;
	color:#ccc;
}

.control .sound {
	width: 34px;
	height: 30px;
	float:left;
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(0,0,0,0.7);
	border-radius: 0 6px 6px 0;
	border-left: none;
	box-shadow: inset 0 0 1px rgba(255,255,255,0.5);
	cursor: pointer;
}

.control .icon-sound {  
	background:url(http://s.cdpn.io/6035/vp_sprite.png) no-repeat -19px 0;
	width: 7px;
	height: 10px;
	display: block;
	margin: 3px 0 0 0;
}

.control .muted .icon-sound {
	width: 13px !important;
}

.control .btnFS{
	width: 30px;
	height: 30px;
	border-radius: 0 6px 6px 0;
	float:left;
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(0,0,0,0.7);
	border-left: none;
	box-shadow: inset 0 0 1px rgba(255,255,255,0.5);

}

.control .icon-fullscreen {  
	background:url(http://s.cdpn.io/6035/vp_sprite.png) no-repeat 0 0;
	width: 10px;
	height: 10px;
	display: block;
	margin: 8px 0 0 9px;
}

/* PROGRESS BAR CSS */
/* Progress bar */

.progress-bar {
	height: 30px;
	padding: 10px;
	background: rgba(0,0,0,0.6);
	border: 1px solid rgba(0,0,0,0.7);
	border-left: none;
	box-shadow: inset 0 0 1px rgba(255,255,255,0.5);
	float:left;

}

.progress {
	width:240px;
	height:7px;
	position:relative;
	cursor:pointer;
	background: rgba(0,0,0,0.4); /* fallback */
	box-shadow: 0 1px 0 rgba(255,255,255,0.1), inset 0 1px 1px rgba(0,0,0,1);
	border-radius:10px;
}

.progress span {
	height:100%;
	position:absolute;
	top:0;
	left:0;
	display:block;
	border-radius:10px;
}

.timeBar {
	z-index:10;
	width:0;
	background: -webkit-linear-gradient(top, rgba(107,204,226,1) 0%,rgba(29,163,208,1) 100%);
	box-shadow: 0 0 7px rgba(107,204,226,.5);
}

.bufferBar {
	z-index:5;
	width:0;
	background: rgba(255,255,255,0.2);
}

/* VOLUME BAR CSS */
/* volume bar */

.volume {
	position:relative;
	cursor:pointer;
	width:70px;
	height:10px;
	float:left;
	margin-top:10px;
	margin-left:10px;
	background: rgba(0,0,0,0.5);
}
.volumeBar {
	display:block;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	background-color:#eee;
	z-index:10;
}