@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

*, *:before, *:after {
    box-sizing: border-box;
}

.bodychat {
    color: white;
}





.chat-btn-btm {
    background-color: #0091da;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    position: fixed;
    right: 5px;
    bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1111111111111111111;
}

    .chat-btn-btm svg {
        vertical-align: middle;
    }

    .chat-btn-btm.cls-chts {
        background: #fa7373;
    }

    .chat-btn-btm.cls-chts {
        background: #fa7373;
        position: fixed;
        top: 4px;
        right: 7px;
        width: 25px;
        height: 25px;
        box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 1px 2px rgb(0 0 0 / 23%);
    }

        .chat-btn-btm.cls-chts svg {
            width: 20px;
            height: 20px;
        }

    .chat-btn-btm .cls-cht {
        display: none;
    }

    .chat-btn-btm.cls-chts .cls-cht {
        display: block;
    }

    .chat-btn-btm.cls-chts .opn-cht {
        display: none;
    }

.chat-main-outer-smg li {
    list-style: none;
    cursor: pointer;
}


.chat-main-outer-smg {
    font: 14px/20px "Lato", Arial, sans-serif;
    width: 300px;
    background: #444753;
    border-radius: 5px;
    float: left;
    position: fixed;
    right: 0;
    top: 0;
    min-height: 100vh;
    right: 0;
    box-shadow: -2px 0 12px -2px rgb(0 0 0 / 15%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    z-index: 11111;
}

    .chat-main-outer-smg.openchat {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }



.people-list {
    width: 300px;
    float: left;
}

    .people-list .search {
        padding: 20px;
    }

    .people-list input {
        border-radius: 3px;
        border: none;
        padding: 14px;
        color: white;
        background: #6A6C75;
        width: 100%;
        font-size: 14px;
    }

    .people-list .fa-search {
        position: relative;
        left: -25px;
        display: none;
    }

    .people-list ul {
        padding: 0px 10px 40px;
        height: 90vh;
        max-height: 90vh;
        overflow: auto;
    }

        .chat-history::-webkit-scrollbar-track,
        .people-list ul::-webkit-scrollbar-track {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
            border-radius: 10px;
            background-color: #F5F5F5;
        }

        .chat-history::-webkit-scrollbar,
        .people-list ul::-webkit-scrollbar {
            width: 5px;
            background-color: #c7934d;
        }

        .chat-history::-webkit-scrollbar-thumb,
        .people-list ul::-webkit-scrollbar-thumb {
            border-radius: 10px;
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
            background-color: #c7934d;
        }


        .people-list ul li {
            padding-bottom: 20px;
        }

    .people-list img {
        float: left;
    }

    .people-list .about {
        float: left;
        margin-top: 8px;
    }

    .people-list .about {
        padding-left: 8px;
    }

    .people-list .status {
        color: #92959E;
    }

    .people-list .imglist {
        max-width: 100%;
        height: 51px;
    }

.chat {
    width: 100%;
    float: left;
    background: #F2F5F8;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #434651;
}

    .chat .chat-header {
        padding: 10px;
        border-bottom: 2px solid white;
        padding-left: 30px;
    }

        .chat .chat-header img {
            float: left;
        }

        .chat .chat-header .chat-about {
            float: left;
            padding-left: 10px;
            margin-top: 6px;
        }

        .chat .chat-header .chat-with {
            font-weight: bold;
            font-size: 13px;
        }

        .chat .chat-header .chat-num-messages {
            color: #92959E;
        }

        .chat .chat-header .fa-star {
            float: right;
            color: #D8DADF;
            font-size: 20px;
            margin-top: 12px;
        }

    .chat .chat-history {
        padding: 10px 15px 10px;
        border-bottom: 2px solid white;
        overflow-y: scroll;
        height: 66vh;
    }

        .chat .chat-history .message-data {
            margin-bottom: 15px;
        }

        .chat .chat-history .message-data-time {
            color: #a8aab1;
            padding-left: 6px;
        }

.chat-history ul {
    margin: 0;
    padding: 0;
}

.chat .chat-history .message {
    color: white;
    padding: 18px 10px;
    line-height: 18px;
    font-size: 13px;
    border-radius: 7px;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
}

    .chat .chat-history .message:after {
        bottom: 99%;
        left: 9%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-bottom-color: #86BB71;
        border-width: 10px;
        margin-left: -10px;
    }

.chat .chat-history .my-message {
    background: #86BB71;
}

.chat .chat-history .other-message {
    background: #94C2ED;
}

    .chat .chat-history .other-message:after {
        border-bottom-color: #94C2ED;
        left: 93%;
    }

.chat .chat-message {
    padding: 5px;
}

    .chat .chat-message textarea {
        width: 100%;
        border: none;
        padding: 6px 6px;
        font: 14px/22px "Lato", Arial, sans-serif;
        margin-bottom: 10px;
        border-radius: 5px;
        resize: none;
    }

    .chat .chat-message .fa-file-o, .chat .chat-message .fa-file-image-o {
        font-size: 16px;
        color: gray;
        cursor: pointer;
    }

    .chat .chat-message button {
        float: right;
        color: #94C2ED;
        font-size: 16px;
        text-transform: uppercase;
        border: none;
        cursor: pointer;
        font-weight: bold;
        background: #F2F5F8;
    }

        .chat .chat-message button:hover {
            color: #75b1e8;
        }

.online, .offline, .me {
    margin-right: 3px;
    font-size: 10px;
}

.online {
    color: #86BB71;
}

.offline {
    color: #E38968;
}

.me {
    color: #94C2ED;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.float-right {
    float: right;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.people-list.hide {
    display: none;
}

.chat-box-txt {
    display: none;
}

    .chat-box-txt.show {
        display: block !important;
    }

.openchatimg {
    width: 68px;
    height: 68px;
}

button.back-t-lst {
    position: absolute;
    left: 0;
    border: 0;
    padding: 0;
    top: 22px;
    background: transparent;
    opacity: .5;
    cursor: pointer;
}

.bodychat span.badge.badge-light {
    float: right;
    background-color: #df0000;
    width: 21px;
    height: 21px;
    text-align: center;
    /* border-radius: 50%; */
    color: white;
}

.bodychat span.badge.chatmaincount {
    position: absolute;
    top: -2px;
    right: 3px;
    padding: 5px 7px;
    border-radius: 50%;
    background: red;
    color: white;
}

   .bodychat span.badge.chatmaincount .cls-chtscount {
        display: none;
    }
   .chat-btn-btm.cls-chts span.badge.chatmaincount{
       display:none;
   }