/* @import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css); */
@import url(http://weloveiconfonts.com/api/?family=iconicfill);
[class*="iconicfill-"]:before {
  font-family: 'IconicFill', sans-serif;
}

/*********************
 * Background
 *********************/
html {
  background: #fff;
  background-size: cover;
  height: 100%;
}


/*********************
 * Wrapper
 *********************/
.js-video {
  position: relative;
 
  margin: 0 auto;
  /*padding: 10px;*/
  /*background: rgba(0, 0, 0, 0.2);*/
  border-radius: 8px;
}

/*********************
 * Elements inside js-video
 *********************/
video {
  max-width: 100%;
  max-height: 70vh;object-fit: cover;
  background-size: cover;
  background-position: center center;
}

.js-video button {
  -moz-appearance: none;
  -webkit-appearance: none;
}

/*********************
 * UI
 *********************/
.playPause.ui-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 0;
  display: block;
  width: auto;
  bottom: 56px;
}
.playPause.ui-icon:before, .playPause.ui-icon:after {
  position: absolute;
  top: 50%;
  left: 50%;
}
.playPause.ui-icon:after {
  content: '';
  width: 100px;
  height: 100px;
  margin: -40px 0 0 -40px;
  background: #fff;
  border-radius: 50%;
}
.playPause.ui-icon:before {
  font-size: 40px;
  line-height: 20px;
  color:#777;
  z-index: 2;
  top: 50%;
  left: 50%;
 
}
.playPause.ui-icon.fa-pause:before, .playPause.ui-icon.fa-undo:before {
  margin-left: -8px;
}
.playPause.ui-icon.fa-pause {
  opacity: 0;
}
.playPause.ui-icon.fa-undo:before{width:38px;height:36px; color: transparent;background: url(/template/default/images/shuaxin.png) no-repeat;margin-top: -6px;}
.ui {
    width:100%; position: absolute; bottom: 8px; 
  padding: 10px 1vw;
  font-size: 0;

  display: none;
}
.ui.active{ display:flex; display:-webkit-flex}
.ui > div:nth-of-type(1), .ui > div:nth-of-type(4) {
  padding-top: 8px;
}
.ui > div:nth-of-type(1) {
  -webkit-flex: 30 30 1px;
  flex: 30 30 1px;
  margin-right: 10px;
}
.ui > div:nth-of-type(2) {
  -webkit-flex: 1 0 1px;
  flex: 1 0 1px;
  font-size: 12px;
  margin-right: 0px;
  text-align: center;
  line-height: 20px;
}
.ui > div:nth-of-type(3) {
  -webkit-flex: 0 0 20px;
  flex: 0 0 20px;
  margin-right: 10px;
}
.ui > div:nth-of-type(4) {
  -webkit-flex: 0 0 60px;
  flex: 0 0 60px;
}

.timeDisplay {
  white-space: nowrap;
}
.timeDisplay i {
  font-style: normal;
}

.fullscreen {
  font-style: normal;
  display: block;
  width: 20px;
  height: 20px;
  text-align: center;
  cursor: pointer;
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.fullscreen:before {
  font-size: 20px;
  line-height: 25px;
  color: #dadada;
}
.fullscreen:hover:before {
  color: #dadada;
}

.ui-icon {
  font-size: 20px;
  vertical-align: middle;
  width: 20px;color: #dadada;
  margin-right: 10px;
  cursor: pointer;
}

/*********************
 * Progress
 *********************/
.progress, .volumeControl {
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
  position: relative;
  height: 5px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  border: 0;
}

.progress > * {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.progress-time {
  background-color:rgba(255,157,67,1);
}

.anim {
  -moz-transition: width 1000ms linear;
  -o-transition: width 1000ms linear;
  -webkit-transition: width 1000ms linear;
  transition: width 1000ms linear;
}

.progress-buffer {
  background-color: rgba(0, 0, 0, 0.3);
  -moz-transition: width 250ms linear;
  -o-transition: width 250ms linear;
  -webkit-transition: width 250ms linear;
  transition: width 250ms linear;
}

.volumeControl {
  width: 90%;
  overflow: visible;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
}
.volumeControl .ui-slider-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 0;
  top: -2px;
  background: transparent;
}
.volumeControl .ui-slider-handle:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: -50%;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
}
.volumeControl .ui-slider-handle:focus {
  outline: none;
}
