﻿@import url('ChatStyle.css');

body {
    padding: 0px;
    margin: 0px;
}

#header {
    padding: 3px;
    background-color: whitesmoke;
    border: white solid 1px;
    color: white;
    font-size: 24px;
    margin-top: 70px;
    /* background-color: #34B7F1;*/
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.submitButton {
    background-color: #dc3545;
    color: white;
    border: #5f9482 solid 1px;
    padding: 4px;
    cursor: pointer;
}

    .submitButton:hover {
        background-color: #e1e1e1;
    }

.login {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    /* border: solid 2px black;*/
    color: #1e4638;
}

    .login .textBox {
        width: 222px;
    }


    .login #divButton {
        padding: 4px;
        text-align: right;
    }

.chatRoom {
    /*width: 650px;*/
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    /*  border: solid 1px #0466c8;*/
    margin-top: -19px;
    border-radius: 3px;
}

    .chatRoom .title {
        font-size: 16px;
        /* font-weight: bold;*/
        padding: 8px;
        /* background-color: #0466c8;*/
        /*  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);*/
        color: black;
        border-bottom: dotted 1px red;
        /* border-radius: 4px;*/
    }

    .chatRoom .content {
        height: 300px;
        clear: both;
    }

        .chatRoom .content .chatWindow {
            /*   float: left;
            width: 409px;*/
            height: 300px;
            /*  border-right: solid 1px #0466c8;*/
            /*  overflow-y: scroll;*/
        }

            .chatRoom .content .chatWindow .message {
                padding: 4px;
            }

                .chatRoom .content .chatWindow .message .userName {
                    font-weight: bold;
                }

        .chatRoom .content .users {
            float: right;
            width: 240px;
            height: 300px;
            margin-top: -300px;
            overflow-y: scroll;
            /*   height:40px;*/
        }

            .chatRoom .content .users .user {
                display: block;
                cursor: pointer;
                padding: 4px;
                /*   background-color: #f9f9f9;*/
                border-bottom: solid 1px #0466c8;
                /*background-color: #25D366;*/
                /* margin-left: -9px;*/
            }

            .chatRoom .content .users .loginUser {
                display: block;
                padding: 4px;
                color: black;
                border-bottom: solid 1px #0466c8;
                /* background-color: #25D366;*/
                margin-left: 0px!important;
            }
            /*.chatRoom .content .users .indicator {
                display: block;
                padding: 4px;
                color: black;
                border-bottom: solid 1px #0466c8;
                background-color: forestgreen;*/
            /*width: 0.5em;
                height: 0.5em;*/
            /*border-radius: 50%;*/
            /* margin-left: 1px;*/
            /*}*/


            .chatRoom .content .users .user:hover {
                background-color: #e1e1e1;
            }

    .chatRoom .messageBar {
        border-top: solid 1px #0466c8;
        padding: 4px;
    }

/*.chatRoom .messageBar .textbox {
            width: 550px;
        }*/

.disconnect {
    position: absolute;
    margin: 10px;
    background-color: #ffcbcb;
    padding: 4px;
    border: solid 1px red;
}


.draggable {
    margin-left: -279px;
    margin-top: 150px;
    position: absolute;
    border: #5f9482 solid 1px !important;
    width: 250px;
    resize: both;
}

    .draggable .header {
        cursor: move;
        background-color: #0466c8;
        border-bottom: #0466c8 solid 1px;
        color: white;
    }

    .draggable .selText {
        color: white;
        padding: 4px;
    }

    .draggable .messageArea {
        width: 250px;
        overflow-y: scroll;
        height: 200px;
        border-bottom: #0466c8 solid 1px;
    }

        .draggable .messageArea .message {
            padding: 4px;
        }

    .draggable .buttonBar {
        width: 250px;
        padding: 4px;
    }

        .draggable .buttonBar .msgText {
            width: 172px;
        }

        .draggable .buttonBar .button {
            margin-left: 4px;
            width: 55px;
        }

.indicator.online {
    background: #28B62C;
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    -webkit-animation: pulse-animation 2s infinite linear;
    /* margin-left: 50PX;*/
    margin-top: 5px;
    float: right;
}

@-webkit-keyframes pulse-animation {
    0% {
        -webkit-transform: scale(1);
    }

    25% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2)
    }

    75% {
        -webkit-transform: scale(1);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

.indicator.offline {
    background: #FF4136;
    display: inline-block;
    width: 1em;
    height: 1em;
}

.resizable {
    margin-left: -300px;
    margin-top: 150px;
    position: absolute;
    border: #5f9482 solid 1px !important;
    min-width: 250px;
    box-sizing: content-box,border-box,initial,inherit;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

    .resizable .header {
        cursor: move;
        background-color: #3b5998;
        border-bottom: #0466c8 solid 1px;
        color: white;
        margin-left: -1px;
    }

    .resizable .selText {
        color: white;
        padding: 4px;
    }

    .resizable .messageArea {
        width: 100%;
        overflow-y: scroll;
        overflow: auto;
        height: 200px;
        border-bottom: #0466c8 solid 1px;
        cursor: move;
        background: #DCDCDC;
    }

        .resizable .messageArea .message {
            padding: 4px;
            /*float: left;*/
        }

    .resizable .buttonBar {
        width: 100%;
        padding: 4px;
    }

        .resizable .buttonBar .msgText {
            width: 80%;
        }

        .resizable .buttonBar .button {
            margin-left: 4px;
            width: 18%;
            overflow: auto;
        }
