/*
 * 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: 56px;
	height: 56px;
	min-width: 56px;
	background: #5C7EC0;
	-webkit-border-radius: 50%;
	        border-radius: 50%;
}

.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:56px;
	height:56px;
	clip:rect(0px,28px,56px,0px);

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

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


/* FALLBACK for .progress
 * (24 steps starting from 1hr filled progress, Decrease second value by 56px 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 56px; 
}

.cp-progress-1,
.cp-progress-2 {
	background:url("progress.svg") 0 0 no-repeat;
	-webkit-background-size: 56px !important;
	     -o-background-size: 56px !important;
	        background-size: 56px !important;
}

.cp-buffer-holder,
.cp-progress-holder,
.cp-circle-control {
	position:absolute;
	width:56px;
	height:56px;
} 

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

.cp-buffer-holder,
.cp-progress-holder {
	clip:rect(0px,56px,56px,28px);
	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;
	left: 10px;
	right: 10px;
	top: 10px;
	bottom: 10px;
}

.cp-controls li{
	list-style-type:none;
	display:block;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position:absolute;
}

.cp-controls li a {
	position:relative;
	display:block;
	width: 100%;
	height: 100%;
	text-indent:-9999px;
	overflow: hidden;
	z-index:1;
	cursor:pointer;
}

.cp-controls .cp-play {
	left: 3px;
	background: url("play_audio_ico.svg") no-repeat center center;
}

.cp-controls .cp-pause {
	background: url("pause_audio_ico.svg") no-repeat center center;
}

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