/*

 SoundManager 2: "page as playlist" example
 ------------------------------------------
 http://schillmania.com/projects/soundmanager2/

*/

ul.service li .controls {
 display:none;
}

ul.service li.sm2_playing .controls,
ul.service li.sm2_paused .controls {
 position:relative;
 display:block;
}

ul.service li.sm2_paused .controls {
 background-color:#666;
}

ul.service li:hover .controls .statusbar {
 position:relative;
 cursor:ew-resize;
 cursor:-moz-grab;
 cursor:grab;
}

ul.service li.sm2_paused .controls .statusbar {
 background-color:#ccc;
}

ul.service li .controls {
 position:relative;
 margin-top:0.25em;
 margin-bottom:0.25em;
 background-color:#99ccff;
}

ul.service li .controls .statusbar {
 position:relative;
 height:15px;
 background-color:#ccddff;
 border:2px solid #333333;
 overflow:hidden;
 cursor:-moz-grab;
 cursor:grab;
}

ul.service li .controls.dragging .statusbar {
 cursor:-moz-grabbing;
 cursor:grabbing;
}

ul.service li .controls .statusbar .position,
ul.service li .controls .statusbar .loading,
ul.service li .controls .statusbar .annotation {
 position:absolute;
 left:0px;
 top:0px;
 height:15px;
}

ul.service li .controls .statusbar .position {
 background-color:#6E538E;
 border-right:3px solid #333333;
 border-radius:3px;
}

ul.service li.sm2_paused .controls .statusbar .position {
 background-color:#777;
 border-color:#777;
}

ul.service li .controls .statusbar .loading {
 background-color:#eee;
}

ul.service li .controls .statusbar .position,
ul.service li .controls .statusbar .loading {
 width:0px;
}

ul.service li.sm2_playing a.sm2_link,
ul.service li.sm2_paused a.sm2_link {
}

ul.service li .timing {
 display:none;
 text-align:right;
 right:1em;
 top:1em;
 width:auto;
 height:1em;
 padding:3px 5px;
 letter-spacing:0px;
 font:65% monaco,"VT-100","lucida console",courier,system;
 line-height:1em;
 vertical-align:middle;
}

ul.service li:hover .timing {
 z-index:2;
}

ul.service li .timing div.sm2_timing {
 margin:0px;
 padding:0px;
 margin-top:-1em;
}

ul.service li.sm2_playing .timing,
ul.service li.sm2_paused .timing {
 display:block;
}

ul.service li.sm2_paused .timing .sm2_position {
 text-decoration:blink; /* hee hee. first actual appropriate use? :D */
}

#control-template {
 display:none;
}


/*
    Annotations ...
*/
/*
 ------------------------------------------
 -- annotations (sub-tracks, notes etc.) --
 ------------------------------------------
*/

ul.service li a.sm2_link .metadata {
 display:none; /* hide by default */
}

ul.service li.sm2_paused a.sm2_link .metadata,
ul.service li.sm2_playing a.sm2_link .metadata {
 display:inline;
}

/* metadata */

ul.service li .controls .statusbar .annotation {
 position:absolute;
 background-color:transparent;
 top:0px;
 color:#777;
 text-align:right;
 margin-left:10px;
 height:15px;
}

ul.service li .controls .statusbar .annotation:hover {
 z-index:12; /* sit on top of note */
}

ul.service li .controls .statusbar .annotation span.bubble {
 /* using &middot; */
 display:inline-block;
 background-color:#fff;
 border:1px solid #777;
 border-radius:6px;
}

ul.service li .controls .statusbar .annotation span {
 display:block;
 background:transparent url(../images/divot.png) no-repeat 50% 0px;
 width:15px;
 margin-left:-15px;
 height:15px;
 text-align:center;
}

ul.service li .controls .statusbar .annotation span:hover {
 cursor:none; /* Fx3 rules. */
 margin-top:0.1em;
}

ul.service li .controls .statusbar .annotation.alt span:hover {
 margin-top:-0.1em;
}

ul.service li .controls .statusbar .annotation.alt span {
 background:transparent url(../images/divot-bottom.png) no-repeat 50% 0px;
}

ul.service li .controls .statusbar .slidemark {
	position: absolute;
	background-color: #AAAACC;
	top: 0px;
	text-align: right;
	height: 15px;
	width: 1px;
}

ul.service li .note {
 position:absolute;
 display:none;
 left:0px;
 top:0px;
 z-index:10;
 font-size:x-small;
 padding:2px 4px 2px 4px;
 width:auto;
 color:#666;
 background-color:#fff;
 border:1px solid #ccc;
 border-radius:6px;
 font-style:normal;
 font-weight:bold;
 font-family:arial,tahoma,verdana,"sans serif";
 letter-spacing:0px;
 margin-top:1.1em;
}

ul.service li .note.alt {
 margin-top:-1.32em;
}

ul.service li .note:hover {
 display:block !important;
}

ul.service li .sm2_divider {
 font-size:0.75em;
}

ul.service li .sm2_metadata {
 font-size:0.65em;
}
