/* two different list types */

ul.flat {
    list-style-type: none;
    padding-left: 0px;    
}

    ul.flat li,
    ul.graphic li {
        padding-bottom: 1px;
    }

        ul.flat li a {
            display: inline-block;
            padding: 1em;
            /*border: 1px solid red;*/
        }

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

/* background-image-based CSS3 example */

ul.graphic {
    list-style-type: none;
    margin: 0;
    padding: 0.2em;
    /*border-bottom: 1px solid #c0c0c0;*/
    /*background-color: #f5f5f5;*/
    /*border: 1px solid red;*/
}

    ul.graphic li {
        margin: 0px 5px 2px 2px;
    }

        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: 2px;
            min-height: 16px;
            vertical-align: middle;
            background-color: #f5f5f5;
            border-radius: 0px;
            padding: 3px 3px 3px 25px;
            min-width: 25em;
            _width: 25em; /* IE 6 */
            text-decoration: none;
            font-weight: normal;
            color: #006699;
        }

            ul.graphic li a.sm2_link {
                /* safari 3.1+ fun (or, proprietary crap. TBD.) */
                -webkit-transition-property: hover;
                -webkit-transition: background-color 0.15s linear;
                -moz-transition: background-color 0.15s linear 0s; /* firefox 4 */
                -o-transition-property: background-color; /* opera 10.5 */
                -o-transition-duration: 0.15s;
            }

                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(../image/icon_play.png);
                    background-position: 3px 50%;
                    background-repeat: no-repeat;
                    _background-image: url(../image/icon_play.gif); /* IE 6 */
                    color: #4d4d4d;
                }

                    ul.graphic li a.sm2_link:hover {
                        /* default hover color, if you'd like.. */
                        background-color: #c0c0c0;
                        color: #4d4d4d;
                    }

                    ul.graphic li a.sm2_paused {
                        background-color: #c0c0c0;
                    }

                        ul.graphic li a.sm2_paused:hover {
                            background: #f5f5f5 url(../image/icon_play.png) no-repeat 3px 50%;
                            _background-image: url(../image/icon_play.gif);
                        }

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

/* hide button while playing?
ul.graphic li a.sm2_playing {
 background-image:none;
}
*/

body #sm2-container object,
body #sm2-container embed {
    /*
  flashblock handling: hide SWF off-screen by default (until blocked timeout case.)
  include body prefix to ensure override of flashblock.css.
 */
    left: -9999em;
    top: -9999em;
}

/* flat CSS example */

ul.flat a.sm2_link {
    /* default state: "a playable link" */
    border-left: 6px solid #999;
    padding-left: 4px;
    padding-right: 4px;
}

    ul.flat a.sm2_link:hover {
        /* default (inactive) hover state */
        border-left-color: #333;
    }


ul.flat a.sm2_playing {
    /* "now playing" */
    border-left-color: #6666ff;
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

    ul.flat a.sm2_playing:hover {
        /* "clicking will now pause" */
        border-left-color: #cc3333;
    }

ul.flat a.sm2_paused {
    /* "paused state" */
    background-color: #666;
    color: #fff;
    text-decoration: none;
}

    ul.flat a.sm2_paused:hover {
        /* "clicking will resume" */
        border-left-color: #33cc33;
    }
