body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: relative;
  top: 0 !important;
  bottom: 0;
  left: 0;
  z-index: 100;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #ADD138;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: transparent;
  box-shadow: none;
  color: #4f4f4f !important;
}

.nav-link {
  color: #fff;
}

.navbar-v-light{
  background-color: white;
  box-shadow: none !important;;
  color: #fff;
  border-bottom: 1px solid #e0e0e0 !important
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.container{
  max-width:900px;
}

table {
  border-collapse:separate;
}

.inbox_msg {
  border: 1px solid #ddd;
  clear: both;
  overflow: hidden;
}

.top_spac {
  margin: 20px 0 0;
}


.chat_img {
  float: left;
  width: 11%;
}

.chat_img img {
  width: 100%
}

.chat_ib {
  float: left;
  padding: 0 0 0 15px;
  width: 88%;
}

.chat_people {
  overflow: hidden;
  clear: both;
}

.chat_list {
  border-bottom: 1px solid #ddd;
  margin: 0;
  padding: 18px 16px 10px;
}

.inbox_chat {
  height: 500px;
  overflow-y: scroll;
}

.active_chat {
  background: #e8f6ff;
}

.incoming_msg_img {
  display: inline-block;
  width: 6%;
}

.incoming_msg_img img {
  width: 100%;
}

.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
}

.received_withd_msg .msg_bd {
  background: #ebebeb none repeat scroll 0 0;
  border-radius: 0 15px 15px 15px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}

.msg_author {
  color: #747474;
  display: block;
  font-weight: bold;
  font-size: 12px;
  margin: 8px 0 0;
  padding-left: 2px;
}

.received_withd_msg {
  width: 57%;
}

.mesgs{
  float: left;
  padding: 30px 15px 0 25px;
  width:100%;
}

.msg_bd .msg_multiline {
  white-space: pre-line;
}

.sent_msg .msg_bd {
  background:#add138;
  border-radius: 15px 15px 0 12px;
  font-size: 14px;
  margin: 0;
  color: #fff;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.msg_attachment {
  font-size: 12px;
  margin-right: 5px;
  color: #c4c4c4;
  float: left;
  border-radius: 7px;
  color:#4c4c4c;
  padding: 3px;
  cursor: pointer;
  margin-bottom: 5px;
}

.outgoing_msg {
  overflow: hidden;
  margin: 26px 0 26px;
}

.sent_msg {
  float: right;
  width: 46%;
  margin-right: 10px;
}

.input_msg_write textarea {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
  outline:none;
  padding-left: 25px;
  resize: none;
  padding-top: 8px;
}

.type_msg {
  border-top: 1px solid #c4c4c4;
  position: relative;
}

.msg_send_btn {
  background: #1266f1 none repeat scroll 0 0;
  border:none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  height: 33px;
  position: absolute;
  right: 0;
  top: 11px;
  width: 33px;
}

.msg_atttachment {
  background: none;
  border:none;
  color: #4c4c4c;
  cursor: pointer;
  font-size: 15px;
  height: 33px;
  position: absolute;
  left: 0;
  top: 11px;
  width: 33px;
}

.messaging {
  padding: 0 0 50px 0;
}

.msg_history {
  height: 400px;
  overflow-y: auto;
}

.input_msg_attachment {

  padding: 5px;
  margin-right: 5px;
  border: 1px solid;
  color: #c4c4c4;
  float: left;
  border-radius: 7px;
  color:#4c4c4c;
  padding: 10px;
  margin-bottom: 5px;
}

.input_msg_attachments {
  display: none;
}

.delete-attachment{
  margin-left: 5px;
  cursor: pointer;
}

.has-new-messages {
  color: #ADD138;
}

ul.errors{
  display: none;
}

#dropdownMenuButton {
  color: #4f4f4f;
  font-weight: 400;
  text-transform: none;
  margin-right: 5px;
}


.sidebar .active {
  border-radius: 3px;
}

.fas, .far {
  color: #9FA6B2;
}

.list-group-item.active {
  border: none;
  background-color: rgba(18,102,241,.06);
  color: #4f4f4f;
}

.list-group-item {
  color: #4f4f4f;
}

.accordion-body{
  padding: 0px;
  font-size: 0.9em;
}
.accordion-button:not(.collapsed) {
  color: #9FA6B2;

}

.accordion-button:not(.collapsed)::after {
  background-image: none;
}
.accordion-button{
  border: none !important;
}

.invalid-feedback {
    position: static !important;
}

.row {
    margin-bottom: 1rem;
}

.select2-results__option--group {
    position: sticky;
    top: 0px;
    background: #fff;
    z-index:1000;
    border-bottom: 2px solid black
}

.select2-results__option {
    text-align: center
}

.select2-results__option .row {
    margin-bottom: 0rem;
}

.select2-results__option .row div{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.select2-results__option--selectable {
    border-bottom: 1px solid rgb(184, 184, 184)
}

#select2-subject_id-results {
    max-height: 330px;
}

