﻿.chatRoom {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px gray;
    height: 35px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    transition: all .3s ease-in-out;
    background: linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
    background: -webkit-linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
}

#divContainer {
}

    #divContainer .ui-widget-content.draggable.ui-draggable {
        position: fixed;
        bottom: 0;
        z-index: 999;
        width: 300px;
        height: 300px;
        background: #fff;
        background: linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
        background: -webkit-linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
    }

        #divContainer .ui-widget-content.draggable.ui-draggable:nth-child(1) {
            right: 302px;
        }

        #divContainer .ui-widget-content.draggable.ui-draggable:nth-child(2) {
            right: 604px;
        }

        #divContainer .ui-widget-content.draggable.ui-draggable:nth-child(3) {
            right: 906px;
        }

        #divContainer .ui-widget-content.draggable.ui-draggable:nth-child(4) {
            right: 1208px;
        }

        #divContainer .ui-widget-content.draggable.ui-draggable .header {
            font-size: 16px;
            font-weight: bold;
            padding: 8px;
            /*background-color: #d7e5e4;*/
            border-bottom: solid 1px #5f9482;
            background-color: rgba(0,0,0,.6);
        }
.draggable .selText {
    color: #fff;
    display: inline-block;
    max-width: 245px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.draggable .messageArea {
    width: 100%;
    height: 206px;
    padding: 0px 15px 5px;
    background-color: rgba(0,0,0,0.5) !important;
    overflow-y: auto;
}

.chatRoom .title, #divContainer .ui-widget-content.draggable.ui-draggable .header {
    font-size: 13px;
}

.draggable .buttonBar {
    width: 100%;
    /*background: #d7e5e4;*/
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px 10px 0;
    background-color: rgba(0,0,0,.6);
}

    .draggable .buttonBar .msgText {
        width: 215px;
        min-height: 35px !important;  
        padding: 0 10px;
        border-radius: 10px 0 0 10px;
        background: rgba(0,0,0,.3);
        border: 0;
        color: #fff;
        float: left;
    }
.buttonBar .send_btn {
    height: 35px;
    display: inline-block;   
    background: rgba(0,0,0,.5);
    padding: 0px 8px 0px;
    border-radius: 0 10px 10px 0;
    border-left: 1px solid #333;
}
    .buttonBar .send_btn i {
        font-size: 22px;
        color: #fff;
        padding-top: 2px;
    }

    .draggable .buttonBar .button {
        margin-left: 4px;
        width: 66px;
        margin: -7px 0 0 10px;
        border-radius: 10px;
    }

.divusers > a:after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    background: #78e08f;
    top: 43%;
    left: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
}
.divusers > a.active:after {
    background: green;
}
.divusers > a:hover {
    color: #f1f1f1;
}
.divusers > a {
    /*display: block;
        padding: 2px 10px 2px 30px;
        cursor: pointer;
        position: relative;
        margin-bottom: 4px;*/
    display: block;
    padding: 2px 10px 7px 30px;
    cursor: pointer;
    position: relative;
    margin-bottom: 4px;
    color: #f1f1f1;
    border-bottom: 1px solid #717070;
}
.divusers > a:after {
    position: absolute;
    content: '';
}
.divusers {
    height: 265px;
    overflow-y: auto;
    background: rgba(0,0,0,.6);
}
.chatRoom .title {
    /*color: #126f4d;*/
    background: rgba(0,0,0,.5);
    color: #fff;
}
.ui-widget-content.draggable.ui-draggable .header i {
    color: #fff;
}

.divusers-search {
    padding: 7px 0px 0;
}
    .divusers-search input {
        height: 30px;
        margin-bottom: 3px;
        color: #101010;
        width: 96%;
        margin: 0 auto;
        display: block;
        padding: 0 15px;
    }
    .divusers-search .form-group {
        margin : 0px !important;
    }
    .ui-widget-content.draggable.ui-draggable .header a {
        margin-left: 12px;
    }
.chatRoom .title .minimize {
    float: right;
    cursor: pointer
}
    .chatRoom .title .minimize i {
        color: #fff;
    }
.chatRoom.active {
    transition: all .3s ease-in-out;
    height: 300px;
}
.message.L {
    border: 1px solid #bdf9bd;
    background-color: #82ccdd;
    border-radius: 10px;
    padding: 12px;
    margin: 18px 20px 0 0;
    padding: 10px !important;
    position: relative;
    display: inline-block;
    clear: both;
    float: left;
    word-break: break-word;
}
    .message.L:after {
        position: absolute;
        content: '';
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 20px solid #b9f3bb;
        left: 5px;
        bottom: -13px;
        transform: rotate(-9deg);
        z-index: -1;
    }

.message.R {
    border: 1px solid #e6e6e6;
    background-color: #78e08f;
    border-radius: 10px;
    padding: 12px;
    margin: 18px 0 0 20px;
    padding: 10px !important;
    display: inline-block;
    clear: both;
    float: right;
    position: relative;
    word-break: break-word;
}
    .message.R:after {
        position: absolute;
        content: '';
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 20px solid #e9e9e9;
        right: 5px;
        bottom: -13px;
        transform: rotate(8deg);
        z-index: -1;
    }
.chat-dateTime {
    display: inline-block;
    clear: both;
    width: 100%;
    color: #807f7f;
    font-size: 12px;
    margin-top: 2px;
}
label.custom-file-upload {
    margin: 0;
    float: left;
    height: 35px;    
    background: rgba(0,0,0,.5);
    border-radius: 0;
    /* padding-top: 5px; */
    position: relative;
    width: 25px;
    text-align: center;
    border-left: 1px solid #3a3a3a;
}

    label.custom-file-upload img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
input#btnUpload {
    display: none;
}

.draggable .messageArea .message img {
max-width:100%;
display:block;
margin:0 auto;
}