/*
 * Skin for jPlayer Plugin (jQuery JavaScript Library)
 * http://www.happyworm.com/jquery/jplayer
 *
 * Skin Name: Media Grid
 
 * Author: Luca Montanari
 * Skin Version: 1.0
 * Date: 06 April 2012
 */

div.jp-jplayer {
	height: 0px;
}
div.jp-audio {

	/* Edit the font-size to counteract inherited font sizing.
	 * Eg. 1.25em = 1 / 0.8em
	 */

	font-size:1em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */

	font-family:Verdana, Arial, sans-serif;
	line-height:1.6;
	color: #666;
	background-color:#3a3c3d;
	position:relative;
}
div.jp-audio {
	width: 100%;
	margin-top: -7px;
}

div.jp-interface {
	position: relative;
	background: url('player_bg.png') repeat-x top left transparent;
	border-radius: 0px 0px 2px 2px;
}

div.jp-audio div.jp-type-single div.jp-interface {
	height:60px;
}
div.jp-audio div.jp-type-playlist div.jp-interface {
	height:60px;
	padding: 0 10px;
}

/* @group CONTROLS */

.jp-controls {
	list-style: none;	
}

a.jp-play,
a.jp-pause,
a.jp-stop, 
a.jp-previous, 
a.jp-next,
a.jp-mute,
a.jp-unmute {
	width: 14px;
	height: 14px;
	float: left;
	margin-top: 8px;
	text-indent: -9999px
}

a.jp-previous,
a.jp-play,
a.jp-pause,
a.jp-next {
	margin-left: 3px;	
}

a.jp-previous {
	margin-left: 0px;
	margin-right: 3px;
	background: url("jplayer.media.grid.png") -24px 0 no-repeat transparent;
}
a.jp-play {
	margin-left: 0px;
	background: url("jplayer.media.grid.png") 1px 0 no-repeat transparent;
}
a.jp-pause {
	margin-left: 0px;
	background: url("jplayer.media.grid.png") -52px 0 no-repeat transparent;
	display: none;
}
a.jp-next {
	background: url("jplayer.media.grid.png") -12px 0 no-repeat transparent;
}

a.jp-mute {
	right: 73px;	
	background: url("jplayer.media.grid.png") -66px 0 no-repeat transparent;		
}
a.jp-unmute {
	right: 74px;	
	background: url("jplayer.media.grid.png") -77px 0 no-repeat transparent;
	display: none;
}




a.jp-stop {
	background: url("jplayer.media.grid.png") 0 -83px no-repeat;
	margin-left:10px;
}

div.jp-toggle-playlist {
	width: 14px;
	height: 14px;
	float: right;
	margin-top: 8px;
	background: url("jplayer.media.grid.png") -90px 0 no-repeat transparent;	
}


/* @end */

/* @group progress bar */

div.jp-progress {
	overflow:hidden;
	background-color: #ddd;
}
div.jp-seek-bar {
	background-color: #444;
	width:0px;
	height:100%;
	cursor: pointer;
}
div.jp-audio div.jp-progress {
	float: left;
	margin-top: 12px;
	margin-left: 20px;
	height: 5px;
	background-color: #262929;
	border: 1px solid #262929;
	border-radius: 1px;
}
div.jp-audio div.jp-type-single div.jp-progress,
div.jp-audio div.jp-type-playlist div.jp-progress {
	width: 40%;
}
div.jp-play-bar {
	background-color: #ccc;
	width:0px;
	height: 5px;
}

/* @end */

/* @group current time and duration */

div.jp-audio div.jp-time-holder {
	float: left;
	margin-top: 7px;
	color: #ddd;
}
div.jp-audio div.jp-type-single div.jp-time-holder {
	margin-left: 84px;
	width: 314px;
}
div.jp-audio div.jp-type-playlist div.jp-time-holder {
	margin-left: 20px;
	width: 75px;
}

div.jp-audio div.jp-type-playlist div.jp-time-holder span {	
	display: inline-block;
    font-size: 12px;
    left: 2px;
    line-height: 12px;
    position: relative;
    top: -6px;
	padding-left: 3px;
}

div.jp-current-time,
div.jp-duration {
	width: 30px;
	font-size:.64em;
	font-style:oblique;
}
div.jp-current-time {
	float: left;
	display:inline;
}
div.jp-duration {
	float: right;
	display:inline;
	text-align: right;
}

/* @end */

/* @group volume controls */

div.jp-volume-group {
	float: right;	
	width: 63px;
}

div.jp-volume-bar {
	float: left;
	overflow: hidden;
	background: url("jplayer.media.grid.png") 0 -250px repeat-x;
	width: 42px;
	height: 5px;
	cursor: pointer;
}
div.jp-audio div.jp-volume-bar {
	margin-top: 11px;
	margin-left: 5px;
	background-color: #262929;
	border: 1px solid #262929;
	border-radius: 2px;
}
div.jp-volume-bar-value {
	background-color: #ccc;
	width: 0px;
	height: 5px;
}

/* @end */

/* @group current time and duration */

div.jp-audio div.jp-time-holder {
	float: left;
	margin-top: 7px;
	color: #ddd;
}
div.jp-audio div.jp-type-single div.jp-time-holder {
	margin-left: 84px;
	width: 314px;
}
div.jp-audio div.jp-type-playlist div.jp-time-holder {
	margin-left: 20px;
	width: 75px;
}

div.jp-audio div.jp-type-playlist div.jp-time-holder span {	
	display: inline-block;
    font-size: 12px;
    left: 2px;
    line-height: 12px;
    position: relative;
    top: -6px;
	padding-left: 3px;
}

div.jp-current-time,
div.jp-duration {
	width: 30px;
	font-size:.64em;
	font-style:oblique;
}
div.jp-current-time {
	float: left;
	display:inline;
}
div.jp-duration {
	float: right;
	display:inline;
	text-align: right;
}

/* @end */

/* track title */
.jp-track-title {
	padding-top: 3px;
	clear: both;
}
.jp-track-title ul {
	list-style: none;
	font-size: 11px;
	margin: 2px 0 0;
}
.jp-track-title ul {
	margin: 0;	
}
.jp-track-title ul li a {
	text-decoration: none;	
	overflow: hidden;
}
.jp-track-title .jp-playlist-item {
	display: none;		
}

.jp-track-title a.jp-playlist-current {
	display: block;
	color: #eee;
	height: 15px;	
	padding-top: 2px;
}


/* @group NO SOLUTION error feedback */

.jp-no-solution {
	position:absolute;
	width:390px;
	margin-left:-202px;
	left:50%;
	top: 10px;

	padding:5px;
	font-size:.8em;
	background-color:#eee;
	border:2px solid #009be3;
	color:#000;
	display:none;
}

.jp-no-solution a {
	color:#000;
}

.jp-no-solution span {
	font-size:1em;
	display:block;
	text-align:center;
	font-weight:bold;
}

/* @end */


/* responsive */

@media screen and (max-width: 890px) { 
	div.jp-audio div.jp-type-playlist div.jp-progress {
		width: 20%;
	}
	div.jp-volume-group {
		width: 50px;
	}
	
	div.jp-volume-bar {
		width: 28px;
	}
}

@media screen and (max-width: 768px) {
	.jp-playlist-current a {
		vertical-align: middle;	
	}
}

@media screen and (max-width: 630px) { 
	div.jp-audio div.jp-type-playlist div.jp-progress {
		width: 25%;
	}	
	div.jp-volume-group {
		width: 50px;
	}
	
	div.jp-volume-bar {
		width: 28px;
	}
}

@media screen and (max-width: 550px) { 
	div.jp-audio div.jp-type-playlist div.jp-progress {
		width: 30%;
	}
	.jp-volume-group {
		display: none;	
	}
}
