/*
Media Player
Description: This file used for audio and video media players.
*/

/* Media Elements jS*/

/* Audio Player
-------------------------------------------------------------- */

/* General */
.audio-container .mejs-container * {
	font-family: Arial;
}

.audio-container .mejs-container .mejs-controls div {
	font-family: Arial;
}

/* Time Digits */
.audio-container .mejs-container .mejs-controls .mejs-time span {
	margin:1px 15px 0 15px;
}

/* Time Rail */
.audio-container .mejs-controls .mejs-time-rail span,
.audio-container .mejs-controls .mejs-time-rail a {
	border-radius: 6px;
}

.audio-container .mejs-controls .mejs-time-rail .mejs-time-float-current {
	text-align: center;
}
.audio-container .mejs-controls .mejs-time-rail .mejs-time-float-corner {
	border-radius: 0;
}

/* Volume */
.audio-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.audio-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	height:6px;
	border-radius: 3px;
}

.audio-container .mejs-controls .mejs-volume-button {
	margin-right: 5px;
}

.audio-container .mejs-controls .mejs-volume-button button {
	background:transparent;
	-webkit-font-smoothing: antialiased;
}

.audio-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.audio-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	height:6px;
	border-radius: 3px;
}

/* Buttons */
.audio-container .mejs-controls .mejs-button button {
	font-family: 'FontAwesome';
	font-weight:400;
	background: transparent no-repeat;
	-webkit-font-smoothing: antialiased;
}

.audio-container .mejs-controls .mejs-play button {
	background-position: 0 0;
	height: 58px;
	width: 58px;
}

.audio-container .mejs-controls .mejs-play button:before {
	display: block;
	font-size: 60px;
	content: '\f144';
}

.audio-container .mejs-controls .mejs-pause button {
	background-position: 0 0;
	height: 58px;
	width: 58px;
}

.audio-container .mejs-controls .mejs-pause button:before {
	display: block;
	font-size: 60px;
	content: '\f28b';
}

.audio-container .mejs-controls .mejs-stop button {
	background-position: -112px 0;
}

.audio-container .mejs-controls .mejs-stop button:before {
	display: block;
	font-size: 60px;
	content: '\f04d';
}

.audio-container .mejs-controls .mejs-fullscreen-button button {
	background-position: -32px 0;
}

.audio-container .mejs-controls .mejs-fullscreen-button button:before {
	content: "\f0b2";
	display: block;
	font-size: 16px;
}

.audio-container .mejs-controls .mejs-unfullscreen button {
	background-position: -32px -16px;
}

.audio-container .mejs-controls .mejs-unfullscreen-button button:before {
	content: "\f0a1";
	display: block;
	font-size: 16px;
}

.audio-container .mejs-controls .mejs-mute button {
	background-position: -0px 0px;
	height: 26px;
	width: 26px;
}

.audio-container .mejs-controls .mejs-mute button:before {
	display: block;
	font-size: 24px;
	content: '\f028';
}

.audio-container .mejs-controls .mejs-unmute button {
	background-position: 0px 0;
	height: 26px;
	width: 26px;
}

.audio-container .mejs-controls .mejs-unmute button:before {
	display: block;
	font-size: 24px;
	content: '\f026';
}

.audio-container .mejs-overlay-button {
	line-height: 1;
}

/* Off Screen */

.audio-container .mejs-controls a:focus > .mejs-offscreen {
	box-shadow: none;
	padding:24px;
	display: block;
	font-weight: normal;
	padding:10px 25px;
	font-size: 12px;
}

/* Custom Extras */

.audio-container .mejs-container.wp-audio-shortcode.mejs-audio,
.audio-container .mejs-container.wp-audio-shortcode.mejs-audio {
	height:64px !important;
	margin:0;
}

.audio-container .mejs-container .mejs-controls,
.audio-container .mejs-container .mejs-controls {
	padding:0 30px;
	height:64px;
}

.audio-container.self-hosted .mejs-container .mejs-controls,
.audio-container.self-hosted .mejs-container .mejs-controls {
	padding:0 20px 0 5px;
	height:64px;
}

.audio-container .mejs-controls .mejs-play button,
.audio-container .mejs-controls .mejs-pause button {
	margin:4px 0px;
}

.audio-container .mejs-controls .mejs-mute button,
.audio-container .mejs-controls .mejs-unmute button {
	margin:18px 0px 0px -10px;
}

.audio-container .mejs-container .mejs-controls .mejs-time,
.audio-container .mejs-container .mejs-controls .mejs-time {
	display:none;
}

.audio-container .mejs-container .mejs-controls div.mejs-time-rail,
.audio-container .mejs-container .mejs-controls div.mejs-time-rail {
	padding:22px 30px 0px 50px;
}

.audio-container .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	top:28px;
}

.audio-container .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	top:28px;
}

@media screen and (max-width: 510px) {
	.audio-container .mejs-container .mejs-controls .mejs-time {
		display:none;
	}

	.audio-container .mejs-controls .mejs-play button:before {
		font-size: 46px;
	}

	.audio-container .mejs-controls .mejs-pause button:before {
		font-size: 46px;
	}

/* Time Rail */
.audio-container .mejs-controls .mejs-time-rail {
	margin:0px 25px 0 20px;
}

.audio-container .mejs-container .mejs-controls,
.audio-container .mejs-container .mejs-controls {
	padding:0 20px;
	height:64px;
}

.audio-container.self-hosted .mejs-container .mejs-controls,
.audio-container.self-hosted .mejs-container .mejs-controls {
	padding:0 20px;
	height:64px;
	}
}

/* Video Player
-------------------------------------------------------------- */

.video-container {
	margin:0;
	padding:0;
}

/* Media Elements jS*/

/* General */

.video-container .mejs-container * {
	font-family: Arial;
}
.video-container .mejs-container .mejs-controls div {
	font-family: Arial;
}

/* Time Digits */
.video-container .mejs-container .mejs-controls .mejs-time span {
	margin:1px 15px 0 15px;
}

/* Time Rail */
.video-container .mejs-controls .mejs-time-rail span,
.video-container .mejs-controls .mejs-time-rail a {
	border-radius: 6px;
}

.video-container .mejs-controls .mejs-time-rail .mejs-time-float {
	height:16px;
}

.video-container .mejs-controls .mejs-time-rail .mejs-time-float-current {
	text-align: center;
}

.video-container .mejs-controls .mejs-time-rail .mejs-time-float-corner {
	border-radius: 0;
}

.video-container .mejs-controls .mejs-time-rail .mejs-time-total,
.video-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background-color: rgba(0,0,0,0.9);
}

.video-container .mejs-controls .mejs-controls .mejs-time-rail .mejs-time-loaded {
	background-color: rgba(0,0,0,0.9);
}

.video-container .mejs-controls .mejs-time-rail .mejs-time-current,
.video-container.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background-color:#4a545a;
}

/* Volume */
.video-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.video-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	height:6px;
	border-radius: 3px;
}

.video-container .mejs-controls .mejs-volume-button {
	margin-right: 5px;
}

.video-container .mejs-controls .mejs-volume-button button {
	background:transparent;
}

.video-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.video-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	height:6px;
	border-radius: 3px;
}

/* Buttons */
.video-container .mejs-controls .mejs-button button {
	font-family: 'FontAwesome';
	color:#fff;
	background: transparent no-repeat;
}

.video-container .mejs-controls .mejs-play button {
	background-position: 0 0;
}

.video-container .mejs-controls .mejs-play button:before {
	display: block;
	font-size: 12px;
	content: '\f04b';
}

.video-container .mejs-controls .mejs-pause button {
	background-position: 0 -16px;
}

.video-container .mejs-controls .mejs-pause button:before {
	display: block;
	font-size: 12px;
	content: '\f04c';
}

.video-container .mejs-controls .mejs-stop button {
	background-position: -112px 0;
}

.video-container .mejs-controls .mejs-stop button:before {
	display: block;
	font-size: 12px;
	content: '\f04d';
}

.video-container .mejs-controls .mejs-fullscreen-button button {
	background-position: -32px 0;
}

.video-container .mejs-controls .mejs-fullscreen-button button:before {
	content: "\f0b2";
	display: block;
	font-size: 12px;
}

.video-container .mejs-controls .mejs-unfullscreen button {
	background-position: -32px -16px;
}

.video-container .mejs-controls .mejs-unfullscreen-button button:before {
	content: "\f0a1";
	display: block;
	font-size: 12px;
}

.video-container .mejs-controls .mejs-mute button {
	background-position: -16px -16px;
}

.video-container .mejs-controls .mejs-mute button:before {
	display: block;
	font-size: 12px;
	content: '\f028';
}

.video-container .mejs-controls .mejs-unmute button {
	background-position: -16px 0;
}

.video-container .mejs-controls .mejs-unmute button:before {
	display: block;
	font-size: 12px;
	content: '\f026';
}

.video-container .mejs-overlay-button {
	line-height: 1;
}

/* Off Screen */
.video-container .mejs-controls a:focus > .mejs-offscreen {
	box-shadow: none;
	padding:24px;
	display: block;
	font-weight: normal;
	padding:10px 25px;
	font-size: 12px;
}

/* WP Video */
.video-container .wp-video,
.video-container .wp-video-playlist .mejs-container.mejs-video {
	max-width: 100%;
	width:100% !important;
	height: 0 !important;
	padding-bottom: 56.25% !important; /* 16:9 */
	position: relative;
}

.video-container .mejs-video.mejs-container video {
	max-width: 100%;
	/* just in case, to force correct aspect ratio */
	height: auto !important;
}

.video-container .wp-video .mejs-container,
.video-container .wp-video-playlist .mejs-container .mejs-inner {
	width: 100% !important;
	height: auto !important;
	padding-top: 56.25%;
}

.video-container .wp-video .mejs-overlay,
.video-container .wp-video .mejs-poster,
.video-container .wp-video-playlist .mejs-overlay,
.video-container .wp-video-playlist .mejs-poster {
	width: 100% !important;
	height: 100% !important;
}

.video-container .wp-video .mejs-mediaelement video,
.video-container .wp-video-playlist .mejs-mediaelement video {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100% !important;
	height: 100% !important;
}

.video-container .mejs-video.mejs-container .mejs-controls,
.video-container .mejs-video.mejs-container .mejs-controls {
	background-color:#eef2f5;
	padding:0 10px;
	height:70px;
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-button button,
.video-container .mejs-video.mejs-container .mejs-controls .mejs-button button {
	margin:26px 5px;
	color:#fff;
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-time,
.video-container .mejs-video.mejs-container .mejs-controls .mejs-time {
	margin:20px 3px;
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-time-rail .mejs-time-total,
.video-container .mejs-video.mejs-container .mejs-controls .mejs-time-rail .mejs-time-total {
	background-color:rgba(0,0,0,0.2);
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-time-rail .mejs-time-loaded,
.video-container .mejs-video.mejs-container .mejs-controls .mejs-time-rail .mejs-time-loaded {
	background-color: rgba(0, 0, 0, 0.25);
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-time span {
	color:#fff;
}

.video-container .mejs-video.mejs-container .mejs-controls div.mejs-time-rail,
.video-container .mejs-video.mejs-container .mejs-controls div.mejs-time-rail {
	padding-top:27px;
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.video-container .mejs-video.mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	top:31px;
	background-color:rgba(0,0,0,0.25);
}

.video-container .mejs-video.mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
.video-container .mejs-video.mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	top:31px;
}

/* Video Settings */
.video-container .mejs-overlay-button:hover {
	background-color: #4a545a;
}
.video-container .mejs-container.wp-video-shortcode.mejs-video .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
	background-color: #4a545a;
}
.video-container .mejs-container .mejs-controls .mejs-time-rail .mejs-time-float {
	background-color: #4a545a;
	color:#fff;
}
.video-container .mejs-container .mejs-controls .mejs-time-rail .mejs-time-float-corner {
	border-color: #ff515b rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.video-container .mejs-container.mejs-video .mejs-controls:hover {
	background-color:#4a545a !important;
}
.video-container .mejs-container.mejs-video .mejs-controls:hover .mejs-time-rail .mejs-time-float {
	color: #4a545a;
}

/* Video Playlist */
.video-container .wp-audio-playlist .mejs-container .mejs-controls {
	background-color:rgba(0,0,0,0.07);
}

.video-container .mejs-container.wp-video-shortcode.mejs-video .mejs-controls .mejs-time-rail .mejs-time-current,
.video-container .mejs-container.wp-video-shortcode.mejs-video .mejs-controls .mejs-time-rail .mejs-time-current, {
	background-color:rgba(0,0,0,0.5);
}

.video-container .mejs-container .mejs-controls .mejs-time-rail .mejs-time-float {
	border:none;
	width:44px;
}
.video-container .mejs-container .mejs-controls .mejs-time-rail .mejs-time-float {
	background-color:rgba(0,0,0,0.3);
}

.video-container .mejs-controls .mejs-time-rail .mejs-time-float-current {
	width:40px;
}

.video-container .mejs-container .mejs-controls .mejs-time-rail .mejs-time-float-corner {
	top:17px;
	left:17px;
}

.video-container .mejs-container .mejs-controls .mejs-time-rail .mejs-time-float-corner {
	border-color: rgba(0,0,0,0.3) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

/* Video Player Within Post */
.video-container .mejs-overlay-button {
	background:rgba(0,0,0,0.4);
	border-radius: 9999px;
	margin:-50px 0 0 -50px !important;
}

.video-container .mejs-overlay-button:hover {
	background-color:rgba(0,0,0,0.6);
}

.video-container .mejs-overlay-button:before {
	font-family: 'FontAwesome';
	content: '\f04b';
	color:#fff;
	font-size:56px;
	display:inline-block;
	padding:22px 34px;
}

@media screen and (max-width: 510px) {
	.video-container .mejs-overlay-button {
		width:60px;
		height:60px;
		margin:-30px 0 0 -30px !important;
	}

	.video-container .mejs-overlay-button:before {
		font-size:30px;
		padding:15px 22px;
	}
}

.video-container .mejs-overlay-loading {
	background-color: transparent;
	background-image: none;
	background-repeat: no-repeat;
	background-position: center;
}

.video-container .mejs-container.mejs-video .mejs-controls {
	background-color:rgba(0,0,0,0.6) !important;
}

.video-container .mejs-container.mejs-video .mejs-controls:hover .mejs-time-rail .mejs-time-current {
	background:#fff;
}

.video-container .mejs-container.mejs-video .mejs-controls:hover .mejs-time-rail .mejs-time-float {
	background-color: #fff;
}

.video-container .mejs-container.mejs-video .mejs-controls:hover .mejs-time-rail .mejs-time-float-corner {
	border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

@media screen and (max-width: 480px) {
	.video-container .mejs-container.mejs-video .mejs-controls .mejs-time {
		display:none;
	}
}
/* WP Playlist */
.audio-container .wp-playlist.wp-audio-playlist {
	font-size:14px;
	margin:0;
	padding:0;
	border:0;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-item {
	padding:24px;
	transition-duration:0.4s;
	-moz-transition-duration:0.4s;
	-webkit-transition-duration:0.4s;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-item:hover {
	cursor:pointer;
	transition-duration:0.4s;
	-moz-transition-duration:0.4s;
	-webkit-transition-duration:0.4s;
}

.audio-container .wp-playlist-playing .wp-playlist-caption::before {
	font-family: 'FontAwesome';
	color:inherit;
	content: '\f04b';
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-current-item {
	padding:14px 24px;
	border:none;
	height:auto;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-current-item img {
	float:left;
	margin-bottom: 20px;
	margin-right:24px;
	border-radius:3px;
	width:100px;
	height:100px;
	max-width:100px;
	max-height:100px;
	display:none;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-current-item .wp-playlist-caption span {
	display: block;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-current-item .wp-playlist-caption span.wp-playlist-item-title {
	font-size: 26px;
	font-family: "Montserrat", "Helvetica Neue", sans-serif;
	font-weight: 400;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-current-item .wp-playlist-caption span.wp-playlist-item-album {
	font-size: 20px;
	font-style:normal;
}

.audio-container.wp-playlist.wp-audio-playlist .wp-playlist-current-item .wp-playlist-caption span.wp-playlist-item-artist {
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 1px;
	font-family: "Montserrat", "Helvetica Neue", sans-serif;
	text-transform: uppercase;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-current-item .wp-playlist-caption:after {
	clear:both;
}

.audio-container .wp-playlist.wp-audio-playlist .wp-playlist-item .wp-playlist-item-length {
	float:right;
	bottom: 0;
	font-size: 14px;
	line-height: inherit;
	padding: 24px;
	position: absolute;
	right: 0;
	top: 0;
}

.audio-container .wp-playlist.wp-audio-playlist .mejs-container {
	padding:15px;
	background-color:rgba(0,0,0,0.08);
	width:100% !important;
	height:70px !important;
	clear:both;
}

.audio-container .wp-playlist.wp-audio-playlist .mejs-controls {
	background-color:transparent;
	height:70px;
	padding:0 24px;
	width:100% !important;
}

.audio-container .wp-playlist .wp-playlist-tracks {
	max-height:150px;
	overflow:auto;
	margin:0;
}