/*

 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.mp3-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 {}
 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 {}


*/

/* two different list types */

ul.mp3-graphic {
	list-style-type: none;
	padding-left: 0px;
	margin-left: 0px;
}

/* background-image-based CSS3 example */

ul.mp3-graphic {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

ul.mp3-graphic li {
	margin-bottom: 2px;
}

/* assume all items will be sounds rather than wait for onload etc. in this example.. may differ for your uses. >>> */

ul.mp3-graphic li a, ul.mp3-graphic li a.sm2_link {
	display: inline-block;
	padding-left: 22px;
	min-height: 15px;
	border: 2px solid #e0d7ba;
	background-color: #e0d7ba;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	padding: 0px 3px 0px 20px;
	min-width: 12em;
	_width: 12em;
	text-decoration: none;
	font-weight: normal;
	color: #213254;
}

/* safari 3.1+ fun (or, proprietary crap. TBD.) >>> */

ul.mp3-graphic li a.sm2_link {
	-webkit-transition-property: hover;
	-webkit-transition: all 0.15s ease-in-out;
}

ul.mp3-graphic li a.sm2_link, ul.mp3-graphic li a.sm2_paused:hover, ul.mp3-graphic li a.sm2_link:hover {
	background: #e0d7ba url(../image/icon_play.png) no-repeat 0px 50%;
	_background-image: url(../image/icon_play.gif);
	border-color: #e0d7ba;
}

/* <<< _background-image - IE 6 */

ul.mp3-graphic li a.sm2_paused {
	background-color: #7181a1;
	border-color: #7181a1;
	color: #d5ddeb;
}

ul.mp3-graphic li a.sm2_paused:hover {
	background: #7181a1 url(../image/icon_play.png) no-repeat 0px 50%;
	_background-image: url(../image/icon_play.gif);
	border-color: #7181a1;
	color: #d5ddeb;
}

ul.mp3-graphic li a.sm2_playing, ul.mp3-graphic li a.sm2_playing:hover {
	background: #425885 url(../image/icon_pause.png) no-repeat 0px 50%;
	_background-image: url(../image/icon_pause.gif);
	border-color: #425885;
	text-decoration: none;
	color: #d5ddeb;
}
