﻿#chats-container {
    position: absolute;
    right: 24px;
    bottom: 54px;    
    width: 350px;
    font-size: 11px;
    background-color: #fff;
    border: solid 1px #aaa;
}

.chat-container .header, #chatrooms .header {
    background-color: #12222f;
    color: #fff;
    font-weight: normal;
    text-align: left;
    height: 28px;
    line-height: 28px;
    border-bottom: solid 1px #ccc;
    padding: 0px 8px;
}

.chat-container .header .name {
    float: left;
}

.chat-container .header .close-chat-button {
    float: right;
    width: 30px;
    text-align: right;
}

.chat-container .header .close-chat-button:hover {
    cursor: pointer;
}

#chatrooms .header {
    background-color: #164355;
    border-bottom: solid 1px #265263;
}

.room {
    padding: 2px 10px 2px 6px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.room .unread-yes {
    background-color: #50ccff;
    border: solid 1px #50ccff;
    width: 10px; 
    height: 10px;
    margin-right: 8px;
    border-radius: 10px;
}

.room .unread-no {
    background-color: transparent;
    border: solid 1px #2f667b;
    width: 10px; 
    height: 10px;
    margin-right: 8px;
    border-radius: 10px;
}

.room .name {
}

.room .last-message-time {
    text-align: right;
    color: #ddd;
    font-size: 11px;
    letter-spacing: 0.05em;
}

    .room .status {
        text-align: right;
        color: #bbb;
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 0.05em;
        margin-left: auto;
    }

.online {
    color: #5aec64 !important;
}

.away {
    color: #f6fd8b !important;
}

.chatlog {
    padding: 20px 8px;
    overflow-y: scroll;
}

.message-from-me div, .message-from-them div {
    max-width: 70%;
    margin-bottom: 3px;
    padding: 5px 10px 7px 10px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    clear: both;
    word-break: break-word;
}

.message-from-me div {    
    background: #42a0fb;
    float: right;
    color: #fff;    
}

.message-from-them div {
    background: #e2e2e7;
    float: left;
    color: #000;
} 

.info {
    margin-top: 2px;
    margin-bottom: 20px;
    color: #999;
}

.info-from-me, .info-from-them {    
    color: #888;    
    clear: both;
    font-size: 11px;
    padding: 0px 6px;
}

.info-from-me {
    float: right;
}

.info-from-them {
    float: left;
}

.input-container {
    height: 54px;
    background-color: #f6f6f6;
    border-top: solid 1px #ccc;
}

.input-container div {
    padding: 10px 8px 0px 8px;
}

.message {
    padding-bottom: 6px;
    padding-top: 1px;
    line-height: 18px;
}

.input {
    height: 34px !important;
    line-height: 34px !important;
    font-size: 12px;
    font-family: Arial;
    resize: none;
    white-space: pre;
    overflow: hidden;
}