/* Custom styles for the audio player - by PPP */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#xrcbplayer-container {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999999;
	background-color: #fff;
	border: 3px solid #000;
	border-bottom: none;
}

#xrcbplayer {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99999;
}

#player-info {
	padding: 10px 20px 20px 20px;
	background-color: #f2f2f2;
}

.player-embed {
	display: flex;
	gap: 10px;
	margin-left: 20px;
}

.popup .player-embed {
	margin-top: var(--gapXXS);
	margin-left: 0;
}

a.btn-embed {
	background: url(../img/ico_embed.svg) no-repeat left center;
	text-indent: -999em;
	width: 20px;
	height: 22px;
	background-size: auto 14px;
}

a.download-audio {
	background: url(../img/ico_download.svg) no-repeat left center;
	text-indent: -999em;
	width: 20px;
	height: 22px;
	background-size: auto 14px;
}

.embed_code {
	background-color: #f2f2f2;
	padding: 0 20px;
}

.embed_code input {
	border: 1px solid #000;
	width: 100%;
	font-size: 0.8125rem;
	padding: 2px;
	margin: 8px 0;
}

.player-info {
	position: absolute;
	bottom: 25px;
	left: 70px;
	z-index: 99;
	font-size: 0.875rem;
	font-weight: 500;
	padding-right: 30px;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 85%;
	overflow: hidden;
}
.player-info a,
.player-info a:visited {
	color: #000;
}

.player-open {
	position: absolute;
	right: -3px;
	top: -3px;
	width: 26px;
	height: 26px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	z-index: 99;
	background-color: #000;
	color: #fff;
	font-size: 1.125rem;
}

.player-more {
	display: none;

	background-color: #f2f2f2;
}

/* PLAYER */

.mejs__container {
	background: #fff;
	width: 350px !important;
	height: 54px !important;
	margin: 0 auto;
}
.mejs__controls {
	color: #000;
	padding-left: 0;
	height: 50px;
}
.mejs__button {
	color: #444;
	background-color: #fff;
}

.mejs__button > button {
	background-image: url(../img/mejs-controls.svg);
	bottom: 0;
}

.mejs__button.mejs__playpause-button {
	width: 54px;
	height: 54px;
}

.mejs__button.mejs__playpause-button > button {
	width: 54px;
	height: 54px;
	margin: 0;
}

.mejs__button.mejs__play > button {
	background: url(../img/ico_play_square.svg) no-repeat center;
	background-size: 54px 54px;
}

.mejs__button.mejs__pause > button {
	background: url(../img/ico_pause_square.svg) no-repeat center;
	background-size: 54px 54px;
}

.mejs__button.mejs__replay > button {
	background: url(../img/ico_replay_square.svg) no-repeat center;
	background-size: 54px 54px;
}

.mejs__time {
	color: #000;
}

.mejs__currenttime-container {
	padding-top: 32px;
	padding-left: 17px;
}
.mejs__duration-container {
	padding-top: 32px;
	padding-right: 20px;
}
.mejs__time-rail {
	padding-top: 29px;
}
.mejs__volume-button {
	position: static;
	height: 22px;
}

.mejs__volume-button > button {
	margin: 0;
	bottom: 4px;
}
.mejs__horizontal-volume-slider {
	top: 18px;
}

.mejs__controls:not([style*="display: none"]) {
	background: #fff;
}

.mejs__time-total,
.mejs__horizontal-volume-total,
.mejs__time-hovered.negative {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	overflow: hidden;
}

.mejs__horizontal-volume-total {
	height: 4px;
}

.mejs__time-loaded {
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 8px;
}

.mejs__horizontal-volume-current,
.mejs__time-current,
.mejs__time-handle-content {
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 8px;
}

.mejs__time-handle-content {
	border-color: red;
	border-radius: 0;
	width: 5px;
}

.mejs__time {
	font-family: var(--inter);
	font-size: 1rem;
	font-weight: 500;
	color: #888;
	font-size: 0.875rem;
	font-weight: 500;
}

.mejs__time-buffering,
.mejs__time-current,
.mejs__time-float,
.mejs__time-float-corner,
.mejs__time-float-current,
.mejs__time-hovered,
.mejs__time-loaded,
.mejs__time-marker,
.mejs__time-total {
	height: 4px;
}

/* Iframe embed */

body.embed #xrcbplayer-container {
	border-bottom: 3px solid #000;
}

body.embed .mejs__button {
	background-color: transparent;
}

body.embed .player-info {
	font-size: 0.8125rem;
	font-family: sans-serif;
	bottom: 28px;
}

@media (min-width: 500px) {
	.mejs__container {
		width: 500px !important;
	}
}

@media (min-width: 768px) {
	.mejs__container {
		width: 730px !important;
	}
}
