// 一键呼叫
.one-touch-call {
  .am-card {
    margin-top: 8px;
    padding-bottom: 0;
  }
  .am-card-body {
    padding: 0;
  }
  .c-body-list {
    display: flex;
    li {
      display: flex;
      align-items: center;
      padding-left: 24px;
      width: 50%;
      height: 80px;
      box-sizing: border-box;
      .iconfont {
        font-size: 28px;
        margin-right: 12px;
        color: #999;
      }
      &>div {
        display: flex;
        flex-direction: column;
        font-size: 14px;
        color: #666;
        span {
          margin-top: 4px;
          font-size: 12px;
          color: #999;
        }
      }
    }
    .c-body-icon-list {
      justify-content: center;
      padding: 0;
      &>div {
        align-items: center;
      }
    }
    .unread-message {
      margin-left: 12px;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      height: 18px;
      line-height: 18px;
      min-width: 9px;
      border-radius: 12px;
      padding: 0 5px;
      text-align: center;
      font-size: 12px;
      color: #fff;
      background-color: #ff5b05;
      white-space: nowrap;
      transform-origin: -10% center;
      z-index: 10;
      font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\\5FAE\8F6F\96C5\9ED1,SimSun,sans-serif;
    }
  }
}
.crc-modal {
  .crc-m-content {
    width: 100%;
    height: 100%;
    display: flex;
    margin: auto 0;
    align-items: center;
    overflow: auto;
  }
  img {
    width: 100%;
  }
}

// 聊天室 -- 咨询
.chat-room-consultation {
  .message-wrapper {
    width: 100%;
    height: 100%;
    .am-pull-to-refresh-content-wrapper {
      overflow: initial;
    }
    .am-pull-to-refresh {
      width: 100%;
      padding: 0 20px;
      height: 100%;
      overflow: auto;
      touch-action: touch-action;
      box-sizing: border-box;
    }
    .mw-content {
      margin: 20px 0;
      display: flex;
      // align-items: center;
      .col-1 {
        height: 42px;
        width: 42px;
        background-color: #5cadff;
        border-radius: 28px;
        text-align: center;
        line-height: 42px;
        font-size: 14px;
        color: #fff;
        img {
          width: 42px;
          height: 42px;
          border-radius: 28px;
        }
      }
      .col-2 {
        position: relative;
        margin-top: 4px;
        .icon-juxingbeifen {
          position: absolute;
          right: 0;
          top: -1px;
          color: #5cadff;
          display: inline-block;
          width: 16px;
          height: 16px;
        }
        .icon-juxingbeifen.icon-color-fff {
          color: #fff;
        }
        .icon-juxingbeifen.icon-left {
          left: 0;
          top: 0;
          transform: rotate(90deg);
        }
      }
    }
    .mw-content-right {
      flex-direction: row-reverse
    }
    .mw-content-content {
      text-align: center;
      .col-3 span{
        display: inline-block;
        padding: 4px 12px;
        border-radius: 6px;
        background-color: #fff;
        margin: 6px 0;
        color: #a5b5c1;
      }
      .re-edit {
        color: #66b1ff;
        margin-left: 8px;
        font-weight: normal;
      }
    }
    .message-content {
      display: flex;
      outline: none;
      font-size: 14px;
      position: relative;
      max-width: 350px;
      word-wrap: break-word;
      word-break: break-all;
      padding: 10px;
      align-items: center;
      -webkit-box-shadow: 0 5px 5px 0 rgba(0,0,0,.1);
      box-shadow: 0 5px 5px 0 rgba(0,0,0,.1);
      .image {
        width: 150px;
      }
      .img-expression {
        width: 20px;
        height: 20px;
      }
      .image.img-loading {
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        .am-activity-indicator.am-activity-indicator-lg {
          text-align: center;
        }
        span {
          color: #666;
        }
      }
    }
    .message-received {
      background-color: #fff;
      margin-left: 15px;
      border-radius: 0 4px 4px 4px;
    }
    .message-send {
      background-color: #5cadff;
      margin-right: 15px;
      border-radius: 4px 0 4px 4px;
      color: #fff;
    }
    .background-color-fff {
      background-color: #fff;
      padding: 0;
    }
  }
  .message-send-box-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 60px;
    background-color: #fff;
    .message-send-box-wrapper-content {
      min-height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-around;
    }
    .new-message-alert {
      height: 24px;
      line-height: 24px;
      background-color: #5cadff3d;
      padding-left: 12px;
      box-sizing: border-box;
      font-size: 12px;
      span{
        color: #666;
      }
   }
    i{
      font-size: 28px;
      color: #666;
    }
    .am-list-item.am-textarea-item{
      padding-left: 0;
    }
    textarea {
      padding: 4px 12px;
      width: 240px;
      border: none;
      border-radius: 12px;
      background-color: #f2f2f2;
      font-size: 14px !important;
      color: #666;
      box-sizing: border-box;
      transition: all .2s;
    }
    // .input-width {
    //   width: 210px;
    // }
    .send-btn {
      display: inline-block;
      // width: px;
      padding: 0 12px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      font-size: 14px;
      color: #fff;
      background-color: #4DC182;
      border-radius: 4px;
    }
    .crc-emoticon-modal {
      position: absolute;
      height: 160px;
      top: -180px;
      right: 4px;
      width: 288px;
      background: #fff;
      box-shadow: 0 5px 5px 0 rgba(0,0,0,.1);
      overflow: hidden;
      .emojis {
        height: 160px;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-y: scroll;
        // justify-content: center;
      }
      .emoji {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
      }
    }
  }
}