/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages).
Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
.mejs-offscreen {
	clip: rect(1px, 1px, 1px, 1px); /* IE8-IE11 - no support for clip-path */
	clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.mejs-container {
	position: relative;
	background: #000;
	font-family: "Helvetica", Arial, serif;
	text-align: left;
	vertical-align: top;
	text-indent: 0;
	box-sizing: border-box;
}

.mejs-container * {
	box-sizing: border-box;
}

/* Hide native play button from iOS to favor plugin button */
.mejs-container video::-webkit-media-controls-start-playback-button {
	display: none!important;
	-webkit-appearance: none;
}

.mejs-fill-container,
.mejs-fill-container .mejs-container {
	width: 100%;
	height: 100%;
}

.mejs-fill-container {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	background: transparent;
}

.mejs-container:focus {
	outline: none;
}

.me-plugin {
	position: absolute;
}

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

.mejs-fullscreen {
	overflow: hidden !important;
}

.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% !important;
	height: 100% !important;
}

.mejs-clear {
	clear: both;
}

/* Start: LAYERS */
.mejs-background {
	position: absolute;
	top: 0;
	left: 0;
}

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

.mejs-poster {
	position: absolute;
	top: 0;
	left: 0;
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

:root .mejs-poster-img {
	display: none;
}

.mejs-poster-img {
	border: 0;
	padding: 0;
}

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

.mejs-overlay-play {
	cursor: pointer;
}

.mejs-overlay-button {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	margin: -40px 0 0 -40px;
	background: url("mejs-controls.svg") no-repeat;
	background-position: 0 -39px;
}

.mejs-overlay:hover > .mejs-overlay-button {
	background-position: -80px -39px ;
}

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

.mejs-overlay-loading-bg-img {
	display: block;
	width: 80px;
	height: 80px;
	background: transparent url("mejs-controls.svg") -160px -40px no-repeat;
	-webkit-animation: mejs-loading-spinner 1s linear infinite;
	-moz-animation: mejs-loading-spinner 1s linear infinite;
	animation: mejs-loading-spinner 1s linear infinite;
}
@-moz-keyframes mejs-loading-spinner { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes mejs-loading-spinner { 100% { -webkit-transform: rotate(360deg); } }
@keyframes mejs-loading-spinner { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* End: LAYERS */

/* Start: CONTROL BAR */
.mejs-controls {
	position: absolute;
	list-style-type: none;
	margin: 0;
	padding: 0 10px;
	bottom: 0;
	left: 0;
	height: 40px;
	width: 100%;
}

.mejs-controls:not([style*="display: none"]) {
	background: rgba(255, 0, 0, 0.7);
	background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.35));
}

.mejs-button,
.mejs-time,
.mejs-time-rail {
	float: left;
	margin: 0;
	width: 32px;
	height: 40px;
	font-size: 10px;
	line-height: 10px;
}

.mejs-button > button {
	cursor: pointer;
	display: block;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
	margin: 10px 6px;
	padding: 0;
	position: absolute;
	height: 20px;
	width: 20px;
	border: 0;
	background: transparent url("mejs-controls.svg") no-repeat;
}

/* :focus for accessibility */
.mejs-button > button:focus {
	outline: dotted 1px #999;
}

.mejs-container-keyboard-inactive a,
.mejs-container-keyboard-inactive a:focus,
.mejs-container-keyboard-inactive button,
.mejs-container-keyboard-inactive button:focus,
.mejs-container-keyboard-inactive [role=slider],
.mejs-container-keyboard-inactive [role=slider]:focus {
	outline: 0;
}
/* End: CONTROL BAR */

/* Start: Time (Current / Duration) */
.mejs-time {
	color: #fff;
	display: block;
	height: 24px;
	width: auto;
	font-weight: bold;
	font-size: 11px;
	padding: 16px 6px 0 6px ;
	overflow: hidden;
	text-align: center;
	box-sizing: content-box;
}
/* End: Time (Current / Duration) */

/* Start: Play/Pause/Stop */
.mejs-play > button {
	background-position: 0 0;
}

.mejs-pause > button {
	background-position: -20px 0;
}

.mejs-stop > button {
	background-position: -220px 0;
}
.mejs-replay > button {
	background-position: -280px 0;
}
/* End: Play/Pause/Stop */

/* Start: Progress Bar */
.mejs-time-rail {
	direction: ltr;
	width: 200px;
	padding-top: 10px;
	height: 40px;
	position: relative;
	margin: 0 10px;
}

.mejs-time-total,
.mejs-time-buffering,
.mejs-time-loaded,
.mejs-time-current,
.mejs-time-handle,
.mejs-time-float,
.mejs-time-float-current,
.mejs-time-float-corner,
.mejs-time-marker {
	cursor: pointer;
	display: block;
	position: absolute;
	height: 10px;
	border-radius: 2px;
}

.mejs-time-total {
	margin: 5px 0 0 0;
	background: rgba(255,255,255,0.3);
	width: 100%;
}

.mejs-time-buffering {
	width: 100%;
	background: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-size: 15px 15px;
	animation: buffering-stripes 2s linear infinite;
}

@keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }

.mejs-time-loaded {
	background: rgba(255,255,255,.3);
	width: 0;
}

.mejs-time-current {
	background: rgba(255,255,255,0.9);
	width: 0;
}

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

.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-time-float-current {
	margin: 2px;
	width: 30px;
	display: block;
	text-align: center;
	left: 0;
}

.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;
	border-radius: 0;
	top: 15px;
	left: 13px;
}

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

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

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

.mejs-broadcast {
	color: #fff;
	position: absolute;
	width: 100%;
	height: 10px;
	top: 15px;
}
/* End: Progress Bar */

/* Start: Fullscreen */
.mejs-fullscreen-button > button {
	background-position: -80px 0;
}

.mejs-unfullscreen > button {
	background-position: -100px 0;
}
/* End: Fullscreen */


/* Start: Mute/Volume */
.mejs-mute > button {
	background-position: -60px 0;
}

.mejs-unmute > button {
	background-position: -40px 0;
}

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

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

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

.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-volume-current {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #ddd;
	background: rgba(255, 255, 255, 0.9);
	margin: 0;
}

.mejs-volume-handle {
	position: absolute;
	left: 0;
	bottom: 100%;
	width: 16px;
	height: 6px;
	margin: 0 0 -3px -7px;
	background: #ddd;
	background: rgba(255, 255, 255, 0.9);
	cursor: ns-resize;
	border-radius: 1px;
}


.mejs-horizontal-volume-slider {
	height: 36px;
	width: 56px;
	position: relative;
	display: block;
	float: left;
	vertical-align: middle;
}

.mejs-horizontal-volume-total {
	position: absolute;
	left: 0;
	top: 16px;
	width: 50px;
	height: 8px;
	margin: 0;
	padding: 0;
	font-size: 1px;
	border-radius: 2px;
	background: rgba(50,50,50,0.8);
}

.mejs-horizontal-volume-current {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 1px;
	border-radius: 2px;
	background: rgba(255,255,255,0.8);
}

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

/* End: Mute/Volume */

/* Start: Track (Captions and Chapters) */
.mejs-captions-button {
	position: relative;
}

.mejs-captions-button > button {
	background-position: -140px 0;
}

.mejs-captions-button > .mejs-captions-selector {
	visibility: hidden;
	position: absolute;
	bottom: 40px;
	right: -51px;
	width: 85px;
	height: 100px;
	background: rgba(50,50,50,0.7);
	border: solid 1px transparent;
	padding: 0;
	overflow: hidden;
	border-radius: 0;
}

.mejs-captions-button > .mejs-captions-selector {
	visibility: visible;
}

.mejs-captions-selector-list {
	margin: 0;
	padding: 0;
	display: block;
	list-style-type: none !important;
	overflow: hidden;
}

.mejs-captions-selector-list-item {
	margin: 0 0 6px 0;
	padding: 0 10px;
	list-style-type: none !important;
	display: block;
	color: #fff;
	overflow: hidden;
	cursor: pointer;
}
.mejs-captions-selector-list-item:hover {
	background-color: rgb(200, 200, 200) !important;
	background-color: rgba(255, 255, 255, 0.4) !important;
}

.mejs-captions-selector-input {
	clear: both;
	float: left;
	margin: 3px 3px 0 5px;
	position: absolute;
	left: -1000px;
}

.mejs-captions-selector-label {
	width: 55px;
	float: left;
	padding: 4px 0 0 0;
	line-height: 15px;
	font-size: 10px;
	cursor: pointer;
}

.mejs-captions-selected {
	color: rgba(33, 248, 248, 1);
}

.mejs-captions-translations {
	font-size: 10px;
	margin: 0 0 5px 0;
}

.mejs-chapters {
	position: absolute;
	top: 0;
	left: 0;
	border-right: solid 1px #fff;
	width: 10000px;
	z-index: 1;
}

.mejs-chapter {
	position: absolute;
	float: left;
	background: rgba(0, 0, 0, 0.7);
	background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
	overflow: hidden;
	border: 0;
}

.mejs-chapter-block {
	font-size: 11px;
	color: #fff;
	padding: 5px;
	display: block;
	border-right: solid 1px #333;
	border-bottom: solid 1px #333;
	cursor: pointer;
}

.mejs-chapter-block-last {
	border-right: none;
}

.mejs-chapter-block:hover {
	background: rgba(102,102,102, 0.7);
	background: linear-gradient(rgba(102,102,102,0.7), rgba(50,50,50,0.6));
}

.mejs-chapter-block .ch-title {
	font-size: 12px;
	font-weight: bold;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin: 0 0 3px 0;
	line-height: 12px;
}

.mejs-chapter-block .ch-timespan {
	font-size: 12px;
	line-height: 12px;
	margin: 3px 0 4px 0;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mejs-captions-layer {
	position: absolute;
	bottom: 0;
	left: 0;
	text-align:center;
	line-height: 20px;
	font-size: 16px;
	color: #fff;
}

.mejs-captions-layer a {
	color: #fff;
	text-decoration: underline;
}

.mejs-captions-layer[lang=ar] {
	font-size: 20px;
	font-weight: normal;
}

.mejs-captions-position {
	position: absolute;
	width: 100%;
	bottom: 15px;
	left: 0;
}

.mejs-captions-position-hover {
	bottom: 35px;
}

.mejs-captions-text {
	padding: 0;
	background: rgba(20, 20, 20, 0.5);
	white-space: pre-wrap;
	box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 rgba(20, 20, 20, 0.5);
}
/* End: Track (Captions and Chapters) */

/* Start: Error */
.me-cannotplay a {
	color: #fff;
	font-weight: bold;
}

.me-cannotplay span {
	padding: 15px;
	display: block;
}
/* End: Error */


/* Start: Loop */
.mejs-loop-off > button {
	background-position: -260px;
}

.mejs-loop-on > button {
	background-position: -240px 0;
}
/* End: Loop */


/* context menu */
.mejs-contextmenu {
	position: absolute;
	width: 150px;
	padding: 10px;
	border-radius: 4px;
	top: 0;
	left: 0;
	background: #fff;
	border: solid 1px #999;
	z-index: 1001; /* make sure it shows on fullscreen */
}

.mejs-contextmenu-separator {
	height: 1px;
	font-size: 0;
	margin: 5px 6px;
	background: #333;
}

.mejs-contextmenu-item {
	font-size: 12px;
	padding: 4px 6px;
	cursor: pointer;
	color: #333;
}

.mejs-contextmenu-item:hover {
	background: #2C7C91;
	color: #fff;
}

/* Start: Source Chooser */
.mejs-sourcechooser-button {
	position: relative;
}

.mejs-sourcechooser-button > button {
	background-position: -200px 0;
}

.mejs-sourcechooser-button .mejs-sourcechooser-selector {
	position: absolute;
	bottom: 26px;
	right: -10px;
	width: 130px;
	height: 100px;
	background: rgba(50,50,50,0.7);
	border: solid 1px transparent;
	padding: 10px;
	overflow: hidden;
	border-radius: 0;
}

.mejs-sourcechooser-selector ul {
	margin: 0;
	padding: 0;
	display: block;
	list-style-type: none !important;
	overflow: hidden;
}

.mejs-sourcechooser-selector li {
	margin: 0 0 6px 0;
	padding: 0;
	list-style-type: none !important;
	display: block;
	color: #fff;
	overflow: hidden;
}

.mejs-sourcechooser-selector input {
	clear: both;
	float: left;
	margin: 3px 3px 0 5px;
}

.mejs-sourcechooser-selector label {
	width: 100px;
	float: left;
	padding: 4px 0 0 0;
	line-height: 15px;
	font-size: 10px;
}
/* End: Source Chooser */

/* Start: Postroll */
.mejs-postroll-layer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(50,50,50,0.7);
	z-index: 1000;
	overflow: hidden;
}

.mejs-postroll-layer-content {
	width: 100%;
	height: 100%;
}
.mejs-postroll-close {
	position: absolute;
	right: 0;
	top: 0;
	background: rgba(50,50,50,0.7);
	color: #fff;
	padding: 4px;
	z-index: 100;
	cursor: pointer;
}
/* End: Postroll */

/* Start: Speed */
.mejs-speed-button {
	position: relative;
}

.mejs-speed-button > button {
	background: transparent;
	width: 36px;
	margin: 11px 0 0 0;
	font-size: 11px;
	line-height: normal;
	color: #ffffff;
}

.mejs-speed-selector {
	visibility: hidden;
	position: absolute;
	top: -100px;
	left: -10px;
	width: 60px;
	height: 100px;
	background: rgba(50, 50, 50, 0.7);
	border: solid 1px transparent;
	padding: 0;
	overflow: hidden;
	border-radius: 0;
}

.mejs-speed-selector {
	visibility: visible;
}

.mejs-speed-selector-list {
	margin: 0;
	padding: 0;
	display: block;
	list-style-type: none !important;
	overflow: hidden;
}

.mejs-speed-selector-list-item {
	margin: 0 0 6px 0;
	padding: 0 10px;
	list-style-type: none !important;
	display: block;
	color: #fff;
	overflow: hidden;
}

.mejs-speed-selector-list-item:hover {
	background-color: rgb(200, 200, 200) !important;
	background-color: rgba(255, 255, 255, 0.4) !important;
}

.mejs-speed-selector-input {
	clear: both;
	float: left;
	margin: 3px 3px 0 5px;
	position: absolute;
	left: -1000px;
}

.mejs-speed-selector-label {
	width: 60px;
	float: left;
	padding: 4px 0 0 0;
	line-height: 15px;
	font-size: 11px;
	color: white;
	margin-left: 5px;
	cursor: pointer;
}

.mejs-speed-selected {
	color: rgba(33, 248, 248, 1);
}
/* End: Speed */

/* Start: Jump Forward */
.mejs-jump-forward-button {

}

.mejs-jump-forward-button button {
	font-size: 8px;
	line-height: normal;
	color: #ffffff;
	background-position: -180px 0;
}
/* End: Jump Forward */

/* Start: Skip Back */
.mejs-skip-back-button {

}

.mejs-skip-back-button > button {
	font-size: 8px;
	line-height: normal;
	color: #ffffff;
	background-position: -160px 0;
}
/* End: Skip Back */

/* Start: Ads */
.mejs-ads>a {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.mejs-ads-skip-block {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px;
	background: #000;
	background: rgba(0,0,0,0.5);
	color: #fff;
}
.mejs-ads-skip-button {
	cursor: pointer;
}
.mejs-ads-skip-button:hover {
	text-decoration: underline;
}
/* End: Ads */