/*!
 * LiteWebChat_Frame v2.1.0
 * MorFans Lab(c) 2017
 *
 * BY:SuperPaxxs & Haswikr
 * https://lab.morfans.cn
 *
 * Released under the LGPL License
 */
/* 主 */
 .lite-chatbox{
  padding: 0px;
  font-size:18px;
  /* width: 100%;*/
  height: 86%;
  font-family: 'Noto Sans CJK SC';
  width: 100%;
  position:relative;
  overflow-y: auto;
  overflow-x: hidden;
  /* top: 0; */
}
/* 封面区域 */
.cover{
  text-align: center;
  height: 86%;
  /* z-index: 3; */
}
.cover .logo{
  width: 64px;
  height: 64px;
}
.cover h3{
  margin: 8px 0;
}
.cover .description{
  margin: 0 32px;
  height: 40px;
  font-size: 14px;
  font-family: 'Noto Sans CJK SC';
  line-height: 20px;
  text-align: center;
  color: rgb(137, 137, 137);
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 1s ease;
}

/* .fade-enter-from,
.fade-leave-to {
  opacity: 0;
} */
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
/* 聊天区域 */
.lite-chatbox .cmsg{
  position: relative; 
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 10px;
  border: 0;
}
.lite-chatbox .cright{
  min-height: 50px;
  text-align: right;
}
.lite-chatbox .cleft{
  min-height: 50px;
  text-align: left;
}
.lite-chatbox .cbreak{
  text-align: center;
}
/* 聊天组件：全局*/    
/* 头像 */
.lite-chatbox img.headIcon{
  width: 32px;
  height: 32px;
  top: 0px;
  position: absolute;
  border: 0px solid #c5d4c4;
}
/* 昵称 */
.lite-chatbox .name{
  margin: 8px 0px;
  padding: 8px 0;
  color: #8b8b8b;
  font-size: 14px;
  display: block;
  line-height: 20px;
}
.lite-chatbox .name .htitle{
  display: inline-block;
  padding: 0 3px 0 3px;
  background-color: #cccccc;
  color: #ffffff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin-right: 4px;
  font-size: 12px;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  max-width: 50px;
}
/* 消息内容 */
.lite-chatbox .content{
  word-break: break-all;
  word-wrap: break-word;
  text-align: left;
  position: relative;
  display: inline-block;
  font-size: 15px;
  padding: 16px 16px;
  line-height: 20px;
  /* -moz-border-radius: 6px; 
  -webkit-border-radius: 6px; 
  border-radius: 6px; */
  /*空白消息*/
  min-width: 9px;
  min-height: 18px;
}
/*消息内容图片处理*/
.lite-chatbox .content img{
  width: 100%;
  height: auto;
}
/*消息内容超链接处理*/
.lite-chatbox .content a{
  color: #0072C1;
  margin: 0 5px;
  cursor: hand;
}
/*聊天提示条*/
.lite-chatbox .tips{
  margin: 12px;
  text-align: center;
  font-size: 12px;
}
/*聊天提示条文本*/
.lite-chatbox .tips span{
  display: inline-block;
  padding: 4px;
  background-color: #cccccc;
  color: #ffffff;
  -moz-border-radius: 6px; 
  -webkit-border-radius: 6px; 
  border-radius: 6px;
}
/* 聊天组件：微调 */
/* 圆头像 
.lite-chatbox img.radius{
  -moz-border-radius: 100%; 
  -webkit-border-radius: 100%; 
  border-radius: 100%;
}
*/
/* 左右头像 */
.lite-chatbox .cright img.headIcon{
  right: 0;
  margin-bottom: 2px;
}
.lite-chatbox .cleft img.headIcon{
  left: 0;
  margin-bottom: 2px;
}
.lite-chatbox .cbreak img.headIcon{
  display: none;
}
/* 左右昵称 */
.lite-chatbox .cright .name{
  margin: 8px 40px 0 0;
}
.lite-chatbox .cleft .name{
  margin: 8px 0 0 40px;
}
/* 左右聊天气泡 */
.lite-chatbox .cright .content{
  margin: 0 0 0 0;
  max-width: 340px;
/*  -webkit-border-radius: 8px 0 8px 8px;
    border-radius: 8px 0 8px 8px;*/
  -webkit-border-radius: 8px 8px 8px 8px;
  border-radius: 8px 8px 8px 8px;
  color: white;
  /* border: 1px solid #78cdf8; */
  background: -webkit-linear-gradient(70deg, #3FD1E1 0%, #44D7CD 100%);
  background: linear-gradient(20deg, #3790FA 0%, #37affa 100%); 
  -webkit-box-shadow: 5px 5px 15px 0 rgba(102,102,102,0.15);
  box-shadow: 5px 5px 15px 0 rgba(102,102,102,0.15);
}
.lite-chatbox .cleft .content{
  margin: 0 0 0 0;
/*  -webkit-border-radius: 0 8px 8px 8px;
  border-radius: 0 8px 8px 8px;*/
  -webkit-border-radius: 8px 8px 8px 8px;
  border-radius: 8px 8px 8px 8px;
  color: #666;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #FFFFFF;
  -webkit-box-shadow: 5px 5px 15px 0 rgba(102,102,102,0.1);
  box-shadow: 5px 5px 15px 0 rgba(102,102,102,0.1);
  min-width: 335px;
  max-width: 338px;
}
.lite-chatbox .cbreak .content{
  display: none;
}
.lite-chatbox .cright .content::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 9px;
  width: 0;
  height: 0;
  border-style: solid;
  width: 4px;
  height: 3px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-color:  rgba(55, 144, 250, 1) transparent transparent transparent;
}
.lite-chatbox .cleft .content::after{
  content: "";
  position: absolute;
  top: -4px;
  left: 9px;
  width: 0;
  height: 0;
  border-style: solid;
  width: 4px;
  height: 3px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-color: white transparent transparent transparent;
}
/* 聊天提示条附加样式 */
.lite-chatbox .tips .tips-primary{
  background-color: #3986c8;
}
.lite-chatbox .tips .tips-success{
  background-color: #49b649;
}
.lite-chatbox .tips .tips-info{
  background-color: #5bb6d1;
}
.lite-chatbox .tips .tips-warning{
  background-color: #eea948;
}
.lite-chatbox .tips .tips-danger{
  background-color: #e24d48;
}
.lite-chatbox .name .admin{
  background-color: #72D6A0;
}
.lite-chatbox .name .owner{
  background-color: #F2BF25;
}

/*停止回答*/
.chat-stop{
    position: absolute;
    right: 26px;
    bottom: 16px;
    margin: 0px;
}
/*回答结束*/
.chat-end{
    position: absolute;
    right: 26px;
    bottom: 16px;
    margin: 0px;
}

.toolButton {
  width: auto;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-right: 4px;
  margin-left: 4px;
}

.toolButton .imgCenter img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.toolButton span {
    font-family: 'Noto Sans CJK SC', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
}

.btn-stop {
  color: #E41A2B;
}

.btn-stop:hover {
  color: #F3222D;
}

.btn-stop:active {
  color: #CC1222;
}

.stopBtnHover {
  display: none;
}

.stopBtnActive {
  display: none;
}

.btn-stop:hover  .stopBtnDefault{
  display: none;
  /* 鼠标悬停时隐藏原图片 */
}

.btn-stop:hover  .stopBtnHover{
  display: flex;
}

.btn-stop:active .stopBtnDefault  {
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-stop:active .stopBtnHover {
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-stop:active .stopBtnActive {
  display: flex;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy {
    color: #262626; 
}

.btn-copy:hover {
  color: #3489EE;
}

.btn-copy:active {
  color: #2C73C8;
}

.copyBtnHover {
  display: none;
}

.copyBtnActive {
  display: none;
}

.refreshBtnHover {
  display: none;
}

.refreshBtnActive {
  display: none;
}

.caretBtnHover {
  display: none;
}

.caretBtnActive {
  display: none;
}

.btn-copy:hover  .caretBtnDefault{
  display: none;
  /* 鼠标悬停时隐藏原图片 */
}

.btn-copy:hover  .caretBtnHover{
  display: flex;
}

.btn-copy:active .caretBtnDefault  {
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:active .caretBtnHover {
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:active .caretBtnActive {
  display: flex;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:hover  .refreshBtnDefault{
  display: none;
  /* 鼠标悬停时隐藏原图片 */
}

.btn-copy:hover  .refreshBtnHover{
  display: flex;
}

.btn-copy:active .refreshBtnDefault  {
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:active .refreshBtnHover {
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:active .refreshBtnActive {
  display: flex;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:hover .copyBtnDefault{
  display: none;
  /* 鼠标悬停时隐藏原图片 */
}

.btn-copy:hover .copyBtnHover{
  display: flex;
}

.btn-copy:active .copyBtnDefault{
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:active .copyBtnHover{
  display: none;
  /* 鼠标点击时隐藏原图片 */
}

.btn-copy:active .copyBtnActive {
  display: flex;
  /* 鼠标点击时隐藏原图片 */
}

.btn-read {
    color: #262626;

}
