* {
  margin: 0;
  padding: 0;
}
.fullscreen {
  height: 100%!important;
  width: 100%!important;
  position: absolute;
  z-index: 9999;
  overflow: hidden;
  top: 0;
  left: 0;
  margin: 0;
}
.fullscreen .jwztvideo {
  background: #000;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
}
.smallvideo {
  width: 300px!important;
  height: 168.75px !important;
  position: fixed!important;
  top: 60px;
  left: 900px;
  z-index: 9999;
  animation: tosmallvideo 1s;
  border: 1px solid #999;
}
.smallvideo .adpicbox {
  display: none!important;
}
.smallvideo .videonav .videoconfig {
  display: none;
}
.smallvideo .videonav .fullscreenbtn {
  display: none;
}
.jwztvideo {
  width: 100%;
  height: 100%;
  position: relative;
  user-select: none;
}
.jwztvideo video {
  width: 100%!important;
  height: 100%!important;
  background: #000;
}
.jwztvideo .waitplay {
  width: 100%!important;
  height: 100%!important;
  min-height: 200px;
  background: rgba(0, 0, 0, 0);
  z-index: 9999999;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  color: #fff;
}
.jwztvideo .waitplay .waitbtn {
  width: 50px;
  height: 50px;
  animation: loading 0.8s linear infinite;
  background:  no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
}
.jwztvideo .errorplay {
  width: 100%!important;
  height: 100%!important;
  min-height: 200px;
  background: #000;
  z-index: 9999999;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  color: #fff;
}
.jwztvideo .errorplay p {
  font-size: 20px;
  margin-top: 40px;
}
.jwztvideo .errorplay .errorbtn {
  width: 80px;
  height: 80px;
  background:  no-repeat;
  background-size: 100% 100%;
  margin: 40px auto 0;
}
.jwztvideo .showtimebox {
  position: absolute;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  top: -35px;
}
.jwztvideo .logo {
  position: absolute;
  z-index: 99998;
  width: 80px;
  height: 40px;
  max-width: 80px;
  max-height: 40px;
}
.jwztvideo .screenplay {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translatey(-50%);
  background: ;
  background-size: contain;
  display: none;
  cursor: pointer;
}
.jwztvideo .adpicbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translatey(-50%);
  display: none;
  z-index: 999;
}
.jwztvideo .adpicbox img {
  width: 100%;
  object-fit: contain;
}
.jwztvideo .adpicbox .adclosebtn {
  width: 25px;
  height: 25px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 1000;
  background:  no-repeat center center;
  background-size: 100% 100%;
  cursor: pointer;
}
.jwztvideo .adpicbox:hover {
  box-shadow: 0 0 16px #ddd;
}
.jwztvideo .videonav {
  width: 100%;
  height: 50px;
  position: absolute;
  left: 0;
  bottom: 0;
  user-select: none;
  z-index: 99999;
}
.jwztvideo .videonav .videocontrols {
  width: 100%;
  height: 40px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.jwztvideo .videonav .videocontrols .progressbar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 0px;
  cursor: pointer;
}
.jwztvideo .videonav .videocontrols .progressbar .bufferbar {
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  float: left;
}
.jwztvideo .videonav .videocontrols .progressbar .currentbar {
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  float: left;
  cursor: pointer;
}
.jwztvideo .videonav .videocontrols .progressbar .currentbar .currentbtn {
  width: 14px;
  height: 14px;
  position: relative;
  left: 0;
  top: -5px;
  float: left;
  background:  100% 100% no-repeat;
}
.jwztvideo .videonav .videocontrols .videobtn {
  width: 40px;
  height: 30px;
  margin-top: 10px;
  float: left;
  position: relative;
  text-align: center;
}
.jwztvideo .videonav .videocontrols .videobtn img {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  cursor: pointer;
  vertical-align: top;
}
.jwztvideo .videonav .videocontrols .fullscreenbtn {
  float: right;
}
.jwztvideo .videonav .videocontrols .fullscreenbtn img {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}
.jwztvideo .videonav .videocontrols .soundbtn {
  width: 20px;
  overflow: hidden;
}
.jwztvideo .videonav .videocontrols .soundbtn img {
  float: left;
}
.jwztvideo .videonav .videocontrols .soundbtn .soundprogress {
  position: absolute;
  top: 12px;
  left: 30px;
  width: 80px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}
.jwztvideo .videonav .videocontrols .soundbtn .soundprogress .currentsound {
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
}
.jwztvideo .videonav .videocontrols .soundbtn .soundprogress .currentsound .currentsoundbtn {
  width: 10px;
  height: 10px;
  position: absolute;
  left: -2px;
  top: -2px;
  float: left;
  background: #fff;
  border-radius: 100%;
}
.jwztvideo .videonav .videocontrols .soundbtn .soundprogress .currentsound .currentsoundbtn:hover {
  box-shadow: 0px 0px 15px #fff;
}
.jwztvideo .videonav .videocontrols .videotime {
  width: 100px;
  height: 30px;
  line-height: 30px;
  margin-top: 10px;
  margin-left: 10px;
  font-size: 12px;
  float: left;
  color: #fff;
}
.jwztvideo .videonav .videocontrols .videotime .currenttime {
  margin-right: 5px;
}
.jwztvideo .videonav .videocontrols .videotime .totaltime {
  margin-left: 5px;
}
.jwztvideo .videonav .videocontrols .videoconfig {
  height: 30px;
  line-height: 30px;
  margin-top: 8px;
  float: right;
}
.jwztvideo .videonav .videocontrols .videoconfig li {
  float: left;
  color: #fff;
  list-style: none;
  font-size: 12px;
  padding: 0 10px;
  position: relative;
}
.jwztvideo .videonav .videocontrols .videoconfig li img {
  width: 16px;
  height: 16px;
  margin-top: 7px;
  cursor: pointer;
  vertical-align: top;
}
.jwztvideo .videonav .videocontrols .videoconfig li .definitionbox,
.jwztvideo .videonav .videocontrols .videoconfig li .speedbox,
.jwztvideo .videonav .videocontrols .videoconfig li .basebox {
  position: absolute;
  left: 50%;
  -webkit-transform: translatex(-50%);
  transform: translatex(-50%);
  font-size: 12px;
  bottom: 20px;
  padding-bottom: 18px;
  display: none;
}
.jwztvideo .videonav .videocontrols .videoconfig li .basebox {
  left: -50%;
  bottom: 22px;
}
.jwztvideo .videonav .videocontrols .videoconfig li .definition,
.jwztvideo .videonav .videocontrols .videoconfig li .speed,
.jwztvideo .videonav .videocontrols .videoconfig li .base {
  width: 164px;
  padding: 8px 0;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
}
.jwztvideo .videonav .videocontrols .videoconfig li .definition p,
.jwztvideo .videonav .videocontrols .videoconfig li .speed p,
.jwztvideo .videonav .videocontrols .videoconfig li .base p {
  color: #ddd;
  cursor: pointer;
  padding: 4px 0;
}
.jwztvideo .videonav .videocontrols .videoconfig li .definition p:hover,
.jwztvideo .videonav .videocontrols .videoconfig li .speed p:hover,
.jwztvideo .videonav .videocontrols .videoconfig li .base p:hover {
  font-size: 14px;
}
.jwztvideo .videonav .videocontrols .videoconfig li .definition .selected,
.jwztvideo .videonav .videocontrols .videoconfig li .speed .selected,
.jwztvideo .videonav .videocontrols .videoconfig li .base .selected {
  color: #108cee;
}
.jwztvideo .videonav .videocontrols .videoconfig li .base p:hover {
  font-size: 12px;
  color: #fff;
}
.jwztvideo .videonav .videocontrols .videoconfig li .base .selected:hover {
  font-size: 12px;
  color: #108cee;
}
.jwztvideo .videonav .videocontrols .setdefinition:hover .definitionbox {
  display: block;
}
.jwztvideo .videonav .videocontrols .setspeed:hover .speedbox {
  display: block;
}
.jwztvideo .videonav .videocontrols .setbase img:hover {
  animation: haha1 0.8s linear infinite;
  animation-iteration-count: 1;
}
.jwztvideo .videonav .videocontrols .setbase:hover .basebox {
  display: block;
}
@keyframes haha1 {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes tosmallvideo {
  from {
    top: 0px;
    left: 500px;
  }
  to {
    top: 60px;
    left: 900px;
  }
}
@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
