.header {
  padding: 10px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}
.box {
  border: 1px solid #eee;
}
.editor {
  height: 150px;
  overflow-y: scroll;
  padding: 10px;
  div {
    height: 20px;
  }
}
.nickName {
  color: #f50;
  border: 1px solid #f50;
  border-radius: 2px;
  margin-right: 3px;
  padding: 1px 5px;
  font-size: 12px;
  display: inline-block;
}
.popover {
  width: 500px;
  > div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    > label {
      width: 70px;
      flex-shrink: 0;
    }
    .group {
      margin-bottom: 5px;
    }
    input {
      margin-bottom: 5px;
    }
  }
}
[contenteditable]:focus {
  outline: none;
}
i {
  font-style: normal;
}

.left {
  width: 100%;
  box-sizing: border-box;
  > p {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #efefef;
    font-weight: 500;
  }
  .left_ul {
    // height: calc(100vh - 150px);
    height: 100%;
    overflow-y: hidden;
    > ul {
      display: flex;
      flex-flow: column;
      padding: 10px;
      overflow-y: hidden;
      li {
        position: relative;
        border: 1px solid #efefef;
        border-bottom: 0;
        > p {
          display: flex;
          padding: 15px;
          flex-flow: row;
          justify-content: space-between;
          margin-bottom: 0;
          img {
            width: 60px;
            height: 60px;
            border-radius: 3px;
            object-fit: cover;
          }
        }
        > div {
          opacity: 0;
          display: flex;
          justify-content: space-between;
          padding: 0 10px;
          align-items: center;
          color: #fff;
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          z-index: 99;
          height: 30px;
          background: rgba(0, 0, 0, 0.6);
          > span {
            cursor: pointer;
            > span {
              margin-right: 10px;
            }
          }
        }
      }
      li.last {
        border-bottom: 1px solid #efefef;
        > div {
          > span {
            > span {
              &:nth-child(2) {
                display: none;
              }
            }
          }
        }
      }
      li.first {
        border: 0;
        > span {
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          height: 30px;
          background: rgba(0, 0, 0, 0.6);
          color: #fff;
          line-height: 30px;
          padding-left: 10px;
        }
        > div {
          > span {
            > span {
              &:nth-child(1) {
                display: none;
              }
            }
          }
        }
        > p {
          position: relative;
          width: 100%;
          height: 0px;
          padding-top: 40%;
          border-radius: 2px;
          margin-bottom: 0;
          img {
            position: absolute;
            left: 0px;
            top: 0px;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
      li:hover {
        > div {
          opacity: 1;
        }
      }
      li.action {
        border: 1px solid rgb(59, 116, 255);
      }
    }
    > span {
      height: 50px;
      border: 1px dashed #bbbbbb;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 10px;
    }
    > span:hover {
      border-color: rgb(59, 116, 255);
      color: rgb(59, 116, 255);
    }
  }
  .msgLeftD {
    padding: 0 5px;
    margin-top: 5px;
    box-sizing: border-box;
    > div {
      border: 1px solid #d3d3d3;
      padding: 5px;
      box-sizing: border-box;
      margin-bottom: 8px;
      > h3 {
        line-height: 1.5;
        font-size: 16px;
        padding: 0 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        box-sizing: border-box;
      }
      > div {
        display: flex;
        justify-content: 'flex-start';
        > p {
          flex: 1;
          font-size: 12px;
          color: #999;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 3;
          -webkit-box-orient: vertical;
          padding-right: 5px;
        }
        > img {
          width: 50px;
          height: 50px;
          object-fit: cover;
        }
      }
    }
    > .select {
      position: relative;
      border: 1px solid #4abe84;
      border-radius: 5px;
      &::after {
        content: '';
        width: 5px;
        height: 12px;
        position: absolute;
        right: 6px;
        bottom: 6px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-left-color: transparent;
        transform: rotate(45deg);
        z-index: 9;
      }
      &::before {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        border: 17px solid #4abe84;
        border-top-color: transparent;
        border-left-color: transparent;
        z-index: 9;
      }
    }
  }
}
.fixed_pop {
  position: fixed;
  display: none;
  min-width: 250px;
  min-height: 50px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  border-radius: 5px;
  justify-content: space-evenly;
  align-items: center;
  transform: translateX(-50%);
  .fixed_pop_link {
    display: flex;
    justify-content: space-between;
    width: 400px;
  }
  .fixed_pop_wx {
    display: flex;
    justify-content: space-between;
    width: 500px;
    > span {
      &:first-child {
        margin: 10px 0;
      }
      &:last-child {
        display: flex;
        justify-content: space-between;
      }
    }
  }
  input {
    background-color: transparent;
    outline: none !important;
    border: none !important;
    caret-color: #fff;
    color: #fff;
  }
  a {
    display: inline-block;
    font-size: 24px;
    font-weight: bolder;
    margin: 0 10px;
    text-decoration: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  input:focus {
    border: none !important;
    box-shadow: none;
  }
  > span {
    cursor: pointer;
  }
  &::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -5px;
    transform: rotate(45deg);
  }
}
.editable {
  font-family: sans-serif;
  width: 100%;
  min-height: 100px;
  padding: 5px;
  resize: none;
}

textarea.editable {
  font-family: monospace, monospace;
}
.fixed_pop_wx_radio {
  padding-left: 10px;
  span {
    color: #fff;
  }
}
