/*
 * 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;
	background:transparent;
	padding:0;
	z-index: 9999;
	border: 8px solid rgba(255,255,255,.3);
	clip:rect(0px,30px,60px,0px);
	-moz-border-radius:30px;
	-webkit-border-radius:30px;
	border-radius:30px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 60px;
	height: 60px;
}

.align-right .cp-container {
  float: right;
}

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

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

	-moz-border-radius:30px;
	-webkit-border-radius:30px;
	border-radius:30px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.cp-buffer-1,
.cp-buffer-2 {
	background:transparent;
}


/* 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:blue;
	background-position:0 40px; 
}

.cp-progress-1,
.cp-progress-2 {
	border: 8px solid rgba(255,255,255,1);
}

.cp-buffer-holder,
.cp-progress-holder,
.cp-circle-control {
	position:absolute;
	width:60px;
	height:60px;
	top: -8px;
	left: -8px;
} 

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

.cp-buffer-holder,
.cp-progress-holder {
	clip:rect(0px,60px,60px,30px);
	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;
	padding:0;
	position: absolute;
	top: 8px;
	left: 8px;
	width: 30px;
	height: 30px;
}

.cp-controls li{
	list-style-type:none;
	display:block;
  text-indent:-9999px;
  overflow: hidden;


	/*IE Fix*/
}

.cp-controls li a{
	width:30px;
	height:30px;
	display: block;
	text-indent:-9999px!important;
	text-align: left;
	z-index:1;
	overflow: hidden!important;
	cursor:pointer;
}

.cp-controls .cp-play {
	background:url("../img/jplayer/controls.png") -15px -15px no-repeat;
}

.cp-controls .cp-play:hover {
	background:url("../img/jplayer/controls.png") -75px -15px no-repeat;
}

.cp-controls .cp-pause {
	background:url("../img/jplayer/controls.png") -15px -75px no-repeat;
}

.cp-controls .cp-pause:hover {
	background:url("../img/jplayer/controls.png") -75px -75px no-repeat;
}

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