
.tf-chat-page .top-panel-wrapper {
  margin-top: 50px;
}
.tf-chat-page .page-wrapper {
  padding-left: 0 !important;
}

.tf-chat-page .action-bar {
  top: 82px;
}

.tf-chat-page .has-full-height {
  height: calc(100vh - 168px);
  /* height: calc(100vh - 217px); */
  /* height: calc(100vh - 217px); */
}

.tf-chat-page .show {
  display: block !important;
}

.tf-chat-page .card {
  height: 90%;
  border-radius: 0 !important;
}

.tf-chat-page .contacts_body {
  padding: 0 !important;
  overflow-y: auto;
  white-space: nowrap;
}

.tf-chat-page .msg-card-body-portal {
  overflow-y: auto;
  padding-bottom: 20px;
  height: 60vh;
}

.tf-chat-page .card-header {
  padding: 10px;
  border-bottom: 0 !important;
  background: transparent;
}

.tf-chat-page .container {
  align-content: center;
}

.tf-chat-page .firms-card {
  /*background: linear-gradient(180deg, var(--primary) 0%, var(--primary-80) 100%);*/
  background: #1b6eb2;
}

.tf-chat-page .firm-logo {
  height: 29px;
  width: auto;
  position: relative;
}

.tf-chat-page .firm-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.firm-name-wrap {
  display: inline-block;
}

.tf-chat-page .firms-users-card {
  background: linear-gradient(180deg, var(--primary-20) 0%, var(--primary-10) 100%);
}

.tf-chat-page .contacts_card .search {
  height: 30px;
  font-size: 14px;
  /* border: 0 !important;
  border-radius: 0 !important;  */
}

.tf-chat-page .contacts_card .search:focus {
  box-shadow: none !important;
  outline: 0px !important;
}

.tf-chat-page .type_msg {
  border: 0 !important;
  color: #000 !important;
  height: 35px !important;
  overflow-y: auto;
}

.tf-chat-page .type_msg:focus {
  box-shadow: none !important;
  outline: 0px !important;
}

.tf-chat-page .attach_btn {
  border-radius: 15px 0 0 15px !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  border: 0 !important;
  color: white !important;
  cursor: pointer;
  height: 35px;
}

.tf-chat-page .send_btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-chat-page .search_btn {
  border-radius: 0 15px 15px 0 !important;
  background: #fff;
  border: 0 !important;
  color: var(--primary) !important;
  cursor: pointer;
  font-size: 13px;
}

.tf-chat-page .contacts {
  list-style: none;
  padding: 0;
}

.tf-chat-page .contacts li {
  width: 100% !important;
  padding: 3px 10px;
  color: #fff !important;
  font-weight: 600;
}
.tf-chat-page .user-col-left .card-header {
  background: #304d6f;
}
  .tf-chat-page-2 .user-col-left-2 .card-header-2 {
    background: white;
  } 
 

.search2{
  border: 1px solid #19395f !important;
}

.search-font-1{
  color:#000 !important;
}

/* .search2::placeholder {
  color: #FF0000; */
  /* Change the color to your desired color value */
/* } */

.tf-chat-page .user-col-left .contacts li:nth-child(odd) {
  background: #304d6f;
}
.tf-chat-page .user-col-left .contacts li:nth-child(even) {
  background: #1b6eb2;
}
.tf-chat-page  .user-col-left .contacts li.active {
  background: var(--primary-80);
  color: #fff !important;
}
.tf-chat-page .users-col .contacts li {
  color: #000 !important;
}
.tf-chat-page .users-col .contacts li.active {
  background: #fff;
  color: #000 !important;
}

.tf-chat-page .user-col-mid .card-header {
  background: white;
}
.tf-chat-page .user-col-mid .card-body {
  background: #e6edf7;
}
.tf-chat-page .user-col-mid .contacts li:nth-child(odd) {
  background: #d2d9e1;
}
.tf-chat-page .user-col-mid .contacts li:nth-child(even) {
  background: #e6edf7;
}
.tf-chat-page  .user-col-mid .contacts li.active {
  background: var(--primary-80);
  color: #fff !important;
}


.tf-chat-page .img_cont,
.tf-chat-page .img_cont_msg {
  position: relative;
  width: 29px;
  height: 29px;
  max-width: 29px;
  flex: 0 0 29px;
  border-radius: 50%;
  border: 1px solid #2F3235;
  display: flex;
  align-items: center;
}

.tf-chat-page .user_img,
.tf-chat-page .user_img_msg {
  height: 100%;
  width: 100% !important;
  object-fit: cover;
  overflow: hidden;
  border-radius: 50%;
}

.tf-chat-page .online_icon {
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: -1px;
  right: -1px;
  border: 1px solid white;
  z-index: 1;
}

.tf-chat-page .offline {
  background-color: #c23616 !important;
}

.tf-chat-page .user_info {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
}

.tf-chat-page .user-name {
  line-height: 12px;
}

.tf-chat-page .user_info p {
  font-size: 14px;
  color: black;
}


.tf-chat-page .user_info p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  line-height: normal;
  padding-top: 4px;
}

.tf-chat-page .video_cam {
  margin-left: 50px;
  margin-top: 5px;
}

.tf-chat-page .video_cam span {
  color: white;
  font-size: 14px;
  cursor: pointer;
  margin-right: 20px;
}

.tf-chat-page .msg_cotainer {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 10px;
  background: var(--primary-15) !important;
  padding: 10px;
  position: relative;
  min-width: 70px;
  text-align: left;
}

.tf-chat-page .msg_cotainer_send {
  min-width: 70px;
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  background: var(--primary-10) !important;
  padding: 10px;
  position: relative;
  /*width: 100%;*/
}

.tf-chat-page .msg_time_send_client_portal,
.tf-chat-page .msg_time_client_portal {
  position: absolute;
  bottom: -15px;
  color: rgba(14, 13, 13, 0.5);
  font-size: 14px;
}

.msg_time_send_client_portal {
  right: 0;
}

.tf-chat-page .msg_time_client_portal {
  left: 0;
}

.tf-chat-page  .msg_time {
  position: absolute;
  left: 0;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.697);
  font-size: 10px;
}

.msg_time_send {
  position: absolute;
  right: 0;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.693);
  font-size: 14px;
}

.tf-chat-page .msg_head {
  position: relative;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 0 !important;
  /* height: 50px; */
  background: linear-gradient(90deg, var(--primary-20) 0%, var(--primary-10) 100%);
}

.tf-chat-page #action_menu_btn {
  position: absolute;
  right: 10px;
  top: 10px;
  color: rgba(255, 255, 255, 0.697);
  cursor: pointer;
  font-size: 14px;
}

.tf-chat-page .action_menu {
  z-index: 1;
  position: absolute;
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 15px;
  top: 30px;
  right: 15px;
  display: none;
}

.tf-chat-page .action_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tf-chat-page .action_menu ul li {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 5px;
}

.tf-chat-page .action_menu ul li i {
  padding-right: 10px;
}

.tf-chat-page .action_menu ul li:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
  .tf-chat-page .contacts_card {
    margin-bottom: 15px !important;
  }
}

.tf-chat-page .received {
  justify-content: flex-start;
}

.tf-chat-page .replied {
  justify-content: flex-end;
}

.tf-chat-page .is_active {
  display: block !important;
}

.tf-chat-page .hide {
  display: none;
}

.tf-chat-page .msg_card_body {
  padding: 15px 50px 0 50px !important;
}

.tf-chat-page .messages-wrapper {
  height: 100%;
}

.tf-chat-page .card-footer-custom {
  border-radius: 0 0 15px 15px !important;
  border-top: 0 !important;
  bottom: 0;
  /* position: absolute; */
  width: 100%;
}
.tf-chat-page .send-message-wrapper {
  /*background: linear-gradient(90deg, var(--primary-10) 0%, var(--primary-20) 100%);*/
  border-radius: 0 !important;
  border-top: 0 !important;
  bottom: 0;
  position: absolute;
  width: 100%;
  padding: 10px 50px;
  z-index: 999;
}
.tf-chat-page .msg_card_body-wrapper {
  overflow: auto;
  display: flex;
  flex-direction: column-reverse;
  overflow-y: auto;
  height: calc(100% - 105px);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tf-chat-page .msg_card_body-wrapper::-webkit-scrollbar {
  display: none;
}

.tf-chat-page .msg_card_body div {
  transform: translateZ(0);
}
@media screen and (max-width: 1200px) {
  .tf-chat-page .messages-container {
     max-width: 100% !important;
  }
}

/*

:root {
  --primary: var(--brand-color, #19395f);

  --primary-25: color-mix(in srgb, var(--primary), #fff 75%);

}




.btn-primary-lighter {
  background-color: var(--primary-25) !important;
  border-color: var(--primary-25) !important;
  color: var(--primary);
}

.btn-white-hover:hover {
  background: #fff !important;
  border-color: #fff !important;
}

.text-lg {
  font-size: 14px;
  line-height: 21px;
}


.height-25 {
  height: 25px !important;
}


.p-l-6 {
  padding-left: 6px !important;
}


.p-r-5 {
  padding-right: 5px !important;
}


.theme-ring{
  border-radius: 50%;
  border: 1px var(--brand-color) solid;
}

.ic {
  display: inline-block;
}

.ic-29 {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
} */

.translate-middle {
  transform: translate(-50%,-50%)!important;
}
.start-50 {
  left: 50%!important;
}
.top-50 {
  top: 50%!important;
}



 /* left bar button same width */
.left-bar-button{
  width: 95px;
 padding:8px;
}


  /* increasing table grid */
.inc-grid{
  height:300% !important;
}

/* Law firm button */

    .btn-outline-primary:hover {
      color: #fff;
      background-color: #1C6FB2;
      border-color: #1C6FB2 }

            .btn-outline-primary {
              color: #1C6FB2;
              border-color: #1C6FB2;
            }