/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	/*line-height: 1;*/
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
	General Styles
*/
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
div#player-container{
	max-width: 600px;
	margin: auto;
}
div#preload{
	display: none;
}

/*
	Player Styles
*/
div.player{
	display: none;
	font-family: 'Open Sans', sans-serif;
	width: 100%;
	height: 75px;
	box-sizing: initial;
}
div.player.hide-author-image img.audio-image{
	display: none;
}

/*
|--------------------------------------------------------------------------
| Player Left Container
|--------------------------------------------------------------------------
*/
div.player div.player-left-container{
	width: 45px;
	float: left;
	height: 50px;
	padding: 12.5px;
	box-sizing: initial;
}

/*
|--------------------------------------------------------------------------
| Player Middle Container
|--------------------------------------------------------------------------
*/
div.player div.player-middle-container{
	width: calc( 100% - 145px );
	float: left;
	height: 75px;
}
div.player div.player-middle-top{
	height: 27.5px;
    padding-top: 10px;
}
div.player div.player-middle-top div.player-function-container{
	float: right;
	margin-right: 8px;
}
div.player div.player-middle-bottom{
	height: 27.5px;
    padding-top: 10px;
}
div.player div.player-middle-bottom span.player-current-time{
	float: left;
	color: white;
	font-size: 10px;
	font-weight: 100;
	margin-right: 5px;
    line-height: 15px;
    height: auto !important;
}
div.player div.player-middle-bottom span.player-audio-duration{
	float: left;
	color: white;
	font-size: 10px;
	font-weight: 100;
	margin-left: 5px;
    line-height: 15px;
}

/*
|--------------------------------------------------------------------------
| Player Right Container
|--------------------------------------------------------------------------
*/
div.player div.player-right-container{
	width: 75px;
	height: 75px;
	float: left;
}
div.player.hide-episode-image div.player-right-container{
	display: none;
}
div.player.hide-episode-image div.player-middle-container{
	width: calc( 100% - 70px );
}

/*
|--------------------------------------------------------------------------
| Player Bottom
|--------------------------------------------------------------------------
*/
div.player div.player-bottom{
    float: left;
    width: calc( 100% - 5px);
    margin-top: -5px;
    margin-left: 5px;
}
div.player div.player-bottom span.player-current-time{
	float: left;
	color: white;
	font-size: 10px;
	font-weight: 100;
	margin-right: 10px;
    line-height: 15px;
}
div.player div.player-bottom span.player-audio-duration{
	float: left;
	color: white;
	font-size: 10px;
	font-weight: 100;
	margin-left: 10px;
    line-height: 15px;
}

/*
|--------------------------------------------------------------------------
| Player Controls
|--------------------------------------------------------------------------
*/
div.player-play-pause-button{
	position: relative;
	cursor: pointer;
	width: 50px;
	height: 50px;
	float: left;
}
div.player-play-pause-button.amplitude-paused:after{
	content: "";
	background-image: url('../images/ccpstandalone/play.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: .5;
	cursor: pointer;
	width: 50px;
	height: 50px;
	float: left;
}
div.player-play-pause-button.amplitude-paused:hover:after{
	opacity: 1;
}
div.player-play-pause-button.amplitude-playing:after{
	content: "";
	background-image: url('../images/ccpstandalone/pause.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    cursor: pointer;
	width: 50px;
	height: 50px;
	float: left;
}
div.player-play-pause-button.amplitude-playing:hover:after{
	opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Player Meta
|--------------------------------------------------------------------------
*/
span.player-audio-item-name{
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	display: block;
	float: left;
	max-height: 24px;
	display: block;
  	max-width: 100%;
	overflow: hidden;
}


div.player.show-all-icons span.player-audio-item-name{
	width: calc( 100% - 78px );
}
div.player.show-speed-icons span.player-audio-item-name{
	width: calc( 100% - 70px );
}
div.player.show-download-icons span.player-audio-item-name{
	width: calc( 100% - 38px );
}
div.player.show-no-function-icons{
	width: 100%;
}

/*
|--------------------------------------------------------------------------
| Player Download
|--------------------------------------------------------------------------
*/
a.player-download-link{
	-webkit-box-shadow: none !important;
    box-shadow: none !important;
}

img.player-download{
	margin-top: 3px;
	-webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/*
|--------------------------------------------------------------------------
| Player Speed
|--------------------------------------------------------------------------
*/
div.player-speed{
	float: left;
	position: relative;
	width: 30px;
	height: 30px;
	cursor: pointer;
	float: right;
	margin-left: 10px;
}
div.player-speed.amplitude-playback-speed-10:after{
	content: "";
	width: 30px;
	height: 30px;
	cursor: pointer;
	float: right;
	background-image: url('../images/ccpstandalone/speed-10.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 1;
}
div.player-speed.amplitude-playback-speed-15:after{
	content: "";
	width: 30px;
	height: 30px;
	cursor: pointer;
	float: right;
	background-image: url('../images/ccpstandalone/speed-15.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 1;
}
div.player-speed.amplitude-playback-speed-20:after{
	content: "";
	width: 30px;
	height: 30px;
	cursor: pointer;
	float: right;
	background-image: url('../images/ccpstandalone/speed-20.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Player Range Styles
|--------------------------------------------------------------------------
*/
input[type=range].player-song-slider {
    /*removes default webkit styles*/
    -webkit-appearance: none;

	/*required for proper track sizing in FF*/
    width: calc( 100% - 100px ) !important;
	display: block;
	float: left;
	border: 1px solid #F1654C;
	padding: 0px !important;
	background: rgba(255,255,255,.8);
}
input[type=range].player-song-slider:focus{
	outline: none;
}
input[type=range].player-song-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    border: none;
    border-radius: 3px;
}
input[type=range].player-song-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: white;
    margin-top: -6px;
}
input[type=range].player-song-slider:focus {
    outline: none;
}
input[type=range].player-song-slider:focus::-webkit-slider-runnable-track {
	background: none;
}

input[type=range].player-song-slider::-moz-range-track {
    width: 100%;
    height: 3px;
    background-color: rgba(255,255,255,.6) !important;
    border: none;
    border-radius: 3px;
}
input[type=range].player-song-slider::-moz-range-thumb {
    border: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: white;
}

/*hide the outline behind the border*/
input[type=range].player-song-slider::-moz-focusring{
	outline: 1px solid white;
	outline-offset: -1px;
}

input[type=range].player-song-slider::-ms-track {
  	width: 100%;
    height: 3px;

    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;

    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
input[type=range].player-song-slider::-ms-fill-lower {
	background-color: rgba(255,255,255,.6);
    border-radius: 10px;
}
input[type=range].player-song-slider::-ms-fill-upper {
	background-color: rgba(255,255,255,.6);
    border-radius: 10px;
}
input[type=range].player-song-slider::-ms-thumb {
    border: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: white;
    margin-top: -1px;
}
@media all and (-ms-high-contrast:none){
	input[type="range"].player-song-slider{
		margin-top: 0px;
		border: none;
		background-color: rgba(255,255,255,0) !important;
	}
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	input[type="range"].player-song-slider{
		margin: 0px !important;
		margin-top: 6px !important;
	}
}

@-moz-document url-prefix() {
	input[type="range"].player-song-slider{
		width: calc( 100% - 102px ) !important;
		margin: 0px !important;
	}
}

@supports (-ms-ime-align:auto) {
	input[type="range"].player-song-slider {
		margin-top: -5px !important;
		background-color: rgba(255,255,255,0) !important;
	}
}

@supports (-ms-accelerator:true) {
	input[type="range"].player-song-slider {
		margin-top: -5px !important;
		background-color: rgba(255,255,255,0) !important;
	}
	input[type=range].player-song-slider::-ms-thumb {
	    margin-top: -3px;
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
     input[type="range"].player-song-slider {
     	background-color: rgba(255, 255, 255, .6) !important;
     }
}

@-moz-document url-prefix() {
	input[type="range"].player-song-slider {
     	background-color: inherit !important;
     }
}

/*
|--------------------------------------------------------------------------
| Extra Small Devices, Phones
|--------------------------------------------------------------------------
*/
@media only screen and (max-width : 510px) {
	div.player{
		height: 88px;
	}
	div.player div.player-middle-container span.player-audio-item-name{
		max-height: 48px;
		-webkit-line-clamp: 2;
	}
	div.player div.player-middle-container div.player-middle-bottom{
		display: none;
	}
	div.player div.player-bottom{
		display: block !important;
	}
	div.player-play-pause-button.amplitude-playing:after{
		opacity: 1;
	}
	div.player-play-pause-button.amplitude-paused:after{
		opacity: 1;
	}
	div.player div.player-middle-container{
		width: calc( 100% - 70px );
	}
	div.player div.player-right-container{
		display: none;
	}
}

@media only screen and (min-width : 510px) {
	div.player div.player-middle-container div.player-middle-bottom{
		display: block;
	}
	div.player div.player-bottom{
		display: none !important;
	}
}
