/** 聊天窗口样式
 * 54px为回复框高度，js同
 */
/*聊天记录*/
page {
  background: rgb(245, 245, 245);
}

.message-list {
  /*margin-bottom: 54px;*/
  background: rgb(235, 235, 235);
}

/*单元行*/
.row {
  display: flex;
  flex-direction: column;
  /* margin: 0 30rpx; */
}

/*日期*/
.datetime {
  font-size: 10px;
  padding: 10px 0;
  color: #999;
  text-align: center;
}

.send {
  font-size: 15px;
  /* padding-right: 10px; */
  color: #999;
  text-align: center;
  height: 70%;
  border: 1px solid #e4dfdf;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120rpx;
  border-radius: 10rpx;
  /* margin-right: 15rpx; */
}

.sendActive {
  font-size: 15px;
  /* padding-right: 10px; */
  color: #fff;
  text-align: center;
  height: 70%;
  border: 1px solid #05c15f;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120rpx;
  border-radius: 10rpx;
  background-color: #05c15f;
  /* margin-right: 15rpx; */
}

.content {
  font-size: 28rpx;
}
.Audio {
  font-size: 15px;
  color: #999;
  text-align: center;
  padding-left: 10rpx;
}

.Audio image {
  width: 50rpx;
  height: 50rpx;
}

.add {
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90rpx;
}

.more {
  width: 50rpx;
  height: 50rpx;
}

/*主体*/
.body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-top: 10px;
}

/*头像容器*/
.body.avatar-container {
  width: 20%;
}

/*头像*/
.body .avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin: 0 20rpx;
}

/*文本消息*/
.body .content,.body .contentl {
  font-size: 16px;
  background: #fff;
  border-radius: 5px;
  padding: 10px;
  line-height: 22px;
  margin-bottom: 10px;
  word-wrap: break-word;
  max-width: 480rpx;
  position: relative;
}
.body .content:before {
  content: "";
  display: block;
  position: absolute;
  width:0;
  height: 0;
  border: 10px solid transparent;  /*边框宽度为10px 颜色透明（也就是隐藏） */
  border-left-color: #7ECB4B; /*只显示右边的边框 显示效果就是向左的箭头*/
  right: -20px;  /*在DIV左边显示右边的边框 要向左移动2倍边框宽度 即20px*/
  top: 9px;   /*高度为25+5+5=35 排除箭头高度20 剩余15 显示在距顶部9px的位置 */
}
.body .contentl:before {
  content: "";
  display: block;
  position: absolute;
  width:0;
  height: 0;
  border: 10px solid transparent;  /*边框宽度为10px 颜色透明（也就是隐藏） */
  border-right-color: #fff; /*只显示右边的边框 显示效果就是向左的箭头*/
  left: -20px;  /*在DIV左边显示右边的边框 要向左移动2倍边框宽度 即20px*/
  top: 9px;   /*高度为25+5+5=35 排除箭头高度20 剩余15 显示在距顶部9px的位置 */
}

/* 三角箭头 */
.body .triangle {
  background: white;
  width: 20rpx;
  height: 20rpx;
  margin-top: 26rpx;
  transform: rotate(45deg);
  position: absolute;
}

/*图片消息*/
.picture {
  width: 160px;
}

/*回复框*/
.reply {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  /* bottom: 0; */
  width: 710rpx;
  height: 54px;
  border-top: 1px solid rgb(215, 215, 215);
  background: rgb(245, 245, 245);
  padding: 0px 20rpx;
}

.reply .voice-image {
  width: 25px;
  height: 25px;
  margin-left: 3%;
}

/*文本输入或语音录入*/
.reply .opration-area {
  flex: 1;
  padding: 8px 8px 8px 0;
}

/*回复文本框*/
.reply input {
  background: rgb(252, 252, 252);
  height: 36px;
  border: 1px solid rgb(221, 221, 221);
  border-radius: 6px;
  padding-left: 3px;
}

/*选取图片*/
.reply .choose-image {
  width: 25px;
  height: 25px;
  margin-right: 3%;
}

/*按住说话button*/
.voice-button {
  height: 36px;
  color: #818181;
  font-size: 14px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #e4dfdf;
  border-radius: 10rpx;
}

/*悬浮提示框*/
.hud-container {
  position: fixed;
  width: 150px;
  height: 150px;
  left: 50%;
  top: 50%;
  margin-left: -75px;
  margin-top: -75px;
}

/*背景层*/
.hud-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #999;
  opacity: 0.8;
  z-index: 11;
  border-radius: 10px;
}

/*悬浮框主体*/
.hud-body {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/*图标*/
.hud-body image {
  margin-top: 20px;
  width: 80px;
  height: 80px;
}

/*文字*/
.hud-body .tip {
  color: #fff;
  text-align: center;
  width: 90%;
  line-height: 34px;
  margin: 0 auto;
  margin-bottom: 10px;
  width: 90%;
}

.hud-body .warning {
  background: #c33;
  border-radius: 5px;
}

.image-message {
  max-width: 100%;
  border-radius: 4rpx;
}

.box {
  display: flex;
  height: 40rpx;
  line-height: 40rpx;
}

.hoverBtn {
  background-color: rgb(226, 220, 220);
  color: #fff;
  border-radius: 10rpx;
}

.more_box {
  height: 138rpx;
  width: 100%;
  padding: 15rpx;
  display: flex;
  background: rgb(245, 245, 245);
  position: fixed;
  bottom: 0;
}

.more_item {
  text-align: center;
  height: 150rpx;
  font-size: 24rpx;
  margin-left: 26rpx
}

.img_box {
  width: 80rpx;
  height: 84rpx;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10rpx;
}

.img_box image {
  width: 40rpx;
  height: 40rpx;
}

.top {
  background: #F9F8D9; padding: 15rpx 20rpx;text-align: center; color: #F97326;    font-size: 24rpx;justify-content: center;align-items: center;position: fixed;
  width: 100%;z-index: 2;
}

/* .num {
  background: rgba(0, 0, 0, .3);
  color: white;
  padding: 10rpx 30rpx;
  line-height: 48rpx;
} */

.sum {
  font-size: 30rpx;
  font-weight: bold;
  color: red;
}