/*

 SoundManager 2: In-page MP3 player example
 ------------------------------------------

 Clicks on links to MP3s are intercepted via JS, calls are
 made to SoundManager to load/play sounds. CSS classes are
 appended to the link, which are used to highlight the
 current play state and so on.

 Class names are applied in addition to "sm2_link" base.

 Default:

 sm2_link

 Additional states:

 sm2_playing
 sm2_paused

 eg.

 <!-- default -->
 <a href="some.mp3" class="sm2_link">some.mp3</a>

 <!-- playing -->
 <a href="some.mp3" class="sm2_link sm2_playing">some.mp3</a>


 Note you don't require ul.graphic / ul.flat etc. for your use
 if only using one style on a page. You can just use .sm2_link{}
 and so on, but isolate the CSS you want.

 Side note: Would do multiple class definitions eg.

 a.sm2_default.sm2_playing{}

 .. except IE 6 has a parsing bug which may break behaviour,
 applying sm2_playing {} even when the class is set to sm2_default.


 If you want to make your own UI from scratch, here is the base:

 Default + hover state, "click to play":

 a.sm2_link .percursos {}
 a.sm2_link:hover {}

 Playing + hover state, "click to pause":

 a.sm2_playing {}
 a.sm2_playing:hover {}

 Paused + hover state, "click to resume":

 a.sm2_paused {}
 a.sm2_paused:hover {}


*/


/* background-image-based CSS3 example */

ul.graphic {
 list-style-type:none;
 margin:0px;
 padding:0px;
}

ul.graphic li {
 margin:0 5px 5px 0;
 display:inline-block;
}


.Percursos { background-color: #555e66}
.Identidades { background-color: #a4001b}
.Vozes { background-color:#017285 }
.Características { background-color:#2a374d}
.Especificidades { background-color:#ff7c08}
.Celebrações { background-color:#979949}
.Ressonâncias { background-color:#ec000a}
.jingle {background-color:#cc0000}


ul.graphic li a,
ul.graphic li a.sm2_link {
 /* assume all items will be sounds rather than wait for onload etc. in this example.. may differ for your uses. */
 display:inline-block;
 padding-left:22px;
 height:10px;
 vertical-align: middle;
 padding:4px 3px 4px 25px;
 width:13em;
 overflow:hidden;
 _width:12em; /* IE 6 */
 text-decoration:none;
 font-weight:normal;
 color:#fff;
}



ul.graphic li a, /* use a.sm2_link {} if you want play icons showing only if SM2 is supported */
ul.graphic li a.sm2_paused:hover,
ul.graphic li a.sm2_link:hover {
 background-image:url(/media/icon_play.png);
 background-position:3px 50%;
 background-repeat:no-repeat;

}



ul.graphic li a.sm2_paused {
 background-color:#999;
}



ul.graphic li a.sm2_playing,
ul.graphic li a.sm2_playing:hover {
 background:#999 url(/media/pause.png) no-repeat 3px 50%;
 text-decoration:none;
}

ul.graphic li span {line-height:2em}

