/**    智能机器人    **/
html, body {
    width: 100%;
    height: 100%;
    background: url("../assets/robot/page-bg.png") no-repeat top center / cover;
}
.chat-page {
    position: relative;
    z-index: 1;
    font-size: 14px;
    width: 100%;
    height: 100%;
    min-height: 640px;

    padding: 0 2.1% 111px 8.8%;
    box-sizing: border-box;
}

.chat-left-bar,
.chat-right-bar {
    position: absolute;
}

.chat-left-bar {
    width: 23.64%;
    left: 8.75%;
    bottom: 111px;
}
.chat-left-bar p {
    display: inline-block;
    padding: 40px 32px;
    box-sizing: content-box;
    font-size: 20px;
    color: #fff;

    background: rgba(255,255,255,0.10);
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 24px;
}
.chat-left-bar img {
    width: 40.88%;
    margin-top: 16px;
    float: right;
}

.chat-right-bar {
    right: 2.1%;
    width: 62.5%;
    height: 100%;
    min-height: 640px;
    margin: 0 auto;
    padding-top: 133px;
    padding-bottom: 110px;
    box-sizing: border-box;
}
/******  对话模块标题 S  *****/
    .chat-right-bar .chat-right-title {
        margin: -133px 0 2.2%;
        padding-top: 40px;
        color: #fff;
    }

    .chat-right-title img {
        height: 68px;
    }
    .chat-right-title p {
        float: right;
        line-height: 66px;
    }
/******  对话模块标题 E  *****/

/******  对话列表 S  ******/
    .chat-box {
        background: #EAF1FF;
        border: 4px solid rgba(255,255,255,1);
        box-shadow: 0 16px 32px 0 rgba(0,0,0,0.1);
        border-radius: 16px;

        position: relative;
        height: 100%;
        padding-bottom: 140px;
        box-sizing: border-box;
    }

    .chat-list {
        font-size: 16px;
        height: 100%;
        padding: 36px 26px 16px 26px;
        box-sizing: border-box;
        overflow-y: scroll;
    }

    .chat-list .chat-list-item {
        position: relative;
        margin-bottom: 20px;
    }
    .chat-list .chat-list-item .chat-list-avatar{
        width: 66px;
        max-width: 66px;
        min-height: 66px;
        position: absolute;
        top: 0;
        background: url("../assets/robot/icon-robot-avatar.png") no-repeat center top / 100% auto;
    }
    .chat-list .chat-list-item-left {
        padding-left: 82px;
        color: #222;
    }
    .chat-list .chat-list-item-left .chat-list-avatar {
        left: 0;
    }

    .chat-list-item .chat-msg {
        line-height: 24px;
        max-width: 600px;
        margin-bottom: 24px;
    }
    .chat-list-item .chat-msg:last-child {
        margin-bottom: 0;
    }

    .chat-msg {
        display: inline-block;
        min-height: 66px;
        padding: 20px;
        line-height: 66px;
        box-sizing: border-box;
        border-radius: 10px 16px 16px 16px;
    }

    .chat-msg .highlight {
        color: #1D81EB;
    }

    /****** 提问有结果 S *****/
    .chat-msg .chat-msg-title {
        font-weight: bold;
        padding-bottom: 23px;
        border-bottom: 1px solid #EDEDED;
    }

    .chat-msg .chat-search-list li{
        margin-top: 20px;
        position: relative;
        padding-left: 10px;
    }
    .chat-msg .chat-search-list li:before{
        display: block;
        position: absolute;
        content: ' ';
        left: 0;
        top: 10px;
        width: 2px;
        height: 2px;
        border-radius: 2px;
        background: #407FF3;


    }
    /****** 提问有结果 E *****/

    .chat-list-item-left .chat-msg{
        background: #fff;
    }
    .chat-list-item-left .chat-msg.mt-16{
        margin-top: -16px;
    }

    .chat-msg-list .chat-guide-list {
        width:100%;
        padding: 0;
        background:transparent;
        display: block;
    }
    .chat-msg-list .chat-guide-list li {
        display: block;
        width: 138px;
        margin-right: 16px;
        margin-bottom: 16px;
        padding: 20px;
        box-sizing: border-box;

        float: left;
        border-radius: 16px;

        background: #fff;
        text-align: center;
    }
    .chat-msg-list .chat-guide-list li:nth-child(4n) {
        margin-right: 0;
    }
    .chat-guide-list li img {
        display: block;
        margin:  0 auto 10px;
        max-width: 100%;
        max-height: 100%;
    }

    /*****  问提  右侧消息 S *****/
    .chat-list .chat-list-item-right {
        text-align: right;
        padding-right: 82px;
    }
    .chat-list .chat-list-item-right .chat-msg{
        color: #fff;
        background: #4d95fa;
        margin-bottom: 0;
    }
    .chat-list .chat-list-item-right .chat-user-avatar{
        right: 0;
        background-image: url("../assets/robot/icon-user-avatar.png");
    }
    /*****  问提  右侧消息 E *****/

/******  对话列表 E  ******/

/******  问题输入区域 S  ******/
    .chat-question-box {
        background: #fff;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 140px;
        padding: 24px 26px 18px 26px;
        box-sizing: border-box;
    }

    .chat-question-box .chat-real-time-search-list {
        position: absolute;
        bottom: 144px;
        border: 1px solid #ddd;
        padding: 0 10px;
        background: #fff;
        max-width: 80%;
    }
    .chat-real-time-search-list li {
        margin: 10px 0;
    }

    .chat-question-box textarea{
        width: 100%;
        height: 46px;
        box-sizing: border-box;
        margin-bottom: 12px;
        font-size: 16px;
        color: #222;

        resize: none;
        border: none;
        outline:none;
        appearance: none;
    }
    .chat-question-box .chat-submit-btn {
        width: 96px;
        height: 40px;
        line-height: 22px;
        background: #2861C9;;
        border-radius: 20px;

        color: #fff;
        font-size: 16px;
        text-align: center;

        float: right
    }
/******  问题输入区域 E  ******/


/******  页脚 S ******/
    .footer {
        position: absolute;
        z-index: 10;
        width: auto;
        bottom: 0;
        left: 0;
        height: 111px;
        background: none;
        padding: 30px 0 0 0;
        box-sizing: border-box;
    }
/******  页脚 E ******/


/******  超出省略 S  ******/
    .over-ellipsis {
        overflow: hidden;
        text-overflow: ellipsis;
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:1;
        word-break: break-all;
        word-wrap: break-word;
    }
/******  超出省略 E  ******/

/******  美化滚动条 S ******/
    ::-webkit-scrollbar {
        width: 7px;
        height: 8px;
        border-radius: 10px;
        background-color: #aaa; /* or add it to the track */
    }
    ::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        box-shadow   : inset 0 0 7px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        background   : #aaa;
    }
    ::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        box-shadow   : inset 0 0 7px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        background   : #ededed;
    }
/******  美化滚动条 E ******/

