@charset "utf-8";

.audioplayer {
  /* display: flex;
  flex-direction: row;
  align-items: center; */
  position:relative;
  z-index:1;
  box-sizing: border-box;
  width: 550px;
  background: #fff;
  border: 1px solid #dde2e6;
  border-radius: 4px;
  height:48px;
}
.audioplayer > div {
  position:absolute;
}
.audioplayer-playpause {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  top: 0;
  left: 0;
  width: 55px;
  height: 48px;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
  transition: all .2s ease-in-out;
  position: absolute;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause {
  background: #4050ab;
  border: 1px solid #4050ab;
  border-radius: 4px 0 0 4px;
}
.audioplayer:not(.audioplayer-playing) .audioplayer-playpause:hover {
  background: #4050ab;
}
.audioplayer-playing .audioplayer-playpause {
  background: rgba(253,79,26,0);
  border: 1px solid #4050ab;
}
.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
  /* justify-content: center; */
  margin-left: 2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: none;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #fff;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.25em;
}
.audioplayer-playing .audioplayer-playpause a {
  /* display: flex;
  justify-content: space-between; */
  position:absolute;
  width: 12px;
  height: 14px;
  content: "";
  top: 50%;
  left: 50%;
  margin: -0.375em 0 0 -0.375em;
}
.audioplayer-playing .audioplayer-playpause a::before,
.audioplayer-playing .audioplayer-playpause a::after {
  width: 4px;
  height: 14px;
  background-color: #4050ab;
  content: "";
  position: absolute;
  top:0;
}
.audioplayer-playing .audioplayer-playpause a::after {
  right:0;
}
.audioplayer-time {
  /* display: flex;
  justify-content: center; */
  width: 40px;
  font-size: 13px;
  font-weight: 700;
  color: #4050ab;
  z-index: 2;
  top: 0.5em;
  height: 100%;
  line-height: 2.375em;
  text-align: center;
}
.audioplayer-time-current {
  /* margin-left: 24px; */
  left: 5.3em;
}
.audioplayer-time-duration {
  /* margin-right: 10px; */
  right:5.3em;
  font-weight: 500;
  color: #999;
}
.audioplayer-bar {
  /* position: relative;
  display: flex;
  flex-basis: 0;
  flex-grow: 1; */
  margin: 0 12px;
  height: 12px;
  z-index: 1;
  top: 50%;
  right: 6.875em;
  left: 6.875em;
  margin-top: -0.438em;
}
.audioplayer-bar::before {
  position: absolute;
  top: 5px;
  width: 100%;
  height: 2px;
  background-color: #dde2e6;
  content: "";
;
}
.audioplayer-bar > div {
  position: absolute;
  top: 5px;
  left: 0;
;
}
.audioplayer-bar-loaded {
  z-index: 1;
  height: 4px;
  background: #e4e4e4;
}
.audioplayer-bar-played {
  z-index: 2;
  flex-direction: row-reverse;
  height: 4px;
  background: #4050ab;
}
.audioplayer-bar-played::after {
  position: absolute;
  top: -5px;
  right: -1px;
  display: flex;
  box-sizing: border-box;
  margin-right: -5px;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 10px;
  content: "";
;
}
.audioplayer:not(.audioplayer-playing) .audioplayer-bar-played::after {
  border: 2px solid #4050ab;
}
.audioplayer-playing .audioplayer-bar-played::after {
  border: 2px solid #0059ff;
}
.audioplayer-volume {
  /* display: flex;
  align-items: center; */
  z-index: 2;
  top: 0.5em;
  right: 0;
  height: 100%;
  text-align: left;
  text-indent: -9999px;
  cursor: pointer;
}
.audioplayer-volume-button {
  /* display: flex;
  align-items: center; */
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.audioplayer-volume-button a {
  /* position: relative;
  display: flex; */
  width: 6px;
  height: 8px;
  background-color: #4050ab;
  display: block;
  position: relative;
  z-index: 1;
  top: 40%;
  left: 35%;
;
}
.audioplayer-volume-button a:before,
.audioplayer-volume-button a:after {
  position: absolute;
  content: "";
;
}
.audioplayer-volume-button a:before {
  top: -4px;
  left:0;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-right: 9px solid #4050ab;
  border-bottom: 8px solid transparent;
  border-left: none;
;
}
.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after {
  top: -2px;
  left: 10px;
  width: 6px;
  height: 6px;
  border: 6px double #4050ab;
  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;
  background-color: #bec8d2;
  cursor: pointer;
;
}
.audioplayer-volume-adjust div div {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background-color: #0059ff;
}

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

@media screen and (max-width: 850px) {
  .audioplayer-time-current {
    left: 4.5em;
  }
}

.audioplayer-volume-button {
  margin-right: 15px;
}
.audioplayer-volume-adjust {
  display: none;
}
.hdBox {
  top:0.5em;
  right:2em;
}
.hdBox > a {
  margin-right: 10px;
  padding: 0 1px 0 2px;
  border: 1px solid #4050ab;
  border-radius: 2px;
  font-size: 13px;
  color: #4050ab;
;
}
.audioplayer {
  margin-top: 40px;
  height: 48px;
}
