﻿/*.container{max-width:1170px; margin:auto;}*/

.mBody {
    height: 76vh;
    overflow: hidden;
    padding-top: 8px;
}

.inbox_chat {
    height: 550px;
    overflow-y: scroll;
}

img {
    max-width: 100%;
}

.inbox_people {
    background: #f8f8f8 none repeat scroll 0 0;
    float: left;
    overflow: hidden;
    width: 40%;
    border-right: 1px solid #c4c4c4;
}

.inbox_msg {
    border: 1px solid #c4c4c4;
    clear: both;
    overflow: hidden;
}

.top_spac {
    margin: 20px 0 0;
}


.recent_heading {
    float: left;
    width: 50%;
}

.srch_bar {
    display: inline-block;
    text-align: right;
    width: 60%;
}

.headind_srch {
    padding: 10px 29px 10px 20px;
    overflow: hidden;
    border-bottom: 1px solid #c4c4c4;
}

.recent_heading h4 {
    color: #05728f;
    font-size: 21px;
    margin: auto;
}

.srch_bar input {
    border: 1px solid #cdcdcd;
    border-width: 0 0 1px 0;
    width: 80%;
    padding: 2px 0 4px 6px;
    background: none;
}

.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;
}

.srch_bar .input-group-addon {
    margin: 0 0 0 -27px;
}

.chat_ib h5 {
    font-size: 15px;
    color: #464646;
    margin: 0 0 8px 0;
}

    .chat_ib h5 span {
        font-size: 13px;
        float: right;
    }

.chat_ib p {
    font-size: 14px;
    color: #989898;
    margin: auto;
}

.chat_img {
    float: left;
    width: 11%;
}

.chat_ib {
    float: left;
    padding: 0 0 0 15px;
    width: 88%;
}

.chat_people {
    overflow: hidden;
    clear: both;
}

.chat_list {
    border-bottom: 1px solid #c4c4c4;
    margin: 0;
    padding: 18px 16px 10px;
}



.active_chat {
    background: #ebebeb;
}

.incoming_msg_img {
    display: inline-block;
    width: 7%;
}

.received_msg {
    display: inline-block;
    padding: 0 0 5px 10px;
    vertical-align: top;
    width: 95%;
    max-width: 100%;
}

.received_withd_msg p {
    background: #ebebeb none repeat scroll 0 0;
    border-radius: 3px;
    color: #000000;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.time_date {
    color: #747474;
    display: block;
    font-size: 8px;
    margin: 2px 0 0;
}

.time_date_sent_msg {
    color: #747474;
    display: block;
    font-size: 8px;
    margin: 2px 0 0;
    text-align: right
}

.received_withd_msg {
    width: 57%;
}

.mesgs {
    /*float: left;*/
    /*padding: 30px 15px 0 25px;*/
    width: 60%;
}

.sent_msg p {
    background: #0088dd 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: 5px 0 10px;
}

.sent_msg {
    float: right;
    max-width: 60%;
}

.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: 92%;
}

.type_msg {
    border-top: 1px solid #c4c4c4;
    position: relative;
}

.msg_send_btn {
    /*background: #05728f none repeat scroll 0 0;*/
    background: #0088dd none repeat scroll 0 0;
    border: medium none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    height: 34px;
    width: 34px;
    position: absolute;
    right: 2px;
    top: 6px;
    padding-top: 2px;
    padding-right: 8px;
}
.msg_send_btn:hover {
    color: rgb(255, 255, 255);
    background-color: #153d8a;
}

.messaging {
    padding: 0 0 50px 0;
}

.msg_history {
    height: 100%;
    /*margin-right: -50px;*/ /* maximum width of scrollbar */
    padding-right: 10px; /* maximum width of scrollbar */
    overflow-y: scroll;
}



.incoming_msg {
    padding-bottom: 5px;
}


/*Chat Button*/

.btn-outline-chat {
    color: #0088dd;
    background-color: rgb(255, 255, 255);
    margin-right: 3px;
    margin-bottom: 5px;
    font-weight: bold;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 14px;
    border-style: solid;
    border-width: 1px;
    border-color: #0088dd;
    border-radius: 6px;
    /*box-shadow: 4px 5px 9px 0px rgb(0 135 219 / 24%);*/
}

.btn-outline-chat:hover {
    color: rgb(255, 255, 255);
    background-color: #153d8a;
    border-color: #153d8a;
}

/*.btn-outline-chat:focus, .btn-outline-chat.focus {
    box-shadow: 0 0 0 0.2rem rgb(21, 61, 138);
}*/

/*.btn-outline-chat.disabled, .btn-outline-chat:disabled {
    color: rgb(21, 61, 138);
    background-color: transparent;
}*/

.btn-outline-chat:not(:disabled):not(.disabled):active, .btn-outline-chat:not(:disabled):not(.disabled).active,
.show > .btn-outline-chat.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: #153d8a;
    border-color: #153d8a;
}

/*.btn-outline-chat:not(:disabled):not(.disabled):active:focus, .btn-outline-chat:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-chat.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(21, 61, 138);
}*/

type_msg:focus {
    border: none !important;
    outline: none !important;
}

:focus {
    outline:none !important;
}

.write_msg {
    min-height: 40px;
    color: #000000;
    border: none;
    box-shadow: none;
    width: 92%;
    font-style: normal !important;
}

.write_msg:focus {
    box-shadow: none !important;
    border: none;
}

.chatCount {
    color: #000000;
    font-size: x-small;
    position: absolute;
    bottom: 35px;
    right: 3px;
}

/* width */
.msg_history::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.msg_history::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.msg_history::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.msg_history::-webkit-scrollbar-thumb:hover {
    background: #555;
}
