﻿.sc_chat_container
{
    font-size: 11px;
    text-align: left;
    width: 220px;
}

.sc_chat_box
{
    height: 300px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
}

.sc_options_box
{
    padding-top: 2px;
    white-space: nowrap;
}

#prevmsg:has(+.sc_chat_box > img)
{
    pointer-events: none;
}

.sc_msg
{
    padding: 0 4px 2px 4px;
    word-wrap: break-word;
    border-bottom: 1px dotted #CCCCCC;
    position: relative;
}

.sc_msg:not(.bg-warning):nth-child(odd)
{
    background-color: #F7F7F7;
}

.sc_msg .sc_text
{
    white-space: pre-wrap;
}

.sc_msg .sc_text a > img[src^="data:image"]
{
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

.sc_chat_container .sc_name
{
    font-weight: bold;
}

.sc_chat_container .sc_name:hover
{
    color: #3299E4;
}

.sc_chat_container .sc_name .glyphicon-user
{
    margin-right: 3px;
}

.cs_delete_message
{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #CE3100;
    color: white;
    cursor: pointer;
    z-index: 100;
    padding: 3px;
}

.sc_chat_container .sc_date .glyphicon-pencil
{
    margin-right: 3px;
}

#ChatWords
{
    padding-top: 2px;
}

#allowguests label
{
    margin-bottom: 0;
    cursor: pointer;
}

.smile
{
    background-image: url('../Images/Smiles.png');
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    display: inline-block;
    cursor: pointer;
}

.smile-funny
{
    background-position: left bottom;
}

.smile-bad
{
    background-position: -10px bottom;
}

.chat-btn
{
    position: fixed;
    bottom: 1em;
    right: 0;
    opacity: 0.7;
    margin-right: 30px;
    z-index: 1100;
}

.chat-window
{
    position: fixed;
    right: 20px;
    bottom: 0;
    z-index: 1301;
    display: none;
}

.chat-window .panel-body
{
    background-color: #EEEEEE;
    padding: 10px 10px 5px 10px;
}