
/*
*
*-----------chat box CSS-----------
*
*/
:focus {
    outline: none;
}

#chat-overlay {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    pointer-events: none;
    position: fixed;
    bottom: 0;
    right: 415px;z-index: 99999;
}
.page-content-wrapper {
  position: relative;
}
.page-content-wrapper .short-chat-dropdown {
  position: fixed;
  bottom: 5px;
  right: 50px;
  max-width: 344px;
  width: 100%;
  z-index: 2;
}
@media (max-width: 1199px) {
  .page-content-wrapper .short-chat-dropdown {
    right: 40px;
  }
}
@media (max-width: 991px) {
  .page-content-wrapper .short-chat-dropdown {
    right: 30px;
  }
}
@media (max-width: 576px) {
  .page-content-wrapper .short-chat-dropdown {
    right: 5px;
    max-width: 330px;
  }

  #chat-overlay{right: 5px;}
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item {
  border: unset;
  border-radius: 12px 12px 0 0;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-header {
  background-color: var(--black-color);
  border-radius: 12px 12px 0 0;
  border: unset;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-header .accordion-button {
  background-color: var(--black-color);
  border-radius: 12px 12px 0 0;
  border: unset;
  color: var(--white-color);
  font-family: var(--font-generalSans);
  font-size: 19px;
  font-weight: 600;
  line-height: 26.6px;
  letter-spacing: -0.0025em;
  padding: 11px 16px;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-header .accordion-button:focus {
  box-shadow: unset;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-header .accordion-button::after {
  content: "\f286";
  font-family: bootstrap-icons;
  background-image: none;
  color: var(--white-color);
  width: unset;
  height: unset;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body {
  border: 1px solid var(--border-color);
  padding: 18px 16px;
  height: 500px;
  overflow-y: scroll;
}
@media (max-width: 576px) {
  .page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body {
    padding: 18px 10px;
  }
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body::-webkit-scrollbar {
  width: 4px; /* Width of the scrollbar */
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body::-webkit-scrollbar-track {
  background: transparent; /* Color of the scrollbar track */
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body::-webkit-scrollbar-thumb {
  background: #B3B3B3; /* Color of the scrollbar thumb */
  border-radius: 8px; /* Rounded corners */
  height: 50px;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #CCCCCC;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: unset;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li .profile-img img {
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  border-radius: 50%;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li .profile-name-and-msg {
  width: 100%;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li .profile-name-and-msg .profile-name-and-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li .profile-name-and-msg .profile-name-and-time h6 {
  color: var(--title-color);
  font-family: var(--font-generalSans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.0025em;
  margin-bottom: 0;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li .profile-name-and-msg .profile-name-and-time span {
  color: var(--paragraph-color);
  font-family: var(--font-generalSans);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.0025em;
}
.page-content-wrapper .short-chat-dropdown .accordion .accordion-item .accordion-body ul li .profile-name-and-msg p {
  color: var(--paragraph-color2);
  font-family: var(--font-generalSans);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.0025em;
  margin-bottom: 0;
}

.chat-list{display: flex; gap: 10px;}


.chat-bx11 {

    padding: 0;
    z-index: 99;
    width: 330px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    border: solid 1px #dedede;
    pointer-events: auto;
    /* position: absolute; */
    right: 0;
    display: block;
    right: 0;
    margin-right: 9px;
    bottom: 0px;
}

.chat-bx11.active {
    display: block !important;
}

.closed-icon.chat-bx11 {
    display: block !important;
}

.chat-bx11 .user-chatbx {
    display: flex;
    background: #191919;
    justify-content: space-between;
    align-items: center;
    padding: 5px 11px;
    border-radius: 5px 5px 0 0;
}

.chat-bx11 .user-chatbx img {
    height: auto;
    width: 16px;
}

.close-chat a{
    color: #fff;
    border-radius: 50%;
    border: 1px solid #fff;
    padding: 3px 4px;
    font-size: 9px;

}

.chat-bx11 .username11::before {
    content: '';
   /* width: 15px;
    height: 15px;
    background: #bec0c2;
    position: absolute;
    border-radius: 50%;
    left: -5px;
    top: 10px;*/
}

.username11.online::before {
    content: '';
    background: #1edb1e;
}

.username11.offline::before {
    content: '';
    background: red;
}

.username11.away::before {
    content: '';
    background: yellow;
}

.profile-status {
    margin-left: 10px;
    margin-bottom:  10px;
}

.profile-status.online {
    width: 10px;
    height: 10px;
    background-color: #1edb1e;
    border-radius: 50%;
}

.profile-status.offline {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
}

.profile-status.away {
    width: 10px;
    height: 10px;
    background-color: yellow;
    border-radius: 50%;
}


.profile-name-container {
    display: flex;
    align-items: center;
}

.chat-bx11 .username11 {
    color: #fff;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.chat-bx11 .username11 a {
    color: #fff; font-size: 13px;
    text-decoration: none;
}

.chat-bx11 .username11 h4 {
    margin: 0;
    line-height: 1;
    font-size: 18px;
}

.chat-bx11 .username11 p {
    margin: 0;
    font-size: 14px;
}

.chat-bx11 .closed-icon i {
    color: #fff;
}

.chat-bx11 .icon-bxright {
    display: flex;
    align-items: baseline;
}

.my-chat1.second-user {
    justify-content: right;
}

.my-chat1.second-user .user-title01 {
    margin-left: 10px;
}

.user-title01 img{min-width: 30px;}

.mileston-bx {
    background: #fff;
    padding: 6px 15px;
    border-bottom: solid 1px #dedede;
    box-shadow: 0px 4px 2px #f7f7f7;
    text-align: right;
}

.mileston-bx button {
    background: #377de5;
    transition: all 0.5s ease;
    color: #fff;
    text-decoration: none;
    padding: 7px 7px;
    display: inline-block;
    font-weight: 300;
    border-radius: 3px;
    font-size: 12px;
    border: solid 1px #377de5;
}

.mileston-bx button:hover {
    background: #fff;
    color: #377de5;
}

.create-milestone-btn-part {
    display: flex;
    justify-content: right;
    flex-direction: row;
    margin-top: 12px;
}

#create_milestone_alert {
    display: none;
}

.chat-viewbx1 {

    padding: 10px; height: 330px;
    overflow-y: scroll;
}

#fullchat .chat-viewbx1 {
    height: 73vh;
    padding: 10px;
    overflow-y: scroll;
}

.chat-viewbx1 .second-user {
    display: flex;

    margin-bottom: 20px;
}

.chat-viewbx1 .second-user .user-title01 {
    text-transform: uppercase;

    font-size: 20px;
    padding: 0 8px;
    color: #4f0153;
    margin-right: 0px;
}

.chat-viewbx1 .second-user p {
    border: 1px solid #f0f0f0;
    color: #000;
    display: inline-block;
    padding: 10px; font-size: 13px;
    border-radius: 10px;
    border-top-left-radius: 0;
    margin-bottom: 0;
    word-break: break-all;
}


.chat-viewbx1 .my-chat1 p {
    background: #e6f2fe;
    color: #000;
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    border-top-right-radius: 0;
}

.chat-viewbx1 p a {
    color: #fff;
}

.chat-viewbx1 p {
    font-size: 14px;
}

.chat-viewbx1 p time {
    font-size: 9px !important;
    text-align: right;
    display: block;
}

.chat-viewbx1 p time img {
    width: 9px;
    margin-left: 5px;
    filter: grayscale(1);
}

.chat-viewbx1 p time img.active {
    filter: unset;
}

.chat-viewbx1 p a[href$=".pdf"]::before {
    content: '\f1c1';
    font: normal normal normal 14px/1 FontAwesome;
    color: red;
    margin-right: 6px;
    font-size: 20px;
}

.chat-viewbx1 img {
    max-height: 60px;
    width: auto;
}

.attech-file-icon i {
    cursor: pointer;
}

.chat-commentbx1 {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 10px 15px;
    border: solid 1px #dedede;
    margin: 10px;
    border-radius: 25px;
    align-items: center;
}

.chat-commentbx1 i  {
    color: #4e525a;
    font-size: 20px;
    margin-top: 4px;
}

.comment-rightbx1 {
    display: flex;
    align-items: center;
}

.comment-rightbx1 .emoji-bx01 {
    margin-right: 15px;
}

.chat-commentbx1 .inputbxx1 {}

.chat-commentbx1 .inputbxx1 input {
    padding: 3px;
    font-size: 14px;
    border: 0;
}


.emoji-list  {}
.emoji-list ul {width: 100%; padding: 20px 20px 0px; border-top: solid 1px #dedede;}
.emoji-list ul li {display: inline-block;}
.emoji-list ul li a { text-decoration: none;}
.submit-chatbtn01.btn-chat a img {width: 19px; height: auto;filter: grayscale(1) invert(1); transition: all 0.5s ease;}
.submit-chatbtn01.btn-chat a:hover img {filter:unset;}
.fulscreen-icon a{color: #fff}
.submit-chatbtn01.btn-chat{background: #0044cc;
    padding: 4px 0px;
    border-radius: 50%;
    text-align: center;
    /* line-height: 31px; */
    width: 35px;
    height: 35px;}
