/* RemixDesign | woaichidapi@163.com | Redesigned by JimmyCheung */

.audioplayer {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.audioplayer-playpause {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f40127;
    cursor: pointer;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause {
    /* background: rgba(91, 130, 255, 0); */
    /* border: 1px solid #33354a; */
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause:hover {
    background: #f40127
}

.audioplayer-playing .audioplayer-playpause {
    background: #f40127;
    border: 1px solid #f40127;
}

.audioplayer-playing .audioplayer-playpause:hover {
    background: #f40127;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
    content: '';
    justify-content: center;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 7px solid transparent;
    border-right: none;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #fff;
}

.audioplayer-playing .audioplayer-playpause a {
    content: '';
    display: flex;
    justify-content: space-between;
    width: 12px;
    height: 14px;
}

.audioplayer-playing .audioplayer-playpause a::before, .audioplayer-playing .audioplayer-playpause a::after {
    content: '';
    width: 4px;
    height: 14px;
    background-color: #ffffff;
}

.audioplayer-time {
    display: flex;
    width: 50px; 
    justify-content: center;
    font-size: 12px;
    color: #ffffff;
}

.audioplayer-time-current {
    padding: 0px 10px;
}

.audioplayer-time-duration {
   padding:0px 10px;
}

.audioplayer-bar {
   position: relative;
    display: flex;
    /* margin: 0 12px; */
    /* height: 12px; */
    flex-basis: 0;
    height: 5px;
    flex-grow: 1;
    cursor: pointer;
	background: #363636;
	border-radius: 20px;
    overflow: hidden;
    /* border-radius: 10px; */
    /* overflow: hidden; */
}



.audioplayer-bar > div {
    position: absolute;
    left: 0;
    top: 0px;
    border-radius: 20px;
    overflow: hidden;
}
.audioplayer-bar-loaded {
       z-index: 1;
    height: 5px;
    background: #363636;
    border-radius: 10px;
    overflow: hidden;
}

.audioplayer-bar-played {
       flex-direction: row-reverse;
    z-index: 2;
    height: 5px;
    background: #f45750;
}




.audioplayer-volume {
    display: flex;
	display:none;
    align-items: center;
}

.audioplayer-volume-button {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.audioplayer-volume-button a {
    display: flex;
    width: 6px;
    height: 6px;
    background-color: #000000;
    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: 6px solid transparent;
    border-right: 7px solid #000000;
    border-bottom: 6px solid transparent;
    border-left: none;
    top: -3px;
}

.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after {
    left: 10px;
    top: -2px;
    width: 4px;
    height: 4px;
    border: 4px double #000000;
    border-width: 6px 6px 0 0;
    border-radius: 0 12px 0 0;
    transform: rotate(45deg);
}

.audioplayer-mute .audioplayer-volume-button a {
    background-color: #000000;
}

.audioplayer-mute .audioplayer-volume-button a:before {
    border-right: 7px solid #000000;
}

.audioplayer-volume-adjust {
    display: flex;
    align-items: center;
    border-radius:10px;
	overflow:hidden;
	margin-left:5px;
}

.audioplayer-volume-adjust > div {
        position: relative;
    display: flex;
    width: 60px;
    border-radius: 10px;
    height: 5px;
    cursor: pointer;
    background-color: #939393;
}

.audioplayer-volume-adjust div div {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    background-color: #f45750;
}


/* responsive | you can change the max-width value to match your theme */

@media screen and (max-width: 679px) {
    .audioplayer-volume-adjust {
        display: none;
    }
}
