/* RemixDesign | woaichidapi@163.com | Redesigned by JimmyCheung */
.audioWrap {
    position: relative;
    background-color: #f2f2f2;
}

.audioWrap .con {
    position: absolute; 
    top: 20px; 
    left: 30px;
    display: flex;
    align-items: center;
    width: calc(100% - 220px);
}
.audioWrap .con img {
    margin-right: 10px;
}

.audioWrap.audioWrap__white .con img {
    margin-right: 10px;
    filter: brightness(0) invert(1);
}
.audioWrap .con .tit {
    font-size: 20px;
    color: #69513e;
    font-family: "WooridaumB";
    font-weight: bold;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: keep-all;
    overflow: hidden;
}
.audioWrap .con p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: keep-all;
    overflow: hidden;
}

.audioplayer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    box-sizing: border-box;
    margin: 0 0 1em;
    padding: 0 24px;
    width: 100%;
    height: 96px;
    align-items: center;
    position: relative;
}

.audioplayer-playpause {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease-in-out;
}


.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
    content: '';
    justify-content: center;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 12px solid transparent;
    border-right: none;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #69513e;
}

.audioplayer-playing .audioplayer-playpause a {
    content: '';
    display: flex;
    justify-content: space-between;
    width: 16px;
    height: 20px;
}

.audioWrap__white .audioplayer-playing .audioplayer-playpause a::before, .audioWrap__white .audioplayer-playing .audioplayer-playpause a::after {
    content: '';
    width: 5px;
    height: 20px;
    background-color: #fff;
}

.audioplayer-playing .audioplayer-playpause a::before, .audioplayer-playing .audioplayer-playpause a::after {
    content: '';
    width: 5px;
    height: 20px;
    background-color: #69513e;
}

.audioplayer-time {
    display: flex;
    width: 40px;
    justify-content:center;
    font-size: 16px;
    color: #69513e;
    font-family: "WooridaumL";
}

.audioplayer-time-current {
    position: relative;
    margin-left: 10px;
    margin-right: 12px;
}
.audioplayer-time-current::before {
    content: '/';
    position: absolute;
    display: block;
    color: #69513e;
    right: -8px;
}

.audioWrap__white .audioplayer-time-current::before {
    content: '/';
    position: absolute;
    display: block;
    color: #fff;
    right: -8px;
}

.audioplayer-time-duration {
    margin-right: 10px;
    font-family: "WooridaumB";
}

.audioplayer-bar {
    position: absolute;
    top: -5px;
    left: 0;
    z-index: 99;
    width: 100%;
}

.audioplayer-bar::before {
    content: '';
    position: absolute;
    top: 5px;
    width: 100%;
    height: 4px;
    background-color: #DDE2E6;
}

.audioplayer-bar > div {
    position: absolute;
    left: 0;
    top: 5px;
}
.audioplayer-bar-loaded {
    z-index: 1;
    height: 4px;
    background: #BEC8D2;
}

.audioplayer-bar-played {
    flex-direction: row-reverse;
    z-index: 2;
    height: 4px;
    background: -webkit-linear-gradient(left,#0059FF,#09B1FA);
}

.audioplayer-bar-played::after {
    display: flex;
    position: absolute;
    content: '';
    box-sizing: border-box;
    top: -9px;
    right: -11px;
    margin-right: -5px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-bar-played::after {
    border: 2px solid #BEC8D2;
}

.audioplayer-playing .audioplayer-bar-played::after {
    border: 2px solid #0059FF;

}

.audioplayer-volume {
    display: none;
}

.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: #9A9FB0;
    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 #9A9FB0;
    border-bottom: 8px solid transparent;
    border-left: none;
    top: -4px;
}

.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after {
    left: 10px;
    top: -2px;
    width: 6px;
    height: 6px;
    border: 6px double #9A9FB0;
    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: 2px;
    cursor: pointer;
    background-color: #BEC8D2;
}

.audioplayer-volume-adjust div div {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background-color: #0059FF;
}

/* responsive | you can change the max-width value to match your theme */

@media (max-width: 575.98px) {
    .audioplayer {
        padding: 0 15px;
        height: 70px;
    }
    .audioWrap .con {
        top: 15px;
        left: 15px;
        width: calc(100% - 80px);
    }
    .audioWrap .con img {
        width: 30px;
    }
    .audioWrap .con .tit {
        font-size: 18px;
    }
    .audioWrap .con p {
        font-size: 13px !important;
    }
    .audioplayer-playpause {
        width: 30px;
        height: 30px;
    }
    .audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
        border-top: 10px solid transparent;
        border-right: none;
        border-bottom: 10px solid transparent;
        border-left: 16px solid #69513e;
    }
    .audioplayer-time {
        display: none;
    }
}
