.speaker {
	height: 30px;
	width: 30px;
	position: absolute;
	overflow: hidden;
	display: inline-block;
	bottom: 0;
	left: 0;
}

.speaker span {
		display: block;
		width: 8px;
		height: 8px;
		background: #fff;
		margin: 11px 0 0 2px;
}

.speaker span::after {
			content: '';
			position: absolute;
			width: 0;
			height: 0;
			border-style: solid;
			border-color: transparent #fff transparent transparent;
			border-width: 10px 14px 10px 15px;
			left: -13px;
			top: 5px;
		}

.speaker span::before {
			transform: rotate(45deg);
			border-radius: 0 50px 0 0;
			content: '';
			position: absolute;
			width: 11px;
			height: 11px;
			border-style: double;
			border-color: #fff;
			border-width: 7px 7px 0 0;
			left: 17px;
			top: 9px;
			transition: all 0.2s ease-out;
		}

.speaker:hover span::before {

			transform: scale(.8) translate(-3px, 0) rotate(42deg);		

	}
  
.speaker.mute span::before {
			transform: scale(.5) translate(-15px, 0) rotate(36deg);
      opacity: 0;

}




/* jquery */
.ui-slider-handle {
    display: block;
    margin-left: -11px;
    position: absolute;
    z-index: 2;
}
.ui-slider-range {
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
}

/* player */
.video_player * {
    font-family: Open Sans, serif !important;
}
.video_player {
    background-color: transparent;
    border: 0;
    float: left;
    position: relative;
    width: 100%;
    display: table;
    padding: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}
.cinema.video_player {
    float: none !important;
  
}

/* controls */
.video_player .custom_controls {
    clear: both;
    height: 30px;
    padding-top: 8px;
    position: absolute;
    width: 80%;
    margin: 0;
    background: transparent;
    right: 10%;
    left: 10%;
    z-index: 1000;
    bottom: 20px;
}
.play, .pause, .volume, .time_slider, .timer {
    float: left;
}
.play, .pause, .mute, .unmute {
    cursor: pointer;
}
.play, .pause {
    display: block;
    height: 24px;
    margin-left: 5px;
    margin-right: 24px;
    opacity: 0.8;
    width: 33px;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}
.play {
    display: block;
    width: 0;
    height: 0;
    margin-top: 2px;
    margin-left: 15px;
    border-top: 10px solid transparent;
    border-left: 17px solid #fff;
    border-bottom: 10px solid transparent;
}
.pause {
    display: none;
    width: 7px;
    height: 18px;
    margin-top: 2px;
    margin-left: 11px;
    padding: 9px;
    border-right: 0;
    background: #fff;
}
.play:hover, .pause:hover {
    opacity: 1;
}
.buffer_slider {
    position: absolute;
    height: 100%;
    background: #d4d4d4;
    height: 100%;
    margin-top: 0;
    width: 100%;
    left: 0;
}
.time_slider {
    border: 0;
    height: 16px;
    margin-top: 5px;
    position: absolute;
    width: auto !important;
    top: 14px;
    right: 130px;
    left: 50px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: rgba(197, 197, 197, 0.5);
}
.time_slider .ui-slider-handle {
    background: #1c94c4;
    cursor: pointer;
    height: 16px;
    opacity: 0.8;
    top: 0px;
    width: 0;
    border: 0 !important;
    margin: 0;
}
.time_slider .ui-slider-handle.ui-state-hover {
    opacity: 1;
}
.time_slider .ui-slider-range {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    background: #1c94c4;
}
.timer {
    color: #000;
    font-size: 12px;
    margin-left: 22px;
    border-radius: 2px;
    margin-top: 4px;
    background: #fff !important;
    position: absolute;
    bottom: 30px;
    padding: 0 5px;
	-moz-transition: all 1000ms;
    -o-transition: all 1000ms;
    -webkit-transition: all 1000ms;
    transition: all 1000ms;
}
.volume {
    bottom: -5px;
    color: #FFFFFF;
    height: 25px;
    overflow: hidden;
    position: absolute;
    right: 95px;
    width: 28px;
}
.volume:hover {
    height: 161px;
}
.volume-controls-div {
	position: absolute;
	height: 130px;
	width: 30px;
	bottom: 0;
	padding: 0 7px;
}
.volume-controls {
	position : relative;
	float: left;
	width: 25px;
	height: 25px;
}

.volume-controls, .enlarge, .cinema-mode {
    position: relative;
    z-index: 1;
    overflow: visible;
    list-style: none;
    height: 17px;
}
.enlarge-container {
	position:absolute;
	right: 20px;
	top: 27px;
	height: 25px;
	width: 22px;
	opacity: 0.6;
	z-index: 10000;
}
.enlarge-container:hover {
	opacity: 1 !important;
}
.volume-controls::before,.volume-controls::after, .volume-controls a::before, .volume-controls a::after,
.full-screen::before,.full-screen::after, .full-screen a::before, .full-screen a::after,
.enlarge::before,.enlarge::after, .enlarge a::before, .enlarge a::after, .cinema-mode::before,.cinema-mode::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
}
.volume-controls a::before, .volume-controls a::after, .enlarge a::before,.enlarge a::after,, .cinema-mode::before,.cinema-mode::after {
    margin: -8px 0 0;
    background: #eee;
}
/* FULL SOUND ON
------------------------------------------------------------------------------------------------------------------------------- */

.volume-controls.sound-on::before {
   
}

.volume-controls.sound-on a.mute::before {
    
}
.volume-controls.sound-on a.mute::after {
    
}

/* FULL SOUND MUTED
------------------------------------------------------------------------------------------------------------------------------- */

.volume-controls.sound-muted::before {
    
}
.volume-controls.sound-muted::after {
	
}
.volume-controls.sound-muted a.unmute::before {
    
}
.volume-controls.sound-muted a.unmute::after {
    
}

/* FULL SCREEN
------------------------------------------------------------------------------------------------------------------------------- */

div.full-screen.f {
	position : relative;
	float: right;
	width: 25px;
	right: 0;
	height: 21px;
	margin: 1px 10px;
	border: 2px solid #fff;
}
div.full-screen.f:hover {
	border-color: #fff;
}
div.full-screen.f::before,
div.full-screen.f::after {
 
}

div.full-screen.f::after {
  
}

div.full-screen.f:hover::before,
div.full-screen.f:hover::after {
}

div.full-screen.f a::before,
div.full-screen.f a::after {
  
}

div.full-screen.f a::after {
   
}

div.full-screen.f a:hover::before,
div.full-screen.f a:focus::before,
div.full-screen.f a:active::before,
div.full-screen.f a:hover::after,
div.full-screen.f a:focus::after,
div.full-screen.f a:active::after {
   
}


/* ENLARGE
------------------------------------------------------------------------------------------------------------------------------- */

.enlarge a:before,.cinema-mode:before {
    width:16px;
    height:14px;
    margin-top:-7px;
    background: #1c94c4;
    border: 3px solid #fff;
}

.enlarge a:after,.cinema-mode:after {
    left:1px;
    width: 10px;
    height: 8px;
    margin-top: -5px;
    background:#fff;
}



.volume_slider {
    height: 90px !important;
    left: 11px;
    top: 30px;
    opacity: 0;
    position: relative;
    width: 10px;
    width: 5px !important;
}

.volume:hover .volume_slider {
    opacity: 1;
}
.volume_slider .ui-slider-handle {
    background: #f5f5f5;
    height: 15px;
    left: -5px;
    margin-bottom: -7px;
    margin-left: 0;
    opacity: 0.8;
    width: 15px;
}
.volume_slider .ui-slider-handle.ui-state-hover {
    opacity: 1;
}
.mute, .unmute {
    bottom: 1px;
    display: block;
    left: -6px;
    height: 12px;
    opacity: 0.8;
    position: absolute;
    text-indent: -999px;
    width: 36px;
    border-radius: 6px;
}
.mute:hover, .unmute:hover {
    opacity: 1;
}
.mute {
    background: transparent;
}
.unmute {
    display: none;
}


figure.videoContainer {
    float: none;
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.vid-def {
    float: right;
    font-weight: bold;
    color: #fff;
    margin: -8px 10px 0 10px;
    font-size: 16px;
    cursor: pointer;
    font-family: Open Sans, serif !important;
}

.vid-def-options {
    position: absolute;
    background: #1f1f1f;
    right: 35px;
    margin-top: -120px;
    padding: 0;
    color: #fff;
}
.vid-def-options ul li {
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-family: Open Sans, serif !important;
    font-size: 13px;
}
.vid-def-options ul li.active {
    background: #676666;
}

.video_player.cinema, .video_player.cinema video.video, .video_player.cinema .videoContainer {
    width: 1260px !important;
    max-width: 1260px;
}
.cinema {
	margin: 0 auto;
}
.overlay-img.cinema {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.video_player.cinema video.video.fit-width,.video_player.cinema .videoContainer.fit-width {
	width: 100% !important;
}
canvas.video-canvas {
	position:relative;
	left: 0;
	top: 0;
}
/* MODAL MEDIA
------------------------------------------------------------------------------------------------------------------------------- */

.overlay video.video {
    width: 100%;
    background: #000;
}

.media-loading {
    background: url("/media/loading-1.gif?v=1") no-repeat scroll center center transparent;
    height: 100px;
    width: 100px;
    opacity: 0.2;
    background-size: 100px;
    position:absolute;
    z-index:2147483647;
    margin-top: -50px;
    margin-left: -50px;
    top:50%;
    left: 50%;
}


/* FULLSCREEN
------------------------------------------------------------------------------------------------------------------------------- */

-webkit-full-screen {
  z-index: 2147483646;
}
-moz-full-screen {
  z-index: 2147483646;
}
.video_player ::-webkit-media-controls {
  display:none !important;
}
.video_player video::-webkit-media-controls {
  display:none !important;
}
.video_player video::-webkit-media-controls-enclosure {
  display:none !important;
}
.video_player.video-fullscreen-mode .custom_controls, .video_player.video-fullscreen-mode canvas.video-canvas {
  z-index: 2147483647 !important;
}
.video_player.video-fullscreen-mode canvas.video-canvas {
	position: absolute;
}
.video_player.video-fullscreen-mode .custom_controls.fullscreen-mode {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
}
