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

.cp-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 212px; /* 200 - (2 * 48) */
	height: 64px;
	background: url("/images/player/player-small.png") 0 0 no-repeat;
	padding: 0px;
	-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: 80px;
	height: 80px;
	clip:rect(0px,52px,80px,0px);

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

.cp-buffer-1,
.cp-buffer-2 {
	background: url("/images/player/buffer.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("/images/player/progress_sprite.jpg") no-repeat;
	background-position: 0 80px; 
}

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

.cp-buffer-holder,
.cp-progress-holder,
.cp-circle-control {
	height: 80px;
	left: 28px;
	margin-left: 100px;
	position: absolute;
	top: 3px;
	width: 80px;
	z-index: -1;
}

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

.cp-buffer-holder,
.cp-progress-holder {
	clip:rect(0px,80px,80px,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.cp-fallback{
	clip:rect(auto, auto, auto, auto);
}  

.cp-controls {
	margin:0;
	margin-left:40px;
	height: 40px;
	width: 40px;
	position: absolute;
	left: 8px;
	top: 7px;
}

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

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

.cp-controls .cp-play,
.cp-controls .cp-play:hover {
	background: url("/images/player/play-small.png") 0 0 no-repeat;
}
.cp-controls .cp-pause,
.cp-controls .cp-pause:hover  {
	background: url("/images/player/pause-small.png") 0 0 no-repeat;
}

.cp-jplayer {
	width: 0;
	height: 0; 
}
#cp-prev,
#cp-next {
	cursor: pointer;
	display: block;
	height: 49px;
	position: absolute;
	text-indent: -9999em;
	top: 2px;
	width: 47px;
	z-index: 0;
}
#cp-prev {
	background: url("/images/player/prev-small.png") 0 0 no-repeat;
	left: 47px;
}
#cp-next {
	background: url("/images/player/next-small.png") 0 0 no-repeat;
	right: 28px;
}