@import url("https://fonts.googleapis.com/css2?family=Tajawal&display=swap");
.page {
  padding: 0;
}

.page .chat-page .row {
  margin: 0;
}

.page .chat-page .col-lg-3,
.page .chat-page .col-lg-9 {
  padding: 0;
  border-right: #ddd 1px solid;
}

.page .other-chats-box {
  position: relative;
  z-index: 0;
}

.page .other-chats-box .header {
  background: #fff;
  border-bottom: #ddd 1px solid;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 15px;
  position: relative;
  z-index: 8;
  border-radius: 8px 8px 0 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 61px;
}

.page .other-chats-box .header h1 {
  font-size: 18px;
  margin: 0;
  white-space: nowrap;
}

.page .other-chats-box .header img {
  width: 30px;
  margin-right: 10px;
}

.page .other-chats-box .other-chats-list {
  display: block;
}

.page .other-chats-box .other-chats-list li a {
  padding: 18px 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #222;
  border-bottom: #F5F5F6 1px solid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

.page .other-chats-box .other-chats-list li a img {
  height: 30px;
  margin: 0 8px;
  vertical-align: middle;
}

.page .other-chats-box .other-chats-list li a img.arrow-img {
  height: 15px;
}

.page .other-chats-box .other-chats-list li a span {
  font-size: 18px;
  width: 100%;
}

.page .other-chats-box .other-chats-list li a:hover {
  background: #f2f2f2;
}

.page .chat-box {
  height: 95vh;
  background-image: url("/img/bg2.jpg");
  background-size: 300px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  z-index: 0;
}

.page .chat-box.chat-modal-show {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.page .chat-box .header {
  background: #fff;
  border-bottom: #ddd 1px solid;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 15px;
  position: relative;
  z-index: 8;
  border-radius: 8px 8px 0 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.page .chat-box .header h1 {
  font-size: 18px;
  margin: 0;
  white-space: nowrap;
}

.page .chat-box .header img {
  width: 30px;
  margin-right: 10px;
}

.page .chat-box .msgs-box {
  list-style: none;
  margin: 0;
  width: 100%;
  padding: 0 8px;
  padding-bottom: 8px;
 /*display:-webkit-box;*/
 /*display:-ms-flexbox;*/
 /*display:flex;*/
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  overflow-y: scroll;
}

.page .chat-box .msgs-box .msg-item {
  width: 100%;
  padding: 4px 0;
  position: relative;
}

.page .chat-box .msgs-box .msg-item .user-img {
  width: 55px;
  height: 55px;
  border-radius: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 5px;
  vertical-align: bottom;
  position: relative;
  bottom: -2px;
  border: #D5AD36 2px solid;
}

.page .chat-box .msgs-box .msg-item b {
  top: -24px;
  left: 3px;
  position: absolute;
  font-size: 15px;
  color: #111;
  white-space: nowrap;
}

.page .chat-box .msgs-box .msg-item span {
  max-width: 70% !important;
  padding: 4px 15px;
  border-radius: 25px;
  font-size: 18px !important;
  position: relative;
  display: inline-block;
}

.page .chat-box .msgs-box .msg-item.msg-my {
  text-align: right;
  direction: rtl;
}

.page .chat-box .msgs-box .msg-item.msg-my span {
  color: #fff;
  background: #1699A7;
}

.page .chat-box .msgs-box .msg-item.msg-my b {
  left: unset;
  right: 3px;
}

.page .chat-box .msgs-box .msg-item.msg-my .user-img {
  border-color: #1699A7;
}

.page .chat-box .msgs-box .msg-item.msg-his {
  text-align: left;
}

.page .chat-box .msgs-box .msg-item.msg-his span {
  color: #fff;
  background: #D5AD36;
}

.page .chat-box .send-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-top: #ddd 2px solid;
}

.page .chat-box .send-box input {
  width: 100%;
  border: none;
  padding: 8px 20px;
  font-size: 18px;
}

.page .chat-box .send-box button {
  background: #fff;
  border: none;
  padding: 5px 18px;
  cursor: pointer;
}

.page .chat-box .send-box button img {
  height: 35px;
  width: 55px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  background: #1699A7;
  border-radius: 50px;
  padding: 8px;
  vertical-align: middle;
}
/*# sourceMappingURL=chat.css.map */