/*-------------------------------------------------------------------------------------------*/
/* Mediaelementjs
/*-------------------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------------------------*/
/* Colours
/*-------------------------------------------------------------------------------------------*/
/* Brand */
.media-player .mejs-controls .mejs-playpause-button button,
.media-player .mejs-controls .mejs-time-rail .mejs-time-handle {
background: #005696 !important
}

.media-player .mejs-controls .mejs-playpause-button button:after {
border: 1px solid rgba(0, 0, 0, 0.19)
}

/* Main */
body .mejs-container.media-player .mejs-controls {
background: #fff;
border: 0
}

/* Buttons */
body .media-player .mejs-controls .mejs-playpause-button,
body .media-player .mejs-inner .mejs-controls .mejs-time,
body .media-player .mejs-controls .mejs-fullscreen-button,
body .media-player .mejs-controls .mejs-show-playlist,
body .media-player  .mejs-controls .mejs-hide-playlist,
body .media-player .mejs-controls .mejs-prevtrack button,
body .media-player .mejs-controls .mejs-nexttrack button {
border-color: #c1c1c1;
}

body .media-player .mejs-controls button {
color: #888888;
}

body .media-player .mejs-controls button:hover {
color: #555555;
}

/* Play */
body .media-player .mejs-playpause-button button {
color: #fff;
}

body .media-player .mejs-playpause-button button:hover {
color: #dcdcdc;
}

/* Time */
body .media-player .mejs-inner .mejs-time .mejs-currenttime, body .media-player .mejs-inner .mejs-time  .mejs-duration {
color: #aaaaaa;
}

/* Progress Bar */
body .media-player .mejs-controls .mejs-time-rail .mejs-time-total {
background: #E2E2E2;
}

/* Progress Bar Loading */
body .media-player .mejs-controls .mejs-time-rail .mejs-time-loaded { 
background: #bbbbbb;
}

/* Progress Bar Current */
body .media-player .mejs-controls .mejs-time-rail .mejs-time-current {
background: #666666;
}

/* Volume Bar */
body .media-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
background: #c9c9c9;
}

/* Volume Bar Current */
body .media-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
background: #777777;
}


/*-------------------------------------------------------------------------------------------*/
/* Main
/*-------------------------------------------------------------------------------------------*/
.mejs-offscreen {
position: absolute !important;
left: -10000px;
overflow: hidden;
width: 1px;
height: 1px;
}

.media-player-c {
position: relative;
max-width: 100%;
margin: 20px 0
}

.media-player-c video, .media-player-c audio {
max-width: 100% !important;
width: 100% !important;
}

.media-player-c, .media-player-c video {
height: auto !important;
}

.media-player-audio-c, .media-player-audio-c .mejs-container {
height: 42px !important;
}

.mejs-container {
display: block !important;
position: relative;
width: 100% !important;
text-align: left;
}

.me-plugin {
position: absolute;
}

.mejs-embed,.mejs-embed body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: #000;
overflow: hidden;
}

.mejs-container-fullscreen {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
z-index: 1000;
}

.mejs-container-fullscreen .mejs-mediaelement,
.mejs-container-fullscreen video {
width: 100%;
height: 100%;
}

.mejs-clear {
clear: both;
}

.mejs-background {
position: absolute;
top: 0;
left: 0;
}

.mejs-mediaelement {
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.mejs-poster {
display: none;
}

.mejs-overlay {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important
}

.mejs-overlay-button {
position: absolute;
top: 50%;
left: 50%;
width: 60px !important;
height: 60px !important;
margin: -30px 0 0 -30px !important;
}

.mejs-overlay-play {
cursor: pointer;
bottom: 0;
height: auto !important;
background: #383434
}

.with-poster .mejs-overlay-play {
background: transparent;
}

.mejs-overlay-loading {
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
margin: -40px 0 0 -40px;
border-radius: 4px;
}

.mejs-container .mejs-controls {
visibility: hidden;
position: absolute;
bottom: 0;
left: 0;
height: 40px;
width: 100%;
}

.mejs-container.playing .mejs-controls,
.mejs-audio.media-player .mejs-controls {
visibility: visible;
}

.mejs-container .mejs-controls div {
list-style-type: none;
background-image: none;
display: block;
float: left;
margin: 0;
padding: 0;
width: 26px;
height: 26px;
font-size: 11px;
line-height: 11px;
font-family: Helvetica, Arial;
border: 0;
}



.mejs-controls .mejs-button button {
cursor: pointer;
display: block;
font-size: 0;
line-height: 0;
text-decoration: none;
margin: 7px 5px;
padding: 0;
position: absolute;
height: 16px;
width: 16px;
border: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
-ms-box-shadow: none;
-o-box-shadow: none;
box-shadow: none;
}

.mejs-controls .mejs-button button:focus {
outline: none
}

.mejs-container .mejs-controls .mejs-time {
color: #fff;
display: block;
height: 17px;
width: auto;
padding: 8px 3px 0 3px;
overflow: hidden;
text-align: center;
-moz-box-sizing:content-box;
-webkit-box-sizing:content-box;
box-sizing:content-box;
}

.mejs-container .mejs-controls .mejs-time span {
color: #fff;
font-size: 11px;
line-height: 12px;
display: block;
float: left;
margin: 1px 2px 0 0;
width: auto;
}

.mejs-controls div.mejs-time-rail {
width: 200px;
padding-top: 5px;
}

.mejs-controls .mejs-time-rail span {
display: block;
position: absolute;
width: 180px;
height: 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
cursor: pointer;
}

.mejs-controls .mejs-time-rail .mejs-time-total {
margin: 5px;
background: #333;
background: rgba(50,50,50,0.8);
}

.mejs-controls .mejs-time-rail .mejs-time-buffering {
width: 100%;
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {
background: #3caac8;
width: 0;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
background: #fff;
width: 0;
}

.mejs-controls .mejs-time-rail .mejs-time-handle {
display: none;
position: absolute;
margin: 0;
width: 10px;
background: #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
cursor: pointer;
border: solid 2px #333;
top: -2px;
text-align: center;
}

.mejs-controls .mejs-time-rail .mejs-time-float {
position: absolute;
display: none;
background: #eee;
width: 36px;
height: 17px;
border: solid 1px #333;
top: -26px;
margin-left: -18px;
text-align: center;
color: #111;
}

.mejs-controls .mejs-time-rail .mejs-time-float-current {
margin: 2px;
width: 30px;
display: block;
text-align: center;
left: 0;
}

.mejs-controls .mejs-time-rail .mejs-time-float-corner {
position: absolute;
display: block;
width: 0;
height: 0;
line-height: 0;
border: solid 5px #eee;
border-color: #eee transparent transparent transparent;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
top: 15px;
left: 13px;
}

.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float {
width: 48px;
}

.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-current {
width: 44px;
}

.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-corner {
left: 18px;
}

.mejs-controls .mejs-volume-button {
position: relative;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider {
display: none;
height: 115px;
width: 25px;
background: rgba(50, 50, 50, 0.7);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
top: -116px;
left: 0;
z-index: 1;
position: absolute;
margin: 0;
}

.mejs-controls .mejs-volume-button:hover {
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total {
position: absolute;
left: 11px;
top: 8px;
width: 2px;
height: 100px;
background: #ddd;
background: rgba(255, 255, 255, 0.5);
margin: 0;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
position: absolute;
left: 11px;
top: 8px;
width: 2px;
height: 100px;
background: #ddd;
background: rgba(255, 255, 255, 0.9);
margin: 0;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
position: absolute;
left: 4px;
top: -3px;
width: 16px;
height: 6px;
background: #ddd;
background: rgba(255, 255, 255, 0.9);
cursor: N-resize;
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
margin: 0;
}

.mejs-controls div.mejs-horizontal-volume-slider {
height: 26px;
width: 60px;
position: relative;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
position: absolute;
left: 0;
top: 11px;
width: 50px;
height: 8px;
margin: 0;
padding: 0;
font-size: 1px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #333;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
position: absolute;
left: 0;
top: 11px;
width: 50px;
height: 8px;
margin: 0;
padding: 0;
font-size: 1px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #fff;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
display: none;
}

.me-cannotplay a {
color: #fff;
font-weight: bold;
}

.me-cannotplay span {
padding: 15px;
display: block;
}

.mejs-controls .mejs-prevtrack button, .mejs-controls .mejs-nexttrack button,
.media-player .mejs-overlay-button, .media-player .mejs-overlay:hover .mejs-overlay-button,
.media-player .mejs-controls .mejs-fullscreen-button button, .media-player .mejs-controls .mejs-unfullscreen button, .media-player .mejs-controls .mejs-playpause-button button, .media-player .mejs-controls .mejs-mute button, .media-player .mejs-controls .mejs-unmute button  {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
text-decoration: inherit;
-webkit-font-smoothing: antialiased;
}

.media-player .mejs-controls button, .media-player .mejs-overlay-button {
-webkit-transition: 200ms all ease-in-out;
-moz-transition: 200ms all ease-in-out;
-o-transition: 200ms all ease-in-out;
transition: 200ms all ease-in-out;
}

/* Fix for last item dropping below the controls. */
.mejs-controls > div:last-of-type {
position: relative !important;
clear: both !important;
float: right !important;
top: -40px !important;
}

@media only screen and (max-width: 48em) {
	.media-player .mejs-controls .mejs-unmute,
	.media-player .mejs-controls .mejs-mute,
	.media-player .mejs-controls .mejs-horizontal-volume-slider {
		display:none !important;
	}

	.media-player .mejs-inner .mejs-controls .mejs-time.mejs-duration-container {
	margin-right:0px !important;
	border-right:0px !important;
	}
}


/*-------------------------------------------------------------------------------------------*/
/* Control Elements
/*-------------------------------------------------------------------------------------------*/

/* Play/Pause Button */
.media-player .mejs-controls .mejs-playpause-button  {
margin-right:5px;
height:40px;
width:40px;
outline:none;
border-right:1px solid #b5b5b5;
}

.media-player .mejs-controls .mejs-playpause-button button {
width: 40px;
height: 40px;
margin: 0;
padding: 0;
outline:none;
background-image:none;
}

.media-player .mejs-controls .mejs-playpause-button button:before {
content: "\f04b";
display: inline-block;
position: relative;
left: 1px;
font-size:17px;
line-height:40px;
text-decoration: inherit;
} 


/* Progress Bar */
.media-player .mejs-controls .mejs-pause button:before  {
content: "\f04c";
position: relative;
font-size: 15px;
}

.media-player .mejs-controls div.mejs-time-rail {
padding-top: 10px;
}

.media-player .mejs-controls .mejs-time-rail span {
height: 10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}


/* Handle and Timer */
.media-player .mejs-controls .mejs-time-rail .mejs-time-handle {
display: block;
margin: 0;
padding: 0px;
border: 0;
width: 12px;
height: 12px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
top: -1px;
left: -5px;
background: #F1F1F1;
}

.media-player .mejs-controls .mejs-time-rail .mejs-time-float {
width: 38px;
height: 17px;
top: -28px;
margin-left: -19px !important;
background: #909090;
border-color: #909090;
background: rgba(0, 0, 0, 0.5); 
color: #ffffff;

-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.media-player .mejs-controls .mejs-time-rail .mejs-time-float-current {
margin: 3px 4px 4px 4px;
font-size: 10px;
line-height: 1;
}

.media-player .mejs-controls .mejs-time-rail .mejs-time-float-corner {
top: 17px;
border: solid 5px #909090;
border-color: #909090 transparent transparent transparent;
}


/* Time */
.media-player .mejs-inner .mejs-controls .mejs-time {
min-width: 34px;
height: 27px;
padding: 13px 2px 0 2px;
margin-left: 5px;
margin-right: 8px;
}

.media-player .mejs-inner .mejs-controls .mejs-duration-container {
border-right: 1px solid #b5b5b5;
padding: 13px 10px 0 2px;
margin-left: 5px;
margin-right: 8px;
}

.media-player .mejs-inner .mejs-controls .mejs-time span {
cursor: default;
}

.media-player .mejs-inner .mejs-time .mejs-currenttime, .media-player .mejs-inner .mejs-time  .mejs-duration {
color: #aaa ;
}


/* Volume */
.media-player .mejs-controls .mejs-volume-button .mejs-volume-slider {
left: -3px;
}

.media-player-audio .mejs-controls .mejs-mute button:hover {
background: none !important;
}

.media-player .mejs-controls .mejs-mute button {
background: none;
width: 34px;
height: 40px;
margin: 0 0 0 -8px;
outline: none;
}

.mejs-controls .mejs-button button:focus {
outline: none !important
}

.media-player .mejs-controls .mejs-unmute button {
background: none;
width: 20px;
height: 40px;
margin: 0;
padding: 0;
outline: none;
}

.media-player .mejs-controls .mejs-mute button:before {
content: "\f028";
display: inline-block;
position: relative;
left: 1px;
font-size: 18px;
line-height: 40px;
text-decoration: inherit;
}

.media-player .mejs-controls .mejs-unmute button:before {
font-size:18px;
content: "\f026";
line-height:40px;
text-decoration: inherit;
display: inline-block;
position:relative;
left:-4px;
}

.media-player .mejs-controls div.mejs-horizontal-volume-slider {
margin-top:5px;
min-width: 60px
}

.media-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
background:#aaaaaa;
}

.media-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
background:#666666;
}

body .media-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
display: block;
position: absolute;
width: 5px;
height:5px;
margin-left:-6px;
top:11px;
background: #F1F1F1;	

-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
cursor: pointer;
-webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.25);
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.25);
border:4px solid #F1F1F1;
text-align: center;
}


/* FullScreen */
.media-player .mejs-controls .mejs-fullscreen-button {
height:40px;
width:33px;
margin:0px;
padding:0px;
border-left:1px solid #b5b5b5;
}

.media-player .mejs-controls .mejs-fullscreen-button button {
background: none;
width: 33px;
height:40px;
top: 0;
margin: 0
}

.media-player .mejs-controls .mejs-fullscreen-button button:before {
content: "\f0b2";
display: inline-block;
position: relative;
top: 2px;
font-size:12px;
text-decoration: inherit;
}

.media-player .mejs-controls .mejs-unfullscreen button:before {
content: "\f0b2";
display: inline-block;
position: relative;
left: 3px;
font-size: 12px;
text-decoration: inherit;
}

/* Video Play Button */
.youtube-wrapper .mejs-overlay-button {display:none !important;}

.media-player .mejs-overlay-button {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}

.media-player .mejs-overlay-button:before {
content: "\f04b";
display: inline-block;
position: relative;
top: 8px;
left: 20px;
color: #ffffff;
font-size: 30px;
text-decoration: inherit;
}