.audio-player, .audio-player div, .audio-player span, .audio-player button {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

div.audio-player {
    position: relative;
    width: 350px;
    height: 50px;
    margin: 0 auto;
    background: #2c2d33;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-button button {
    cursor: pointer;
    display: block;
    position: absolute;
    text-indent: -9999px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-play button, .mejs-controls .mejs-pause button {
    width: 30px;
    height: 30px;
    top: 10px;
    left: 10px;
    background: transparent url('playpause.png') 0 0 no-repeat;
    background-size: 30px auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-pause button { background-position: 0 -30px; }

.mejs-controls div.mejs-time-rail {
    width: 280px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail span {
    position: absolute;
    display: block;
    width: 280px;
    height: 30px;
    top: 10px;
    left: 55px;
    cursor: pointer;
    -webkit-border-radius: 0px 0px 2px 2px;
    -moz-border-radius: 0px 0px 2px 2px;
    border-radius: 0px 0px 2px 2px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail .mejs-time-total {
    background: #565860;
    width: 280px !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {
    top: 0;
    left: 0;
    width: 0;
    background: #7b7d82;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail .mejs-time-current {
    top: 0;
    left: 0;
    width: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #83bb63;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail .mejs-time-handle {
    position: absolute;
    display: block;
    width: 20px;
    height: 30px;
    top: 0px;
    background: url('handle.png') no-repeat;
    background-size: 20px auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail .mejs-time-float {
    position: absolute;
    display: none;
    width: 48px;
    height: 23px;
    top: -26px;
    margin-left: -17px;
    z-index: 9999;
    background: url('timebox.png');
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mejs-controls .mejs-time-rail .mejs-time-float-current {
    width: 48px;
    display: block;
    left: 0;
    top: 4px;
    font-size: 10px;
    font-weight: normal;
    color: #666;
    text-align: center;
    z-index: 9999;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ######################################################### */

@media screen and (min-width:851px) {
    div.audio-player { width:350px; }
    .mejs-controls div.mejs-time-rail { width:270px; }
    .mejs-controls .mejs-time-rail span { width:270px; }
    .mejs-controls .mejs-time-rail .mejs-time-total { width: 270px !important; }
}

@media screen and (min-width:551px) and (max-width:850px) {
    div.audio-player { width:330px; }
    .mejs-controls div.mejs-time-rail { width:250px; }
    .mejs-controls .mejs-time-rail span { width:250px; }
    .mejs-controls .mejs-time-rail .mejs-time-total { width: 250px !important; }
}

@media screen and (max-width:550px ) {
    div.audio-player { width:310px; }
    .mejs-controls div.mejs-time-rail { width:230px; }
    .mejs-controls .mejs-time-rail span { width:230px; }
    .mejs-controls .mejs-time-rail .mejs-time-total { width: 230px !important; }
}

/* ######################################################### */
