.chat-img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 3px solid #FAFAFB;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 15px 0px, rgba(0, 0, 0, 0.14) 0px 4px 18px 0px !important;
}

.border {
    padding: 15px;
    border-radius: 0;
}



.all-chats .time {
    position: relative;
    top: 3px;
}
.app-one, .all-chats{
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.all-chats .chat-img,
.right-users img {
    height: 50px;
    width: 50px;
    box-shadow: none !important;
}

.recent {
    background: #27AAE1;
    text-align: center;
    color: #fff;
    padding: 8px;
}

.all-chats .row:hover {
    background: #F0F0FB;
    cursor: pointer;
}


/* width */

::-webkit-scrollbar {
    width: 8px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #27AAE1;
    /* pointer-events: auto; */
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #27AAE1;
}
::-webkit-scrollbar-thumb {

}

.mesgs img {
    max-width: 100%;
}

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

.incoming_msg_img img {
    border-radius: 50%;
}

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

.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%;
}

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

.received_withd_msg {
    width: 57%;
}

.mesgs {
    float: left;
}

.sent_msg p {
    background: #27AAE1 none repeat scroll 0 0;
    border-radius: 3px;
    font-size: 14px;
    margin: 0;
    color: #fff;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

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

.sent_msg {
    float: right;
    width: 46%;
}

.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%;
}

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

.msg_send_btn {
    background: #05728f 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;
}

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

.msg_history {
    height: 550px;
    overflow-y: auto;
    padding: 30px 15px 0 25px;
}

.rce-input-buttons {
    display: inline-block;
    position: relative;
    top: -22px;
    width: 10%;
}

.rce-input-textarea{
    flex: 1;
    border: none;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.bt-top, .picked-image{
    background: #F9F9F9;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #dee2e6 !important;
}

.rce-citem {
    padding-bottom: 15px;
    position: relative;
    background: white;
    display: flex;
    flex-direction: row;
    height: 72px;
    cursor: pointer;
    user-select: none;
    max-width: 100%;
    overflow: hidden;
    min-width: 240px;
}

.rce-citem-body {
    flex: 1;
    flex-direction: column;
    display: flex;
    justify-content: center;
    padding-right: 15px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    overflow: hidden;
}
.rce-citem-body--top{
    display: flex;
}

.rce-citem-body--top-title {
    font-size: 16px;
    font-weight: 700!important;
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;}

.rce-citem-body--bottom-title {
    color: gray;
    font-size: 14px;
    display: flex;
}

.rce-container-citem{
    flex-direction: column;
    display: block;
    overflow: hidden;
    min-width: 240px;
}

.rce-citem-body--top-time {
    font-size: 12px;
}

.rce-avatar {
    height: 50px;
    width: 50px;
    box-shadow: none !important;
    border-radius: 50% !important;
    display: inline-block;
    margin-right: .5rem!important;
    border: none !important;
    background: #ccc;
    border-radius: 100%;
    overflow: hidden;
    font-size: 10px;
    text-align: center;
    line-height: 50px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rce-avatar-container {
    display: inline-block;
}

.rce-citem-avatar {
    position: relative;
    padding: 0 15px 0 13px;
    justify-content: center;
    display: flex;
    align-items: center;
}