.chat-app .people-list {
    left: 0;
    top: 0;
    padding: 0px;
    z-index: 7
}

.chat-app {
    border:  none;
}

.people-list {
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s
}

.people-list .chat-list li {
    padding: 10px 15px;
    list-style: none;
    border-radius: 3px
}

.people-list .chat-list li:hover {
    background: #efefef;
    cursor: pointer
}

.people-list .chat-list li.active {
    background: #efefef
}

.people-list .chat-list li .name {
    font-size: 15px
}

.people-list .chat-list img {
    width: 45px;
    border-radius: 50%
}

.people-list img {
    float: left;
    border-radius: 50%
}

.people-list .about {
    float: left;
    padding-left: 8px
}

.people-list .status {
    color: #999;
    font-size: 13px
}

.chat .chat-header {
    padding: 15px 20px;
    border-bottom: 2px solid #f4f7f6
}

.chat .chat-header img {
    float: left;
    border-radius: 40px;
    width: 40px
}

.chat .chat-header .chat-about {
    float: left;
    padding-left: 10px
}

.chat .chat-history {
}

.chat .chat-history ul {
    padding: 0
}

.chat .chat-history ul li {
    list-style: none;
    margin-bottom: 30px
}

.chat .chat-history ul li:last-child {
    margin-bottom: 0px
}

.chat .chat-history .message-data {
    margin-bottom: 15px
}

.chat .chat-history .message-data img {
    border-radius: 40px;
    width: 40px
}

.chat .chat-history .message-data-time {
    color: #434651;
    padding-left: 6px
}

.chat .chat-history .message {
    color: #444;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    display: inline-block;
    position: relative
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .my-message {
    background: #efefef
}

.chat .chat-history .my-message:after {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #efefef;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .other-message {
    background: #e8f1f3;
    text-align: right
}

.chat .chat-history .other-message:after {
    border-bottom-color: #e8f1f3;
    left: 93%
}

.chat .chat-message {
    background: #070068
}

.online,
.offline,
.me {
    margin-right: 2px;
    font-size: 8px;
    vertical-align: middle
}

.online {
    color: #86c541
}

.offline {
    color: #e47297
}

.me {
    color: #1d8ecd
}

.float-right {
    float: right
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

@media only screen and (max-width: 767px) {
    .chat-app .people-list {

        overflow-x: auto;  
    }
    .chat-app .people-list.open {
        left: 0
    }
    .chat-app .chat {
        margin: 0
    }
}




.chat-app .chat-history {

    overflow-x: auto

}


div[dir="U"],div[dir="I"]{
    background: #dee6f0;
    margin: 12px;
    margin-right: 50px;
    padding: 8px;
    border-radius: 20px 20px 20px 0px;
}
div[dir="O"]{
    background: #e0e0e1;
    margin: 12px;
    margin-left: 50px;
    padding: 8px;
    border-radius: 20px 20px 0px 20px;
}


.input-group-prepend{
    border-radius: 0.5rem;
}

.type-message-here{
    padding: 0 10px;
    border-radius: 15px;
    border: 0px;
}

.button-send{
    padding: 5px;
    border-radius: 30px;
    margin: 5px;
    color: white;
    background: #0063db;
    border:  none;
}

.delmsg{
    float: right;
}

/*--buddies list--*/
.buddy{
    padding: 1rem;
    border-bottom: 1px solid;
}

/**/

.chat{
        position: relative;
    display: contents;
    bottom: 58px;
    width: 100%;
    background: white;
}
.navbar .bg-menu{
    position: fixed;
    width: -webkit-fill-available;
    bottom: 0px;
}


/*height*/

.h-tab{
    height: calc(100vh - 100px);
}

.contactTab{
    height: 100%;
}

.chat-app .chat-history {
    height: -webkit-fill-available;
    heigth: -moz-available;
    height: fill-available;
        margin-bottom: -1px;
}

#buddiesBack{
    height: 45px !important;
}
.chat-header{
    height: 56px !important;
}
.chat-message{
    height: 54px !important;
    bottom: 0px !important;
}