.koi_main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

#koi_canvas {
    width: 100%;
    height: 100%;
    display: block;
}


@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

* {
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

.koiModel {
    display: none;
    position: absolute;
    z-index: 999;
    left: 30%;
    top: 15%;
    width: 70%;
    height: 70%;
    overflow: auto;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #333;
}

.zoom-hidden {
    animation: sout 0.5s linear;
}
@keyframes sout {
    0% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(0, 0);
    }
}

.zoom-visible {
    animation: sin 1s linear;
}
@keyframes sin {
    0% {
        transform: scale(0, 0);
    }
    100% {
        transform: scale(1, 1);
    }
}
#koiBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    visibility: hidden;
}
.koiBox_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.3);
}
.koiBox_fr {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: transparent;
}
.koiModel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 6px;
    width: 96%;
    font-size: 20px;
    overflow-y: scroll;
}

#koiMain {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    max-width: 2500px;
    /* width: 100%; */
    height: 100%;
    overflow: hidden;
    background: transparent;
}
#koiVideo{
    position: absolute;
    top: auto;
    right: auto;
    left: -25%;
    bottom: 0;
    width:80%;
    height:80%;
    z-index: 1000;
    background: transparent;
}
#koiVideo .video-js{
    background: transparent;
}
.video-hide{
    display:none !important;
}
.video-show{
    display:block !important;
}
.koiVideo1, .koiVideo2{
    display:none;
}
.iframe_test {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
}
#koiSubtitle {
    position: absolute;
    bottom: 1%;
    top: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: hidden; /* 防止溢出 */
    text-align: center;
    font-size: 16px;
    line-height:30px;
    font-weight:600;
    padding: 8px 5%;
    box-sizing: border-box;
    z-index: 999999;
    color:#fff;
    background:rgba(0,0,0,0.5);
    display:none;
}
#koiPlayerControll {
    position: absolute;
    top: 5%;
    right: 5%;
    width: auto;
    height: 30px;
    display:none;
}
#koiPlayerControll div {
    float: left;
    height: 30px;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    margin-left: 30px;
    cursor: pointer;
    padding:0 10px;
}
