/* always define video css */


video {
	display: block;
	position: relative; /* fallback will be also set to relative */
  width: 572px;
  height: 323px;
	background: #000; /* you can use background-properties yeah */
}
.media-player-x .handle-label {
	display: none;
}
.media-player-x .timeline-slider,
.media-player-x .volume-slider,
.media-player-x .progressbar {
	position: relative;
	zoom: 1;
}
.ui-slider-horizontal .ui-slider-handle,
.progressbar .ui-progressbar-value,
.ui-slider-horizontal .ui-slider-range {
	position: absolute;
	display: block;
	min-width: 1px;
	min-height: 1px;
	height: 100%;
	top: 0;
	left: 0;
}


.media-player-x {
	position: relative;
  width: 572px;
  height: 323px;
	background: black;
}
/* you can style the .fallback if you want */
.media-player-x.totalerror .media-controls,
.media-player-x.totalerror .media-state {
	display: none !important;
}
.media-player-x .media-label {
	position: absolute;
	display: inline-block;
	z-index: 9;
	top: 10px;
	left: 10px;
	padding: 3px;

	-moz-border-radius: 5px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	background: #333 url(/assets/player-sprites.png) repeat-x 0 0;
}
html > body .media-player-x .media-label {
	background-color: transparent;
}
.media-player-x.playing .media-label {
	display: none;
}

.media-player-x .media-controls {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 40px;
	bottom: 10px;
}
.media-player-x .media-controls-box {
	position: relative;
	bottom: 0;
	zoom: 1;
	padding: 0 10px 0 60px;
	height: 100%;
}
.media-player-x .media-bar {
	position: relative;
  zoom: 1;
  margin: 0px 0px 0px 90px;
  padding: 0 44px 0 3px;
  height: 40px;
  color: white;
  font-size: 11px;
}
html > body .media-player-x .media-bar {
	background-color: transparent;
}
/* button styles */
.media-player-x .media-controls a.btn {
	position: absolute;
	display: inline-block;
	overflow: hidden;
	text-align: center;

	cursor: pointer;
	/*background: url(/assets/player-sprites.png) no-repeat 0 -200px;*/
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.media-player-x .media-role,
.media-player-x .media-controls a.btn .button-text {
	position: absolute;
	left: -9999px;
	display: block;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* play - pause button */
.media-player-x .media-controls .play-pause {
  position: absolute;
  top: 11px;
  left: 22px;
  width: 12px;
  height: 12px;
  text-indent: -5000px;
  border: none;
  cursor: pointer;
}



.media-player-x .media-controls .ui-icon-play {
	background: url(/assets/play_pause_full.png) no-repeat -15px 0px;
}
.media-player-x .media-controls .ui-icon-pause {
	background: url(/assets/play_pause_full.png) no-repeat  0px 0px;
}

.media-player-x .media-controls .ui-icon-play:hover {
	background: url(/assets/play_pause_full.png) no-repeat -15px -13px;
}
.media-player-x .media-controls .ui-icon-pause:hover {
	background: url(/assets/play_pause_full.png) no-repeat  0px -13px;
}


.media-player-x .media-controls button.fullscreen {
	background: url(/assets/play_pause_full.png) no-repeat -38px 0px;
  position: absolute;
  top: 10px;
  right: 20px;
  width: 13px;
  height: 14px;
  text-indent: -5000px;
  border: none;
  cursor: pointer;
}

.media-player-x .media-controls button.fullscreen:hover {
	background: url(/assets/play_pause_full.png) no-repeat -38px -13px;
}

.media-player-x .timeline-slider {
	top: 11px;
	height: 11px;
	padding: 0px;
	font-size: 0;
	line-height: 0;
	background: url("/assets/audio_status_area_bg.png") no-repeat;
}
html > body .media-player-x .timeline-slider {
	background-color: white;
}
.media-player-x .timeline-slider .ui-slider-range {
	min-width:0px !important;
	top: 0px;
	left: 0px;
	height: 11px;
	background: #01a197;
	cursor: pointer;
	-webkit-box-shadow: inset 2px 1px 5px 1px rgba(3, 3, 3, .2);
   box-shadow: inset 2px 1px 5px 1px rgba(3, 3, 3, .2);
}

.media-player-x .timeline-slider .ui-slider-handle {

	top: 0px;
	z-index: 9;
	margin: 0px;
	width: 13px;
	height: 12px;
	background: url(/assets/progress_bar.png) no-repeat ;
	outline: none;
	cursor: pointer;
	margin-left: -6px;
}
.media-player-x .timeline-slider.ui-state-disabled .ui-slider-handle {
	cursor: default;
}
.media-player-x .timeline-slider .ui-slider-handle.ui-state-active {
	background-position: 0 -1199px;
	outline: 1px dotted #999;
}
.media-player-x .progressbar {
	height: 100%;
}
.media-player-x .ui-progressbar-value {
	background: #EDE9E7;
	cursor: pointer;
}
.media-player-x .volume-slider {
	position: absolute;
	top: 11px;
	left: -34px;
	height: 11px;
	width: 27px;
	cursor: pointer;
	background: url(/assets/volume_sprite-1.png) no-repeat 0px 0px;
}
.media-player-x .volume-slider .ui-slider-handle {
	outline: none;
}
.media-player-x .volume-slider .ui-slider-handle.ui-state-active {
	outline: 1px dotted #999;
}
.media-player-x .volume-slider .ui-slider-range {
	background: url(/assets/volume_sprite-1.png) no-repeat 0px -11px;
}
.media-player-x .media-state {
	position: absolute;
	/* let the right click on video-element */
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* preload loading-image */
	background: url(/assets/loader.png) no-repeat -9999px -9999px;
	cursor: pointer;

}
/* in modern browser, don't let media-state being under fullscreen-button (enabling flash-fullscreen technique) */
html > body .media-player-x .media-state {
	height: auto;
	top: 10px;
	bottom: 32px;
}
.media-player-x.idle .media-state,
.media-player-x.waiting .media-state {
	display: block;
}
.media-player-x.idle .media-state {
	background: url(/assets/play.png) no-repeat center;
}

.media-player-x.idle .media-state:hover {
	opacity: .7;
}

.media-player-x.waiting .media-state {
	background: url(/assets/loader.png) no-repeat center;
	-webkit-animation-name: rotateThis;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: rotateThis;
  -moz-animation-duration: 2s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;

}

@-webkit-keyframes rotateThis {
  from {
    -webkit-transform: rotate(-359deg); }

  to {
    -webkit-transform: rotate(0deg); } }

@-moz-keyframes rotateThis {
  from {
    -moz-transform: rotate(-359deg); }

  to {
    -moz-transform: rotate(0deg); } }

/* IE6 does not support fullscreen */
.media-player-x.fullscreen-unsupported .fullscreen {
	display: none !important;
}

/* flash-fullscreen button feature for CSS3 pointer-events supporting browsers */
.media-player-x.jme-flashbutton-wrapper .media-controls,
#wrapper .media-player-x.jme-flashbutton-wrapper .media-bar {
	pointer-events: none;
}
.media-player-x.jme-flashbutton-wrapper .play-pause,
.media-player-x.jme-flashbutton-wrapper .media-bar > *:not(.jme-flashbutton) {
	pointer-events: auto;
}
/* fullscreen */
.media-player-x.wraps-fullscreen .media-controls,
.media-player-x.wraps-fullscreen .media-label {
	z-index: 999999;
}
.media-player-x.wraps-fullscreen .media-state {
	bottom: 42px;
	z-index: 999996;
}
.media-player-x.wraps-fullscreen .media-label {
	font-size: 16px;
}
.media-player-x.wraps-fullscreen .media-controls {
	width: auto;
	bottom: 20px;
	left: 160px;
	right: 160px;
}

.media-control-box{
  background: url('/assets/video_control_box.png') no-repeat;
}

.speaker-icon{
  background: url('/assets/speaker_icon.png') no-repeat;
  width: 6px;
  height: 12px;
  position: absolute;
  left: -45px;
  top: 10px;
}
