/**重置标签默认样式*/
html,
body,
p,
ul,
li,
img,
h1,
h2,
h3,
h4,
pre {
    margin: 0;
    padding: 0;
    border: 0;

}

html,
body,
button,
input,
textarea,
pre {
    font-family: "Helvetica Neue", Helvetica, "Microsoft Yahei", Arial, sans-serif
}

html,
body {
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
}

body {
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-weight: normal
}

ul {
    list-style: none
}

a {
    text-decoration: none
}

img {
    border: none
}

embed {
    width: 100%;
}

* {
    scrollbar-face-color: #bbb;
    scrollbar-arrow-color: #bbb;
    scrollbar-3dlight-color: #c0c0c0;
    scrollbar-highlight-color: #bbb;
    scrollbar-shadow-color: #bbb;
    scrollbar-darkshadow-color: #c0c0c0;
    scrollbar-track-color: #eee;
}

pre {
    border: 0;
    background: 0;
    white-space: pre-line;
    display: block;
    width: 100%
}

pre a {
    display: block;
    max-width: 98%;
}

::-webkit-scrollbar {
    display: none;
}

::-webkit-resizer {
    background-repeat: no-repeat;
    background-position: bottom right;
}

* {
    -webkit-overflow-scrolling: touch;
}




/* .outer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    float: right;
    width: 80%;
    position: relative;
    right: 40px;
    font-size: 14px;
    margin-bottom: 20px;
}

.outer-left {
    float: left;
    position: relative;
    left: 40px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    max-width: 80%;
    align-items: flex-start;
} */

.outer-iframe-left {
    float: left;
    position: relative;
    clear: both;
    padding-top: 5px;
}


.outer-right:before,
.outer-right>i {
    width: 0;
    height: 1px;
    border-width: 6px 7px;
    border-style: dashed solid dashed solid;
    /*border-color: #66afe9 transparent transparent;*/
    border-color: transparent transparent transparent #5FB878;
    _border-color: #fff #19CAA6 #fff #eee;
    font-size: 0;
    line-height: 0;
    content: "";
    position: absolute;
    top: 15px;
    right: -12px;
}

.outer-left:before,
.outer-left>i {
    width: 0;
    height: 1px;
    border-width: 6px 7px;
    border-style: dashed solid dashed solid;
    border-color: transparent #eee transparent transparent;
    _border-color: #fff #fff #fff #eee;
    font-size: 0;
    line-height: 0;
    content: "";
    position: absolute;
    top: 15px;
    left: -12px;
    left: -11px \9;
    *left: -11px;

}

.outer-right>.msg_body {
    /* display: flex;
    flex-direction: column;
    align-items: end; */
}

.customer {
    /* margin-right: 10px;*/
    /* margin-top: 5px;
    background-color: #5FB878;
    display: inline-block;
    padding: 10px 10px;
    float: right;
    word-break: break-all;
    word-wrap: break-word;
    color: #fff;
    ;
    border-radius: 3px;
    max-width: 100%;
    box-sizing: border-box; */
}

.customer .mp4-body {
    position: relative;
    width: 260px;
    height: 150px;
    z-index: 1;
    overflow: hidden;
}

.customer .chat-mp4 {
    position: absolute;
    width: 100%;
    outline: none;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -9999999;
}

.service {
    /* margin-top: 5px;
    *margin-top: 10px;
    background-color: #eee;
    display: inline-block;
    padding: 10px 10px;
    float: left;
    word-break: break-all;
    word-wrap: break-word;
    color: #000;
    border-radius: 3px;
    position: relative;
    left: 0px;
    max-width: 100%; */
}

.service video {
    max-width: 100%;
}

.chatmsg,
.chatmsg_no {
    /* margin-bottom: 20px;
    position: relative;
    height: auto; */
}

.chatmsg_no {
    overflow: hidden;
}

.chatmsg_no .service img {
    max-width: 100%;
}

.chatmsg_notice {
    position: relative;
    margin-bottom: 80px;
}

.chatmsg img {
    max-width: 100%;
    max-height: 100px;
    cursor: pointer;
}

.wolive_img img {
    width: 100%;
    max-height: none;
}

/* .chatmsg:after,
.chatmsg p {
    content: "";
    display: table;
    width: 100%;
    clear: both;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
} */


.service-name {
    float: left;
    display: block;
    position: relative;
    font-size: 12px;
    color: #8D8D8D;
}

.showtime {
    /* color: #D2D2D2;
    position: relative;
    margin-bottom: 10px;
    font-size: 12px;
    text-align: center;
    height: 15px; */
}

/* .header {
    width: 100%;
    height: 65px;

    backdrop-filter: blur(20px);
    padding: 0;

    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: #1E9FFF;
    color: #fff;
    font-size: 15px;
    text-align: center;
} */

/* .foot_all {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: auto;

} */


.foot_msg {
    width: 100%;
    height: 100%;
    /* overflow: auto; */

}

.msg-toolbar {
    width: 100%;
    height: 40px;
    position: relative;
    top: 8px;
}

.footer {

    position: relative;
    width: 100%;
    height: auto;
    min-height: 5px;
    overflow-y: auto;
    border-bottom: 1px dashed #fff;
    border-image: linear-gradient(to left, #fff 50%, transparent 50%) 1 0 0 100%;
    border-image-slice: 100% 0;
    border-image-source: linear-gradient(to right, #fff 30%, transparent 50%);
}

.footer span {
    display: inline-block;
    width: 16%;
    height: 70%;
    background: #ccc;
    font-size: 22px;
    line-height: 38px;
    cursor: pointer;
    text-align: center;
    position: absolute;
    bottom: 14%;
    right: 2%;
    border-radius: 6px;
}

.footer span:hover {
    color: #fff;
    background: #999;
}

.conversation {
    list-style: none;
    padding: 0 10px;

}

.msg-toolbar a {
    float: left;
    margin: 6px;
}

.wl_faces_main ul {
    /* margin: 5px 5px;
    overflow: hidden;
    width: 100%; */
}

.wl_faces_main ul li {
    /* float: left;
    height: 30px;
    width: 26px;
    text-align: center; */

}

.wl_faces_main ul li img {
    /* width: 22px;
    height: 22px;
    padding: 0px; */
}

.edit-ipt {
    border: 2px solid #ddd;
    width: 78%;
    outline: none;
    text-indent: 10px;
    border-radius: 6px;
    margin-left: 5px;
    background-color: #fff;
    padding-top: 6px;
}

.question {
    width: 100%;
    cursor: pointer;
    width: 220px;
    color: #13c9cb;
    margin-top: 10px;
}


.wolive_product {
    display: block;
    width: 480px;
    height: 100%;
    position: relative;
    min-width: 170px;
}

.wolive_img {
    width: 100%;
}

.wolive_price {
    margin-top: 8px;
    color: red;
}

.wolive_info {
    display: -webkit-box !important;
    margin-top: 8px;
}

.wolive_head {
    padding-top: 10px;
}




/* ========================================================================== */


/* 手机 */
@media only screen and (max-width: 767px) {

    #container {
        height: 100vh;
        height: 100dvh;
        width: 100%;
        border-radius: 0;
        margin: 0;
    }

    /* 不显示右侧栏 */
    .side_panel {
        display: none;
    }

    .main.hide-side .chat {
        margin-right: 0px;
    }

    .toggle_btn {
        display: none;
    }

    #text_in {
        height: 48px;
        /* 1 行高度 */
        max-height: 96px;
        /* 最大 4 行 */
    }

    .input-tip {
        display: none;
    }

    /* 顶部返回图标 */
    .back-btn{
        display: flex;
    }

    /* 头像 */
    .chatmsg.left img.my-circle {
        width: 35px;
        height: 35px;
    }

    .chatmsg.right img.my-circle {
        width: 35px;
        height: 35px;
    }

    /* 底部输入框阴影 */
    .foot_all {
        /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05), 0 -1px 2px rgba(0, 0, 0, 0.04); */
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08), 0 -2px 6px rgba(0, 0, 0, 0.06);
    }

    /* 广告：关于我们 最大高度 */
    .about-box{
        max-height:200px;
        overflow-y:auto;
    }
}

/* 平板 */
@media (min-width: 768px) and (max-width: 1024px) {

    #container {
        height: calc(100vh - 100px);
        width: 80%;
        max-width: 850px;
        margin: 50px auto;
        border-radius: 16px;
    }

    /* 不显示右侧栏 */
    .side_panel {
        display: none;
    }

    .main.hide-side .chat {
        margin-right: 0px;
    }

    .toggle_btn {
        display: none;
    }

    #text_in {
        /* 最大3行高度 */
        height: 80px;
    }

    .input-tip {
        display: none;
    }

    /* 顶部返回图标 */
    .back-btn{
        display: block;
    }

    /* 头像 */
    .chatmsg.left img.my-circle {
        width: 45px;
        height: 45px;
    }

    .chatmsg.right img.my-circle {
        width: 45px;
        height: 45px;
    }

    /* 底部输入框阴影 */
    .foot_all {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05), 0 -1px 2px rgba(0, 0, 0, 0.04);
    }

    /* 广告：关于我们 最大高度 */
    .about-box{
        max-height:200px;
        overflow-y:auto;
    }
}

/* PC */
@media (min-width: 1025px) {

    #container {
        height: calc(100vh - 100px);
        width: 850px;
        margin: 50px auto;
        border-radius: 20px;
    }

    .main.hide-side .chat {
        margin-right: -300px;
    }

    .toggle_btn {
        display: flex;
    }

    #text_in {
        /* 最大3行高度 */
        height: 80px;
    }

    .input-tip {
        display: block;
    }

    /* 顶部返回图标 */
    .back-btn{
        display: none;
    }

    /* 头像 */
    .chatmsg.left img.my-circle {
        width: 45px;
        height: 45px;
    }

    .chatmsg.right img.my-circle {
        width: 45px;
        height: 45px;
    }

    /* 底部输入框阴影 */
    .foot_all {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05), 0 -1px 2px rgba(0, 0, 0, 0.04);
        /* box-shadow: 0 -6px 20px rgba(0,0,0,0.08), 0 -2px 6px rgba(0,0,0,0.06); */
    }

    /* 广告：关于我们 最大高度 */
    .about-box{
        max-height:360px;
        overflow-y:auto;
    }

    /* PC端关闭广告弹窗 */
    #msg-bg-4{
        display:none !important;
    }
}

#container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 聊天窗顶部栏 */
.header {
    width:100%;
    height:65px;
    display:flex;
    align-items:center;
    background:#1E9FFF;
    color:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,0.10),0 2px 4px rgba(0,0,0,0.08);
    z-index: 1;
}

.infoBar{
    display:flex;
    align-items:center;
    width:100%;
    padding:0 8px;
    gap:8px;
}

.back-btn{
    /* display:flex; */
    align-items:center;
    justify-content:center;
    color:#fff;
}

.back-btn .iconfont{
    font-size:22px;
}

/* 头像容器 */
.avatar-box {
    position: relative;
    width: 40px;
    height: 40px;
}

/* 原头像 */
.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* 状态点 */
.status-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #fff;
}

/* 在线 */
.status-dot.is-online {
    background-color: #4CAF50;
}

/* 离线 */
.status-dot.is-offline {
    background-color: #ccc;
}

/* AI接待 - 多色渐变：紫蓝渐变 */
.status-dot.is-waiting {
    background: linear-gradient(135deg, #8e44ad, #3498db);
}

.service-info{
    display:flex;
    flex-direction:column;
    line-height:1;
}

#services{
    font-size:16px;
}

.sub-text{
    font-size:12px;
    margin-top:4px;
    opacity:0.9;
}

/* 顶部栏右侧图标 */
.headToolbar{
    margin-left:auto;
    margin-right: 5px;
    display:flex;
    align-items:center;
    gap:12px;
}
/* ============================== */

.main {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
}

/* chat 左侧聊天区 */
.chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 右侧 1/3 面板 */
.side_panel {
    width: 300px;
    border-left: 1px solid #eee;
    background: #f7f7f7;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.main.hide-side .side_panel {
    transform: translateX(100%);
}

.toggle_btn{
    position: absolute;
    right: 300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 16px;
    height: 50px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle_btn:hover{
    background: rgba(0,0,0,0.6);
}

.main.hide-side .toggle_btn {
    right: 0;
}

.chat {
    transition: margin-right 0.3s ease;
}

/* .main.hide-side .chat {
    margin-right: -300px;
} */

/* 中间消息对话容器 */
.content {
    flex: 1;
    overflow-y: auto;
    /* background: #eee; */
    background: linear-gradient(to bottom, #f5f5f5, #eaeaea);
}

.conversation {
    list-style: none;
    padding: 20px 10px;
}

/* ==========消息对话开始========= */
/* 聊天条目 */
.chatmsg,
.chatmsg_no {
    margin-bottom: 20px;
    position: relative;
    height: auto;
    display: flex;
    align-items: flex-start;
}

/* 客服消息左侧 */
.chatmsg.left {
    flex-direction: row;
}

/* 访客消息右侧 */
.chatmsg.right {
    flex-direction: row-reverse;
}

/* 头像 */
.chatmsg img.my-circle {
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    /* 轻微浮起 */
}

.chatmsg.left img.my-circle {
    /* width: 35px;
    height: 35px; */
}

.chatmsg.right img.my-circle {
    /* width: 35px;
    height: 35px; */
}

/* 客服消息外层 */
.outer-left {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    max-width: 70%;
    align-items: flex-start;
    margin-left: 10px;
}

/* 客服气泡 */
.service,
.service2 {
    /* background-color: #fff; */
    background-color: #fafafa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* box-shadow: 0 1px 3px rgba(0,0,0,0.08); */
    display: inline-block;
    padding: 12px;
    float: left;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    border-radius: 8px;
    border-top-left-radius: 0;
}

/* 系统消息气泡 */
.service2 {
    background-color: #f5f5f5;
    color: #999;
}

/* 访客消息外层 */
.outer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* 对齐右侧 */
    max-width: 70%;
    font-size: 14px;
    margin-right: 10px;
}

/* 消息体 */
.msg_body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 消息时间 */
.msg_time {
    color: #aca7a7;
    font-size: 14px;
    margin-bottom: 2px;
}

/* 访客气泡 */
.customer {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    /* box-shadow: 0 2px 6px rgba(0,0,0,0.12); */
    display: inline-block;
    padding: 12px;
    word-break: break-all;
    word-wrap: break-word;
    color: #fff;
    border-radius: 8px;
    border-top-right-radius: 0;
    box-sizing: border-box;
}

.bubble-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右对齐（访客消息） */
}

/* 已读/未读状态，消息下方右对齐 */
.read-status {
    font-size: 10px;
    color: #aca7a7;
    margin-top: 2px;
    align-self: flex-end;
    /* 右下角对齐 */
}

/* 反诈，转人工，系统小字提示 */
.showtime {
    font-size: 12px;
    color: #D2D2D2;
    text-align: center;
    margin: 10px 0;
}

/* 新消息初始状态：从底部透明位移 */
.chatmsg.new-msg {
    opacity: 0;
    transform: translateY(30px);
    /* 从底部开始 */
    transition: all 0.3s ease-out;
    /* 动画时间和缓动 */
}

/* 动画结束状态 */
.chatmsg.new-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========消息对话结束========= */

/* 底部输入框部分 */
.foot_all {
    flex-shrink: 0;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background-color: #f1f5f8;
}

.foot_top_bar {
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone_box {
    width: 160px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone_box input {
    flex: 1;
    height: 32px;
    padding: 0 10px;
}

.hotQuestion {
    flex: 1;
    white-space: nowrap;
    overflow-x: auto;
}


.foot_msg {
    display: flex;
    /* align-items: flex-end; */
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
    border-top: 1px solid #eee;
}

.input-tip {
    max-width: 700px;
    width: 100%;
    margin: 10px auto;
    font-size: 14px;
    color: #9aa0a6;
    line-height: 18px;
    user-select: none;
}

.text_container {
    flex: 1;
    position: relative;
    display: flex;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background: linear-gradient(145deg, #ffffff, #f1f3f5);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 4px 8px;
    transition: all 0.25s ease;
}

.text_container>.icon-chakantiezimaikefeng,
.text_container>.icon-weixinbiaoqing,
.text_container .icon-tianjia {
    font-size: 30px;
    margin: 0 5px;
}

#text_in {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 12px;
    font-size: 14px;
    line-height: 24px;
    resize: none;
    overflow-y: auto;
    background: transparent;
    box-sizing: border-box;
}

.textarea_wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 44px;
}

/* 左下角按钮定位 */
.left-tools {
    position: absolute;
    left: 12px;
    bottom: 10px;
    display: flex;
    gap: 8px;
}

.left-tools .iconfont {
    font-size: 30px;
}

/* 表情按钮增加蓝色状态 */
.icon-weixinbiaoqing.emoji-active {
    color: #1E9FFF;
}

/* 更多按钮增加蓝色状态 */
.icon-tianjia.tool-active {
    color: #1E9FFF;
}

/* 语音按钮增加蓝色状态 */
.icon-chakantiezimaikefeng.voice-active {
    color: #1E9FFF;
}

/* 右下角按钮定位 */
.right-tools{
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: flex;
    gap: 8px;
}

.btn-showtool{
    display:flex;
    align-items:center;
}

/* 发送按钮============ */
#sendBtn {
    right: 12px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    height: 34px;
    border: none;
    border-radius: 18px;
    background: #1E9FFF;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

/* 点击时微下压 */
#sendBtn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 禁用状态 */
#sendBtn.disabled {
    background: #cfd8dc;
    cursor: not-allowed;
}

#sendBtn i {
    font-size: 16px;
}

.toolbar-box {
    display: none;
    padding: 10px;
    border-top: 1px solid #eee;
}

/* 底部版权模块 */
.footContact {
    text-align: center;
    padding: 6px 10px 10px;
    font-size: 12px;
    color: #9aa4af;
    line-height: 1.4;
}

.footContact a {
    color: #9aa4af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footContact a:hover {
    color: #1E9FFF;
}

.wl_faces_main {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    max-height: 200px;
    overflow-y: auto;
}

.wl_faces_main ul {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    padding: 10px;
    justify-items: center;
    align-items: center;
}

.wl_faces_main li {
    list-style: none;
}

.wl_faces_main img {
    width: 28px;
    height: 28px;
}


/* 录音 */
.voice_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

#voiceTip {
    font-size: 18px;
    color: #fff;
    user-select: none;
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(120deg, #00f2ff, #4facfe, #7b61ff, #ff00cc, #00f2ff);
    background-size: 400% 400%;
    animation: aiFlow 10s ease infinite;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 140, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 0.4s ease;
}

/* 按住录音时 */
#voiceTip.recording {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.9), 0 0 30px rgba(0, 140, 255, 0.8);
}

/* 未点击录音按钮时 */
@keyframes aiFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 表情框 */
.tool_box {
    width: 100%;
    height: auto;
    position: relative;
    display: none;
}

/* 功能框 */
.chatExtend {
    display:grid;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    grid-template-columns: repeat(5, 1fr);
    gap:12px;
    padding:8px;
    box-sizing: border-box;
}

.chatExtend>.iconExtendBtn {
    background:#fff;
    height:80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-size:12px;
    color:#9fa19f;
    border-radius:10px;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,0.08);
    transition:all .2s;
}

.iconExtendBtn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 12px rgba(0,0,0,0.12);
}


.iconExtendBtn img{
    width:26px;
    /* height:26px; */
    margin-bottom:6px;
}

.iconExtendBtn div{
    font-size:12px;
    color:#666;
}

/* ======================= */



/* 翻译弹窗 */
.dialog {
    width: 80%;
    max-width: 400px;
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
    margin: 10% auto 0;
    position: relative;
    padding-bottom: 65px;
    box-sizing: border-box;
}

/* 留言提交 广告功能 =========== */
/* 背景遮罩 */
.bg,
.offline,
.lang-bg,
.msg-bg {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.45);
    z-index: 998;
    display: none;
}

/* 弹窗主体 留言/广告 */
.dialog1 {
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    background-color: #fff;
    margin: 10% auto 0;
    position: relative;
    padding-bottom: 10px;
}

/* 标题 */
.msg-bg .title {
    font-size: 16px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    background: #5fb878;
    padding: 10px;
    border-radius: 8px 8px 0 0;
}

/* 关闭按钮 */
.lang-close,
.msg-close{
    position: absolute;
    right: 8px;
    top: 8px;
    cursor: pointer;
}

/* fieldset整体 */
.layui-elem-field{
    margin: 8px 10px;
}

.layui-elem-field legend{
    font-size: 14px !important;
}

/* 内容区域 */
.layui-field-box{
    padding: 6px !important;
}

/* LOGO */
.logo-box img{
    width: 60px;
    display: block;
    margin: auto;
    border-radius: 50%;
}

/* .about-box{
    max-height:200px;
    overflow-y:auto;
} */

/* 关于我们 */
/* 富文本文字自适应 */
.about-box p{
    text-align: center;
}

/* 富文本图片自适应 */
.about-box img{
    max-width:100% !important;
    height:auto !important;
    display:block;
    margin:6px auto;
    border-radius:4px;
}

/* 广告图片 */
 .ad-box img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:6px;
}

/* 该客服离线中，是否转接其他客服？ */
.layui-layer-content{
    box-sizing: border-box;
}

/* ========================================================================== */
