/*

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

*/

.spectrum-container {
 display:none;
}

div.sympage {
 /* assume all items will be sounds rather than wait for onload etc. in this example.. may differ for your uses. */
 position:relative;
 display:block;
 width:85%;
 padding:0.15em 0.2em 0.15em 0.2em;
 border:none;
 margin-top: 5px;
 margin-bottom: 5px;
 border-radius:3px;
 
}

div.sympage a {
 display:block;
 text-decoration:none;
 font-weight:normal;
 outline:none;
 position:relative;
 z-index:2;
}

div.sympage a.sm2_link {

}

div.sympage.sm2_playing,
div.sympage.sm2_paused,
div.sympage.sm2_playing a {
 font-size: 1.1em;
 color:#fff;
 border-radius:3px;
 -webkit-border-radius:3px;
 -moz-border-radius:3px;
}

/*
 * To style better we may need to change these colours 
 */
div.sympage:hover {
 
}

div.sympage a:hover.sm2_link {
 /*color:#000;*/
 /*background-color: #6699CC;*/
}

div.sympage.sm2_playing,
div.sympage.sm2_playing:hover {
 background-color:#6699cc;
}

div.sympage.sm2_paused {
 background-color:#999;

}

div.sympage.sm2_playing:hover a,
div.sympage.sm2_paused a {
 color:#fff;
}

div.sympage .controls {
 display:none;
}

div.sympage.sm2_playing .controls,
div.sympage.sm2_paused .controls {
 position:relative;
 display:block;
}

div.sympage.sm2_paused .controls {
 background-color:#666;
}

div.sympage:hover .controls .statusbar {
 position:relative;
 cursor:ew-resize;
 cursor:-moz-grab;
 cursor:grab;
}

div.sympage.sm2_paused .controls .statusbar {
 background-color:#ccc;
}

div.sympage .controls {
 position:relative;
 margin-top:0.25em;
 margin-bottom:0.25em;
 background-color:#99ccff;
}

div.sympage .controls .statusbar {
 position:relative;
 height:0.5em;
 background-color:#ccddff;
 border:2px solid #fff;
 border-radius:2px;
 -moz-border-radius:2px;
 -webkit-border-radius:2px;
 overflow:hidden;
 cursor:-moz-grab;
 cursor:grab;
}

div.sympage .controls.dragging .statusbar {
 cursor:-moz-grabbing;
 cursor:grabbing;
}

div.sympage .controls .statusbar .position,
div.sympage .controls .statusbar .loading,
div.sympage .controls .statusbar .annotation {
 position:absolute;
 left:0px;
 top:0px;
 height:0.5em;
}

div.sympage .controls .statusbar .position {
 background-color:#336699;
 border-right:3px solid #336699;
 border-radius:3px;
 -moz-border-radius:3px;
 -webkit-border-radius:3px;
}

div.sympage.sm2_paused .controls .statusbar .position {
 background-color:#666;
 border-color:#666;
}

div.sympage .controls .statusbar .loading {
 background-color:#eee;
}

div.sympage .controls .statusbar .position,
div.sympage .controls .statusbar .loading {
 width:0px;
}

div.sympage.sm2_playing a.sm2_link,
div.sympage.sm2_paused a.sm2_link {
 margin-right:5.8em; /* room for timing stuff */
}

div.sympage .timing {
 position:absolute;
 display:none;
 text-align:right;
 right:1em;
 top:4px;
 width:auto;
 padding:2px 5px;
 background-color:#5588bb;
 border:1px solid #99ccff;
 -moz-border-radius:4px;
 -khtml-border-radius:4px;
 border-radius:4px;
 letter-spacing:0px;
 font:9px monaco,"VT-100",terminal,"lucida console",courier,system;
 line-height:1em;
 vertical-align:middle;
}

div.sympage:hover .timing {
 z-index:2;
}

div.sympage .timing div.sm2_timing {
 margin:0px;
 padding:0px;
 
}

div.sympage.sm2_playing .timing,
div.sympage.sm2_paused .timing {
 display:block;
}

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

div.sympage.sm2_paused .timing {
 background-color:#888;
 border-color:#ccc;
 z-index: 3;
}


/* peak data */
div.sympage .peak,
ul.playlist.use-peak .peak {
 display:none;
 position:absolute;
 top:0.55em;
 right:0.5em;
}

div.sympage .peak .l,
div.sympage .peak .r {
 position:absolute;
 left:0px;
 top:0px;
 width:7px;
 height:50px;
 background:#fff;
 border:1px solid #fff;
 -moz-border-radius:1px;
 -khtml-border-radius:1px;
 margin-top:1em;
}

div.sympage .peak .l {
 margin-right:1px;
}

div.sympage .peak .r {
 left:10px;
}

#control-template {
 display:none;
}

