/**
 * 	                          audio.js css file
 * ========================================================================================================= */

.audiojs audio {
	position: absolute;
	left: -1px;
}

.audiojs {
	max-width: 460px; /* changed width to max-width */
	margin-top: 0.625em; /* added */
	height: 36px;
	background: #404040;
	overflow: hidden;
	font-family: monospace;
	font-size: 12px;
	border-radius: 5px; /* added */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));
	background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%);
	-webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); 
	-moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
	-o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); 
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.audiojs .play-pause {
	width: 8.043478%; /* 37px / 460px changed from 25px */
	height: 36px; /*changed from 40px */
	padding: 0px; /*changed from 4px 6px */
	margin: 0px;
	float: left;
	overflow: hidden;
	border-right: 1px solid #000;
}

.audiojs .play-pause p { /* added .play-pause for more distinction */
	/*display: none;*/
	width: 14px; /* width of image sprite */
	height: 36px; /*changed from 40px */
	margin-left: auto; /* image centering and actual image size is better for responsive design */
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	cursor: pointer;
}

.audiojs .play {
	display: block;
}

.audiojs .scrubber {
	position: relative;
	float: left; 
	max-width: 280px; /* chanded fro width to max-width */
	width: 60.86956%; /* 280px / 460px */
	background: #5a5a5a;
	height: 14px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 2.173913%; /* 10px / 460px */
	margin-right: 2.173913%; /* 10px / 460px */
	border-top: 1px solid #3f3f3f;
	border-left: 0px;
	border-bottom: 0px;
	overflow: hidden;
}

.audiojs .progress {
	position: absolute;
	top: 0px; 
	left: 0px;
	height: 14px;
	width: 0px;
	background: #ccc;
	z-index: 1;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(0.5, #ddd), color-stop(0.51, #ccc), color-stop(1, #ccc));
	background-image: -moz-linear-gradient(center top, #ccc 0%, #ddd 50%, #ccc 51%, #ccc 100%);
}

.audiojs .loaded {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 14px;
	width: 0px;
	background: #000;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #333), color-stop(0.51, #222), color-stop(1, #222));
	background-image: -moz-linear-gradient(center top, #222 0%, #333 50%, #222 51%, #222 100%);
}

.audiojs .time {
	float: left;
	height: 36px;
	max-width: 121px; /* added */
	width: 25.0%; /* 121px / 460px */
	font-size: 12px; /* added */
	text-align: center; /* added */
	line-height: 18px; /* changed from 36px */
	margin: 1px 0px 0px 0px; /* changed from 0px 0px 0px 6px */
	padding: 0px;  /* changed from 0px 6px 0px 12px */
	border-left: 1px solid #000; 
	color: #ddd; 
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.audiojs .time em {
	float:left; /* added */
	max-width: 121px; /* added */
	width: 100.0%; /* 121px / 460px */
	padding-top: 0px; /* changed from 0px 2px 0px 0px */
	color: #f9f9f9;
	font-style: normal;
	border-bottom: 1px solid #000; /* added */

}

.audiojs .time strong {
	float: left; /* added */
	max-width: 121px; /* added */
	width: 100.0%; /* 121px / 460px */
	margin: 1px 0px 0px 0px; /* added */	
	padding-top: 0px; /* added removed padding: 0px 0px 0px 2px; */
	font-weight: normal;
}

.audiojs .error-message {
	float: left;
	display: none;
	margin: 0px 10px;
	height: 36px;
	max-width: 400px; /* changed from width to max-width */
	width: 86.956%; /* added */
	overflow: hidden; 
	line-height: 36px; 
	white-space: nowrap; 
	color: #fff;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-icab-text-overflow: ellipsis;
	-khtml-text-overflow: ellipsis;
	-moz-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
}

.audiojs .error-message a {
	color: #eee;
	text-decoration: none;
	padding-bottom: 1px;
	border-bottom: 1px solid #999;
	white-space: normal;
}

/* store this gif in the root of audio.js */

.audiojs .play {
	background: url('player-graphics.gif') 0px 10px no-repeat;
}

.audiojs .loading {
	background: url('player-graphics.gif') 0px -20px no-repeat;
}

.audiojs .error {
	background: url('player-graphics.gif') 0px -50px no-repeat;
}

.audiojs .pause {
	background: url('player-graphics.gif') 0px -80px no-repeat;
}

.playing .play, .playing .loading, .playing .error {
	display: none;
}

.playing .pause {
	display: block;
}

.loading .play, .loading .pause, .loading .error {
	display: none;
}
.loading .loading {
	display: block;
}

.error .time, .error .play, .error .pause, .error .scrubber, .error .loading {
	display: none;
}

.error .error {
	display: block;
}

.error .play-pause p {
	cursor: auto;
}

.error .error-message {
	display: block;
}