body {
    margin: 0;
}

.logo-block {
    text-align: center;
    display: block;
    background-image: url('/Content/images/top-bg.svg');
    background-position: center center;
}

.content-width {
    padding: 10px 8px;
    height: calc(100% - 134px);
    overflow: auto;
    box-sizing: border-box;
    &::-webkit-scrollbar-thumb

{
    background-color: #0097e0;
    border-radius: 5px;
}

&::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 5px;
}

&::-webkit-scrollbar {
    max-width: 10px;
    max-height: 10px;
}

}


.cm-msg-text {
    background-color: #DAE3F4;
    padding: 12px 20px;
    border-radius: 16px;
    margin-left: 18px;
    position: relative;
    width: 100%;
    line-height: 180%;
}

    .cm-msg-text:before {
        display: block;
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 20px 12px 0;
        border-color: transparent #dae3f4 transparent transparent;
        position: absolute;
        left: -15px;
        top: 18px;
    }

.water-user {
    padding: 15px 0;
}

    .water-user > .user-text-block {
        max-width: 680px;
    }

.md.webchart {
    box-sizing: border-box;
    height: 100vh;
}

    .md.webchart > .in > .content .chat-msg.user {
        display: flex;
    }


.cm-msg-text ul {
    padding-left: 25px;
}

.cm-msg-text p {
    padding: 0 16px;
}

.webchart > .in > .header {
    /*  padding-bottom: 30px;*/
}

.ReplayTime {
    text-align: right;
    padding-top: 5px;
    padding-right: 5px;
}

.thumb {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    padding-right: 2px;
}

    .thumb .text {
        padding-right: 8px;
    }

    .thumb > .like {
        padding: 0 5px;
        display: flex;
    }

        .thumb > .like > label {
            cursor: pointer;
            padding-left: 5px;
        }

    .thumb > .dislike {
        padding: 0 5px;
        display: flex;
    }

        .thumb > .dislike > label {
            cursor: pointer;
            padding-left: 5px;
        }

.md.card-message {
    padding: 10px;
    position: relative;
}

    .md.card-message > .content {
        padding: 0 60px;
    }

        .md.card-message > .content > .in {
            max-width: 100%;
            overflow: auto;
            scroll-behavior: smooth;
        }

            .md.card-message > .content > .in > .list {
                display: flex;
                align-items: flex-start;
                justify-content: start;
                padding: 0;
                /* flex-wrap: wrap; */
                /* margin: 0 -8px; */
            }

                .md.card-message > .content > .in > .list > li {
                    /* margin: 6px; */
                    padding: 8px;
                    flex: 0 0 200px;
                    max-width: 200px;
                    box-sizing: border-box;
                    list-style-type: none;
                }

.md.webchart > .in > .content .chat-msg.self {
    justify-content: end;
}

    .md.webchart > .in > .content .chat-msg.self + .ReplayTime {
        padding-right: 70px;
    }

    .md.webchart > .in > .content .chat-msg.self .msg-avatar {
        order: 2;
        background-color: #0468af;
        border-radius: 50px;
        padding: 5px;
        margin-left: 20px;
        width: 36px;
        height: 36px;
    }

    .md.webchart > .in > .content .chat-msg.self > .cm-msg-text {
        background-color: #ecf3ff;
        width: 680px;
    }

        .md.webchart > .in > .content .chat-msg.self > .cm-msg-text:before {
            top: 10px;
            right: -12px;
            border-width: 12px 0 12px 20px;
            left: inherit;
            border-color: transparent transparent transparent #ecf3ff;
        }




.md.card-message > .content > .in > .list > li .div {
    /* padding: 6px; */
    box-sizing: border-box;
    /*background-color: #ffffff;*/
    border-radius: 16px;
    border: 1px solid #eeeeee;
    height: 100%;
    overflow: hidden;
}

    .md.card-message > .content > .in > .list > li .div .img {
        width: 100%;
        background: linear-gradient(to bottom, #32BFE1 0%, #005FAA 100%);
    }

    .md.card-message > .content > .in > .list > li .div .cata-list {
        background-color: #ffffff;
    }

@media screen and (max-width: 1366px) {
    .md.card-message > .content {
        padding: 0 0 0 80px;
    }
}

@media screen and (max-width: 768px) {
    .md.card-message > .content > .in > .list > li {
        flex: 0 0 200px;
        max-width: 200px;
    }

        .md.card-message > .content > .in > .list > li .div .img {
            /* width: 190px; */
        }
}

.md.card-message > .content > .in > .list > li .div .img span {
    display: block;
    padding-bottom: 70%;
    background-size: cover;
    background-size: auto;
    background-position: center center;
    background-repeat: no-repeat;
}

.md.card-message > .content > .in > .list > li .div .img img {
    display: none;
}

.cata-list {
}

.md.card-message > .content > .in > .list > li .div .title {
    text-align: center;
    font-size: 1.125em;
    padding: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 0;
}

    .md.card-message > .content > .in > .list > li .div .title a {
        color: #ffffff;
        font-weight: bold;
    }

.md.card-message > .content > .in > .list > li .div .func {
    padding: 8px 0;
    /* min-height: 194px;*/
    box-sizing: border-box;
    padding-bottom: 0;
    padding-top: 0;
}

 .md.card-message > .content > .in > .list > li .div .func li {
        padding: 10px 6px;  
    }

    .md.card-message > .content > .in > .list > li .div .func li + li {
        border-top: 1px dashed #158EAB;
        list-style-type: none;

        min-height: 25px;
    }

        .md.card-message > .content > .in > .list > li .div .func li.is-more {
            border-bottom: 0;
            background-color: #034F86;
            padding: 0;
            transition: 300ms;
        }

            .md.card-message > .content > .in > .list > li .div .func li.is-more:hover {
                background-color: #f8c03f;
            }

            .md.card-message > .content > .in > .list > li .div .func li.is-more a:hover {
                color: #000000;
            }

            .md.card-message > .content > .in > .list > li .div .func li.is-more ~ li {
                border-bottom: 0;
            }

            .md.card-message > .content > .in > .list > li .div .func li.is-more a {
                display: block;
                padding-left: 0;
                text-align: center;
                color: #ffffff;
                padding: 10px 12px;
            }


                .md.card-message > .content > .in > .list > li .div .func li.is-more a:after {
                    content: '';
                    display: block;
                    background-image: url('/Content/images/more-icon.svg');
                    background-color: #ffffff;
                    width: 16px;
                    height: 16px;
                    ;
                    border-radius: 50px;
                    background-repeat: no-repeat;
                    background-position: center center;
                    position: absolute;
                    right: 48px;
                    top: 14px;
                }


                .md.card-message > .content > .in > .list > li .div .func li.is-more a:hover,
                .md.card-message > .content > .in > .list > li .div .func li.is-more a:focus {
                    background-image: url("/Content/images/cy-bot-img/more-list-w.svg");
                }

        .md.card-message > .content > .in > .list > li .div .func li.is-hide {
            display: none;
        }

            .md.card-message > .content > .in > .list > li .div .func li.is-hide ~ li {
                border-bottom: 1px dashed #D8D1D1;
            }

                .md.card-message > .content > .in > .list > li .div .func li.is-hide ~ li:last-child {
                    border-bottom: 0;
                }

        .md.card-message > .content > .in > .list > li .div .func li.is-more a::before {
            display: none;
        }

    .md.card-message > .content > .in > .list > li .div .func a {
        display: block;
        /*padding-left: 24px;*/
        line-height: initial;
        color: #3D3D3D;
        position: relative;
        text-align: center;
    }

        .md.card-message > .content > .in > .list > li .div .func a::before {
        }

        .md.card-message > .content > .in > .list > li .div .func a:hover {
            color: #0466ae;
        }

.md.card-message .away {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
}

    .md.card-message .away li a {
        width: 40px;
        height: 40px;
        display: block;
        border-radius: 40px;
        border: 1px solid #eeeeee;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 16px;
        background-image: url("/Content/images/SVG/icon_arrow-left.svg");
        pointer-events: auto;
        background-color: #ffffff;
        transition: 300ms;
    }

        .md.card-message .away li a:hover {
            transform: translateX(-5px);
        }

    .md.card-message .away li.next a {
        background-image: url("/Content/images/SVG/icon_arrow-right.svg");
    }

        .md.card-message .away li.next a:hover {
            transform: translateX(5px);
        }

.md.card-message a {
    text-decoration: none;
}

.md.webchart .send-box {
    background-color: #ebebeb;
    display: flex;
    /*padding: 10px;*/
    border-top: 1px solid #d9d9d9;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    position: relative;
}



.md.slideup-box {
    bottom: 48px;
    position: absolute;
    width: 100%;
}

    .md.slideup-box .content {
        &::-webkit-scrollbar-thumb

{
    background-color: #003d5c;
    border-radius: 5px;
}

&::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 5px;
}

&::-webkit-scrollbar {
    max-width: 10px;
    max-height: 10px;
}

}

.md.slideup-box .toggle-aside {
    position: relative;
    top: 5px;
    right: 10px;
    background-color: #072033;
    border-radius: 5px;
}

.md.slideup-box .caption {
    font-size: 1.15rem;
    background-color: #034f86;
    color: #ffffff;
    padding: 10px;
    padding-right: 56px;
}

.md.slideup-box .toggle-aside a {
    display: block;
    width: 28px;
    height: 28px;
    background-image: url("/Content/images/icon_cancel.svg");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    font-size: 0;
    /*filter: brightness(100);*/
    background-color: #f8c03f;
    position: absolute;
    right: 0;
    top: 5px;
    border-radius: 50px;
}

.md.slideup-box.content {
}

.md.slideup-box > .content {
    padding: 8px;
    background-color: #f7f7f7;
    height: 22vh;
    /*max-height: 200px;*/
    box-sizing: border-box;
    overflow-y: auto;
    /*padding-bottom: 20px;*/
}

    .md.slideup-box > .content ul {
        padding: 0;
        margin: 0;
    }


        .md.slideup-box > .content ul li {
            list-style-type: none;
            padding: 6px 5px;
            &:last-child

{
    padding-bottom: 15px;
}

}



.md.slideup-box > .content ul li + li {
}


.md.slideup-box > .content ul li button {
    position: relative;
}

    .md.slideup-box > .content ul li button:before {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        background-color: #034F86;
        border-radius: 50px;
        position: absolute;
        top: 19px;
        left: 15px;
    }


    .md.slideup-box > .content ul li button.is-outline {
        border: 0;
        border-radius: 0;
        width: 100%;
        padding: 10px 12px 10px 30px;
        line-height: 1.5;
        background-color: #ffffff;
        color: #3D3D3D;
        text-align: left;
        position: relative;
        transition: 150ms;
        display: block;
        font-size: 1.01em;
        cursor: pointer;
        font-weight: bold;
        transition: 300ms;
        border-radius: 50px;
    }


        .md.slideup-box > .content ul li button.is-outline:hover {
            background-color: #ebf7ff;
        }

.md.webchart .send-box {
    /* background-color: #f7faff;*/
}

    .md.webchart .send-box .minor-tab {
    }

    .md.webchart .send-box select {
    }

.send-box .minor-tab {
}

.send-box .ai-model {
    padding: 0 3px;
}


    .send-box .ai-model select {
        margin: 0 5px;
        border-radius: 5px;
        height: 37px;
        border: 1px solid #d9d9d9;
    }

.send-box .minor-tab ul {
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 8px;
}

    .send-box .minor-tab ul li {
        list-style-type: none;
        padding: 0 3px;
    }

        .send-box .minor-tab ul li.is-active a {
            background-color: #d6effb;
        }

        .send-box .minor-tab ul li a {
            padding: 5px 8px;
            border: 1px solid #c7c7c7;
            display: block;
            border-radius: 8px;
            text-decoration: none;
            background-color: #f9f9f9;
            color: #000000;
            transition: 300ms;
        }

            .send-box .minor-tab ul li a:hover {
                background-color: #034f86;
                color: #ffffff;
            }

.chat-upload-block {
    vertical-align: middle;
    background-color: #034f86;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    padding: 0;
    background-image: url(/Content/images/nav-28.svg);
    background-position: center;
    background-size: 18px;
    border: none;
    background-repeat: no-repeat;
    margin-left: 5px;
    font-size: 0;
    cursor: pointer;
    margin-top: 3px;
}

.send-box .speech-block button {
    vertical-align: middle;
    background-color: #01243d;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    padding: 0;
    background-image: url(/Content/images/nav-mic.svg);
    background-position: center;
    background-size: 30px;
    border: none;
    background-repeat: no-repeat;
    margin-left: 3px;
    margin-right: 3px;
    font-size: 0;
    cursor: pointer;
    margin-top: 3px;
}

.send-box > .enter-block {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 0;
}

    .send-box > .enter-block .input {
        width: 95%;
        vertical-align: middle;
        border-radius: 8px;
        border: 1px solid #dddddd;
        padding: 8px 6px 6px;
        height: 40px;
        white-space: nowrap;
    }


    .send-box > .enter-block .is-send {
        vertical-align: middle;
        background-color: #034f86;
        width: 36px;
        height: 36px;
        border-radius: 5px;
        padding: 0;
        background-image: url('/Content/images/submit-btn.svg');
        background-position: center;
        background-size: 24px;
        border: none;
        background-repeat: no-repeat;
        margin-left: 5px;
        font-size: 0;
        cursor: pointer;
        margin-top: 3px;
        margin-left: 3px;
        padding: 12px;
    }

.send-box > .popular-btn {
    padding: 0 5px;
}

    .send-box > .popular-btn > .is-square {
        border: 0;
        background-color: #B8082C;
        width: 100px;
        color: #ffffff;
        padding: 8px;
        border-radius: 5px;
        height: 38px;
    }


.consult-type {
    width: 42%;
    padding-top: 40px;
    padding-left: 100px;
    padding-bottom: 15px;
}

    .consult-type .autoreply-list {
        padding: 16px;
        background-color: #ffffff;
        border: 1px solid #dddddd;
        border-radius: 16px;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    }

        .consult-type .autoreply-list .autoreply-title {
            padding: 8px;
            font-size: 1.2em;
            color: #001b31;
            border-bottom: 1px solid #034F86;
            font-weight: bold;
        }

        .consult-type .autoreply-list ul {
            padding-left: 0;
            margin-bottom: 0;
        }

            .consult-type .autoreply-list ul li {
                list-style-type: none;
                border-bottom: 1px dotted #dddddd;
            }

                .consult-type .autoreply-list ul li .btn {
                    border: none;
                    background-color: transparent;
                    font-size: 1em;
                    position: relative;
                    display: block;
                    width: 100%;
                    text-align: left;
                    padding: 12px 0 12px 25px;
                    cursor: pointer;
                }

                    .consult-type .autoreply-list ul li .btn:hover {
                        background-color: #f5f5f5;
                        color: #034f86;
                    }

                    .consult-type .autoreply-list ul li .btn:before {
                        content: '';
                        display: block;
                        width: 6px;
                        height: 6px;
                        background-color: #034F86;
                        border-radius: 50px;
                        position: absolute;
                        top: 23px;
                        left: 10px;
                    }

                .consult-type .autoreply-list ul li.expand {
                    text-align: center;
                    border-bottom: none;
                }

                    .consult-type .autoreply-list ul li.expand .expand-btn {
                        border: 0;
                        border-radius: 8px;
                        background-color: #034F86;
                        margin: 16px auto;
                        padding: 8px;
                        width: 200px;
                        max-width: 100%;
                        color: #ffffff;
                        cursor: pointer;
                        transition: 150ms;
                        margin-bottom: 0;
                        transition: 300ms;
                        font-size: 1.01em;
                    }

                        .consult-type .autoreply-list ul li.expand .expand-btn:hover {
                            background-color: #02375d;
                        }

.chat-upload-block {
    display: none;
}

    .chat-upload-block label .is-upload {
        width: 36px;
        height: 36px;
        border-radius: 5px;
        padding: 0;
        background-image: url('/Content/images/nav-04.svg');
        background-position: center;
        background-size: 18px;
        background-repeat: no-repeat;
        border: none;
        background-color: #034f86;
        font-size: 0;
    }

.md.webchart form {
    margin: 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}

.md.minor-tab {
    background-color: #d3d3d3;
    padding: 2px;
    box-sizing: border-box;
}


.cm-msg-text .suggested-questions{
    margin: 0;
padding-left: 12px;
}

.cm-msg-text .suggested-questions li{
    list-style-type: none;
    padding:8px;
}


.cm-msg-text .suggested-questions li + li{
 border-top: 1px dotted #959595;
}


.cm-msg-text .suggested-questions li .question-link{
   text-decoration: none;
    color: #0468af;
    transition: 300ms;
    position: relative;
    padding-left: 10px;
}

.cm-msg-text .suggested-questions li .question-link::after{
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #0468af;
    position: absolute;
    top: 6px;
}


.cm-msg-text .suggested-questions li .question-link:hover{
    color: #033b63;
}


@media only screen and (max-width: 768px) {
    .consult-type {
        width: 100%;
        padding-left: 0;
        padding-top: 0px;
    }

    .md.webchart > .in > .content .chat-msg.user .cm-msg-text {
        min-width: auto;
    }

    .md.webchart .send-box {
        padding: 8px;
    }

        .md.webchart .send-box .minor-tab {
            display: none;
        }

    .thumb {
        flex-direction: column;
        text-align: left;
    }

        .thumb > .like {
            padding: 5px 0;
        }

        .thumb > .dislike {
            padding: 5px 0;
        }
}


/*以下是後臺樣式*/

.g.popuper-in{
    width: 60%!important;
}

.g.layer-02 > div{
    width: 100%!important;
}

.select2-container{
    width: 60% !important;
}