﻿
:root {
}

body {
    padding-bottom: 70px;
}

.w-90 {
    width: 90%;
}

.width150 {
    width: 150px;
}

/* Border. TODO change this for a bootstrap border */
.profile {
    border-radius: 25px;
    border: 2px solid lightblue;
    padding: 10px;
    margin: 10px;
}

/* Toggler */
a[aria-expanded="true"] .up-img {
    display: none;
}

a[aria-expanded="false"] .down-img {
    display: none;
}

.up-img {
    content: url(../images/arrow_up.svg);
}

.right-img{
    content: url(../images/arrow_right.png);
}

.left-img {
    content: url(../images/arrow_left.png);
}

.down-img {
    content: url(../images/arrow_down.svg);
}

/* Make the Help bar end up in it's own "frame" */
#helpBar {
    position: absolute;
    background-color: white;
    right: 60px;
    z-index: 1;
    max-width: 40%;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    top: 70px;
    padding-bottom: 5px;
    display: flex;
}

.rowClick {
    cursor: pointer;
}

.chatList {
    max-height: 150px;
    overflow: auto;
}

.chatMessages {
    height: 300px;
    max-height: 300px;
    overflow: auto;
}

.sendChatMessage {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
}

    .sendChatMessage hr {
        margin-bottom: 2px;
    }

    .sendChatMessage .tblSendMess {
        width: 100%;
    }

        .sendChatMessage .tblSendMess .col1 {
            width: 70%
        }

        .sendChatMessage .tblSendMess .col2 {
            vertical-align: bottom;
            padding-left: 15px;
            padding-bottom: 10px;
            width: 30%
        }

    .sendChatMessage .tblSendMess input {
        font-size: 14px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .sendChatMessage .tblSendMess textarea {
        font-size: 12px;
        font-family: Verdana;
        width: 100%;
        height: 80px;
    }

        .sendChatMessage .tblSendMess .charsRemain {
            font-size: 10px;
            font-family: Verdana;
        }

.tblChatRooms {
    display: none;
    font-family: Verdana;
    font-size: 11px;
}
    .tblChatRooms tr:hover {
        background-color: darkblue;
        color: #fff;
        cursor: pointer;
    }

    .tblChatRooms tr:hover a {
        background-color: darkblue;
        color: #fff;
        cursor: pointer;
    }

    .tblChatRooms a:hover  {
        color: #fff;
        cursor: pointer;
    }

    .tblChatRooms th {
        padding-right: 15px;
        font-weight: bold;
    }

    .tblChatRooms td {
        padding-right: 15px;
    }


.ui-chatbox-content {
    padding: 0px;
    margin: 0px;
    border: 0px;
    clear: both;
}

.ui-chatbox-log {
    padding: 3px;
    height: 270px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #FFFFFF;
    display: inline-block;
}

.ui-chatbox-msg {
    margin-top: 10px;
    float: left;
    clear: both;
    /* Source: http://snipplr.com/view/10979/css-cross-browser-word-wrap */
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera <7 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
    font-family: Verdana;
    font-size: 12px;
}

.ui-chatbox-msg-msg {
    margin-left: 15px;
    margin-right: 20px;
}

.ui-chatmessage-date {
    font-size: smaller;
}

.ui-chatmessage-my {
    margin-left: 80px;
}

.ui-chatmessage-other {
}

.ui-chatmessage-myBox {
    background: #cddf9e;
    padding: 3px;
    border-radius: 4px;
    width: 400px;
}

.ui-chatmessage-otherBox {
    background: #eaedf1;
    padding: 2px 2px 6px 3px;
    border-radius: 4px;
    width: 400px;
}

.ui-chatbox-username {
    font-weight: bold;
}

.unread-chat {
    font-weight: bold;
    color: red;
}

.tblEditChat {
    font-family: Verdana;
    font-size: 12px;
}
    .tblEditChat input[type='text'] {
        width: 300px;
    }

    .tblEditChat td {
        vertical-align: top;
        padding-right: 20px;
    }

    .tblEditChat label {
        padding-left: 8px;
    }

    .tblEditChat button {
        min-width: 100px;
    }

.newChat {
    margin-top: 5px;
    font-family: Verdana;
    font-size: 12px !important;
}

.chatCounter {
    color: red;
    font-weight: bold;
    position: relative;
    left: -10px;
    top: -15px;
    z-index: 999999;
    overflow: visible;
}

.onlinestatus {
    padding-left: 10px;
}