/*
 * 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:  170px;
	height:  170px;
	padding: 5px;
	background:  url(background.png) 0 0 no-repeat;
}
	.cp-container:hover,
	.cp-container.playing{
		background-position:  0 -170px;
	}
	.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: 160px;
	height: 160px;
	clip: rect(0px,80px,160px,0px);

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

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

.cp-container .cp-fallback {
	background: url("progress_sprite.jpg") no-repeat;
	background-position: 0 104px;
}

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

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

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

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

.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;
}

.cp-controls li{
	list-style-type: none;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -27px 0 0 -27px;
}

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

.cp-controls .cp-play {
	background: url(controls.png) 0 0 no-repeat;
}

.cp-controls .cp-pause {
	background: url(controls.png) 0 -55px no-repeat;
}

.cp-stop{
	text-indent: -9999px;
	cursor: pointer;
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 100%;
	left: 50%;
	margin: 10px 0 0 -20px;
	background: #d8e4e2 url(reset.png) center center no-repeat;
	border-radius: 50%;
}
	.cp-stop:hover{
		background-color: #48a194;
	}

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