/* test */.activemessenger {
    background: #36b8e9 !important;
    color: #ffffff !important;
}

#messenger .bubble {
    padding: 10px;
    max-width: 378px;
    /* border-radius: 5px; */
    border-radius: 0px 25px 25px 25px;
    background-color: #7c40d8;
}

#messenger .messenger {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    font-size: 12px;
    color: #ffffff;
    /* width: auto; */
}

.messenger.messenger-left {
    align-items: flex-start;
}

.messenger.messenger-right {
    justify-content: flex-end;
}

#messenger .messenger.messenger-right .bubble {
    color: #ffffff;
    background-color: #36b8e9;
    border-radius: 25px 0px 25px 25px;
}

.square-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.square-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Users List CSS Start */
.users {
    padding: 25px 30px;
}

.users header,
.users-list a {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
    justify-content: space-between;
}

/* .wrapper img {
      object-fit: cover;
      border-radius: 50%;
  } */

.users header img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

:is(.users, .users-list) .content {
    display: flex;
    align-items: center;
}

:is(.users, .users-list) .content .details {
    color: #000;
    margin-left: 20px;
}

:is(.users, .users-list) .details span {
    font-size: 14px;
    font-weight: 500;
}

.users header .logout {
    display: block;
    background: #333;
    color: #fff;
    outline: none;
    border: none;
    padding: 7px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 17px;
}

.users .search {
    margin: 5px 0;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

.users .search .text {
    font-size: 18px;
}

.users .search input {
    position: absolute;
    height: 42px;
    width: calc(100% - 50px);
    font-size: 16px;
    padding: 0 13px;
    border: 1px solid #e6e6e6;
    outline: none;
    border-radius: 5px 0 0 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.users .search input.show {
    opacity: 1;
    pointer-events: auto;
}

.users .search button {
    position: relative;
    z-index: 1;
    width: 47px;
    height: 42px;
    font-size: 17px;
    cursor: pointer;
    border: none;
    background: #fff;
    color: #333;
    outline: none;
    border-radius: 0 5px 5px 0;
    transition: all 0.2s ease;
}

.users .search button.active {
    background: #333;
    color: #fff;
}

.search button.active i::before {
    content: "\00D7";
    font-size: 30px;
    font-weight: bold;
}

.users-list {
    max-height: 350px;
    overflow-y: auto;
}

:is(.users-list, .messenger-box)::-webkit-scrollbar {
    width: 0px;
}

.users-list a {
    padding-bottom: 10px;
    margin-bottom: 15px;
    padding-right: 15px;
    border-bottom-color: #f1f1f1;
}

.users-list a:last-child {
    margin-bottom: 0px;
    border-bottom: none;
}

.users-list a img {
    height: 40px;
    width: 40px;
}

.users-list a .details p {
    color: #67676a;
    font-size: 12px;
}

.users-list a .status-dot {
    font-size: 12px;
    color: #468669;
    padding-left: 10px;
}

.users-list a .status-dot.offline {
    color: #ccc;
}

/* messenger Area CSS Start */
.messenger-area header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 5px 30px;
}

.messenger-area header .back-icon {
    color: #333;
    font-size: 18px;
}

.messenger-area header img {
    height: 45px;
    width: 45px;
    margin: 0 15px;
}

.messenger-area header .details span {
    font-size: 17px;
    font-weight: 500;
}

.messenger-box {
    position: relative;
    min-height: 51vh;
    max-height: 51vh;
    overflow-y: auto;
    padding: 10px 30px 20px 30px;
    background: #f7f7f7;
    box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%),
        inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}

.messenger-box .text {
    position: absolute;
    top: 45%;
    left: 50%;
    width: calc(100% - 50px);
    text-align: center;
    transform: translate(-50%, -50%);
}

.messenger-box .messenger {
    margin: 15px 0;
}

/* .messenger-box .messenger p {
    word-wrap: break-word;
    padding: 8px 16px;
    box-shadow: 0 0 32px rgb(0 0 0 / 8%), 0rem 16px 16px -16px rgb(0 0 0 / 10%);
} */

.messenger-box .outgoing {
    display: flex;
}

.messenger-box .outgoing .details {
    margin-left: auto;
    max-width: calc(100% - 130px);
}

.outgoing .details p {
    background: #333;
    color: #fff;
    border-radius: 18px 18px 0 18px;
}

.messenger-box .incoming {
    display: flex;
    align-items: flex-end;
}

.messenger-box .incoming img {
    height: 35px;
    width: 35px;
}

.messenger-box .incoming .details {
    margin-right: auto;
    margin-left: 10px;
    max-width: calc(100% - 56px);
}

.notesBox {
    background: #fff;
    color: #333;
    border-radius: 18px 18px 18px 0;
    padding: 15px;
    overflow: auto;
}

.notesBox p{
    margin-bottom: 0 !important;
}

.typing-area {
    /* padding: 5px; */
    display: flex;
    justify-content: space-between;
}

.typing-area textarea {
    height: 16vh;
    width: 100%;
    font-size: 15px;
    padding: 13px;
    border: 1px solid #e6e6e6;
    outline: none;
    resize: none;
}

.typing-area button {
    color: #fff;
    width: 55px;
    border: none;
    outline: none;
    background: #333;
    font-size: 19px;
    cursor: pointer;
    opacity: 0.7;
    pointer-events: none;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.typing-area button.active {
    opacity: 1;
    pointer-events: auto;
}

.f16{
    font-size: 14px !important;
}

.f10{
    font-size: 10px !important;
}

.light-style .ql-snow.ql-toolbar,
.light-style .ql-snow .ql-toolbar {
    border-bottom: 0.0625rem solid #d9dee3 !important;
}

.ql-editor {
    height: auto;
}

/* Responive media query */
/* @media screen and (max-width: 450px) {
    .form,
    .users {
      padding: 20px;
    }
  
    .form header {
      text-align: center;
    }
  
    .form form .name-details {
      flex-direction: column;
    }
  
    .form .name-details .field:first-child {
      margin-right: 0px;
    }
  
    .form .name-details .field:last-child {
      margin-left: 0px;
    }
  
    .users header img {
      height: 45px;
      width: 45px;
    }
  
    .users header .logout {
      padding: 6px 10px;
      font-size: 16px;
    }
  
    :is(.users, .users-list) .content .details {
      margin-left: 15px;
    }
  
    .users-list a {
      padding-right: 10px;
    }
  
    .messenger-area header {
      padding: 15px 20px;
    }
  
    .messenger-box {
      min-height: 400px;
      padding: 10px 15px 15px 20px;
    }
  
    .messenger-box .messenger p {
      font-size: 15px;
    }
  
    .messenger-box .outogoing .details {
      max-width: 230px;
    }
  
    .messenger-box .incoming .details {
      max-width: 265px;
    }
  
    .incoming .details img {
      height: 30px;
      width: 30px;
    }
  
    .messenger-area form {
      padding: 20px;
    }
  
    .messenger-area form input {
      height: 40px;
      width: calc(100% - 48px);
    }
  
    .messenger-area form button {
      width: 45px;
    }
  } */
/*   
  @media (max-width: 575.98px) {
    #messengerroom,
    #userdetailsroom {
      display: none;
    }
  }
  
  @media (min-width: 576px) and (max-width: 767.98px) {
    #messengerroom,
    #userdetailsroom {
      display: none;
    }
  }
  
  @media (min-width: 768px) and (max-width: 991.98px) {
    #userdetailsroom {
      display: none;
    }
  }
  
  @media (min-width: 992px) and (max-width: 1199.98px) {
    #messengerroom,
    #userdetailsroom {
      display: block;
    }
  }
  
  @media (min-width: 1200px) and (max-width: 1399.98px) {
    #messengerroom,
    #userdetailsroom {
      display: block;
    }
  }
  
  @media (min-width: 1400px) {
    #messengerroom,
    #userdetailsroom {
      display: block;
    }
  }
   */