/*
    PLAYER by
    Audio Player: Responsive and Touch-friendly demo by Osvaldas Valutis
    at view-source:http://osvaldas.info/examples/audio-player-responsive-and-touch-friendly/
*/

.audioplayer
{
    height: 3.5em; /* 40 */
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    /*border: 1px solid #f5f2d5;*/
    position: relative;
    z-index: 10000;
    background: #333;
    margin-top: 10px;
}

/* mini mode (fallback) */

.audioplayer-mini
{
    width: 2.5em; /* 40 */
    margin: 0 auto;
}


/* player elements: play/pause and volume buttons, played/duration timers, progress bar of loaded/played */

.audioplayer > div
{
    position: absolute;
}


/* play/pause button */

.audioplayer-playpause
{
    width: 3.5em; /* 40 */
    height: 100%;
    text-align: left;
    text-indent: -9999px;
    cursor: pointer;
    z-index: 20000;
    top: 0;
    left: 0;
    border-radius: 5px 0 0 5px;
}
.audioplayer:not(.audioplayer-mini) .audioplayer-playpause
{
    border-right: 1px solid #555;
    border-right-color: rgba( 255, 255, 255, .1 );
}
.audioplayer-mini .audioplayer-playpause
{
    width: 100%;
}
.audioplayer-playpause:hover,
.audioplayer-playpause:focus
{
    background-color: #156791;
}

.audioplayer-playpause a
{
    display: block;
}

.audioplayer-stopped .audioplayer-playpause a
{
    width: 0;
    height: 0;
    border: 0.7em solid transparent;
    border-right: none;
    border-left-width: 1em;
    border-left-color: #fff;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -0.65em 0 0 -0.35em;
}

.audioplayer-playing .audioplayer-playpause a
{
    width: 1.05em; /* 12 */
    height: 1.05em; /* 12 */
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -0.525em 0 0 -0.525em; /* 6 */
}

.audioplayer-playing .audioplayer-playpause a:before,
.audioplayer-playing .audioplayer-playpause a:after
{
    width: 40%;
    height: 100%;
    background-color: #fff;
    content: '';
    position: absolute;
    top: 0;
}

.audioplayer-playing .audioplayer-playpause a:before
{
    left: 0;
}

.audioplayer-playing .audioplayer-playpause a:after
{
    right: 0;
}

/* Player div */


.audioplayer-playpause div
{
    display: block;
}

.audioplayer-stopped .audioplayer-playpause div
{
    width: 0;
    height: 0;
    border: 0.7em solid transparent;
    border-right: none;
    border-left-width: 1em;
    border-left-color: #fff;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -0.65em 0 0 -0.35em;
}

.audioplayer-playing .audioplayer-playpause div
{
    width: 1.05em; /* 12 */
    height: 1.05em; /* 12 */
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -0.525em 0 0 -0.525em; /* 6 */
}

.audioplayer-playing .audioplayer-playpause div:before,
.audioplayer-playing .audioplayer-playpause div:after
{
    width: 40%;
    height: 100%;
    background-color: #fff;
    content: '';
    position: absolute;
    top: 0;
}

.audioplayer-playing .audioplayer-playpause div:before
{
    left: 0;
}

.audioplayer-playing .audioplayer-playpause div:after
{
    right: 0;
}


/* timers */

.audioplayer-time
{
    width: 3.125em; /* 70 */
    height: 100%;
    line-height: 3.3249999999999997em; /* 38 */
    text-align: center;
    z-index: 20000;
    top: 0;
}
.audioplayer-time-current
{
    border-left: 1px solid #111;
    border-left-color: rgba( 0, 0, 0, .25 );
    left: 3.5em; /* 40 */
}
.audioplayer-time-duration
{
    border-right: 1px solid #555;
    border-right-color: rgba( 255, 255, 255, .1 );
    right: 3.5em; /* 40 */
}
.audioplayer-novolume .audioplayer-time-duration
{
    border-right: 0;
    right: 6.875em;
}


/* progress bar of loaded/played */

.audioplayer-bar
{
    height: 1.225em; /* 14 */
    background-color: #BEE5E8;
    cursor: pointer;
    z-index: 10000;
    top: 50%;
    right: 6.875em; /* 110 */
    left: 6.875em; /* 110 */
    margin-top: -0.6132em; /* 7 */
    /*border: 1px solid #f5f2d5;*/
}
.audioplayer-novolume .audioplayer-bar
{
    right: 10.125em; /* 70 */
}
.audioplayer-bar div
{
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.audioplayer-bar-loaded
{
    background-color: #f5f2d5;
    z-index: 10000;
}
.audioplayer-bar-played
{
    background: #F99D1C;
    z-index: 20000;
}

.audioplayer-next
{
    width: 3.5em; /* 40 */
    height: 100%;
    border-radius: 0 5px 5px 0;
    border-left: 1px solid #111;
    border-left-color: rgba( 0, 0, 0, .25 );
    text-align: left;
    text-indent: 0px;
    cursor: pointer;
    z-index: 20000;
    top: 0;
    right: 0;
}
.audioplayer-next:hover,
.audioplayer-next:focus
{
    background-color: #156791;
}
.audioplayer-prev
{
    width: 3.5em; /* 40 */
    height: 100%;
    border-left: 1px solid #111;
    border-left-color: rgba( 0, 0, 0, .25 );
    text-align: left;
    text-indent: 0px;
    cursor: pointer;
    z-index: 20000;
    top: 0;
    right: 3.5em;
}
.audioplayer-prev:hover,
.audioplayer-prev:focus
{
    background-color: #156791;
}

.audioplayer-disabled {
    background-color: #156791 !important;

    cursor:default !important;
}

.audioplayer-disabled img {
    display:none;
}
.audioplayer-img-button {
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-9px;
    margin-left:-10px;
    width: 20px;
    height: 18px;
    z-index: 30000;

}

.audioplayer-volume
{
    width: 3.5em; /* 40 */
    height: 100%;
    border-left: 1px solid #111;
    border-left-color: rgba( 0, 0, 0, .25 );
    text-align: left;
    text-indent: -9999px;
    cursor: pointer;
    z-index: 20000;
    top: 0;
    right: 0;
}
.audioplayer-volume:hover,
.audioplayer-volume:focus
{
    background-color: #222;
}
.audioplayer-volume-button
{
    width: 100%;
    height: 100%;
}
.audioplayer-volume-button a
{
    width: 0.4382em; /* 5 */
    height: 0.525em; /* 6 */
    background-color: #fff;
    display: block;
    position: relative;
    z-index: 10000;
    top: 40%;
    left: 35%;
}
.audioplayer-volume-button a:before,
.audioplayer-volume-button a:after
{
    content: '';
    position: absolute;
}
.audioplayer-volume-button a:before
{
    width: 0;
    height: 0;
    border: 0.5em solid transparent; /* 8 */
    border-left: none;
    border-right-color: #fff;
    z-index: 20000;
    top: 50%;
    right: -0.25em;
    margin-top: -0.5em; /* 8 */
}
.audioplayer:not(.audioplayer-muted) .audioplayer-volume-button a:after
{
    /* "volume" icon by Nicolas Gallagher, http://nicolasgallagher.com/pure-css-gui-icons */
    width: 0.4382em; /* 5 */
    height: 0.4382em; /* 5 */
    border: 0.25em double #fff; /* 4 */
    border-width: 0.25em 0.25em 0 0; /* 4 */
    left: 0.563em; /* 9 */
    top: -0.063em; /* 1 */
    -webkit-border-radius: 0 0.938em 0 0; /* 15 */
    -moz-border-radius: 0 0.938em 0 0; /* 15 */
    border-radius: 0 0.938em 0 0; /* 15 */
    -webkit-transform: rotate( 45deg );
    -moz-transform: rotate( 45deg );
    -ms-transform: rotate( 45deg );
    -o-transform: rotate( 45deg );
    transform: rotate( 45deg );
}


/* volume dropdown */

.audioplayer-volume-adjust
{
    height: 3.25em; /* 100 */
    cursor: default;
    position: absolute;
    left: 0;
    right: -1px;
    top: -9999px;
    background: #333;
}
.audioplayer-volume:not(:hover) .audioplayer-volume-adjust
{
    opacity: 0;
}
.audioplayer-volume:hover .audioplayer-volume-adjust
{
    top: auto;
    bottom: 100%;
}
.audioplayer-volume-adjust > div
{
    width: 40%;
    height: 80%;
    background-color: #222;
    cursor: pointer;
    position: relative;
    z-index: 10000;
    margin: 30% auto 0;
}
.audioplayer-volume-adjust div div
{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #222222;
}
.audioplayer-novolume .audioplayer-volume
{
    display: none;
}


/* CSS3 decorations */

.audioplayer
{
    /*
        -webkit-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 );
        -moz-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 );
        box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 );  */
}


.audioplayer-volume-adjust
{
    -webkit-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
    -moz-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
    box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
}
.audioplayer-bar,
.audioplayer-volume-adjust > div
{
    -webkit-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    -moz-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
}
.audioplayer-volume-adjust div div,
{
    -webkit-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
    -moz-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
    box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
}

.audioplayer-volume a
{
    -webkit-filter: drop-shadow( 1px 1px 0 #000 );
    -moz-filter: drop-shadow( 1px 1px 0 #000 );
    -ms-filter: drop-shadow( 1px 1px 0 #000 );
    -o-filter: drop-shadow( 1px 1px 0 #000 );
    filter: drop-shadow( 1px 1px 0 #000 );
}
.audioplayer,
.audioplayer-volume-adjust
{
    background: -webkit-gradient( linear, left top, left bottom, from( #2E4C6F ), to(#286E88) );
    background: -webkit-linear-gradient( top, #2E4C6F, #286E88 );
    background: -moz-linear-gradient( top, #2E4C6F, #286E88 );
    background: -ms-radial-gradient( top, #2E4C6F, #286E88 );
    background: -o-linear-gradient( top, #2E4C6F, #286E88 );
    background: linear-gradient( to bottom, #2E4C6F, #286E88 );
}
.audioplayer-bar-played
{
    -webkit-box-shadow: inset 1px 3px 3px 0px rgba(255,255,255,0.3);
    -moz-box-shadow: inset 1px 3px 3px 0px rgba(255,255,255,0.3);
    box-shadow: inset 1px 3px 3px 0px rgba(255,255,255,0.3);



    background: -webkit-gradient( linear, left top, left bottom, from(#C14277), to( #F7A8EB ) );
    background: -webkit-linear-gradient( top, #C14277, #F7A8EB );
    background: -moz-linear-gradient( top, #C14277, #F7A8EB );
    background: -ms-radial-gradient( top, #C14277, #F7A8EB );
    background: -o-linear-gradient( top, #C14277, #F7A8EB );
    background: linear-gradient( to bottom, #C14277, #F7A8EB );
}

/*
    {
        background: -webkit-gradient( linear, left top, right top, from( #246a91 ), to( #257fb1 ) );
        background: -webkit-linear-gradient( left, #246a91, #246a91 );
        background: -moz-linear-gradient( left, #246a91, #257fb1 );
        background: -ms-radial-gradient( left, #246a91, #257fb1 );
        background: -o-linear-gradient( left, #246a91, #257fb1 );
        background: linear-gradient( to right, #246a91, #257fb1 );
    }*/
.audioplayer-volume-adjust div div
{
    background: -webkit-gradient( linear, left bottom, left top, from( #222222 ), to( #dddddd ) );
    background: -webkit-linear-gradient( bottom, #222222, #dddddd );
    background: -moz-linear-gradient( bottom, #222222, #dddddd );
    background: -ms-radial-gradient( bottom, #222222, #dddddd );
    background: -o-linear-gradient( bottom, #222222, #dddddd );
    background: linear-gradient( to top, #222222, #dddddd );
}
.audioplayer-bar,
.audioplayer-bar div,
.audioplayer-volume-adjust div
{
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
.audioplayer
{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.audioplayer-volume-adjust
{
    -webkit-border-top-left-radius: 2px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-topright: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.audioplayer *,
.audioplayer *:before,
.audioplayer *:after
{
    -webkit-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
    -moz-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
    -ms-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
    -o-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
    transition: color .25s ease, background-color .25s ease, opacity .5s ease;
}

/*******/
