#imageContainer {
    width: 100%;
}

.msg_card_body {
    overflow-y: auto;
    height: 68vh;
}

.voice-record {
 background-color: #ffffff;
border-radius: 10px;
width: 51px;
text-align: center;
height: 54px;
}

#sendMessageForm {
    /* display: flex; */
    align-items: center;
    width: 100%;
    position: relative;
}

.file_uploader {
    width: 51px;
    position: relative;
    /* right: 0; */
    /* top: 0; */
    background-color: #fff;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file_uploader input {
    position: absolute;
    top: 0px;
    z-index: 999;
    opacity: 0;
    padding: 0;
}
.file_upload {
    position: absolute;
    top: 13px;
}

#voiceRecorder {
    width: 24px;
    position: absolute;
    right: 19%;
    top: 15px;
}

#imageContainer span {
    position: absolute;
    top: -7px;
    left: 33px;
    width: 13px;
    height: 15px;
}
#imageContainer {
    width: 40px;
    border-radius: 6px;
    height: 40px;
    position: relative;
}

#imageContainer img {
    width: 100%;
    height: 100%;
}

.msg_cotainer img {
    width: 250px;
    height: 200px;
}

#fileDownload img {
    width: 40px !important;
    height: 40px !important;
}

#fileDownload span {
    font-size: 12px;
}
/*.msg_cotainer img {*/
/*    width: 49px !important;*/
/*    height: 49px !important;*/
/*}*/

.msg_time {
    position: relative;
    left: 0;
    bottom: 0;
    color: #000;
    font-size: 10px;
    display: flex;
}

/*.msg_cotainer img {*/
/* width: 99px;*/
/* height: 99px;*/
/*}*/

.input-group .btn {
    position: relative;
    z-index: 2;
    padding: 0 12px;
    margin: 0;
    background-color: rgb(175 67 241) !important;
    border-radius: 12px;
    overflow: hidden;
}
.send_btn {
    border-radius: 0 15px 15px 0 !important;
    background-color: rgb(175 67 241) !important;
    border: 0 !important;
    color: white !important;
    cursor: pointer;
    height: 53px;
}



.chat-box {
    height: 73vh;
    font-family: 'Open Sans', sans-serif;;
    
}

.sidebar {
    width: 350px;
    min-width: 350px;
    display: flex;
    background: #fff;
    flex-direction: column;
    border-right: 1px solid #ccc;
    transition: 500ms all;
    padding: 10px;
  }
  /* .sidebar .logo {
    display: flex;
    margin: 10px 0 0 0;
    padding-bottom: 10px;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 3em;
    letter-spacing: 7px;
    border-bottom: 1px solid #ccc;
  } */
  .sidebar .logo .input-icon {
    right: 17px;
    position: absolute;
    top: 8px;
}
  .sidebar .list-wrap {
    width: 100%;
    overflow: auto;
  }
  .scrollbar::-webkit-scrollbar {
    background-color: transparent;
    width: 0px;
  }
  
  .scrollbar:hover::-webkit-scrollbar {
    width: 1px;
  }
  .scrollbar:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  @media (hover: none) {
    .scrollbar::-webkit-scrollbar {
      width: 1px;
    }
    .scrollbar::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.2);
    }
  }
  .sidebar .list-wrap .list {
    background: #fff;
    border: 1px solid #fff;
    color: #222222;
    display: flex;
    align-items: start;
    font-size: 16px;
    font-weight: 600;
    padding: 7px;
    height: 70px;
    cursor: pointer;
    margin-bottom: 5px;
  }
  .sidebar .list-wrap .list:hover, .sidebar .list-wrap .list.active {
    background: #fff;
    border: 1px solid #156568;
    border-radius: 5px;
  }
.user-profile {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .sidebar .list-wrap .list .info {
    flex: 1;
  }
  .sidebar .list-wrap .list .info .user {
    font-weight: 700;
  }
  .sidebar .list-wrap .list .info .text {
    display: flex;
    margin-top: 5px;
    font-size: 12px;
    color: #91949B;
  }
  .sidebar .list-wrap .list .time {
    font-size: 0.75em;
    color: #91949B;
    margin-bottom: 5px;
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 400;
  }
  .sidebar .list-wrap .list .count {
    font-size: 12px;
    background: var(--colorPrimary);
    padding: 4px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    font-weight: 300;
  }
  
  .content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .content header {
    height: 68px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    display: flex;
    padding: 10px;
    align-items: center;
  }
  .calendar-btn {
    border: 1px solid #C8D0D3;
    height: 31px;
    width: 31px;
    padding: 3px;
    line-height: 1;
}
  .content header .info {
    flex: 1;
  }
  .content header .info .user {
    font-weight: 700;
    font-size: 18px;
    color: #222222;
  }
  .content header .info .time {
    display: flex;
    margin-top: 3px;
    font-size: 12px;
    color: #91949B;
  }
  .content header .open {
    display: none;
  }
  .content header .open a {
    color: #000;
    letter-spacing: 3px;
  }
  
  .message-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow: auto;
  }
  .message-wrap::before {
    content: "";
    margin-bottom: auto;
  }
  .message-list{
    margin-bottom: 20px;
  }
  .message-wrap .message-list {
    align-self: flex-start;
    max-width: 70%;
  }
  .message-list.me .user-profile{
    margin-right: 0;
    margin-left: 10px;
    flex-shrink: 0;
  }
  .message-list.me .message-box .time,  .message-list.me .message-box .msg p{
    text-align: right;
  }
  .time-and-date{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .message-wrap .message-list .msg {
    background: #F5FBFE;
    padding: 12px 15px;
    border-radius: 16px 16px 16px 0px;
  }
  .message-wrap .message-list.me {
    align-self: flex-end;
  }
  .message-wrap .message-list.me .msg {
    background: #FAFAFA;
    color: #111;
    border-radius: 16px 16px 0px 16px;
  }

  .message-wrap .message-list .msg p {
    margin: 0;
    font-size: 12px;
    color: #222222;
}
  .message-wrap .message-list .time {
    color: #999;
    font-size: 0.75em;
  }
  
  .message-footer {
    background: #ffffff;
    padding: 15px;
    display: flex;
  }
  .message-footer .form-control {
    flex: 1;
    padding: 12px 12px;
    border-radius: 5px;
    background-color: #F0F2F4;
    border-right: 1px solid transparent;
  }
  .message-footer .form-control:focus{
    background-color: #F0F2F4;
  }
  .upload {
    background: #F0F2F4;
    padding: 11px 21px;
}
  .upload, .upload-button{
    cursor: pointer;
  }
  .upload .upload-area input {
    display: none;
}

  
  @media only screen and (max-width: 480px), only screen and (max-width: 767px) {
    .sidebar {
      position: absolute;
      width: 100%;
      min-width: 100%;
      height: 0vh;
      bottom: 0;
      box-shadow: 0 5px 25px -5px black;
    }
    .sidebar.opened {
      height: 70vh !important;
    }
    /* .sidebar .logo {
      display: none;
    } */
    .sidebar .list-wrap .list .count {
      font-size: 0.75em;
    }
  
    header .open {
      display: block !important;
    }
  }