$tabHeight: 44px;

.play {
    .video {
        width: 100%;
        height: 215px;
        background-color: $black;
        position: relative;

        .video-js {
            width: 100%;
            height: 100%;

            .vjs-custom-play-button-cover {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                background: rgba(0, 0, 0, 0.5);



                .vjs-custom-play-button {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 27px;
                    height: 27px;
                    background: url("./images/play.png") no-repeat;
                    background-size: contain;
                }
            }

            &.vjs-has-started{
                .vjs-custom-play-button-cover{
                    bottom: 2.9em;
                }
            }


            &.vjs-playing {
                .vjs-custom-play-button-cover {
                    display: none;
                }
            }
        }

        .purchase-box {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;

            .hint {
                font-size: $font_14;
                color: $white;
                margin-bottom: 20px;
            }

            @mixin button {
                display: block;
                -webkit-appearance: none;
                outline: none;
                border: none;
                background-color: transparent;
                border-radius: 5px;
                line-height: 30px;
                font-size: 13px;
                padding: 0 9px;
            }

            .btns {
                width: 100%;
                padding: 0 60px;
                display: flex;
                justify-content: space-around;
            }

            .purchase-class {
                @include button;
                background-color: $white;
                color: $color_FF4000;
            }

            .purchase-episode {
                @include button;
                background-color: $bg_FF4000;
                color: $white;
            }
        }

        .is-aist-box {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            color: #fff;

            i {
                font-size: 34px;
            }

            .time {
                font-size: 16px;
            }
        }

        video {
            width: 100%;
            height: 100%;
        }
    }

    .tab {
        height: $tabHeight;
        max-height: $tabHeight;
        line-height: $tabHeight;
        text-align: center;
        background: #fff;
        flex: 1 0 auto;
        display: flex;
        justify-content: center;

        & > div {
            flex: 1 0 auto;
        }

        a {
            display: inline-block;
            height: $tabHeight;
            font-size: $font_16;
            border-bottom: 1px solid transparent;

            &.active {
                border-bottom: 1px solid $active;
            }
        }
    }

    .active {
        color: $active;

        .iconiconfront-74 {
            color: $color_555;
        }
    }

    .progress-share-modal {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 290px;
        height: 332px;
        padding: 18px 15px;
        background: url("./images/progress-share-bg.png");
        background-size: contain;

        & > .title {
            font-size: 21px;
            color: #00656F;
            line-height: 30px;
            text-align: center;
            margin-bottom: 20px;
        }

        .progress-container {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;

            li {
                flex: 1;

                .title {
                    font-size: 14px;
                    color: #00838F;
                    line-height: 20px;
                    text-align: center;
                    flex: 1;
                    margin-bottom: 10px;
                }

                .number {
                    font-size: 15px;
                    color: #00656F;
                    text-align: center;

                    .num {
                        font-size: 33px;
                        color: #00656F;
                    }
                }
            }
        }

        .share-container {
            .title {
                position: relative;
                text-align: center;
                font-size: 14px;
                color: #00838F;
                margin-bottom: 25px;

                &::before {
                    position: absolute;
                    top: 50%;
                    left: 30px;
                    transform: translateY(-50%);
                    content: '';
                    display: block;
                    width: 70px;
                    height: 1px;
                    background: #77c4bf;
                }

                &::after {
                    position: absolute;
                    top: 50%;
                    right: 30px;
                    transform: translateY(-50%);
                    content: '';
                    display: block;
                    width: 70px;
                    height: 1px;
                    background: #77c4bf;
                }
            }

            ul {
                display: flex;
                justify-content: space-around;
                padding: 0 20px;
                text-align: center;

                li {
                    font-size: 12px;
                    color: #00838F;

                    .iconfont {
                        font-size: 40px;
                        color: #00838f;
                    }
                }
            }
        }

        .close {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -63px;
            color: #fff;
            font-size: 30px;
        }

        &-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            touch-action: none;
            z-index: 100;

        }
    }
}