/*
 * Project: CirclePlayer
 * http://www.jplayer.org
 *
 * Copyright (c) 2012 Happyworm Ltd
 *
 * Author: Silvia Benvenuti
 * Edited by: Mark J Panaghiston
 * Date: 2nd October 2012
 * Artwork inspired by: http://forrst.com/posts/Untitled-CJz
 */

.cp-container {
	position:relative;
	width:311px; /* 200 - (2 * 48) */
	height:176px;
	background:url("bgr_2.jpg") 0 0 no-repeat;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

.cp-container :focus {
	border:none;
	outline:0;
}

.cp-buffer-1,
.cp-buffer-2,
.cp-progress-1,
.cp-progress-2 {
	position:absolute;
	top:0;
	left:0;
	width:104px;
	height:104px;
	clip:rect(0px,52px,104px,0px);

	-moz-border-radius:52px;
	-webkit-border-radius:52px;
	border-radius:52px;
}

.cp-buffer-1,
.cp-buffer-2 {
	background:url("track_2.png") 0 0 no-repeat;
}

.cp-track-1 {
	background:url("track_2.png") 0 0 no-repeat;
}


/* FALLBACK for .progress
 * (24 steps starting from 1hr filled progress, Decrease second value by 104px for next step)
 * (It needs the container selector to work. Or use div)
 */
/*
.cp-container .cp-fallback {
	background:url("progress_sprite.jpg") no-repeat;
	background-position:0 104px; 
}
*/

.cp-progress-1,
.cp-progress-2 {
	background:url("progress_2.png") 0 0 no-repeat;
}

.cp-buffer-holder,
.cp-progress-holder,
.cp-circle-control, .cp-track-1 {
	position:absolute;
	width:104px;
	height:104px;
	top: 36px;
	left: 103px;
} 

.cp-circle-control {
	cursor:pointer;
}

.cp-buffer-holder,
.cp-progress-holder {
	clip:rect(0px,104px,104px,52px);
	display:none;
}


/* This is needed when progress is greater than 50% or for fallback */

.cp-buffer-holder.cp-gt50,
.cp-progress-holder.cp-gt50,
.cp-progress-1.cp-fallback{
	clip:rect(auto, auto, auto, auto);
}

.cp-controls {
	margin:0;
	position: absolute;
	left: 89px;
	top: 62px;
}

.cp-controls li{
	list-style-type:none;
	display:block;

	/*IE Fix*/
	position:absolute;
}

.cp-controls li a {
	position:relative;
	display:block;
	text-indent:-9999px;
	z-index:1;
	cursor:pointer;
}



.cp-controls .cp-play {
	position: absolute;
	top: 4px;
	left: 51px;
	background:url("play.png") no-repeat;
	width: 39px;
	height: 43px;
}

/*
.cp-controls .cp-play:hover {
	background:url("controls.jpg") -50px 0 no-repeat;
}
*/

.cp-controls .cp-pause {
	position: absolute;
	top: 4px;
	left: 51px;
	background:url("pause.png") no-repeat;
	width: 31px;
	height: 46px;
}

/*
.cp-controls .cp-pause:hover {
	background:url("controls.jpg") -50px -50px no-repeat;
}
*/

.cp-jplayer {
	width:0;
	height:0;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
	
	.cp-container {
		background:url("bgr_2@2x.jpg") no-repeat;
		background-size: 311px 176px;
	}
	
	.cp-progress-2 {
		background:url("progress_2@2x.png") 0 0 no-repeat;
		background-size: 104px 104px;
	}
	.cp-buffer-1,
	.cp-buffer-2 {
		background:url("track_2@2x.png") 0 0 no-repeat;
		background-size: 104px 104px;
	}
	.cp-track-1 {
		background:url("track_2@2x.png") 0 0 no-repeat;
		background-size: 104px 104px;
	}
	.cp-controls .cp-play {
		background:url("play@2x.png") no-repeat;
		background-size: 39px 43px;
	}
	.cp-controls .cp-pause {
		background:url("pause@2x.png") no-repeat;
		background-size: 31px 46px;
	}
	
}


