/* 全局样式 */

.none {
    display: none;
}

.hi-video-wrapper {
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    position: relative;
    z-index: 0;
}

.hi-video-wrapper * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

video[ishivideo="true"]::-webkit-media-controls {
    display: none !important;
}

video[ishivideo="true"]::-moz-media-controls {
    display: none !important;
}

video[ishivideo="true"]::-o-media-controls {
    display: none !important;
}

video[ishivideo="true"]::media-controls {
    display: none !important;
}

.hi-video {
    width: 100%;
    height: 100%;
}

.hi-video-playIcon {
    position: absolute;
    z-index: 10000;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
   /* background: url(images/ivideo1.png) no-repeat 0px 0px;*/
    /* background-size: 100px 100px; */
    cursor: pointer;
    /* display: block; */
    /*background-color: #fff;*/
    border-radius: 50%;
    /*animation: myfirst 1.5s infinite linear alternate;
    -moz-animation: myfirst 1.5s infinite linear;
     Firefox 
    -webkit-animation: myfirst 1s infinite linear alternate;
     Safari 和 Chrome 
    -o-animation: myfirst 1.5s infinite alternate;*/
}

.hi-video-playIcon img {
    position: absolute;
    z-index: 10000;
    left: 0;
    top: 0; 
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
   width: 65px;
    height: 65px;
   border-radius: 50%;
    animation: myfirst 1.5s infinite linear alternate;
    -moz-animation: myfirst 1.5s infinite linear;
/* Firefox */
    -webkit-animation: myfirst 1s infinite linear alternate;
     /* Safari 和 Chrome */  
    -o-animation: myfirst 1.5s infinite alternate;
}

@-webkit-keyframes myfirst {
    0%{-webkit-transform:scale(0.9);}
    100%{-webkit-transform:scale(1);}
}
@keyframes myfirst {  
    0%{transform:scale(0.9);}
    100%{transform:scale(1);}
}

.hi-video-playIcon.onBtn {
    display: block;
}

.hi-video-playIcon.offBtn {
    display: none;
}

.hi-video-controlbar {
    background: rgba(0, 0, 0, 0.75);
    display: none;
    color: #fff;
    min-height: 40px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10000;
    padding: 10px 0;
}

.hi-video-controlbar button {
    border: none;
    margin: 0;
    padding: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    vertical-align: middle;
}

.hi-video-controlbar input:active,
.hi-video-controlbar input:hover,
.hi-video-controlbar input:focus .hi-video-controlbar button:active,
.hi-video-controlbar button:hover,
.hi-video-controlbar button:focus {
    border: none;
    outline: none;
}

.hi-video-controlbar .video-play {
    width: 5%;
    min-width: 5px;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
}

.hi-video-controlbar .video-play .onBtn {
    background: url("./images/play.png") no-repeat;
}

.hi-video-controlbar .video-play .offBtn {
    background: url("./images/pause.png") no-repeat;
}

.hi-video-controlbar .progressbar {
    display: block;
    width: 100%;
    text-align: center;
}

.hi-video-controlbar .progressbar::-moz-progress-bar,
.bufferbar::-moz-progress-bar {
    background: #c0392b;
}

.hi-video-controlbar .progressbar::-webkit-progress-bar,
.bufferbar::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.1);
}

.hi-video-controlbar .progressbar::-webkit-progress-value,
.bufferbar::-webkit-progress-value {
    background: #c0392b;
}

.hi-video-controlbar .video-slider {
    width: 50%;
    min-width: 10px;
    position: relative;
    z-index: 0;
    display: inline-block;
}

.hi-video-controlbar .seekbar {
    z-index: 3;
    position: relative;
    width: 100%;
    background-color: transparent !important;
}

.hi-video-controlbar .video-slider .progressbar {
    position: absolute;
    left: 0;
    top: 8px;
    width: 100%;
    pointer-events: none;
    height: 1px;
    z-index: 2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #c0392b;
}

.hi-video-controlbar input[type="range"] {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.7);
    height: 1px;
    border: none;
    cursor: pointer;
}

.hi-video-controlbar input[type="range"]::-moz-range-track {
    vertical-align: middle;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    -moz-appearance: none;
    background-color: white;
    height: 1px;
    cursor: pointer;
}

.hi-video-controlbar input[type="range"]::-moz-range-thumb {
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background-color: white;
    border: 0;
}

.hi-video-controlbar input[type="range"].light::-moz-range-thumb {
    box-shadow: 0 0 8px 2px white;
}

.hi-video-controlbar input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background-color: white;
    border: 0;
}

.hi-video-controlbar input[type="range"].light::-webkit-slider-thumb {
    box-shadow: 0 0 8px 2px white;
}

.custom-video-controlbar input[type="range"]:active::-moz-range-track {
    background: orange;
}

.hi-video-controlbar .video-time {
    width: 20%;
    min-width: 65px;
    font-size: 10px;
    color: #e0dfdf;
    text-align: left;
    padding-left: 5px;
    line-height: 20px;
}

.hi-video-controlbar .volumebar {
    display: inline-block;
    width: 96%;
}

.hi-video-controlbar .video-mute {
    width: 5%;
    min-width: 5px;
    text-align: center;
    cursor: pointer;
}

.hi-video-controlbar .video-mute .onBtn {
    background: url("./images/volume.png");
}

.hi-video-controlbar .video-mute .offBtn {
    background: url("./images/mute.png") no-repeat;
}

.hi-video-controlbar .video-volume {
    width: 15%;
    min-width: 10px;
    overflow: hidden;
}

.hi-video-controlbar .video-fullscreen {
    width: 5%;
    min-width: 5px;
    text-align: center;
    cursor: pointer;
}

.hi-video-controlbar .video-fullscreen .onBtn {
    background: url("./images/fullscreen.png") no-repeat;
}

.hi-video-controlbar .video-fullscreen .offBtn {
    background: url("./images/fullscreen_off.png") no-repeat;
}

.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.hi-video-wrapper .float {
    float: left;
}