* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(
    #009688 0%,
    #009688 130px,
    #d9dbd5 130px,
    #d9dbd5 100%
  );
}
.container {
  position: relative;
  width: 1150px;
  max-width: 100%;
  height: calc(100vh - 40px);
  background: rgb(72, 22, 22);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0, 06), 0 2px 5px rgba(0, 0, 0, 0, 06);
  display: flex;
}
.container .LeftSide {
  position: relative;
  flex: 30%;
  background: #fff;
}
.container .rightSide {
  position: relative;
  flex: 70%;
  background: #e5ddd5;
  border-right: 1px solid black;
}
.container .rightSide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./images/backround.jpg);
}
.header {
  height: 60px;
  width: 100%;
  background: #ededed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}
.userImage {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  cursor: pointer;
}
.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav_icons {
  display: flex;
}
.nav_icons li {
  display: flex;
  list-style: none;
  cursor: pointer;
  color: #51585c;
  font-size: 1.5rem;
  margin-left: 22px;
}
.searchchat {
  position: relative;
  width: 100%;
  height: 50px;
  background: #f6f6f6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}
.search_chat div {
  width: 100%;
}
.search_chat div input {
  width: 100%;
  outline: none;
  border: none;
  background: #fff;
  padding: 6px;
  height: 38px;
  border-radius: 30px;
  font-size: 14px;
  padding-left: 40px;
}
.search_chat div input::placeholder {
  color: #bbb;
}
.search_chat div ion-icon {
  position: absolute;
  left: 10px;
  top: 70px;
  font-size: 1.2rem;
}
.chatList {
  position: relative;
  height: calc(100% - 110px);
  overflow: auto;
  background: #e2edec;
}
.chatList .block {
  position: relative;
  width: 100%;
  display: flex;
  /* justify-content: center;*/
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0, 06);
  cursor: pointer;
}
.chatList .block.active {
  background: #ebebeb;
}
.chatList .block:hover {
  background: #f5f5f5;
}
.chatList .block .imgbx {
  position: relative;
  min-width: 45px;
  height: 45px;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 9px;
}
.chatList .block .details {
  position: relative;
  width: 100%;
}
.chatList .block .details .listHead {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.chatList .block .details .listHead h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}
.chatList .block .details .listHead .time {
  font-size: 0.75rem;
  color: #aaa;
}
.chatList .block.unread .details .listHead .time {
  color: rgb(120, 212, 120);
}
.chatList .block .details .listHead .time {
  color: #111;
}
.message_p {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.message_p p {
  color: #aaa;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message_p b {
  background: rgb(120, 212, 120);
  color: #fff;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
}
