@import 'color.less';

.class-content {
    width: 100%;
    display: flex;
}
.class-content:hover .courseware-wrap .page-wrap {
    opacity: 1;
}
.class-content:hover .courseware-wrap .cur-page-tag {
    opacity: 0;
}

.video-player-box {
    width: 50%;
    justify-content: center;
    height: 450px;
}

.courseware-wrap {
    width: 50%;
    position: relative;
    height: 450px;
    margin-top: 10px;
    background-color: #808080;
}
.full-screen-icon {
    float: right;
    margin-right: 20px;
    margin-top: -20px;
    cursor: pointer;
}
.cur-page-tag {
    position: absolute;
    left: 0px;
    bottom: 5px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    display: block;
    background: rgba(255,153,0,0.9);
    border-radius: 50%;
    text-align: center;
    opacity: 1;
    transition: opacity 0.2s;
    color: white;
    box-shadow: 0px 0px 5px rgb(255, 153, 0);
}

.page-wrap {
    left: 0px;
    bottom: 0px;
    position: absolute;
    padding: 6px;
    color: white;
    width: 100%;
    height: 36px;
    background: rgba(43, 51, 63, 0.7);
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s;
    border-right: 2px solid black;
}
.image-viewer {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.htex-viewer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .viewer-page-wrap {
        margin-top: -36px;
        z-index: 99;
        padding: 6px;
        color: white;
        width: 100%;
        background: rgba(43, 51, 63, 0.7);
    }
}
.close-icon {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}


.hiteachNote-content {
    float: right;
    width: 75%;
    padding: 1% 3%;
    height: 95.59vh;
    padding-bottom: 50px;
    overflow: auto;
/*
    img {
        border-radius: 4px;
        margin-right: 20px;
        border: 1px solid rgba(173, 173, 173, 0.233);
        width: 100%;
    }

    .dec {
        padding: 0px;
        height: 800px;
        overflow: hidden;
        position: relative;

        .message-filter {
            position: absolute;
            right: 20px;
            top: 10px;
            z-index: 1;

            li {
                border: none;
                padding: 0px;
                font-size: 32px;

                &:nth-child(5) {
                    position: relative;
                    font-size: 26px;
                    top: 3px;
                    right: -3px !important;
                }

                &:nth-child(6) {
                    position: relative;
                    font-size: 26px;
                    top: 5px;
                    right: -3px !important;
                }

                &:hover {
                    cursor: pointer;
                    color: @primary;
                }

                .select-filter {
                    color: @primary;
                }
            }
        }
    }

    .message-area {
        overflow: scroll;
        height: 815px;
        padding: 50px 20px;
        padding-left: 10.8%;

        .message-item {
            //border:1px solid black;
            white-space: nowrap;
            display: block;
            position: relative;
            padding-top: 10px;
            margin-bottom: 50px;

            .user-name {
                white-space: nowrap;
                font-weight: bolder;
                position: absolute;
                top: -12px;
                margin-left: -8px;
            }

            .message-content {
                background: #d4ede1;
                padding: 10px;
                display: inline-block;
                border-radius: 4px;

                .messagetoPPT-tag {
                    background-color: rgba(0, 0, 0, 0.1);
                    white-space: initial;
                    display: block;
                    position: absolute;
                    left: -10%;
                    top: 2px;
                    font-size: 14px;
                    width: 10%;
                    height: auto;
                    padding: 3px 10px;
                    border-radius: 4px;

                    &:hover {
                        cursor: pointer;
                        color: #ffffff;
                        background-color: @primary;
                    }
                }

                .triangle {
                    position: absolute;
                    top: 12px;
                    margin-left: -16px;
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 5px 7.7px 5px 0;
                    border-color: transparent #d4ede1 transparent transparent;
                }
            }

            .message-avatar {
                border-radius: 50%;
                float: left;
                width: 32px !important;
                height: 32px !important;
                margin: 0px 15px;
                margin-top: -10px;
            }

            .group-avatar {
                background-color: rgb(189, 189, 189);
                border-radius: 50%;
                width: 32px !important;
                height: 32px !important;
                margin: 0px 15px;
                margin-top: -10px;
                float: left;
                text-align: center;

                .group-icon {
                    color: rgb(31, 31, 31);
                    position: relative;
                    top: 3px;
                    font-size: 22px;
                }
            }

            .message-text {
                float: left;
                white-space: nowrap;

                img {
                    cursor: pointer;
                }

                .divide-line {
                    margin: 10px 0px;
                    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
                }
            }

            .answer-text {
                color: #24b880 !important;
                font-weight: bolder;
            }

            .wrong-ans {
                color: #b82424 !important;
            }

            .message-time {
                white-space: nowrap;
                color: gray;
                font-size: 10px;
                font-weight: 400;
                position: absolute;
                bottom: -14px;
                margin-left: -8px;
            }
        }

        .group-item {
            .message-content {
                background: #ddecff;

                .triangle {
                    border-color: transparent #ddecff transparent transparent;
                }
            }
        }

        .teacher-item {
            display: block;
            padding-right: 5%;
            text-align: right !important;
            position: relative;
            //border: 1px solid black;
            margin-bottom: 50px;

            .message-content {
                background: #ffecc2;
                padding: 0px 10px;
                position: relative;
                display: inline-block;
                border-radius: 4px;

                img {
                    cursor: pointer;
                }

                .link-item {
                    background-color: #fff;
                    margin-top: 10px;
                    text-align: left;
                    font-size: 14px;
                    line-height: 24px;
                    padding: 10px 24px;
                    font-weight: bolder;
                    border-radius: 4px;

                    &:hover {
                        color: @titleHover;
                        cursor: pointer;
                    }

                    .link-content {
                        position: relative;
                        white-space: nowrap;

                        li {
                            display: inline-block;
                            border: none;
                            padding: 0px !important;
                        }

                        .link-img {
                            border-radius: 2px;
                            position: relative;
                            top: 1px;
                            width: 80px;
                            padding: 0px;
                            border: none;
                            margin: 0px;
                            margin-right: 15px;
                        }

                        .link-text {
                            font-weight: lighter;
                            position: relative;
                            top: 1px;
                            color: #777777;

                            a {
                                text-decoration: none !important;

                                p {
                                    overflow: hidden;
                                    width: 90%;
                                    text-overflow: ellipsis;
                                    color: #777777;
                                }

                                .title {
                                    color: @titleHover;
                                    font-weight: bolder;
                                }
                            }
                        }
                    }
                }

                .user-name {
                    white-space: nowrap;
                    font-weight: bolder;
                    position: relative;
                    top: -25px;
                    right: -8px;
                }

                .triangle {
                    position: absolute;
                    right: -6px;
                    top: 5px;
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 5px 0 5px 8.7px;
                    border-color: transparent transparent transparent #ffecc2;
                }
            }

            .message-avatar {
                border-radius: 50%;
                float: right;
                width: 32px !important;
                height: 32px !important;
                margin: 0px 15px;
                margin-top: -10px;
            }

            .message-text {
                text-align: left;
                margin-top: -10px;
                margin-bottom: -5px;
                margin-left: 5px;
                margin-right: 5px;
                white-space: nowrap;

                .message-link {
                    cursor: pointer;
                    font-size: 14px;
                    font-weight: bolder;
                    color: @primary;

                    &:hover {
                        color: Darken(@primary, 10%);
                    }

                    .link-icon {
                        font-weight: bolder;
                        font-size: 20px;
                        position: relative;
                        right: 4px;
                        top: 2px;
                    }
                }
            }

            .message-time {
                white-space: nowrap;
                text-align: right;
                color: gray;
                font-size: 10px;
                font-weight: 400;
                position: relative;
                right: -8px;
                bottom: -20px;
            }
        }
    }
    //圖片檢視器
    .image-viewer {
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 10;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        overflow-y: scroll;
        overflow-x: hidden;
        text-align: center;

        img {
            max-width: 50%;
            margin: 5% auto;
            border: none;
        }
    }

    .close-icon {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 20px;
        color: white;
        cursor: pointer;
    }*/
    }

.hiteachNote-content img {
    border-radius: 4px;
    margin-right: 20px;
    border: 1px solid rgba(173, 173, 173, 0.233);
    width: 100%;
}

.hiteachNote-content .hiteachPPTarea {
    width: 100%;
    /*position: relative;*/
    height: 400px;
    margin-top: 10px;
    border: 1px solid red;
    /*border-radius: 4px;*/
}

.hiteachNote-content .dec {
    padding: 0px;
    height: 800px;
    overflow: hidden;
    position: relative;
}
.hiteachNote-content .dec li {
 list-style:none;
}

.hiteachNote-content .dec .message-filter {
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 9;
}

.hiteachNote-content .dec .message-filter li {
    border: none;
    padding: 0px;
    font-size: 32px;
}

.hiteachNote-content .dec .message-filter li:hover {
    cursor: pointer;
    color: #24b880;
}

.hiteachNote-content .dec .message-filter li .select-filter {
    color: #24b880;
}

.hiteachNote-content .message-area {
    overflow: scroll;
    height: 815px;
    padding: 50px 20px;
    padding-left: 10.8%;
}

.hiteachNote-content .message-area .message-item {
    white-space: nowrap;
    display: block;
    position: relative;
    padding-top: 10px;
    margin-bottom: 50px;
}

.hiteachNote-content .message-area .message-item .user-name {
    white-space: nowrap;
    font-weight: bolder;
    position: absolute;
    top: -12px;
    margin-left: -8px;
}

.hiteachNote-content .message-area .message-item .message-content {
    background: #d4ede1;
    padding: 10px;
    display: inline-block;
    border-radius: 4px;
}

.hiteachNote-content .message-area .message-item .message-content .messagetoPPT-tag {
    background-color: rgba(0, 0, 0, 0.1);
    white-space: initial;
    display: block;
    position: absolute;
    left: -10%;
    top: 2px;
    font-size: 14px;
    width: 10%;
    height: auto;
    padding: 3px 10px;
    border-radius: 4px;
}

.hiteachNote-content .message-area .message-item .message-content .messagetoPPT-tag:hover {
    cursor: pointer;
    color: #ffffff;
    background-color: #24b880;
}

.hiteachNote-content .message-area .message-item .message-content .triangle {
    position: absolute;
    top: 12px;
    margin-left: -16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 7.7px 5px 0;
    border-color: transparent #d4ede1 transparent transparent;
}

.hiteachNote-content .message-area .message-item .message-avatar {
    border-radius: 50%;
    float: left;
    width: 32px !important;
    height: 32px !important;
    margin: 0px 15px;
    margin-top: -10px;
}

.hiteachNote-content .message-area .message-item .group-avatar {
    background-color: #bdbdbd;
    border-radius: 50%;
    width: 32px !important;
    height: 32px !important;
    margin: 0px 15px;
    margin-top: -10px;
    float: left;
    text-align: center;
}

.hiteachNote-content .message-area .message-item .group-avatar .group-icon {
    color: #1f1f1f;
    position: relative;
    top: 3px;
    font-size: 22px;
}

.hiteachNote-content .message-area .message-item .message-text {
    float: left;
    white-space: nowrap;
}

.hiteachNote-content .message-area .message-item .message-text img {
    cursor: pointer;
}

.hiteachNote-content .message-area .message-item .message-text .divide-line {
    margin: 10px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.hiteachNote-content .message-area .message-item .answer-text {
    color: #24b880 !important;
    font-weight: bolder;
}

.hiteachNote-content .message-area .message-item .wrong-ans {
    color: #b82424 !important;
}

.hiteachNote-content .message-area .message-item .message-time {
    white-space: nowrap;
    color: gray;
    font-size: 10px;
    font-weight: 400;
    position: absolute;
    bottom: -14px;
    margin-left: -8px;
}

.hiteachNote-content .message-area .group-item .message-content {
    background: #ddecff;
}

.hiteachNote-content .message-area .group-item .message-content .triangle {
    border-color: transparent #ddecff transparent transparent;
}

.hiteachNote-content .message-area .teacher-item {
    display: block;
    padding-right: 5%;
    text-align: right !important;
    position: relative;
    margin-bottom: 50px;
}

.hiteachNote-content .message-area .teacher-item .message-content {
    background: #ffecc2;
    padding: 0px 10px;
    position: relative;
    display: inline-block;
    border-radius: 4px;
}

.hiteachNote-content .message-area .teacher-item .message-content img {
    cursor: pointer;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item {
    background-color: #fff;
    margin-top: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 24px;
    padding: 10px 24px;
    font-weight: bolder;
    border-radius: 4px;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item:hover {
    color: #03966a;
    cursor: pointer;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content {
    position: relative;
    white-space: nowrap;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content li {
    display: inline-block;
    border: none;
    padding: 0px !important;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content .link-img {
    border-radius: 2px;
    position: relative;
    top: 1px;
    width: 80px;
    padding: 0px;
    border: none;
    margin: 0px;
    margin-right: 15px;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content .link-text {
    font-weight: lighter;
    position: relative;
    top: 1px;
    color: #777777;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content .link-text a {
    text-decoration: none !important;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content .link-text a p {
    overflow: hidden;
    width: 90%;
    text-overflow: ellipsis;
    color: #777777;
}

.hiteachNote-content .message-area .teacher-item .message-content .link-item .link-content .link-text a .title {
    color: #03966a;
    font-weight: bolder;
}

.hiteachNote-content .message-area .teacher-item .message-content .user-name {
    white-space: nowrap;
    font-weight: bolder;
    position: relative;
    top: -25px;
    right: -8px;
}

.hiteachNote-content .message-area .teacher-item .message-content .triangle {
    position: absolute;
    right: -6px;
    top: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8.7px;
    border-color: transparent transparent transparent #ffecc2;
}

.hiteachNote-content .message-area .teacher-item .message-avatar {
    border-radius: 50%;
    float: right;
    width: 32px !important;
    height: 32px !important;
    margin: 0px 15px;
    margin-top: -10px;
}

.hiteachNote-content .message-area .teacher-item .message-text {
    text-align: left;
    margin-top: -10px;
    margin-bottom: -5px;
    margin-left: 5px;
    margin-right: 5px;
    white-space: nowrap;
}

.hiteachNote-content .message-area .teacher-item .message-text .message-link {
    cursor: pointer;
    font-size: 14px;
    font-weight: bolder;
    color: #24b880;
}

.hiteachNote-content .message-area .teacher-item .message-text .message-link:hover {
    color: #1c8d62;
}

.hiteachNote-content .message-area .teacher-item .message-text .message-link .link-icon {
    font-weight: bolder;
    font-size: 20px;
    position: relative;
    right: 4px;
    top: 2px;
}

.hiteachNote-content .message-area .teacher-item .message-time {
    white-space: nowrap;
    text-align: right;
    color: gray;
    font-size: 10px;
    font-weight: 400;
    position: relative;
    right: -8px;
    bottom: -20px;
}

.hiteachNote-content .image-viewer {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: center;
}

.hiteachNote-content .image-viewer img {
    max-width: 50%;
    margin: 5% auto;
    border: none;
}

.hiteachNote-content .close-icon {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}
    @media screen and (max-width: 1530px) {
        .messagetoPPT-tag {
            font-size: 10px !important;
        }
    }