
/* Video */
.max {
	position:relative;
	width:100%;
	height:auto;
	max-width:1700px;
	margin:0 auto;
}
video {
	position:relative;
	width:100%;
	height:auto;
}


/* Video Frame */
.video-frame {
	padding:4%;
	margin:0 auto;
	background-color:#fff;
}
.video-inner {
	margin:0 auto;
	max-width:1300px;
}
.video-frame video {
	margin:0 auto;
}

@media screen and (max-width: 767px) {

.video-frame {
	padding:10px;
}

}

/* End Video Frame */


/*video {
	width:100%;
	height:100% !important;
}*/
.mejs-container {
	position: relative;
	font-family: Helvetica, Arial;
	text-align: left;
	vertical-align: top;
	text-indent: 0;
	background:transparent;
}
.mejs-inner {
	width: 100%;
}
.me-plugin {
	position: absolute;
}
.mejs-embed, .mejs-embed body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background:transparent;
	overflow: hidden;
}
.mejs-container-fullscreen {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 1000;
	background-color:#000;
}
.mejs-container-fullscreen .mejs-mediaelement,
.mejs-container-fullscreen video {
	width: 100%;
	height: 100%;
}
.mejs-fullscreen {
	/* set it to not show scroll bars so 100% will work */
	overflow: hidden !important;
}
/* 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 ;
}
.mejs-poster img {
	border: 0;
	padding: 0;
	border: 0;
	display: block;
}
:root .mejs-poster img {
	display: none ;
}

.mejs-poster img {
	border: 0;
	padding: 0;
	border: 0;
}
.mejs-overlay {
	position: absolute;
	top: 0;
	left: 0;
}
.mejs-overlay-play {
	cursor: pointer;
}
.mejs-overlay-button {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100px;
	height: 100px;
	margin:-50px auto auto -50px;
	background-color:rgba(255,255,255,0);
	background-image: url(bigplay.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size:100px;
	-moz-background-size:100px;
	border: 1px solid #F0F0F0;
	-webkit-border-radius:50%;
	-moz-border-radius:50%;
	border-radius:50%;
}

.mejs-overlay:hover .mejs-overlay-button {
	background-color:rgba(255,255,255,0.1);
}
.mejs-overlay-loading {
	/*position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	background:transparent;
	background: url(background.png);*/
}
.mejs-overlay-loading span {
	/*display: block;
	width: 60px;
	height: 60px;
	background:url(video-preload.gif) 50% 50% no-repeat;*/
}
/* End: LAYERS */

/* Start: CONTROL BAR */
.mejs-container .mejs-controls {
	position: absolute;
	list-style-type: none;
	margin: 0;
	padding: 0;
	bottom:-1px;
	left: 0;
	height: 44px;
	width: 100%;
	/*background: none;*/
}
.mejs-container .mejs-controls div {
	color:#fff;
	list-style-type: none;
	background-image: none;
	display:block;
	float: left;
	margin: 0 0 0 0;
	padding: 0;
	width: 44px;
	height: 44px;
	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;
	padding: 0;
	position: absolute;
	height: 44px;
	width: 44px;
	border: 0;
	background: transparent url(video-control-sprite.png) no-repeat;
	background-color:transparent;
}

.mejs-controls .mejs-button button:hover {
	background-color:rgba(255,255,255,0);
}

/* End: CONTROL BAR */

/* Start: Time (current / duration) */
.mejs-container .mejs-controls .mejs-time {
	color: #fff;
	display: block;
	height: 25px;
	width: auto;
	padding: 8px 5px 0 3px;
	padding-right:10px;
	overflow: hidden;
	text-align: center;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	/*display:none!important;*/
}
/*.mejs-container .mejs-controls .mejs-time.mejs-currenttime-container {
	margin:0;
}*/
.mejs-container .mejs-controls .mejs-time span {
	color: #fff;
	font-size: 11px;
	line-height: 12px;
	display: block;
	float: left;
	margin:0;
	margin-top:8px;
	width: auto;
}
/* End: Time (current / duration) */

/* Start: Play/pause */
.mejs-controls .mejs-play button {
	background-position: 0 0;
}
.mejs-controls .mejs-pause button {
	background-position: 0 -44px;
}
/* End: Play/pause */


/* Start: Progress bar */
.mejs-controls div.mejs-time-rail {
	/*width: calc(100% - 268px)!important;*/
	margin: 0;
	background-color:transparent;
	/*display:none!important;*/
}
.mejs-controls .mejs-time-rail span {
	display: block;
	position: absolute;
	width: 100px;
	height: 4px;
	cursor: pointer;
	/*display:none!important;*/
}
.mejs-controls .mejs-time-rail .mejs-time-total {
	top: 20px;
	background-color:transparent;
	margin: 0;
	/*display:none!important;*/
}
.mejs-controls .mejs-time-rail .mejs-time-buffering {
	width: 100%;
	background: #ccc;
	-webkit-background-size: 15px 15px;
	-moz-background-size: 15px 15px;
	-o-background-size: 15px 15px;
	background-size: 15px 15px;
	-webkit-animation: buffering-stripes 2s linear infinite;
	-moz-animation: buffering-stripes 2s linear infinite;
	-ms-animation: buffering-stripes 2s linear infinite;
	-o-animation: buffering-stripes 2s linear infinite;
	animation: buffering-stripes 2s linear infinite;
}

@-webkit-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
@-moz-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
@-ms-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
@-o-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
@keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }

.mejs-controls .mejs-time-rail .mejs-time-loaded {
	background: #fff;
	width: 0;
	opacity:0.3;
}
.mejs-controls .mejs-time-rail .mejs-time-current {
	width: 0;
	background: #fff;
}

.mejs-controls .mejs-time-rail .mejs-time-handle {
	display: block;
	position: absolute;
	margin: 0;
	width: 4px;
	height: 30px;
	background: #fff;
	cursor: pointer;
	top: -13px;
	left: -2px;
	text-align: center;
}

.mejs-controls .mejs-time-rail .mejs-time-float,
.mejs-controls .mejs-time-rail .mejs-time-float-current, 
.mejs-controls .mejs-time-rail .mejs-time-float-corner {
	display: none;
}

/* End: Progress bar */

/* Start: Fullscreen */

.mejs-controls .mejs-fullscreen-button {
	/*margin-right: 0 !important;*/
	/*display:none!important;*/
}

.mejs-controls .mejs-fullscreen-button button {
	background-position: 0 -132px;
}
.mejs-controls .mejs-unfullscreen button {
	background-position: 0 -176px;
	background-color:#333;
}
/* End: Fullscreen */



/* Start: Mute/Volume */
.mejs-controls .mejs-mute button {
	background-position: 0 -88px;
}
.mejs-controls .mejs-unmute button {
	background-position: 0 -88px;
}

.mejs-controls .mejs-volume-button {
	position: relative;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider {
	display: none;
	height: 140px;
	width: 44px;
	background-color: #666;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	top: -140px;
	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:hover .mejs-volume-slider {
	display: block;
}
*/

.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total {
	position: absolute;
	left: 21px;
	top: 15px;
	width: 4px;
	height: 112px;
	background: #999;
	margin: 0;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
	position: absolute;
	left: 21px;
	top: 15px;
	width: 4px;
	height: 112px;
	background: #fff;
	margin: 0;
}

.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
	position: absolute;
	left: 8px;
	top: 15px;
	width: 30px;
	height: 4px;
	background: #333;
	cursor: N-resize;
	margin: 0;

}

/* horizontal version */
.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: #ccc;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
	display: none;
}

/* End: Mute/Volume */





/* Start: TRACK (Captions and Chapters) */
.mejs-controls .mejs-captions-button {
	position: relative;
}

.mejs-controls .mejs-captions-button button {
	background-position: 0 -88px;
}
.mejs-controls .mejs-captions-button .mejs-captions-selector {
	visibility: hidden;
	position: absolute;
	bottom: 26px;
	right: -10px;
	width: 130px;
	height: 100px;
	background: url(background.png);
	border: solid 1px transparent;
	padding: 10px;
	overflow: hidden;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
/*
.mejs-controls .mejs-captions-button:hover  .mejs-captions-selector {
	visibility: visible;
}
*/

.mejs-controls .mejs-captions-button .mejs-captions-selector ul {
	margin: 0;
	padding: 0;
	display: block;
	list-style-type: none !important;
	overflow: hidden;
}
.mejs-controls .mejs-captions-button .mejs-captions-selector ul li {
	margin: 0 0 6px 0;
	padding: 0;
	list-style-type: none !important;
	display: block;
	color: #fff;
	overflow: hidden;
}
.mejs-controls .mejs-captions-button .mejs-captions-selector ul li input {
	clear: both;
	float: left;
	margin: 3px 3px 0 5px;
}
.mejs-controls .mejs-captions-button .mejs-captions-selector ul li label {
	width: 100px;
	float: left;
	padding: 4px 0 0 0;
	line-height: 15px;
	font-family: helvetica, arial;
	font-size: 10px;
}

.mejs-controls .mejs-captions-button .mejs-captions-translations {
	font-size: 10px;
	margin: 0 0 5px 0;
}


.mejs-chapters {
	position: absolute;
	top: 0;
	left: 0;
	-xborder-right: solid 1px #fff;
	width: 10000px;
	z-index: 1;
}
.mejs-chapters .mejs-chapter {
	position: absolute;
	float: left;
	background: #222;
	overflow: hidden;
	border: 0;
}
.mejs-chapters .mejs-chapter .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-chapters .mejs-chapter .mejs-chapter-block-last {
	border-right: none;
}

.mejs-chapters .mejs-chapter .mejs-chapter-block:hover {
	/*background: #333;*/
	background: #666;
}
.mejs-chapters .mejs-chapter .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-chapters .mejs-chapter .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;
	/*font-weight: bold;*/
	line-height: 22px;
	font-size: 12px;
	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: 45px;
}

.mejs-captions-text {
	padding: 3px 5px;
	background: url(background.png);

}
/* End: TRACK (Captions and Chapters) */



.mejs-clear {
	clear: both;
}

/* Start: ERROR */
.me-cannotplay {
}
.me-cannotplay a {
	color: #fff;
	font-weight: bold;
}
.me-cannotplay span {
	padding: 15px;
	display: block;
}
/* End: ERROR */


/* Start: Loop */
.mejs-controls .mejs-loop-off button {
	background-position: -64px -16px;
}
.mejs-controls .mejs-loop-on button {
	background-position: -64px 0;
}
/* End: Loop */

/* Start: backlight */
.mejs-controls .mejs-backlight-off button {
	background-position: -80px -16px;
}
.mejs-controls .mejs-backlight-on button {
	background-position: -80px 0;
}
/* End: backlight */


/* Start: picture controls */
.mejs-controls .mejs-picturecontrols-button {
	background-position: -96px 0;
}
/* End: picture controls */


/* 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 .mejs-contextmenu-separator {
	height: 1px;
	font-size: 0;
	margin: 5px 6px;
	background: #333;	
}

.mejs-contextmenu .mejs-contextmenu-item {
	font-family: Helvetica, Arial;
	font-size: 12px;
	padding: 4px 6px;
	cursor: pointer;
	color: #333;	
}
.mejs-contextmenu .mejs-contextmenu-item:hover {
	background: #2C7C91;
	color: #fff;
}


/* Start: SourceChooser */
.mejs-controls .mejs-sourcechooser-button {
	position: relative;
}

.mejs-controls .mejs-sourcechooser-button button {
	background-position: -128px 0;
}
.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector {
	visibility: hidden;
	position: absolute;
	bottom: 26px;
	right: -10px;
	width: 130px;
	height: 100px;
	background: url(background.png);
	border: solid 1px transparent;
	padding: 10px;
	overflow: hidden;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul {
	margin: 0;
	padding: 0;
	display: block;
	list-style-type: none !important;
	overflow: hidden;
}
.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li {
	margin: 0 0 6px 0;
	padding: 0;
	list-style-type: none !important;
	display: block;
	color: #fff;
	overflow: hidden;
}
.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input {
	clear: both;
	float: left;
	margin: 3px 3px 0 5px;
}
.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label {
	width: 100px;
	float: left;
	padding: 4px 0 0 0;
	line-height: 15px;
	font-family: helvetica, arial;
	font-size: 10px;
}
/* End: SourceChooser */


/* Start: Postroll */
.mejs-postroll-layer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(background.png);
	z-index: 1000;
	overflow: hidden;
}
.mejs-postroll-layer-content {
	width: 100%;
	height: 100%;
}
.mejs-postroll-close {
	position: absolute;
	right: 0;
	top: 0;
	background: url(background.png);
	color: #fff;
	padding: 4px;
	z-index: 100;
	cursor: pointer;
}
/* End: Postroll */

/* Fullscreen video */

/*<div id="'+a.id+'" class="mejs-container '+(mejs.MediaFeatures.svg?"svg":"no-svg")+'"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>*/

.myvideo {
	position:relative;
	width:100%;
	height:100%;
}

.videofull {
	position:relative;
	width:100%;
	height:100%;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 1000;
}
.videofull .mejs-container {
	width:100%;
	min-height:100%;
}
.videofull .mejs-container .mejs-inner {
	width:100%;
	min-height:100%;
}
/*.videofull .mejs-container .mejs-inner .mejs-mediaelement {
	width:100%;
}*/
.videofull .mejs-container .mejs-inner .mejs-mediaelement video {
	background-size: 100% 100%;
	background-position: center center;
	background-size: contain;
	object-fit: cover;
}
.videofull .mejs-container .mejs-inner .mejs-poster {
}
.videofull .mejs-container .mejs-inner .mejs-poster img {
	/*background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;*/
	position: absolute;
	right: 0;
	bottom: 0;
	top:0;
	right:0;
	width: 100%;
	height: 100%;
	background-size: 100% 100%;
 	background-color: black; /* in case the video doesn't fit the whole page*/
  	background-image: /* our video */;
  	background-position: center center;
  	background-size: contain;
   	object-fit: cover; /*cover video background */
   	z-index:0;
}

.videofull .mejs-container .mejs-controls {
	/*display:none!important;*/
}

@media screen and (min-width: 0px) and (max-width: 767px) {

.myvideo {
	position:relative;
	width:100%;
	height:auto;
	margin-top:70px;
}
.mejs-overlay-button {
	width: 60px;
	height: 60px;
	margin:-30px auto auto -30px;
	background-size:60px;
	-moz-background-size:60px;
}

}

.novideo {
	padding:30px;
	color:#fff;
	font-weight:normal;
}
.novideo a {
	color:#fff;
	font-weight:normal;
}