
/* 播放暂停栏样式设置 */
.playAndPause {
  display: block;
  margin-top: 5px;
  width: 100%;
  height: 12%;
  /* 设置边框属性以及边框阴影 */
  border: 1px solid rgb(221, 221, 221);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  border-collapse: collapse;
  border-spacing: 0;
  padding: 25px 15px;
  position: relative;
}
/* 设置属性栏播放暂停键以及进度条样式 */
.playAndPause button {
  float: left;
  border-radius: 24px;
  border: none;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  /* display: inline-block; */
  margin-left: 10px;
  width: 35px;
  height: 20px;
  position: relative;
  background: #1b9bff;
  transition: 0s;
  /* top: 60%;
    left: 50%;
    transform: translate(-50%, -50%); */
  /* transform: translate(-50%, -50%); */
}
/* 绘制播放暂停图标 */
#play {
  margin-left: 15px;
  width: 10px;
  height: 10px;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent whitesmoke;
}
#pause {
  margin-left: 12.5px;
  width: 10px;
  height: 10px;
  border-style: double;
  border-width: 0px 0px 0px 10px;
  border-color: whitesmoke;
}
/* 进度条样式设置 */
.playAndPause input {
  top: 7px;
  float: right;
  width: 60%;
  height: 21px;
  appearance: none;
  background: inherit;
  border-radius: 15px;
  box-shadow: 0px 5px 10px rgba(125, 160, 224, 0.2);
  border: 2px solid rgb(76, 198, 219);
}
/* 设计进度条中滑块样式 */
input::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  /* border: 3px solid rgb(199, 238, 240); */
  border: 3px solid rgb(149, 224, 228);
  background: rgb(75, 127, 223) /*#1b9bff*/;
  /* border: 3px solid #1b9bff;
    background: whitesmoke; */
}
/* 显示时间栏 */
.time {
  margin-top: -22px;
  margin-left: 96px;
  margin-bottom: 8px;
  width: 80%;
  height: 15px;
}

/*设置鼠标悬停时候放大和变色*/
.playAndPause button:hover,
input::-webkit-slider-thumb:hover {
  transform: scale(1.2, 1.2);
  /* #7d8fa3浅蓝色 */
  background: rgb(81, 215, 224);
  cursor: pointer;
  opacity: 1;
}
