.audioplayer
{
	margin: 10px 0;
	height: 5em;
	color: #fff;
	border: 1px solid #222;
	position: relative;
	z-index: 1;
	background: #ff0002;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.audioplayer > audio { position: absolute; }

.audioplayer-mini
{
	width: 2.5em; /* 40 */
	margin: 0 auto;
}

.audioplayer > div
{
}

.audioplayer-playpause
{
	width: 5em;
	height: 100%;
	text-align: left;
	text-indent: -9999px;
	cursor: pointer;
	z-index: 2;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.audioplayer-mini .audioplayer-playpause
{
	width: 100%;
}

.audioplayer-playpause:hover,
.audioplayer-playpause:focus
{
	background-color: #222;
}
.audioplayer-playpause a
{
	display: block;
}
.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a
{
	width: 0;
	height: 0;
	border: 0.5em solid transparent; /* 8 */
	border-right: none;
	border-left-color: #fff;
	content: '';
}

.audioplayer-playing .audioplayer-playpause a
{
	width: 0.75em; /* 12 */
	height: 0.75em; /* 12 */
	position: relative;
}

.audioplayer-playing .audioplayer-playpause a:before,
.audioplayer-playing .audioplayer-playpause a:after
{
	width: 40%;
	height: 100%;
	background-color: #fff;
	content: '';
	position: absolute;
	top: 0;
}
.audioplayer-playing .audioplayer-playpause a:before
{
	left: 0;
}
.audioplayer-playing .audioplayer-playpause a:after
{
	right: 0;
}
.audioplayer-time
{
	width: 5em;
	text-align: center;
	padding: 0.25em;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.audioplayer-time.audioplayer-time-current
{
	border-left: 1px solid #111;
	border-left-color: rgba( 0, 0, 0, .25 );
}

.audioplayer-novolume .audioplayer-time-duration
{
	border-right: 0;
	right: 0;
}

.audioplayer-bar
{
	height: 0.875em; /* 14 */
	background-color: #222;
	cursor: pointer;
	flex: 1 1 auto;
	position: relative;
}

.audioplayer-bar div
{
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
.audioplayer-bar-loaded
{
	background-color: #333;
	z-index: 1;
}
.audioplayer-bar-played
{
	background: #FFFFFF;
	z-index: 2;
}

.audioplayer-volume
{
	width: 5em; /* 40 */
	height: 100%;
	border-left: 1px solid #111;
	border-left-color: rgba( 0, 0, 0, .25 );
	text-align: left;
	text-indent: -9999px;
	cursor: pointer;
	position: relative;
}

.audioplayer-volume:hover,
.audioplayer-volume:focus
{
	background-color: #222;
}

.audioplayer-volume-button
{
	width: 100%;
	height: 100%;
}

.audioplayer-volume-button a
{
	width: 0.313em; /* 5 */
	height: 0.375em; /* 6 */
	background-color: #fff;
	display: block;
	position: relative;
	z-index: 1;
	top: 42%;
	left: 30%;
}
.audioplayer-volume-button a:before,
.audioplayer-volume-button a:after
{
	content: '';
	position: absolute;
}
.audioplayer-volume-button a:before
{
	width: 0;
	height: 0;
	border: 0.5em solid transparent; /* 8 */
	border-left: none;
	border-right-color: #fff;
	z-index: 2;
	top: 50%;
	right: -0.25em;
	margin-top: -0.5em; /* 8 */
}
.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after
{
	/* "volume" icon by Nicolas Gallagher, http://nicolasgallagher.com/pure-css-gui-icons */
	width: 0.313em; /* 5 */
	height: 0.313em; /* 5 */
	border: 0.25em double #fff; /* 4 */
	border-width: 0.25em 0.25em 0 0; /* 4 */
	left: 0.563em; /* 9 */
	top: -0.063em; /* 1 */
	margin-left: 4px;
	margin-top: 4px;
	-webkit-border-radius: 0 0.938em 0 0; /* 15 */
	-moz-border-radius: 0 0.938em 0 0; /* 15 */
	border-radius: 0 0.938em 0 0; /* 15 */
	-webkit-transform: rotate( 45deg );
	-moz-transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
	-o-transform: rotate( 45deg );
	transform: rotate( 45deg );
}
.audioplayer-volume-adjust
{
	height: 6.25em; /* 100 */
	cursor: default;
	position: absolute;
	left: 0;
	right: -1px;
	top: -9999px;
	background: #222;
}

.audioplayer-volume:not(:hover) .audioplayer-volume-adjust
{
	opacity: 0;
}
.audioplayer-volume:hover .audioplayer-volume-adjust
{
	top: 100%;
}

.audioplayer-volume-adjust > div
{
	width: 40%;
	height: 100%;
	background-color: #333;
	cursor: pointer;
	position: relative;
	z-index: 1;
	margin: 0 auto 0;
}

.audioplayer-volume-adjust div div
{
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #1ba1e2;
}
.audioplayer-novolume .audioplayer-volume
{
	display: none;
}

.audioplayer *,
.audioplayer *:before,
.audioplayer *:after
{
	-webkit-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
	-moz-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
	-ms-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
	-o-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
	transition: color .25s ease, background-color .25s ease, opacity .5s ease;
}

body.BaseLayout.MainLayout.HomeLayout #headerContentContainer .audioplayer a { font-size: 2.4em; }
