
.rise-chat-wrapper{
    width: 700px;
    height: 379px;
    background: #fff;
    z-index: 10;
    position: fixed;
    bottom: 90px;
    right: 20px;
    box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.2)
}

.rise-chat-header{
    box-shadow:0px 1px 2px rgba(0,0,0,0.1);
}
/*message*/
.message-row{
    padding: 8px 15px;
    cursor: pointer;
}
.message-row.unread {
    border-left: 3px solid #337ab7;
}
.message-row.unread strong,
.message-row.unread span{
    color: #337ab7;
}

.message-button-list{
    width: 150px;
    padding-left: 10px;
}

.message-button-list .list-group .list-group-item{
    border-radius: 0 !important;
    border:none !important;
    background: transparent;
    color: #4e5e6a;
}

.message-button-list  .list-group-item:hover,
.message-button-list  .list-group-item.active{
    background: rgba(0, 0, 0, 0.02);
}
.rise-chat-wrapper .message-row{
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
}
.rise-chat-wrapper .message-row .time{
    font-size: 10px;
    width: 60px;
    text-align: right;
}

.rise-chat-wrapper .message-row:hover{
    background: #f2f4f6a1;
}
.chat-tab{
    background: transparent;
    border:none;
}
.chat-tab a{
    color:#4e5e6a;
    padding: 9px !important;
    display: block;
    text-align: center;
}

.chat-title{
    text-indent: -40px;
}

.chat-title,
.chat-back{
    text-align: center;
    padding: 10px 7px;
    font-weight: 700;
}
.chat-bars{
    width: 30px;
    text-align: center;
    cursor: pointer;
    opacity: 0.5;
}
.chat-back{
    opacity: 0.5;
    cursor: pointer;
    width: 40px;
}

.chat-bars:hover,
.chat-back:hover{
    opacity: 1;
}
.chat-close{
    font-size: 30px;
    line-height: 18px;
}
.rise-chat-header .nav-tabs>li{
    display: table-cell;
    float: none;
    width: 100%;
}
.rise-chat-body{
    height:500px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.rise-chat-body.full-height{
    height: 338px;
}

.rise-chat-body.long{
    height: 337px;
}
.rise-chat-footer {
    background: #fff;
    bottom: 0;
    width: 100%;
    position: absolute;
    border-top: 1px solid #e5e9ec;
}
.rise-chat-footer .post-file-dropzone-scrollbar{
    margin-top: -90px;
}
.rise-chat-footer input{
    /*width: 100%;*/
    padding: 10px 10px 10px 35px;
    border:none;
    /*height: 50px;*/
    /*resize: none;*/
}
.rise-chat-footer input:focus{
    outline: none;
}
.rise-chat-footer .help-block {
    height: 0px;
    display: none !important;
}
.chat-file-upload-icon{
    position: absolute;
    padding: 10px;
    cursor: pointer;
}
.chat-msg{
    padding: 5px 8px 7px;
    display: inline-block;
    max-width: 250px;
    text-align: left;
    word-break: break-word;
}
.chat-other{
    padding: 5px 10px;
}
.chat-other .avatar {
    float: left;
}
.chat-other .chat-msg{
    border-radius:0 10px 10px 10px;
    background-color: #e5e9ec;
}
.chat-me{
    text-align: right;
    padding-right: 10px;
    margin-top: 2px;
}

.chat-me .chat-msg{
    border-radius: 10px 0 10px 10px;
    background-color: #0090ff;
    color: #fff;
}
.chat-me .chat-msg a{
    color: #fff;
}

.init-chat-icon{
    width: 50px;
    height: 50px;
    background-color: #fff;
    z-index: 10;
    position: fixed;
    bottom: 20px;
    right: 35px;
    box-shadow: 0px 3px 4px 4px rgba(0,0,0,0.1);
    border-radius: 50%;
    text-align: center;
    padding: 15px;
    cursor: pointer;
}
.init-chat-icon.has-message{
    background-color: #f05050;
    color: #fff;
}
#js-rise-chat-wrapper.hide{
    display: none;
}
#js-chat-messages-container .chat-msg:last-child {
    padding-bottom: 15px;
}
#chat-message-reply-form .form-control:focus{
    box-shadow: none;
}
