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

.audioplayer {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-items: center;
	margin-top: 3px;
}

/* .player-controls: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 #2e2d35;
}

.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: #2e2d35;
} */

.audioplayer-time {
    display: flex;
    width: 40px;
    justify-content:center;
    font-size: 12px;
}

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

.audioplayer-time-duration {
    margin-right: 24px;
}

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

.audioplayer-bar::before {
    content: '';
    position: absolute;
    top: 5px;
    width: 100%;
    height: 3px;
    background-color: #5c5c5c;
}

.audioplayer-bar > div {
    position: absolute;
    left: 0;
    top: 5px;
}
.audioplayer-bar-loaded {
    z-index: 1;
    height: 3px;
    background: #a2a2a2;
}

.audioplayer-bar-played {
    flex-direction: row-reverse;
    z-index: 2;
    height: 3px;
    background: #fff;
}

.audioplayer-bar-played::after, .audioplayer-volume-adjust div div::after {
    display: flex;
    position: absolute;
    content: '';
    box-sizing: border-box;
    top: -5px;
    right: -1px;
    margin-right: -5px;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 6px;
}

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

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

}

.audioplayer-volume {
    display: flex;
    align-items: center;
	float: right;
	margin-top: 1em;
}

.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: #df9a41;
}

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

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

.audioplayer-volume-adjust > div {
    position: relative;
    display: flex;
    width: 120px;
    height: 3px;
    cursor: pointer;
    background-color: #5c5c5c;
}

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

	@media (max-device-width: 1680px) {
		
		.audioplayer {
			margin-top: -8px;
		}
		
		.audioplayer-volume {
			margin-top: 0.5em;
		}
		
	}

	@media (max-device-width: 1280px) {
		
		.audioplayer {
			margin-top: -2px;
		}
		
		.audioplayer-bar {
			margin: 0 32px;
		}
		
		.audioplayer-time-current,
		.audioplayer-time-duration {
			font-size: 1.4em;
		}
		
		.audioplayer-volume-adjust > div,
		.audioplayer-volume-adjust div div {
			height: 5px;
		}
		
		.audioplayer-volume-adjust div div::after {
			top: -4px;
		}
		
	}

	@media (max-device-width: 480px) {
		
		.audioplayer {
			margin-top: 15px;
		}
		
		.audioplayer-volume {
			margin: 0.5em 0 0.9em 0;
		}
		
		.audioplayer-time-current, .audioplayer-time-duration {
			font-size: 0.7em;
		}
		
		.audioplayer-time-current {
			margin-left: 50px;
		}
		
		.audioplayer-time-duration {
			margin-right: 50px;
		}
		
		.audioplayer-bar {
			margin: 0 60px;
		}
		
		.audioplayer-bar::before {
			top: 2px;
			height: 10px;
		}
		
		.audioplayer-bar-loaded {
			height: 10px;
		}
		
		.audioplayer-bar > div {
			top: 2px;			
		}
		
		.audioplayer-bar-played {
			top: 2px;
			height: 10px;
		}
		
		.audioplayer:not(.audioplayer-playing) .audioplayer-bar-played::after, .audioplayer-volume-adjust div div::after  {
			width: 30px;
			height: 30px;
			border-radius: 15px;
			top: -10px;
		}
		
		.audioplayer-volume-adjust div div::after  {
			top: -8px;
		}
		
		.audioplayer-volume-button {
			zoom: 2.5;
		}
		
		.audioplayer-volume-adjust > div {
			height: 15px;
			width: 180px;
		}
		
		.audioplayer-volume-adjust div div {
			height: 15px;
		}
		
	}
