/*=== chat ===*/
.chat-list{
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 50px;
    z-index: 99;
    width: 230px;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #fff;
    box-shadow: 2px 0px 6px 0px rgba(0,0,0,0.4);
}
.chat-search{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 210px;
    background: red;
    height: 30px;
    padding: 10px 10px 10px 10px;
    background: #fff;
}
.chat-search input{
    border-radius: 3px;
    line-height: 28px;
    padding: 0 5px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #00A7DF;
    font-size: 12px;
    color: #333;
}
.chat-list h2{
    color: #4a4a4a;
    font-size: 12px;
    text-transform: uppercase;
    padding: 15px 10px 5px 10px;
}

.chat-list h2 a{
    line-height: 20px;
    padding: 0 8px;
    font-size: 10px;
    margin-left: 5px;    
}

.chat-list .item{
    margin: 10px 10px;
    padding-left: 40px;
    position: relative;
    height: 35px;
    cursor: pointer;
}
.chat-list .item:hover{
    background: #efefef;
}
.chat-list .item>em{
    position: absolute;
    top: 1px;
    left: 16px;
    z-index: 2;
    background: #dc3545;
    font-style: normal;
    font-size: 10px;
    color: #fff;
    border-radius: 6px;
    width: 20px;
    text-align: center;
}
.chat-list .item .image{
    position: absolute;
    top: 1px;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    background: #666;
    font-weight: bold;
    color: #fff;
}
.chat-list .item .image.online{
    background: #06b53c;
}
.chat-list .item h4{
    color: #333;
    font-size: 13px;
    font-weight: normal;
    width: 153px;
    max-height: 17px;
    overflow: hidden;
}
.chat-list .item p{
    color: #999;
    font-size: 11px;
    font-weight: normal;
    width: 153px;
    max-height: 14px;
    overflow: hidden;
}
.chat-list .item p span{
    color: #00A7DF;
}
.chat_window{
    position: fixed;
    bottom: 0;
    left: 250px;
    z-index: 999;
    width: 300px;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}
.chat_window .chat_header{
    background: #00A7DF;
    color: #fff;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px;
}
.chat_window .chat_header .room_name{
    font-size: 13px;
    height: 17px;
    width: 250px;
    overflow: hidden;
    float: left;
}
.chat_window .chat_header .room_close{
    float: right;
    font-size: 13px;
    cursor: pointer;
}
.chat_window .chat_header .room_close:hover{
    color: #e1e1e1;
}
.chat_window .chat_comment{
    background: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0 10px;
    background: #fff;
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    height: 250px;
    word-break: break-all;
}
.chat_window .chat_comment .comment{
    text-align: left;
    max-width: 95%;
    margin: 10px 0;
    position: relative;
}
.chat_window .chat_comment .comment.byme{
    text-align: right;
}
.chat_window .chat_comment .comment .created_by{
    font-size: 10px;
    color: #999;
}
.chat_window .chat_comment .comment .content{
    background: #e1e1e1;
    color: #333;
    padding: 3px 5px;
    border-radius: 3px;
    display: inline-block;
}
.chat_window .chat_comment .comment .content a{
    color: #333;
    text-decoration: underline;
}
.chat_window .chat_comment .comment.byme .content{
    background: #00A7DF;
    color: #fff;
    font-size: 13px;
}
.chat_window .chat_comment .comment.byme .content a{
    color: #fff;
}
.chat_window .chat_comment .comment .seen_by{
    font-size: 9px;
    color: #999;
}
.chat_window .chat_comment .comment .seen_by span{
    color: #00A7DF;
}
.chat_window .chat_footer{
    background: #e1e1e1;
    padding: 10px;
}
.chat_window .chat_footer input{
    line-height: 26px;
    padding: 0 10px;
    font-size: 13px;
    color: #333;
    border: 1px solid #4a4a4a;
    border-radius: 3px;
    display: inline-block;
    width: 206px;
}
.chat_window .chat_footer .chat_file{
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
    font-size: 18px;
    color: #4a4a4a;
}
.chat_window .chat_footer .chat_send{
    display: inline-block;
    cursor: pointer;
    margin-left: 5px;
    font-size: 18px;
    color: #4a4a4a;
}
.chat_window .chat_footer .chat_file:hover,
.chat_window .chat_footer .chat_send:hover{
    color: #00A7DF;
}

.chat_window .chat_more{
    text-align: center;
    padding-top: 10px;
}

.chat_window .chat_more a{
    line-height: 20px;
    padding: 0 8px;
    background: #666;
    font-size: 12px;
}

/*=== Phone ===*/
@media (max-width: 768px){
    .chat_window{
        left: 10px;
    }
}