html,
body {
  font-size: 15px;
  font-family: "微软雅黑";
  color: #333;
}
.imcc_chat_container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #fff;
  border: 0px solid #d9d9d9;
  overflow: hidden;
}
.layout_chat_header {
  font-size: 14px;
  background: #0f7edf;
  clear: both;
  height: 50px;
  min-width: 300px;
  position: relative;
}
.layout_chat_header a,
.layout_chat_header div {
  cursor: pointer;
  text-decoration: none;
}
.layout_chat_header a:focus,
.layout_chat_header div:focus {
  outline: medium none;
}
.layout_chat_header .header_topbar {
  height: 50px;
}
.layout_chat_header .header_topbar .topbar_left {
  float: left;
}
.layout_chat_header .header_topbar .topbar_right {
  float: right;
}
.layout_chat_header .header_topbar .topbar_center {
  float: left;
}
.layout_chat_header .header_topbar .topbar_center .chatAgentInput {
  color: #fff;
  font-size: 12px;
  margin-left: 65px;
}
.layout_chat_header .header_topbar .topbar_clearfix {
  content: " ";
  display: table;
  clear: both;
}
.layout_chat_header .header_topbar .topbar_logo {
  position: relative;
  color: #fff;
}
.layout_chat_header .header_topbar .topbar_logo span {
  line-height: 50px;
}
.layout_chat_header .header_topbar .topbar_logo_img {
  font-size: 18px;
  text-align: center;
  background: #0087b4;
  display: block;
  width: 50px;
  height: 50px;
}
.layout_chat_header .header_topbar .topbar_logo_img img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.layout_chat_header .header_topbar .topbar_logo_txt {
  width: 120px;
  padding: 0 20px;
}
.layout_chat_header .header_topbar .topbar_logo_txt span {
  font-size: 18px;
}
.layout_chat_header .header_topbar .topbar_shortcut {
  width: auto;
  height: 50px;
  line-height: 50px;
  margin: 0 10px;
}
.layout_chat_header .header_topbar .topbar_shortcut a {
  font-size: 18px;
  font-weight: 100;
  color: #fff;
}
/*webcall断连图标变红*/
.layout_chat_header .header_topbar .topbar_shortcut #btnConnect i.icon-wifi-off {
    color: red !important;
}

.layout_chat_main {
  display: flex;
  width: 100%;
}
.layout_chat_main .chat_panel_body {
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  border: 1px solid #ececec;
  border-radius: 0 0 5px 5px;
}
.layout_chat_main .chat_panel_body .chatPanel {
  position: absolute;
  bottom: 121px;
  color: #333;
  font-family: "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  height: auto;
  width: 100%;
  padding: 0;
  background: #f5f5f5;
}
.layout_chat_main .chat_panel_body .chatPanel .chatHistoryTrigger {
  color: #b1b6b4;
  cursor: pointer;
  margin: 5px 0 0 0;
  font-size: 12px;
  text-align: center;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_content_system {
  color: #b1b6b4;
  cursor: pointer;
  margin: 5px 0 0 0;
  font-size: 12px;
  text-align: center;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent {
  width: 100%;
  height: 360px;
  line-height: 160%;
  padding: 10px 0 10px 0;
  overflow-y: auto;
  overflow-x: hidden;
  color: #fff;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv,
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send {
  color: #3e3b3b;
  float: left;
  overflow: hidden;
  width: 100%;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .user_avatar,
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .user_avatar {
  width: 30px;
  height: 30px;
  top: 1px;
  position: absolute;
  overflow: hidden;
  font-size: 30px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .user_name,
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .user_name {
  color: #8d8d8d;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .chat_msg,
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .chat_msg_png,
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .chat_msg,
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .chat_msg_png {
  border-radius: 5px;
  padding: 5px;
  clear: both;
  display: inline-block;
  word-break: break-all;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 1px 0;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv {
  float: left;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .user_avatar {
  left: 5px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .user_name {
  float: left;
  margin-left: 40px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .user_name span {
  margin-left: 5px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_recv .chat_msg {
  background-color: #fefefe;
  float: left;
  margin-left: 40px;
  margin-right: 40px;
  box-sizing: border-box;
  border: 1px solid #e5e6e7;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send {
  float: right;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .user_avatar {
  right: 5px;
  color: #0f7edf;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .user_name {
  float: right;
  margin-right: 40px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .user_name span {
  margin-right: 5px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatContent .chat_content_send .chat_msg {
  color: #fff;
  background-color: #0f7edf;
  float: right;
  margin-right: 40px;
  margin-left: 40px;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_system_prompt {
  color: #e6a23c;
  background-color: #e5e5e5;
  font-size: 12px;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  line-height: 30px;
  display: none;
}
.layout_chat_main .chat_panel_body .chatInput {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  display: block;
  border-top: 1px solid #ececec;
  background: #f9f9f9;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online {
  width: 100%;
  min-height: 82px;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatToolbar {
  width: auto;
  height: 38px;
  line-height: 38px;
  margin: 5px 10px;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatToolbar a {
  font-size: 25px;
  font-weight: 100;
  padding-left: 5px;
  color: #333;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatTextArea {
  width: auto;
  margin: 5px 10px;
  display: flex;
  justify-content: space-between;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatTextArea .txtSend {
  width: 96%;
  resize: none;
  height: 42px;
  border: 0;
  padding: 5px;
  outline: 0;
  font-size: 14px;
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  background-color: #fff;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatTextArea .btnSend {
  width: 68px;
  background: #0f7edf;
  color: #fff;
  float: right;
  margin: 0px 5px 0px 5px;
  border-radius: 5px;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatInput_disable {
  cursor: not-allowed;
  pointer-events: none;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_online .chatInput_disable i {
  color: #d4d7de;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_offline {
  width: 100%;
  display: none;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_offline .satisfaction,
.layout_chat_main .chat_panel_body .chatInput .chatInput_offline .reconnect {
  width: 50%;
  float: left;
  margin-top: 25px;
  text-align: center;
  color: #b1b6b4;
  font-size: 22px;
  cursor: pointer;
}
.layout_chat_main .chat_panel_body .chatInput .chatInput_offline .satisfaction:hover,
.layout_chat_main .chat_panel_body .chatInput .chatInput_offline .reconnect:hover {
  color: #409eff;
}
.layout_chat_main .chat_panel_body .chatInput i {
  color: #0f7edf;
}
.layout_chat_main .chat_panel_body .iframe_page {
  width: 100%;
  height: 100%;
  border: none;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_msg .hot_topic {
  margin: 0;
  white-space: normal;
}

.layout_chat_main .chat_panel_body .chatPanel .chat_msg a {
    background-color: transparent;
    color: #0275d8;
    text-decoration: none;
}

.layout_chat_main .chat_panel_body .chatPanel .chat_msg a:hover {
    text-decoration: underline;
}


.layout_chat_main .chat_panel_body .chatPanel .chat_msg .hot_topic .topic_header {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid #ebeef5;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_msg .hot_topic .topic_body {
  padding: 10px 0 10px 20px;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_msg .hot_topic .topic_body li {
  margin: 6px;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_msg .hot_topic .topic_body li::marker {
  color: #0f7edf;
  font-size: 20px;
}
.layout_chat_main .chat_panel_body .chatPanel .chat_msg .hot_topic .topic_body li a {
  color: #0f7edf;
  text-decoration: none;
}
.layout_chat_main .chat_panel_body .chatPanel .chatEmotion,
.layout_chat_main .chat_panel_body .chatPanel .chatSendFile {
  display: none;
  position: absolute;
  bottom: 5px;
  border: 1px solid #ececec;
  background: #f0f0f0;
  margin-left: 5px;
}

.layout_chat_main .chat_panel_body .chatPanel .chatRobotFeedback {
  width: 100%;
  display: none;
  position: absolute;
  bottom: 5px;
  border: 1px solid #ececec;
  background: #f0f0f0;
  padding:0px 5px;
}

.layout_chat_main .chat_panel_body .chatPanel .chatSendFile {
  width: 90%;
  height: 50px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatSendFile button,
.layout_chat_main .chat_panel_body .chatPanel .chatSendFile input {
  margin: 8px 5px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatEmotion div {
  margin: 5px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatEmotion img {
  margin: 1px;
  width: 25px;
  height: 25px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatEmotion a:hover {
  cursor: pointer;
}
.layout_chat_main .chat_panel_body .chatPanel .chatCallback {
  display: none;
  position: absolute;
  bottom: 0px;
  max-width: 320px;
  text-align: left;
  padding: 15px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 6.5px #d9e2e7;
  font-size: 14px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatQuestion {
  display: none;
  position: absolute;
  top: 0px;
  right: 0;
  width: 100%;
  background: #e6e6e6;
  box-sizing: border-box;
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  height: 351px;
}
.layout_chat_main .chat_panel_body .chatPanel .chatOpinion {
  display: none;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 210px;
  text-align: center;
  background: #fefefe;
}
.imcc_chat_container .popup-captcha-pc {
  position: absolute;
}
.imcc_chat_container .chatAudio {
  display: none;
  position: absolute;
  bottom: 120px;
  border: 1px solid #d9d9d9;
  background: #f0f0f0;
  margin-left: 25px;
}
.imcc_chat_container .chatVideo {
  display: none;
  position: absolute;
  bottom: 120px;
  border: 1px solid #d9d9d9;
  background: #f0f0f0;
  margin-left: 23px;
}
.layout_chat_main .chat_panel_rightBar {
  width: 35%;
  height: 100%;
  font-size: 12px;
}
.layout_chat_main .chat_panel_rightBar .right_notice {
  padding: 15px 10px;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}
.layout_chat_main .chat_panel_rightBar .right_notice .title {
  color: #222;
  font-size: 16px;
  line-height: 1.4;
  padding-top: 0px;
  padding-bottom: 10px;
  font-weight: bold;
  word-break: break-all;
}
.layout_chat_main .chat_panel_rightBar .right_notice .subject .content {
  color: #666;
  line-height: 1.4;
  word-break: break-all;
}
.layout_chat_main .chat_panel_rightBar .right_notice .picture {
  margin-top: 5px;
}
.layout_chat_main .chat_panel_rightBar .right_notice .picture img {
  width: 100%;
  max-width: 100%;
  height: auto;
  background-position: center center;
}
.layout_chat_main .chat_panel_rightBar .right_list {
  padding: 15px 10px;
  padding-right: 0px;
  color: #1d1d1d;
  overflow-y: auto;
  box-sizing: border-box;
}
.layout_chat_main .chat_panel_rightBar .right_list .title {
  word-break: break-all;
  font-size: 16px;
  color: #222;
  font-weight: bold;
  padding-bottom: 8px;
}
.layout_chat_main .chat_panel_rightBar .right_list .list {
  overflow-y: auto;
}
.layout_chat_main .chat_panel_rightBar .right_list .list .question {
  font-size: 14px;
  color: #222;
  line-height: 1.5;
  cursor: pointer;
  word-break: break-all;
  margin-right: 12px;
}
.layout_chat_main .chat_panel_rightBar .right_list .list .answer {
  color: #0275d8;
  line-height: 1.2;
  word-break: break-all;
  white-space: pre-wrap;
  padding-bottom: 8px;
  margin-right: 22px;
}
.hide {
  display: none;
}
.contextmenu {
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 4px;
  width: 80px;
  position: absolute;
  text-align: center;
  font-size: 14px;
  display: none;
}
.contextmenu .menu-item {
  position: relative;
  height: 23px;
  line-height: 23px;
  width: 100%;
  cursor: pointer;
}
.contextmenu .menu-item:hover {
  background: #e2e2e2;
}
.chatScroll {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
.chatScroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.chatScroll::-webkit-scrollbar-thumb {
  background: #cdcdcd;
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
}
.chatScroll::-webkit-scrollbar-thumb:hover {
  background: #747474;
}
.chatScroll::-webkit-scrollbar-track {
  background: #f6f6f6;
  border-radius: 2px;
}
.chatScroll::-webkit-scrollbar-corner {
  background: #f6f6f6;
}
