/* #region   聊天*/

.chat_main {
    width: 1200px;
    height: 730px;
    display: flex;
    align-items: flex-start;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #f5f5f5;
    margin: 20px auto;
}


.chat_left {
    width: 300px;
    height: 100%;
    background: #fff;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
}

.chat_left li {
    display: flex;
    align-items: center;
    padding: 15px 12px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.chat_left .chat_active {
    background: #f5f5f5;
}

.chat_right {
    width: 900px;
    height: 100%;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

.clist_img {
    position: relative;
    margin-right: 10px;
}

.clist_img img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    display: block;
}

.clist_img i {
    position: absolute;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    right: -2px;
    top: -2px;
    z-index: 10;
}

.clist_txt {
    flex: 1;
    overflow: hidden;
    line-height: 1;
}

.clist_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clist_title div {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #333;
    padding-right: 10px;
}

.clist_title span {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.clist_text {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 10px;
}

.chat_con {
    padding: 0 20px;
}

.chat_name {
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #dcdcdc;
    line-height: 46px;
}


.chat_list {
    display: flex;
    align-items: flex-start;
    margin-top: 16px;
    padding-right: 52px;
}

.chat_hd img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    display: block;
}

.chat_card {
    flex: 1;
    overflow: hidden;
    padding-left: 12px;
    display: flex;
}

.chat_msg {
    background: #fff;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    border-radius: 3px;
    padding: 9px 10px;
    position: relative;
}

.chat_msg::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right: 6px solid #fff;
    top: 15px;
    right: 100%;
}

.chat_time {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

.chat_list2 {
    padding-left: 52px;
    padding-right: 0;
    flex-direction: row-reverse;
}

.chat_list2 .chat_card {
    padding-left: 0;
    padding-right: 12px;
    justify-content: flex-end;
}

.chat_list2 .chat_msg {
    background: #73ef51;
}

.chat_list2 .chat_msg::after {
    border-right: 6px solid transparent;
    border-left: 6px solid #73ef51;
    right: auto;
    left: 100%;
}

.chat_msg img,
.chat_msg video {
    display: block;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 5px;
}

.chat_msg img:last-child,
.chat_msg video:last-child {
    margin-bottom: 0;
}

.chat_bottom {
    border-top: 1px solid #dcdcdc;
    padding: 10px 20px;
}

.chat_row {
    display: flex;
    position: relative;
}

.chat_row img {
    display: block;
}

.chat_icon {
    cursor: pointer;
}

.chat_icon img {
    width: 23px;
    height: 23px;
}

.textdiv,
.chat_bottom textarea {
    width: 100%;
    height: 110px;
    box-sizing: border-box;
    resize: none;
    border: none;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-top: 10px;
    display: block;
    background: none;
    outline: none;
}

.chat_btn {
    width: 100px;
    height: 40px;
    border-radius: 5px;
    background: #f87924;
    border: none;
    color: #fff;
    margin-left: auto;
    cursor: pointer;
    transition: .1s;
    margin-left: auto;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.chat_btn:hover {
    opacity: .85;
}

.chat_center {
    height: 455px;
    overflow-y: auto;
    padding: 1px 20px 25px 20px;
}

.chat_center::-webkit-scrollbar {
    width: 10px;
    height: 1px;
}

.chat_center::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b3b6bb;
}

.chat_center::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #f5f5f5;
}

.cbottom_upload {
    cursor: pointer;
    margin-left: 15px;
}

.cbottom_upload img {
    width: 23px;
    height: 23px;
}

.textdiv {
    overflow-y: auto;
}

.textdiv img,
.textdiv video {
    max-width: 100px;
    max-height: 100px;
    vertical-align: bottom;
    object-fit: contain;
    object-position: center;
}

.textdiv::-webkit-scrollbar {
    width: 10px;
    height: 1px;
}

.textdiv::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b3b6bb;
}

.textdiv::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #f5f5f5;
}

.textdiv * {
    display: inline !important;
    background: none !important;
    font-size: 14px !important;
    color: #333 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.textdiv img,
.textdiv video {
    margin-right: 2px !important;
    margin-bottom: 2px !important;
}

/* #region  新增视频*/
.video_popup1 {
    background: rgba(49, 49, 49, .8);
    border-radius: 10px;
    padding: 36px 20px 28px 20px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 458px;
    z-index: 99999;
    text-align: center;
}

.video_t1 {
    font-size: 26px;
    color: #ffffff;
}

.video_btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 55px;
    margin-top: 30px;
}

.video_btns img {
    width: 88px;
    height: 88px;
    display: block;
    margin: 0 auto;
}

.video_btns button {
    background: none;
    outline: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

.video_btns div {
    margin-top: 6px;
}

.video_popup2 {
    background: rgba(49, 49, 49, .8);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    padding: 40px 30px 60px 30px;
    z-index: 99999;
    border-radius: 10px;
}

.video_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.video_col {
    width: 412px;
    height: 276px;
    position: relative;
}

.video_col video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 10;
}

.video_col img {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.video_t2 {
    font-size: 26px;
    color: #fff;
    text-align: center;
}

.video_close2 {
    background: none;
    margin: 0 auto;
    display: block;
    border: none;
    outline: none;
    margin-top: 40px;
    cursor: pointer;
    cursor: pointer;
}

.video_close2 img {
    width: 88px;
    height: 88px;
}

.video_row2 {
    padding: 50px 0 40px 0;
    color: #fff;
    text-align: center;
    font-size: 26px;
}

.video_row2 img {
    width: 110px;
    margin: 0 auto;
    display: block;
}

.video_row2 div {
    margin-top: 22px;
}

.emoji_popup {
    position: absolute;
    left: 23px;
    bottom: 35px;
    z-index: 99;
    font-size: 20px;
    background: #eee;
    padding: 5px 0 12px 0;
    box-shadow: 0 0 16px rgba(0, 0, 0, .15);
}

.emoji_popup .swiper-container {
    width: 420px;
}

.emoji_popup .swiper-slide div {
    width: 400px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.emoji_popup .swiper-slide span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.emoji_dot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.emoji_dot span {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    background: #f87924;
    opacity: .4;
}

.emoji_dot .swiper-pagination-bullet-active {
    opacity: 1;
}

.chat_main2{
    position: relative;
    left: 0;
    top: 0;
    transform: translate(0,0);
}

.chat_main3{
    width: 900px;
    border-left: 1px solid #dcdcdc;
}

.chat_main3 .chat_right{
    width: 100%;
}

.chat_main_pore{
  position: relative;
    left: 0;
    top: 0;
    transform: translate(0, 0);
}

@media screen and (max-width: 1600px) {
  .chat_main {
    width: 1000px;
    height: 600px;
  }
  .chat_center {
    height: 360px;
  }
  .textdiv, .chat_bottom textarea {
      height: 77px;
    }
}
.chat_time2{
  font-size: 12px;
  line-height: 1;
  color: #999;
  padding-left: 12px;
  text-align: left;
}
.chat_cardp .chat_card{
  margin-top: 6px;
}
.chat_list2 .chat_time2 {
  padding-left: 0;
  padding-right: 12px;
  text-align: right;
}
/* #endregion */
