/*
 * 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

CSS FOR THE V1 FOLDER

 CUSTOMIZATION NOTES:
 - Looks like most of this could be scaled down from the overall size of 104px
    ** NOTE that the 104 is hard-coded into circle.player.js as well
 - bgr.jpg can be modified as well to fit reduced scale and remove background stuff
 - scale down buffer.png and progress.png by same amt (progress_sprite.jpg is a line of little versions of player
    in its 'in-progress' mode, used for multiple players at once? Saw in demo, don't know how it works.)

 */

.cp-container {
	position:relative;
	width:60px;
	height:60px;
	background:url("bgr.png") 0 0 no-repeat;
    /*padding:48px;*/
    padding:0;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
.cp-container-small {  /* Add-on to cp-container for smaller version */
    width:36px; /* 60% of full */
    height:36px;
    background:url("bgr-small.png") 0 0 no-repeat;
}

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

.cp-controls {
    margin:0;
    padding:6px;
}

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

    /*IE Fix*/
    position:absolute;
}
.cp-jplayer {  /* Placeholder div for each player */
    width:0;
    height:0;
    display:none;
}

/* Full-size version of play/pause controls */
.cp-controls li a{
    position:relative;
    display:block;
    width:50px;
    height:50px;
    text-indent:-9999px;
    z-index:1;
    cursor:pointer;
}

.cp-controls .cp-play {
    background:url("controls-noBkgd.png") 0 0 no-repeat;
}
.cp-controls .cp-play:hover {
    background:url("controls-noBkgd.png") -50px 0 no-repeat;
}
.cp-controls .cp-pause {
    background:url("controls-noBkgd.png") 0 -50px no-repeat;
}
.cp-controls .cp-pause:hover {
    background:url("controls-noBkgd.png") -50px -50px no-repeat;
}

/* 60% version of play/pause controls */
.cp-controls-small {
    padding:4px;
}
.cp-controls-small li a {  /* (add this to .cp-controls) */
    width:30px;
    height:30px;
}
.cp-controls-small .cp-play {
    background:url("controls-noBkgd-small.png") 0 0 no-repeat;
}
.cp-controls-small .cp-play:hover {
    background:url("controls-noBkgd-small.png") -30px 0 no-repeat;
}
.cp-controls-small .cp-pause {
    background:url("controls-noBkgd-small.png") 0 -30px no-repeat;
}
.cp-controls-small .cp-pause:hover {
    background:url("controls-noBkgd-small.png") -30px -30px no-repeat;
}


/* BUFFER, PROGRESS, CIRCLE CONTROL: THESE ARE NOT USED in current player, may be able to eliminate from CSS, but
    will need to make sure doesn't mess up the Javascript */
.cp-buffer-1,
.cp-buffer-2,
.cp-progress-1,
.cp-progress-2 {
	position:absolute;
	top:0;
	left:0;
	width:60px;
	height:60px;
	clip:rect(0px,30px,60px,0px);

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

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

.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:60px;
	height:60px;
}

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


