@charset "UTF-8";
/*
 * @Author: MR.HE
 * @Date: 2019-11-30
 * @Remark:  chat聊天
 * @form: https://www.toonies.cn/chat/chat.html
 */


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix:after {
  content: '';
  width: 0;
  height: 0;
  display: block;
  clear: both;
  visibility: hidden
}

.pull-left {
  float: left
}

.pull-right {
  float: right
}

* {
  box-sizing: border-box;
}

html, body {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: auto;
  font-size: 12px;
}

.g-table {
  width: 100%;
  height: 100%;
  background-color: #babbbf;
  overflow: hidden;
}

.g-table td {
  text-align: center;
  vertical-align: middle;
}

.tns_chat_main {
  width: 1166px;
  height: 760px;
  background: #fff;
  margin: 0 auto;
  text-align: left;
}

.tns_chat_main .title_chat_box {
  height: 50px;
  padding: 0 15px;
  line-height: 50px;
  background: #108EE9;
  color: #fff;
  font-size: 18px;
  position: relative;
}

.chat_main {
  height: 710px;
}

.chat_sidebar_left {
  width: 65%;
  height: 100%;
  position: relative;
}

.chat_sidebar_right {
  width: 35%;
  height: 100%;
  border-left: 1px solid #ccc;
  background: #fbfbfb;
}

.chat_msg_box {
  height: 523px;
  background: #F0F1F2;
  padding: 10px 0;
  position: relative;
}

.chat_msg_box .chat-msg-list {
  height: 95%;
  background: #F0F1F2;
  overflow: hidden;
}

.chat_msg_box .chat-msg-list  .msg-scroll-box {
  overflow-y: scroll;
  padding: 0 10px;
  height: 100%;
}
    /* 设置滚动条的样式 */
.msg-scroll-box::-webkit-scrollbar {
  width: 5px;
}
    /* 滚动槽 */
.msg-scroll-box::-webkit-scrollbar-track {
  border-radius: 10px;
}
    /* 滚动条滑块 */
.msg-scroll-box::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #B4B2B2;
  -webkit-box-shadow: #B4B2B2;
}

.msg-scroll-box::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(175, 190, 255, 0.4);
}

    /* 设置滚动条的样式 */
.input_msg::-webkit-scrollbar {
  width: 5px;
}
    /* 滚动槽 */
.input_msg::-webkit-scrollbar-track {
  border-radius: 10px;
}
    /* 滚动条滑块 */
.input_msg::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #B4B2B2;
  -webkit-box-shadow: #B4B2B2;
}

.input_msg::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(180,178,178, 0.4);
}

.chat_tool_box {
  height: 40px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #FBFBFB;
  position: relative;
}

.chat_tool_box #sina-emotion {
  position: absolute;
        /*bottom: 40px;*/
  left: 0;
}

.chat_tool_box .tool_label {
  width: 28px;
  height: 28px;
  display: inline-block;
  background: #b4b2b2;
  text-align: center;
  float: left;
  margin-left: 8px;
  margin-top: 6px;
  cursor: pointer;
}

.chat_tool_box .tool_label img {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(0.6);
}

.chat_tool_box .tool_label.tool_pic {
  position: relative;
}

.chat_tool_box .tool_label.tool_pic input {
  position: absolute;
  visibility: hidden;
}

.chat_input_box .input_msg {
  outline: none;
  box-shadow: none;
  resize: none;
  font-size: 13px;
  width: 100%;
  height: 85px;
  border: none;
  padding: 5px;
  overflow: hidden;
  overflow-y: scroll;
  display: inline-block;
}

.chat_input_box .input_msg:before {
  content: attr(placeholder);
  display: none;
}

.chat_input_box .input_msg.empty:before {
  display: inline-block;
}

.send_ca_box {
  text-align: right;
  padding: 5px 0;
}

.send_ca_box .send_msg_btn {
  display: inline-block;
  margin-right: 10px;
  border: 0;
  background: #108EE9;
  color: #fff;
  font-size: 14px;
  line-height: 26px;
  border-radius: 3px;
  padding: 0 10px;
  outline: 0;
  cursor: pointer;
}

.send_ca_box .sending_tips1 {
  color: #757575;
}

.chat_copy {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #F7F8FA;
  color: #CCCCCC;
  line-height: 26px;
  text-align: center;
}

.chat_msg_item {
  margin: 8px 0px;
}

.chat_msg_item.type_msg .author_name {
  color: #888;
  font-size: 12px;
  line-height: 22px;
}

.chat_msg_item.type_msg .chat_avatars {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eee;
  vertical-align: top;
  overflow: hidden;
}

.chat_msg_item.type_msg .chat_avatars > img {
  width: 100%;
  height: 100%;
}

.chat_msg_item.type_msg .chat_message {
  background: #D9D9D9;
  max-width: 70%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  word-wrap: break-word;
  display: inline-block;
  color: #6c6c6c;
  position: relative;
  font-size: 16px;
  margin: 0 10px;
  line-height: 22px;
}

.chat_msg_item.type_msg .chat_message:before {
  position: absolute;
  content: "";
  top: 7px;
  left: -7px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid #D9D9D9;
}

.chat_msg_item.type_msg .chat_message .msg_img {
  max-width: 300px;
  display: block;
}

.chat_msg_item.type_msg.right {
  text-align: right;
}

.chat_msg_item.type_msg.right .chat_message {
  background: #108EE9;
  color: #fff;
}

.chat_msg_item.type_msg.right .chat_message:before {
  position: absolute;
  content: "";
  top: 7px;
  left: auto;
  right: -7px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid #108EE9;
  border-right: 0;
}

.chat_msg_item.tips_msg {
  text-align: center;
}

.chat_msg_item.tips_msg .tips_msg_content {
  text-align: center;
  display: inline-block;
  background: #D9D9D9;
  line-height: 32px;
  padding: 0 15px;
}

#sina-emotion {
  box-shadow: none;
}

#sina-emotion .face {
  width: 33px;
  height: 32px;
}

.chat-problem-box {
  position: absolute;
  background: #fff;
  bottom: 0;
  left: 0;
}

.chat-problem-box .chat-problem-list {
  border: 1px solid #ccc;
  padding: 5px 0px;
  border-bottom: 0;
  border-left: 0;
}

.chat-problem-box .chat-problem-item {
  font-size: 14px;
  line-height: 28px;
        /*padding: 0 15px;*/
  cursor: pointer;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 5px;
}

.chat-problem-box .chat-problem-item:last-child {
  border-bottom: 0;
}

.chat-problem-box .chat-problem-item:hover {
  background: #F0F1F2;
}

.layui-layer-dialog.serviceLayer .layui-layer-content {
  display: none;
}

.layui-layer-dialog.serviceLayer .layui-layer-btn- {
  padding-top: 35px;
  padding-bottom: 35px;
  text-align: left;
}

.layui-layer-dialog.serviceLayer .layui-layer-btn-  a {
  width: 155px;
  line-height: 35px;
  height: 35px;
  text-align: center;
}

.layui-layer-dialog.serviceLayer .layui-layer-btn-  a.layui-layer-btn0 {
  display: none;
}

.layui-layer-dialog.serviceLayer .layui-layer-btn-  a.layui-layer-btn1 {
  border-color: #1E9FFF;
  background-color: #1E9FFF;
  color: #fff;
}

.layui-layer-dialog.serviceLayer .layui-layer-btn-  a:hover {
  border-color: #1E9FFF;
  background-color: #1E9FFF;
  color: #fff;
}

.help_center_box, .common_problem_box {
  padding: 15px 10px;
}

.help_center_box {
  border-bottom: 1px solid #ccc;
}

.help_center_box h3, .common_problem_box h3 {
  color: #222;
  font-size: 16px;
  line-height: 1.4;
  padding-top: 0px;
  padding-bottom: 10px;
  font-weight: bold;
  word-break: break-all;
}

.help_center_box p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 10px;
}

.help_center_box img {
  width: 100%;
}

.close_window {
  position: absolute;
  right: 8px;
  top: 8px;
  display: block;
  width: 26px;
  height: 26px;
}

.close_window img {
  width: 100%;
}

.common_problem_box .problem_list {
  overflow: hidden;
  height: 465px;
}

.common_problem_box .problem_list ul {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
}




    /* 设置滚动条的样式 */
.common_problem_box .problem_list ul::-webkit-scrollbar {
  width: 5px;
}
    /* 滚动槽 */
.common_problem_box .problem_list ul::-webkit-scrollbar-track {
  border-radius: 10px;
}
    /* 滚动条滑块 */
.common_problem_box .problem_list ul::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #B4B2B2;
  -webkit-box-shadow: #B4B2B2;
}

.common_problem_box .problem_list ul::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(180,178,178, 0.4);
}

.common_problem_box .problem_list a {
  color: #545454;
        /*        display: block;
                font-size: 14px;
                color: #222;
                line-height: 30px;
                cursor: pointer;
                word-break: break-all;
                border-bottom: 1px solid #e8e8e8;
                text-decoration: none;*/
}

.problem_list .problem_item_problem {
  display: block;
  font-size: 14px;
  color: #222;
  line-height: 30px;
  cursor: pointer;
  word-break: break-all;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
}

.problem_list .problem_item_problem i {
  display: inline-block;
  float: right;
  width: 15px;
  transition: all 0.6s;
}

.problem_item.open .problem_item_reply {
  display: block;
}

.problem_item.open .problem_item_problem i {
  transform: rotate(-180deg);
}

.problem_list .problem_item_problem img {
  width: 100%;
  vertical-align: middle;
}

.problem_list .problem_item_reply {
  display: block;
  font-size: 13px;
  color: #545454;
  line-height: 25px;
  word-break: break-all;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  display: none;
  background: #f0f1f2;
  padding: 5px 8px;
  transition: all 0.6s;
}

.user_rank {
  text-align: center;
}

.user_rank p {
  text-align: center;
  display: inline-block;
  background: #D9D9D9;
  line-height: 32px;
  padding: 0 15px;
}

.chat_tool_box .tool_label.close_conversation {
  float: right;
  margin-right: 5px;
  line-height: 28px;
  width: auto;
  padding: 0 15px;
  cursor: pointer;
  background: transparent;
}

.chat_tool_box .tool_label.close_conversation:hover {
  text-decoration: underline;
}

a.help_in_box {
  display: block;
}

.help_in_box .help_in_content {
  width: 100%;
  height: 84px;
  background: #499FFE;
  text-align: center;
}

.help_in_box .help_in_txt {
  text-align: center;
  background: #fff;
  color: #499FFE;
  display: inline-block;
  line-height: 60px;
  padding: 0 25px;
  font-size: 25px;
  border-radius: 5px;
  margin-top: 12px;
}

.evaluate_type label.selected::before {
  display: block;
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  border-left: 10px solid #108EE9;
  border-bottom: 10px solid transparent;
}

.evaluate_type label {
  border: 1px solid #ddd;
  padding: 0 15px;
  display: inline-block;
  line-height: 32px;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  margin-bottom: 5px;
}

.evaluate_type label.selected {
  border: 1px solid #108EE9;
}

.evaluate_type label img {
  width: 18px;
  display: inline-block;
  vertical-align: middle;
}

.evaluate_type {
  margin-bottom: 10px;
}

.chat_evaluate_box .evaluate_title {
  margin-bottom: 10px;
}

.chat_evaluate_box .evaluate_content {
  width: 100%;
  height: 65px;
  border: 1px solid #ddd;
  padding: 4px 8px;
}