.chat-container {
  display: flex;
  flex-wrap: wrap;
  /* width: 880px; */
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #FFF;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
  height: auto;
  height: 600px;
}

.chat-container .chat-left-area {
  display: flex;
  flex-flow: column;
  float: left;
  width: 306px;
  height: 100%;
  border-right: 1px solid #dedede;
  border-radius: 10px 0 0 10px;
  padding: 20px 0;
}

.chat-container .chat-right-area {
  display: flex;
  flex-flow: column;
  float: left;
  width: 100%;
  height: 100%;
  flex: 1;
  border-radius: 0 10px 10px 0;
}

.chat-container .chat-user-list {
  display: block;
  float: left;
  height: 100%;
  width: 100%;
  overflow: auto;
  padding-left: unset !important;
}

.chat-container .chat-user-list li {
  display: block;
  position: relative;
}

.chat-container .chat-user-list li:not(:last-child) {
  border-bottom: 1px solid #ebebeb;
}

.chat-container .chat-user-list .chat-user {
  display: flex;
  flex-wrap: nowrap;
  padding: 14px 16px;
  align-items: center;
  cursor: pointer;
  transition: 600ms;
}

.chat-container .chat-user-list .chat-user:hover,
.chat-container .chat-user-list .chat-user.selected {
  background-color: #f2f2f2;
}

.chat-container .chat-user-list .chat-user:hover .chat-u-photo .photo:before,
.chat-container .chat-user-list .chat-user.selected .chat-u-photo .photo:before {
  opacity: 1;
  visibility: visible;
}

.chat-container .chat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #F8F8F8;
  border-radius: 0 10px 0 0;
  padding: 16px 18px;
}

.chat-container .chat-head.chat-head .chat-u-photo .photo {
  width: 52px;
  height: 52px;
}

.chat-container .chat-head.chat-head .chat-u-photo .status {
  width: 16px;
  height: 16px;
}

.chat-container .chat-head.chat-head .details .nm-area .nm {
  font-size: 18px;
  line-height: 21px;
  padding: 0;
}

@media (max-width: 799px) {
  .chat-container .chat-head.chat-head .details .nm-area .nm {
    font-size: 17px;
  }
}

.chat-container .chat-head.chat-head .details .txt {
  font-size: 14px;
  line-height: 16px;
}

.chat-container .chat-head .chat-users-btn {
  display: none;
}

.chat-container .chat-body {
  display: flex;
  flex-flow: column;
  height: 100%;
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.chat-container .chat-body .chat-data-container {
  display: block;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.chat-container .chat-body .chat-data-list {
  display: flex;
  flex-flow: column;
}

.chat-container .chat-body .chat-data-list:not(:first-child) {
  margin: 20px 0 0 0;
}

.chat-container .chat-body .chat-data-list .chat-data {
  display: flex;
  flex-flow: column;
  justify-content: center;
  background-color: #F0F0F0;
  padding: 16px 18px;
  border-radius: 20px 20px 20px 0px;
  color: #2F2B2B;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  max-width: 400px;
  min-height: 80px;
}

.chat-container .chat-body .chat-data-list .chat-data p {
  display: block;
  margin: 0;
  padding: 0;
}

.chat-container .chat-body .chat-data-list .chat-data p:not(:first-child) {
  margin: 14px 0 0 0;
}

.chat-container .chat-body .chat-data-list .dt {
  display: block;
  color: #2F2B2B;
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  margin: 5px 0 7px;
}

.chat-container .chat-body .chat-data-list.me {
  align-items: flex-end;
}

.chat-container .chat-body .chat-data-list.me .chat-data {
  background-color: #9B2629;
  color: #fff;
  border-radius: 20px 20px 0px 20px;
}

.chat-container .chat-foot {
  display: block;
  padding: 16px;
  background-color: #FFF;
}

.chat-container .chat-foot .type-area {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  background-color: #F0F0F0;
  border-radius: 100px;
  height: 78px;
  padding: 10px;
}

.chat-container .chat-foot .type-area .field {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex: 1;
  height: 100%;
  overflow: auto;
  background: transparent;
  border: none;
  color: #2F2B2B;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  padding: 0 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chat-container .chat-foot .type-area .field::-webkit-scrollbar {
  display: none;
}

.chat-container .chat-foot .type-area .field img {
  height: 22px !important;
}

.chat-container .chat-foot .type-area .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 -1px;
}

.chat-container .chat-foot .type-area .actions .actn {
  display: flex;
  flex-wrap: nowrap;
  float: left;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 7px;
  margin: 0 1px;
  border-radius: 100px;
  transition: 600ms;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.chat-container .chat-foot .type-area .actions .actn input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.chat-container .chat-foot .type-area .actions .actn img {
  display: block;
  float: left;
  width: auto;
  height: auto;
  max-height: 22px;
}

.chat-container .chat-foot .type-area .actions .actn i {
  font-size: 22px;
}

.chat-container .chat-foot .type-area .actions .actn:hover {
  background-color: #fff;
}

@media (max-width: 799px) {
  .chat-container {
    height: calc(100vh - 10px);
  }

  .chat-container .chat-left-area {
    display: none;
  }

  .chat-container .chat-head {
    border-radius: 10px 10px 0 0;
    padding: 12px 14px;
    height: 66px;
  }

  .chat-container .chat-head .chat-users-btn {
    display: flex;
    float: left;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #9b2629;
    padding: 6px;
    border-radius: 100px;
    margin: 0 10px 0 0;
    width: 42px;
    height: 42px;
  }

  .chat-container .chat-head .chat-users-btn img {
    display: block;
    width: auto;
    height: 24px;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(1);
  }

  .chat-container .chat-head.chat-head .chat-u-photo .photo {
    width: 42px;
    height: 42px;
  }

  .chat-container .chat-body {
    padding: 14px;
  }

  .chat-container .chat-body .chat-data-list .chat-data {
    padding: 10px 14px;
    font-size: 15px;
    line-height: 22px;
    min-height: 1px;
  }

  .chat-container .chat-foot {
    padding: 0 14px 14px 14px;
  }

  .chat-container .chat-foot .type-area {
    height: 58px;
  }

  .chat-container .chat-foot .type-area .field {
    font-size: 15px;
    line-height: 20px;
  }

  .chat-container .chat-foot .type-area .actions .actn img {
    max-height: 18px;
  }
}

.chat-container .chat-user-list .chat-user .chat-u-photo,
.chat-container .chat-head .chat-u-photo {
  display: block;
  float: left;
  position: relative;
}

.chat-container .chat-user-list .chat-user .chat-u-photo .photo,
.chat-container .chat-head .chat-u-photo .photo {
  display: block;
  float: left;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  position: relative;
}

.chat-container .chat-user-list .chat-user .chat-u-photo .photo img,
.chat-container .chat-head .chat-u-photo .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 100px;
}

.chat-container .chat-user-list .chat-user .chat-u-photo .photo:before,
.chat-container .chat-head .chat-u-photo .photo:before {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border-radius: 100px;
  border: 3px solid #fff;
  opacity: 0;
  visibility: hidden;
  transition: 600ms;
}

.chat-container .chat-user-list .chat-user .chat-u-photo .status,
.chat-container .chat-head .chat-u-photo .status {
  display: block;
  width: 15px;
  height: 15px;
  background-color: #cecece;
  border: 2px solid #fff;
  border-radius: 100px;
  position: absolute;
  bottom: 2px;
  right: -5px;
}

.chat-container .chat-user-list .chat-user .chat-u-photo .status.on,
.chat-container .chat-head .chat-u-photo .status.on {
  background-color: #0DD02C;
}

.chat-container .chat-user-list .chat-user .details,
.chat-container .chat-head .details {
  display: block;
  float: left;
  flex: 1;
  padding: 0 0 0 16px;
}

.chat-container .chat-user-list .chat-user .details .nm-area,
.chat-container .chat-head .details .nm-area {
  display: flex;
  flex-wrap: nowrap;
}

.chat-container .chat-user-list .chat-user .details .nm-area .nm,
.chat-container .chat-head .details .nm-area .nm {
  display: block;
  color: #2F2B2B;
  font-size: 15px;
  line-height: 17px;
  font-weight: 500;
  width: 100%;
  flex: 1;
  padding: 0 10px 0 0;
}

.chat-container .chat-user-list .chat-user .details .nm-area .dt,
.chat-container .chat-head .details .nm-area .dt {
  display: block;
  color: #9f9a9a;
  font-size: 11px;
  line-height: 17px;
  font-weight: 500;
}

.chat-container .chat-user-list .chat-user .details .txt,
.chat-container .chat-head .details .txt {
  display: block;
  color: #2F2B2B;
  font-size: 13px;
  line-height: 15px;
  font-weight: 300;
  margin: 5px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*# sourceMappingURL=chat-style.css.map */


/* Cross icon on message page */
.chat-user-list li.remove {
  transform: translate(-300px, 0px);
  opacity: 0;
  transition: 600ms;
}

.chat-user-list li .remove-user {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
  top: 2px;
  right: 1px;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 100px;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  padding: 0;
}

.chat-user-list li .remove-user img {
  display: block;
  width: 14px;
  height: auto;
}

/* End of cross icon on message page */