#chat .container{max-width:880px; margin:auto; padding:0px}
#chat img{ max-width:100%; width:40px}
/*#chat .inbox_people {
  background: #f8f8f8 none repeat scroll 0 0;
  float: left;
  overflow: hidden;
  width: 40%; border-right:1px solid #c4c4c4;
}*/

#chat .inbox_people {
    background: #f8f8f8 none repeat scroll 0 0;
    float: left;
    position: absolute;
    z-index: 9999999;
    overflow: hidden;
    width: calc(100%);
    border-right: 1px solid #c4c4c4;
}

#chat .inbox_msg {
  border: 1px solid #c4c4c4;
  clear: both;
  overflow: hidden;
}
#chat .top_spac{ margin: 20px 0 0;}


#chat .recent_heading {float: left; width:40%;}
#chat .srch_bar {
  display: inline-block;
  text-align: right;
  width: 60%;
}
#chat .headind_srch{ padding:20px 20px 10px 20px; overflow:hidden; border-bottom:1px solid #c4c4c4;}

#chat .recent_heading h4 {
  color: ##2368a1; /*#05728f;*/
  font-size: 18px;
  margin: auto;
}
#chat .srch_bar input{ border:1px solid #cdcdcd; border-width:0 0 1px 0; width:80%; padding:2px 0 4px 6px; background:none;}
#chat .srch_bar .input-group-addon button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 0;
  color: #707070;
  font-size: 18px;
}
#chat .srch_bar .input-group-addon { margin: 0 0 0 -27px;}

#chat .chat_ib h5{ font-size:14px; color:#464646; margin:0 0 8px 0;}
#chat .chat_ib h5 span.chat_date{ font-size:13px; float:right;}
#chat .chat_ib p{ font-size:14px; color:#989898; margin:auto}
#chat .chat_img {
  float: left;
  /*width: 11%;*/
}
#chat .chat_ib {
  /*float: left;*/
  cursor:pointer;
  padding: 5px 0 0;
  padding-left:60px;
  width: calc(100% - 60px);
}

#chat .btn-box-tool {
    color: white;
}

#chat .badge {
    position:static;
}

#chat .header{
    background: #2c82c9;
    color: white;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

#chat .chat_people{ overflow:hidden; clear:both;}
#chat .chat_list {
  border-bottom: 1px solid #c4c4c4;
  margin: 0;
  padding: 10px;
}
#chat .inbox_chat { height: 550px; overflow-y: auto;}

#chat .active_chat{ background:#ebebeb;}

#chat .incoming_msg_img {
  display: inline-block;
  width: 6%;
}
#chat .received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
 }
 #chat .received_withd_msg p {
  background: #ebebeb none repeat scroll 0 0;
  border-radius: 3px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  /*width: 100%;*/
}
#chat .time_date {
    color: #747474;
    display: block;
    font-size: 11px;    
    text-align: right;
    margin-right: 5px;
}
#chat .received_withd_msg { width: 57%;}

#chat .mesgs {
    /* float: left; */
    padding: 30px 30px 0 25px;
    /* width: calc(100% - 30px); */
}

 #chat .sent_msg p {
  /*background: #05728f none repeat scroll 0 0;*/
  background-color: #2c82c9;
  border-radius: 3px;
  font-size: 14px;
  margin: 0; color:#fff;
  padding: 5px 10px 5px 12px;
  /*width:100%;*/
}
#chat .outgoing_msg{ overflow:hidden; margin:26px 0 26px; cursor:pointer}
#chat .sent_msg {
  float: right;
  width: 46%;
}
#chat .input_msg_write input {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

#chat .type_msg {border-top: 1px solid #c4c4c4;position: relative;}
#chat .msg_send_btn {
  background: #2368a1 none repeat scroll 0 0;
  border: medium none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  height: 33px;
  position: absolute;
  right: 0;
  top: 11px;
  width: 33px;
}
#chat .messaging { padding: 0 0 0px 0;}
#chat .msg_history {
  height: 516px;
  overflow-y: auto;
}

#chat .green {
    color: #08af08;
}


#chat {
    position: absolute;
    bottom: 0px;
    z-index: 99999;
    right: 0px;
    background: white;
}


#divChatHome {
    position: absolute;
    right: 10px;
    bottom: 0px;
    z-index: 99999;
    background: #2c82c9;
    padding-top: 5px;
    padding-bottom: 4px;
    padding-right: 18px;
    padding-left: 18px;
    color: white;
    cursor:pointer;
    border-radius: 5px;
    margin-bottom: 5px;
}

#chat .hidden {
    display: none !important;
}


#chat .hideVisibility {
    visibility: hidden;
}



.ncf-container .message {
    background: #e4b04a !important;
    color: #fff !important;
    padding: 15px 15px 15px 50px !important;
    background-image: url(../../img/message-icon.png) !important;
}