/* RemixDesign | woaichidapi@163.com | Redesigned by JimmyCheung */

.audioplayer {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    margin: 0.5em auto 1em;
    padding: 0 0px;
    width: 100%;
    max-width:600px;
    height: 70px;
    align-items: center;
    border-radius: 0px;
    background: transparent;
}
.mp3_block h4 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #FFF;
}

.audioplayer-playpause {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause {
    background: rgba(200, 200, 200, 0);
    border: 2px solid #FFF;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause:hover {
    background: rgba(200, 200, 200, 0.1);
}

.audioplayer-playing .audioplayer-playpause {
    background: rgba(200, 200, 200, 0);
    border: 2px solid #FFF;
}

.audioplayer-playing .audioplayer-playpause:hover {
    background: rgba(255, 255, 255, 0.1);
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
    content: '';
    justify-content: center;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: 17px solid transparent;
    border-right: none;
    border-bottom: 17px solid transparent;
    border-left: 24px solid #FFF;
}

.audioplayer-playing .audioplayer-playpause a {
    content: '';
    display: flex;
    justify-content: space-between;
    width: 22px;
    height: 30px;
    border-bottom: none;
}

.audioplayer-playing .audioplayer-playpause a::before, .audioplayer-playing .audioplayer-playpause a::after {
    content: '';
    width: 8px;
    height: 30px;
    background-color: #FFF;
}

.audioplayer-time {
    display: flex;
    font-family: 'HKGroteskRegular';
    width: 85px;
    justify-content:center;
    font-size: 1.2em;
    color: rgba(255, 255 ,255, 1)
}

.audioplayer-time-current {
    margin-left: 14px;
}

.audioplayer-time-duration {
    margin-right: 14px;
    font-family: 'HKGroteskRegular';
}

.audioplayer-bar {
    position: relative;
    display: flex;
    margin: 0 2px;
    height: 10px;
    flex-basis: 0;
    flex-grow: 1;
    cursor: pointer;
}

.audioplayer-bar::before {
    content: '';
    position: absolute;
    top: 2px;
    width: 100%;
    height: 10px;
    background-color: rgba(255,255,255,0.2);
}

.audioplayer-bar > div {
    position: absolute;
    left: 0;
    top: 2px;
}
.audioplayer-bar-loaded {
    z-index: 1;
    height: 10px;
    background-color: rgba(255,255,255,0.4);
}

.audioplayer-bar-played {
    flex-direction: row-reverse;
    z-index: 2;
    height: 10px;
    background: rgba(255,255,255,0.7);
}

.audioplayer-bar-played::after {
    display: flex;
    position: absolute;
    content: '';
    box-sizing: border-box;
    top: -3px;
    right: -1px;
    margin-right: -5px;
    width: 15px;
    height: 15px;
    background-color: #222;
    border-radius: 50%;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-bar-played::after {
    border: 2px solid #dedede;
}

.audioplayer-playing .audioplayer-bar-played::after {
    border: 2px solid #dedede;

}

.audioplayer-volume {
    display: flex;
    align-items: center;
}

.audioplayer-volume-button {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.audioplayer-volume-button a {
    display: flex;
    width: 6px;
    height: 8px;
    background-color: #FFF;
    position: relative;
}

.audioplayer-volume-button a:before, .audioplayer-volume-button a:after {
    content: '';
    position: absolute;
}

.audioplayer-volume-button a:before {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 9px solid #FFF;
    border-bottom: 8px solid transparent;
    border-left: none;
    top: -4px;
}

.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after {
    left: 12px;
    top: -1px;
    width: 10px;
    height: 10px;
    border: 6px double #FFF;
    border-width: 6px 6px 0 0;
    border-radius: 0 12px 0 0;
    transform: rotate(45deg);
}

.audioplayer-mute .audioplayer-volume-button a {
    background-color: #FD4F1A;
}

.audioplayer-mute .audioplayer-volume-button a:before {
    border-right: 9px solid #FD4F1A;
}

.audioplayer-volume-adjust {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.audioplayer-volume-adjust > div {
    position: relative;
    display: flex;
    width: 60px;
    height: 5px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.4);
}

.audioplayer-volume-adjust div div {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    background-color: #FFF;
}

/* responsive | you can change the max-width value to match your theme */

@media screen and (max-width: 679px) {
    .audioplayer-volume-adjust {
        display: none;
    }
}
