﻿.divChat {
    position: fixed;
    right: 10px;
    bottom: 0px;
    z-index: 1000;
    width: 230px;
    height: 320px;
    border-left: 1px solid lightseagreen;
    border-right: 1px solid lightseagreen;
    border-radius: 5px 5px 0px 0px;
    padding: 0px;
}

    .divChat .Header {
        background-color: lightseagreen;
        color: white;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 80%;
        padding-top: 2px;
        padding-bottom: 2px;
        border-bottom: 1px solid #ddd;
        border-radius: 5px 5px 0px 0px;
        height: 17px;
    }

        .divChat .Header a {
            margin-top: 1px;
            float: right;
            color: white;
        }

            .divChat .Header a:hover {
                color: black;
            }

    .divChat .writeArea {
        height: 43px;
        border-top: 1px solid #ddd;
        padding: 3px;
        font-size: 80%;
        background-color: #ddd;
    }

        .divChat .writeArea textarea {
            float: left;
            font-size: 80%;
            width: 175px;
            height: 35px;
            font-family: inherit;
            font-size: inherit;
        }

        .divChat .writeArea input[type=button] {
            float: right;
            font-size: 80%;
            width: 40px;
            margin-top: 1px;
        }

    .divChat .textArea {
        width: 100%;
        height: calc(100% - 70px);
        overflow: auto;
        background-color: white;
        font-size: 80%;
        position: relative;
    }

        .divChat .textArea .MessAllg {
            color: black;
            margin: 5px;
            width: calc(100% - 10px);
            text-align: justify;
        }

        .divChat .textArea .self, .divChat .textArea .other {
            width: 80%;
            padding: 5px;
            margin: 5px;
        }

        .divChat .textArea .other {
            /*border: 1px solid green;*/
            background-color: #ffe;
            color: black;
            float: left;
            margin-left: 7px;
            border-radius: 0px 5px 5px 5px;
            box-shadow: -2px 2px #ddd;
        }

        .divChat .textArea .self {
            /*border: 1px solid blue;*/
            background-color: #8f8;
            color: black;
            float: right;
            margin-right: 7px;
            border-radius: 5px 0px 5px 5px;
            box-shadow: 2px 2px #ddd;
        }

    .divChat .status {
        font-size: 70%;
        color: gray;
        text-align: right;
    }

    .divChat .waitSpinner, .divChat .error {
        position: absolute;
        text-align: center;
        vertical-align: middle;
    }

    .divChat .error {
        top: calc(50% - 25px);
        left: calc(50% - 50px);
        width: 100px;
        height: 50px;
    }

    .divChat .waitSpinner {
        top: calc(50% - 15px);
        left: calc(50% - 15px);
        width: 30px;
        height: 30px;
    }

    .divChat .senderName {
        display: block;
        font-size: 80%;
        color: #777;
    }
