﻿#topClientChat {
    height: 25px;
    background: #669900;
    position: absolute;
    top: 0;
    left: 0px;
    right: 0;
    bottom: 55px;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
    font-size: 12px;
}

#staffName {
    color: white;
    padding-left: 10px;
    padding-top: 4px;
}

#messageBody {
    width: 100%;
    top: 25px;
    left: 0;
    bottom: 180px;
    overflow: auto;
    position: absolute;
}

.message {
    display: block;
    clear: both;
    width: 50%;
    color: #fff;
    padding: 15px 20px;
    margin: 0 10px 30px;
    border-radius: 3px;
    font-size: 14px;
    position: relative;
}

    .message::after {
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        line-height: 0px;
        position: absolute;
        bottom: -20px;
    }

    .message.user {
        float: right;
        background-color: #669900;
    }

        .message.user::after {
            border-width: 0 20px 20px 0;
            border-color: transparent #669900 transparent transparent;
            _border-color: #000000 #669900 #000000 #000000;
            _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
            right: 20px;
        }

    .message.staff {
        float: left;
        background-color: #666;
    }

        .message.staff::after {
            border-width: 20px 20px 0 0;
            border-color: #666 transparent transparent transparent;
            _border-color: #000000 #666 #000000 #000000;
            _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
            left: 20px;
        }

.timestamp {
    font-size: 12px;
    font-weight: bold;
    padding: 10px 10px 5px;
    clear: both;
}

    .timestamp.user {
        float: right;
        color: #669900;
    }

    .timestamp.staff {
        float: left;
        color: #666;
    }

.event {
    color: #999;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    clear: both;
    display: block;
    font-size: 12px;
    font-weight: 700;
    padding: 10px;
    text-align: center;
}

#actions {
    width: 450px;
    position: absolute;
    bottom: 0;
    left: 25px;
    margin: 0;
}

#queueNumberDiv {
    text-align: center;
    margin: 0 0 20px 0;
}

#messageHolder {
    margin: 0 20px 0 0;
    position: relative;
}

#message {
    display: block;
    border-radius: 3px;
    border: 1px solid #669900;
    min-height: 48px;
    resize: none;
    padding: 10px;
    width: 100%;
    font-size: 12px;
    margin: 0 -20px 0 0;
}

#submitMessage, #endChat {
    float: right;
    font-size: 14px;
    font-weight: 100;
    text-decoration: none;
    color: #fff;
    padding: 7px 30px;
    border-radius: 2px;
}

#submitMessage {
    background: #669900;
    border-radius: 2px;
    margin: 10px -20px 0 0;
}

    #submitMessage:hover, #submitMessage:focus {
        background: #4b7000;
    }

#endChat {
    background: #dd1515;
    margin: 10px;
}
    #endChat:hover, #endChat:focus {
        background: #a91111;
    }

#typing {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    padding: 18px 0 0;
    display: block;
    height: 16px;
    float: left;
}
