
/* wrapper for the audio controls */
.cd-audio-control {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	font-family:'OpenSansSemiBold', Arial, Helvetica, sans-serif;
	display:inline-block;
	background:#f1f3f4;
	border-radius:20px;
	text-align:left;
	padding:8px 12px;
	width:100%;
}

/* set the display propery for all controls */
.cd-audio-button,
.cd-audio-progress,
.cd-audio-scrubber {
	display:inline-block !important;
}

/* controls that are buttons */
.cd-audio-button {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-appearance: none;
	background:transparent;
	vertical-align: 1px;
	text-align:center;
	border-radius:5px;
	font-size:18px;
	cursor:pointer;
	color:#222222;
	padding: 3px;
	border:none;
	width:25px;
}

/* Hover color for control buttons */
.cd-audio-button:hover {
	background:rgba(0, 0, 0, .1);
}

/* container that houses the time elapsed and total duration */
.cd-audio-progress {
	display:inline-block;
	vertical-align: 4px;
	text-align:center;
	font-size:12px;
	color:#222222;
	width:90px;
}

/* pad the time elapsed and total duration */
.cd-time-total,
.cd-time-elapsed {
	padding:0 5px;
}
	
/* disabled buttons */	
.cd-audio-button[disabled],
.cd-audio-scrubber[disabled] {
	opacity:.75;
}

/* Style the range input used for the scrubber */
.cd-audio-scrubber {
	width: -webkit-calc(100% - 185px) !important;
	width: -moz-calc(100% - 185px) !important;
	width: -ms-calc(100% - 185px) !important;
	width: calc(100% - 185px) !important; 	/* Specific width is required for Firefox. */
	-webkit-appearance: none; 				/* Hides the slider so that custom slider can be made */
	background: transparent; 				/* Otherwise white in Chrome */
	vertical-align:unset;
	line-height:normal;
	margin:0 5px;
	border:none;
	height:auto;
	padding:0;
}

/* Focus state for the scrubber */
.cd-audio-scrubber:focus {
  outline: none; 	/* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

/* Reset range input in all browsers */
.cd-audio-control ::-webkit-slider-thumb {
  -webkit-appearance: none;
}
		
.cd-audio-control ::-ms-track {
  width: 100%;
  cursor: pointer;
  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}

/* Style the range track for webkit browsers (chrome, safari) */
.cd-audio-control ::-webkit-slider-runnable-track {			
	background: #595959;
	border-radius: 20px;
	margin-top: -15px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
	cursor: pointer;
	width: 100%;
	height: 4px;
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
}

/* Style the range handle for webkit browsers (chrome, safari) */
.cd-audio-control ::-webkit-slider-thumb {
	background: #000000;
	border-radius: 50%;
	cursor: pointer;
	margin-top: -2px;
	height: 8px;
	width: 8px;
}

/* Style the range track for firefox */
.cd-audio-control ::-moz-range-track {
	background: #595959;
	border-radius: 20px;
	cursor: pointer;
	width: 100%;
	height: 4px;
	-moz-transform: translateY(2px);
	transform: translateY(2px);
}

/* Style the range handle for firefox */
.cd-audio-control ::-moz-range-thumb {
	background: #000000;
	border-radius: 50%;
	cursor: pointer;
	border:none;
	height: 8px;
	width: 8px;
	-moz-transform: translateY(2px);
	transform: translateY(2px);
}

/* Style the range track for edge */
.cd-audio-control ::-ms-track {
	border-color: transparent;
	background: transparent;
	color: transparent;
	_background: #595959;
	border-radius: 20px;
	cursor: pointer;
	width: 100%;
	height: 4px;
	-webkit-transform: translateY(0px);
	transform: translateY(0px);

}

.cd-audio-control ::-ms-fill-upper {
	background: #595959;
	border: 0.2px solid #595959;
	border-radius: 20px;
}

.cd-audio-control ::-ms-fill-lower {
	background: #595959;
	border: 0.2px solid #595959;
	border-radius: 20px;
}

/* Style the range handle for edge */
.cd-audio-control ::-ms-thumb {
	background: #000000;
	border-radius: 50%;
	cursor: pointer;
	margin-top: -1px;
	height: 8px;
	width: 8px;
}