.comp-conversation {
  width: auto;
  overflow: hidden;
  height: 100%;
  border-left: 1px solid #ccc;
}
.comp-conversation .msg-head {
  padding: 15px;
  border-bottom: 1px solid #ccc;
}
.comp-conversation .msg-head h3 {
  color: #222;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}
.comp-conversation .msg-head p {
  color: #343434;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: capitalize;
  margin-bottom: 0;
}
.comp-conversation .msg-head .chat-icon {
  display: none;
}
.comp-conversation .moreoption {
  display: flex;
  align-items: center;
  justify-content: end;
}
.comp-conversation .moreoption .navbar {
  padding: 0;
}
.comp-conversation .moreoption li .nav-link {
  color: #222;
  font-size: 16px;
}
.comp-conversation .moreoption .dropdown-toggle::after {
  display: none;
}
.comp-conversation .moreoption .dropdown-menu[data-bs-popper] {
  top: 100%;
  left: auto;
  right: 0;
  margin-top: 0.125rem;
}
.comp-conversation .msg-body h6 {
  text-align: center;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
  background: #fff;
  display: inline-block;
  padding: 0 5px;
  margin-bottom: 0;
}
.comp-conversation .msg-body ul {
  overflow: hidden;
  padding: 0 10px;
}
.comp-conversation .msg-body ul li {
  list-style: none;
  margin: 15px 0;
}
.comp-conversation .msg-body ul li.sender {
  display: block;
  width: 100%;
  position: relative;
}
.comp-conversation .msg-body ul li.sender::before {
  display: block;
  clear: both;
  content: '';
  position: absolute;
  top: -6px;
  left: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 15px 12px;
  border-color: transparent transparent #f5f5f5 transparent;
  -webkit-transform: rotate(-37deg);
  -ms-transform: rotate(-37deg);
  transform: rotate(-37deg);
}
.comp-conversation .msg-body ul li.sender p {
  color: #000;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  padding: 15px;
  background: #f5f5f5;
  display: inline-block;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-bottom: 0;
}
.comp-conversation .msg-body ul li.sender p b {
  display: block;
  color: #180660;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.comp-conversation .msg-body ul li.reply {
  display: block;
  width: 100%;
  text-align: right;
  position: relative;
}
.comp-conversation .msg-body ul li.reply .time {
  margin-right: 20px;
}
.comp-conversation .msg-body ul li.reply::before {
  display: block;
  clear: both;
  content: '';
  position: absolute;
  bottom: 15px;
  right: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 15px 12px;
  border-color: transparent transparent #4b7bec transparent;
  -webkit-transform: rotate(37deg);
  -ms-transform: rotate(37deg);
  transform: rotate(37deg);
}
.comp-conversation .msg-body ul li.reply p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  padding: 15px;
  background: #4b7bec;
  display: inline-block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  margin-bottom: 0;
}
.comp-conversation .msg-body ul li.reply p b {
  display: block;
  color: #061061;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.comp-conversation .msg-body ul li.reply::after {
  display: block;
  content: '';
  clear: both;
}
.comp-conversation .time {
  display: block;
  color: #000;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}
@media (max-width: 767px) {
  .comp-conversation {
    width: 100%;
    position: absolute;
    left: 1000px;
    right: 0;
    background: #fff;
    transition: all 0.5s ease;
    border-left: none;
  }
  .comp-conversation .msg-head .chat-icon {
    display: block;
    margin-right: 5px;
  }
  .comp-conversation .msg-head .flex-shrink-0 {
    font-size: 30px;
    color: #000;
  }
  .comp-conversation .msg-head h3 {
    font-size: 14px;
  }
  .comp-conversation .msg-head p {
    font-size: 12px;
  }
  .comp-conversation .msg-head .flex-shrink-0 img {
    height: 30px;
  }
  .comp-conversation .msg-body ul li.sender p {
    font-size: 13px;
    padding: 8px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .comp-conversation .msg-body ul li.reply p {
    font-size: 13px;
    padding: 8px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
  }
}
.comp-send-box {
  padding: 15px;
}
.comp-send-box:not(.is-new) {
  border-top: 1px solid #ccc;
}
.comp-send-box.is-new {
  padding-top: 0;
}
.comp-send-box form {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 15px;
}
.comp-send-box .form-control-group:not(:last-child) {
  margin-bottom: 8px;
}
.comp-send-box .form-control-group label {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
}
.comp-send-box .formgroup-mobile-number {
  margin-bottom: 24px;
}
.comp-send-box .formgroup-message {
  width: 100%;
}
.comp-send-box .formgroup-message input.form-control {
  width: 100%;
}
.comp-send-box .invalid input.form-control {
  border-color: #dc3545;
}
.comp-send-box .invalid .invalid-feedback {
  display: block;
  font-size: 12px;
  margin-top: 0;
}
.comp-send-box .sending-message {
  font-size: 11px;
}
.comp-send-box .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ccc;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.comp-send-box .form-control:disabled {
  cursor: not-allowed;
}
.comp-send-box button {
  border: none;
  background: #3867d6;
  padding: 0.375rem 5px;
  color: #fff;
  border-radius: 0.25rem;
  font-size: 14px;
  font-weight: 400;
  width: 24%;
  margin-left: 1%;
}
.comp-send-box button i {
  margin-right: 5px;
}
.comp-send-box button:disabled {
  background-color: #9FA4AA;
  cursor: not-allowed;
}
.comp-send-box .send-btns .button-wrapper {
  width: 125px;
  height: auto;
  text-align: left;
  display: block;
  background: #F6F7FA;
  border-radius: 3px;
  padding: 5px 15px;
  float: left;
  margin-right: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  position: relative;
  width: 100px;
  height: 100px;
  text-align: center;
  margin: 0 auto;
}
.comp-send-box .send-btns .button-wrapper span.label img {
  margin-right: 5px;
}
.comp-send-box .send-btns .button-wrapper span.label {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  cursor: pointer;
  color: #343945;
  font-weight: 400;
  text-transform: capitalize;
  font-size: 13px;
}
@media (max-width: 767px) {
  .comp-send-box .send-box button {
    width: 28%;
  }
  .comp-send-box .send-box .form-control {
    width: 70%;
  }
}
.comp-tenants {
  outline: 0;
  height: 100%;
  overflow: hidden;
  width: 300px;
  float: left;
  padding: 15px;
}
.comp-tenants .recent-txt {
  border-bottom: 1px solid #ccc;
  text-align: center;
}
.comp-tenants .msg-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comp-tenants .chat-list h3 {
  color: #222;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: capitalize;
  margin-bottom: 0;
}
.comp-tenants .chat-list p {
  color: #343434;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0;
}
.comp-tenants .chat-list .recent-ago {
  line-height: 1.5;
  color: #343434;
  font-size: 12px;
  font-weight: 400;
}
.comp-tenants .chat-list a {
  cursor: pointer;
}
.comp-tenants .chat-list a.d-flex {
  margin-bottom: 15px;
  position: relative;
  text-decoration: none;
}
.comp-tenants .chat-list a.active {
  background: #e8f1f3;
  padding-left: 5px;
}
.comp-tenants .chat-list .flex-shrink-0 {
  font-size: 30px;
  color: #000;
}
.comp-tenants .open-chat-modal {
  cursor: pointer;
}
@media (max-width: 767px) {
  .comp-tenants {
    width: 100%;
  }
  .comp-tenants .chat-list h3 {
    font-size: 14px;
  }
  .comp-tenants .chat-list p {
    font-size: 12px;
  }
}
.page-chatbox-container {
  height: 100vh;
  overflow: hidden;
  padding: 30px 0;
  background: #f5f5f5;
}
.page-chatbox-container .chat-area {
  position: relative;
  width: 100%;
  background-color: #fff;
  border-radius: 0.3rem;
  height: 90vh;
  overflow: hidden;
  min-height: calc(100% - 1rem);
}
.page-chatbox-container .chat-area .comp-conversation .modal-content {
  border: none;
  border-radius: 0;
  outline: 0;
  height: 100%;
}
.page-chatbox-container .chat-area .modal-dialog-scrollable {
  height: 100% !important;
}
.page-chatbox-container .chat-area .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ccc;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.page-chatbox-container .chat-area .form-control:focus {
  outline: 0;
  box-shadow: inherit;
}
.page-chatbox-container .chat-area .nav-tabs {
  border-bottom: 1px solid #dee2e6;
  align-items: center;
  justify-content: space-between;
  flex-wrap: inherit;
}
.page-chatbox-container .chat-area .nav-tabs .nav-item {
  width: 100%;
}
.page-chatbox-container .chat-area .nav-tabs .nav-item .nav-item.show .nav-link,
.page-chatbox-container .chat-area .nav-tabs .nav-item .nav-link.active {
  color: #222;
  background-color: #fff;
  border-color: transparent transparent #000;
}
.page-chatbox-container .chat-area .nav-tabs .nav-link {
  width: 100%;
  color: #180660;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: capitalize;
  margin-top: 5px;
  margin-bottom: -1px;
  background: 0 0;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.page-chatbox-container .chat-area .nav-tabs .nav-link:focus,
.page-chatbox-container .chat-area .nav-tabs .nav-link:hover {
  border-color: transparent transparent #000;
  isolation: isolate;
}
.page-chatbox-container .comp-conversation .modal-dialog,
.page-chatbox-container .comp-tenants .modal-dialog {
  max-width: 100%;
  margin: 0;
}
.page-chatbox-container a.add img {
  height: 36px;
}
.divider {
  position: relative;
  z-index: 1;
  text-align: center;
}
.divider::after {
  display: block;
  content: '';
  clear: both;
  position: absolute;
  top: 12px;
  left: 0;
  border-top: 1px solid #EBEBEB;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.button-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  text-align: center;
  margin: 0 auto;
}
button:focus {
  outline: 0;
}
.closess i {
  display: none;
}
@media (max-width: 767px) {
  .showbox {
    left: 0 !important;
    transition: all 0.5s ease;
  }
}
