.search_tp input {
  color: var(--c_heading) !important;
}

.about p a,
a:not([href]) {
  text-decoration: underline !important;
}

.cust_tab2 .nav-tabs .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.1px;
  border-radius: 0;
  min-height: 50px;
  min-width: 150px;
  border: 0;
}

.cust_tab2 .nav-tabs .nav-link:not(:last-child) {
  border-right: 1px solid #d1d1d1 !important;
}

.cust_tab2 .nav-tabs .nav-link.active {
  border: 0;
  background: #f8f8f8;

}

.cust_tab2 .nav-tabs {
  display: inline-flex;
  border-radius: 14px 14px 0 0;
  border: 1px solid #D1D1D1;
  overflow: hidden;
  border-bottom: 0;
}

.tables table tr :where(th, td) {
  padding: 20px 10px;
  border-top: 1px solid #D1D1D1;
}

.tables table tr th {
  background: #F8F8F8;
  font-size: 14px;
  font-weight: 500;
  color: #222222B2;

}

.tables table tr td {
  font-size: 14px;
  color: var(--c_black);
  letter-spacing: 0.1px;

}

.tables table {
  border: 1px solid #d1d1d1;
  width: 100%;
}

.tables table tr td.text_primary {
  color: var(--c_primary);
}

.tables table tr td .table_tag {
  background: #D4F8D3;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px
}

.tables table .company_logo {
  width: 85px;
  height: 35px;
  border-radius: 4px;
}

.tables table .company_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tables table .country_list {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.tables table .country_list figure {
  max-width: 50;
}

.search_tp2 {
  display: flex;
  width: 100%;
  position: relative;
}

.search_tp2 input[type=search] {
  background: transparent;
  border-radius: 8px;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
  padding-right: 170px;
}

.search_tp2 input[type=search]::placeholder {
  color: #d1d1d1;
}

.mb_60 {
  margin-bottom: 60px;
}

.search_tp2 .btnn {
  min-width: 160px;
  position: absolute;
  right: 3px;
  height: calc(100% - 6px);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 6px;
  z-index: 3;
}

.pagination_list {
  margin: 35px 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 4px;

}

.pagination_list li {
  transition: var(--transition);
  width: 24px;
  height: 24px;
  font-size: 20px;
  color: var(--c_black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  letter-spacing: 0.1px;

}

.pagination_list li.active {
  background: var(--c_primary);
  color: var(--c_white);
}

.pagination_list li:hover {
  background: #00a9a340;
}

.about.mt_70 {
  margin-top: 66px;
}

.brokerage_news .by_rt_news {
  max-height: unset;
  padding: 20px 40px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 25px 40px;
}

.brokerage_news .by_rt_news li {
  margin: 0;
  width: calc(100% / 2 - (40px *1 /2));
}

.brokerage_news .by_rt_news :where(h3, p) {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* number of lines to show */
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.brokerage_news .by_rt_news h3 {

  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;

}

.event_more_top {
  border-top: 1px solid #CCCCCC;
}

.up_crs .logo_list {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  padding: 16px 30px 30px 16px;
}

.up_crs .logo_list figure {
  width: 140px;
  height: 56px;
  border-radius: 4px;
}

.up_crs .logo_list figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.progress_design {
  height: 30px;
  background: #F6F6F6;
  border-radius: 0;
}

.progress_design .progress-bar {
  background: var(--c_primary);
}

/* chat css */
.chat_sc {
  padding-block: 40px;
}

.chat_sc h1 {
  font-size: 26px;
  font-weight: 700;
  color: #0D1513;
}

.chat_sc .lt {
  height: 100%;
  padding-block: 15px;
  max-height: calc(100vh - 250px);
  width: calc(28% - var(--gap_x));


  overflow: auto;
  border-right: 1px solid #D9DCE0;
}

.chat_sc .rt {
  width: calc(72% - var(--gap_x));
}

.chat_sc .chat_single {
  display: flex;
  align-items: center;
  background-color: var(--c_white);
  padding: 15px 12px;
  position: relative;

  cursor: pointer;
  gap: 8px;
}

.chat_sc .chat_single:hover {
  background-color: #F5F5F5;
}

.chat_sc .chat_single.active {
  background-color: #F5F5F5;
}

.chat_sc .chat_single:not(:last-child) {
  margin-bottom: 8px;
}

.chat_sc .chat_single .time {
  top: 10px;
  right: 10px;
  position: absolute;
  font-size: 12px;
  line-height: 1;
}

.chat_sc .chat_single figure {
  width: 47px;
  height: 47px;
  min-width: 47px;
  border-radius: 50%;
  border: 2px solid var(--c_white);
  overflow: hidden;
}

.chat_sc .chat_single figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat_sc .chat_single p {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat_sc .chat_single p strong {
  font-size: 14px;
  color: var(--c_heading);
}

.chat_sc .chat_single p>* {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.chat_sc .chat_box {
  border: 1px solid var(c_border);
  max-height: calc(100vh - 327px);
  min-height: calc(100vh - 327px);
  border-radius: 14px;
  overflow: auto;
}

.chat_sc .chat_box .chat_head {
  top: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-bottom: 1px solid var(c_border);
  background-color: var(--c_white);
  padding: 15px 20px;
  position: sticky;
  z-index: 2;

}

.chat_sc .chat_box .chat_head figure {
  width: 47px;
  height: 47px;
  min-width: 47px;
  border-radius: 50%;
  overflow: hidden;
}

.chat_sc .chat_box .chat_head figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat_sc .chat_box .chat_head p {
  font-weight: 800;
  color: var(--c_primary);
  margin-bottom: 0;
}

.chat_sc .chat_box .chat_head svg {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--c_primary);
  margin-left: auto;
  color: var(--c_white);
  padding: 5px;
}

.chat_sc .chat_box .chat_body {
  padding: 20px 25px;
}

.chat_sc .chat_box .chat_body>p {
  font-size: 14px;
  text-align: center;
}

.chat_sc .chat_box .chat_body>p:not(:first-child) {
  margin-top: 30px;
}

.chat_sc .chat_box .chat_body>p:not(:last-child) {
  margin-bottom: 15px;
}

.chat_sc .chat_box .chat_body .single_message {
  max-width: 310px;

}
.chat_sc .chat_box .chat_body .single_message.single_message.recieved
{
  display: flex;
  align-items: flex-start;
  gap: 2px; 
}

.chat_sc .chat_box .chat_body .single_message h6 {
  font-size: 14px;
  color: #00A9A3;
  font-weight: 500;
 

}

.chat_sc .chat_box .chat_body .single_message:not(:last-child) {
  margin-bottom: 15px;
}

.chat_sc .chat_box .chat_body .single_message .msg_body {
  width: auto;
  padding: 15px 20px;
  background-color: #f5f8fa;
  display: inline-block;
  margin-bottom: 9px;
  position: relative;
}



.chat_sc .chat_box .chat_body .single_message .msg_body p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.chat_sc .chat_box .chat_body .single_message.sended {
  text-align: right;
  margin-left: auto;
}

.chat_sc .chat_box .chat_body .single_message.sended .msg_body {
  border-radius: 8px 8px 0 8px;
  background-color: #00A9A3;
  word-break: break-word;
}

.chat_sc .chat_box .chat_body .single_message.sended .msg_body::before {
  right: 0;
  border-top-color: var(--c_primary);
  border-left: 15px solid transparent;
}

.chat_sc .chat_box .chat_body .single_message.sended .msg_body p {
  color: var(--c_white);
  text-align: left;
}

.chat_sc .chat_box .chat_body .single_message.recieved .msg_body {
  border-radius:8px;
  background-color: #E8E8E8;
}

.chat_sc .chat_box .chat_body .single_message.recieved .msg_body::before {
  left: 0;
  border-top-color: var(--c_grey);
  border-right: 15px solid transparent;
}

.chat_sc .chat_box .chat_body .single_message.recieved .msg_body p {
  color: var(--c_primary);
}

.chat_sc .chat_foot {
  display: flex;
  align-items: center;
  padding-top: 25px;
  gap: 5px;
}

.chat_sc .chat_foot .control_group {
  margin-bottom: 0;
  width: 100%;
}

.chat_sc .chat_foot input {
  border: 1px solid #696969;
  border-radius: 50px;
  background-color: #F4F4F4;
}

.chat_sc .chat_foot input:focus {
  border-color: var(--c_primary);
}

.chat_sc .chat_foot .btnn {
  min-width: 1px;
  min-height: 45px;
  padding: 0 0 0 15px;
  background-color: transparent;
  border-radius: 0;
  border: none;
}
.chat_sc .chat_foot .btnn.btn_icon
{
  width: 45px;
  min-width: 45px;
  height: 45px;
  background-color: #01B5AE;
  border-radius: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat_sc .chat_foot .btnn.btn_icon .fas

{
  color: var(--c_white);
  font-weight: 600;
}
.chat_srch {
  padding-block: 13px;
}

.chat_srch input {
  min-height: 45px;
  border-radius: 50px;
  background-color: #F3F3F3;
}
.chat_sc .chat_box::-webkit-scrollbar,.chat_sc .lt::-webkit-scrollbar
{width: 4px;
}



.chat_sc .chat_box::-webkit-scrollbar-track,.chat_sc .lt::-webkit-scrollbar-track {
  background-color: var(--c_white);
}
 
/* Handle */
.chat_sc .chat_box::-webkit-scrollbar-thumb,.chat_sc .lt::-webkit-scrollbar-thumb {
  background: var(--c_primary); 
}
/* chat css end */