/* General classes */
.yellow {color: yellow;}
.maroon {color: maroon;}
.hidden {display: none;}
.chatControls {}
.whenstopped {}
.whenstarted {}

#transparent-page {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: transparent;
}

img.chat-avatar {
    width: 80px;
    border: 1px solid #000022;
    border-radius: 4px;
}

.chat-stacked {
    position: relative;
    top: 0;
    left: 1%; right: 1%;
    margin: 3px;
    width: 98%;
    background: #9bbadb;
    color: #000000;
    border: 2px solid #aaaaad;
    padding: 8px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}

#chat-outer-container {
    position: fixed;
    z-index: 90;
    top: 0; bottom: 0;
    left: 0; right: 0;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background: #eeeeff;
    border: 4px solid grey;
}

#chat-outer-stack {
    position: relative;
    z-index: 150;
    top: 0; bottom: 0;
    height: 100%;
    color: #ffffff;
}

#chat-stack-title {
    z-index: 500;
    position: relative;
    top: 1%;
    height: 5%;
}

#chat-stack-inner {
    z-index: 500;
    position: relative;
    top: 1%;
    height: calc(100% - 120px);
    background: #409cab;
    font-size: 16px;
    line-height: 20px;
    border-bottom: solid white 5px;
    overflow-y: auto;
    overflow-x: hidden;
}

#chat-stack-footer {
    padding: 4px;
}

#message-input {
    display: inline-block;
    width: 70%;
    padding: 8px;
    margin: 5px;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    resize: none;
}

#chat-send {
    width: 20%;
    padding: 8px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
}

#chat-stack-inner.waiting {
    background: #eab6a5;
    color: #1e5be1;
}

#chat-stack-inner.chat-stopped {background-color: #3f5053;}
#chat-stack-inner.chat-private {background-color: #355e23;}
#chat-stack-inner.general {background-color: #fefedc;}
#chat-stack-inner a {color: brown;}

.chat-strip {font-size: 10px; width: 96%; background-color: white; color: brown; padding: 5px;}
.chat-decorated {background-color: #00ffff;}

#chat-monitor-container {background-color: #ffffff; z-index: 2000;}
#chat-monitor {font-size: 15px; color: black;}
.chat-status-class {font-size: 15px; font-style: italic;}

#chat-load-areas {border-radius: 6px; margin: 5px; padding: 4px;}
.chat-cruncher {float: right; color: #ee2222; font-size: 30px;}
.chat-form {color: black; background-color: #98d5d2;}
.chat-form div {margin: 8px; float: right; margin-right: 50px; text-decoration: none; font-size: 40px;}

#popup-container, .chat-popup {
    color: #800000;
    background-color: #ebeaed;
    position: fixed;
    top: 14%;
    bottom: 13%;
    left: 5%;
    right: 5%;
    border: 5px solid #d3e7ec;
    border-radius: 6px;
    margin: 3px;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

#popup-container h1 {background-color: #ebeaed; color: black; font-style: italic;}
.robot-message {font-size: 20px; line-height: 30px; color: black; background-color: #1be4d6; border: 2px solid green; border-radius: 15px; margin: 30px; padding: 12px;}
.chat-strip {font-size: 18px; line-height: 22px; color: black;}
.my-message-container {margin-left: 5%; margin-right: 2%;}
.incoming-message-container {margin-left: 2%; margin-right: 5%;}
.chat-message-label {color: black; font-size: 10px; float: right; margin-right: 30px;}
.chat-message-label a {font-size: 20px;}
.chat-message-set {position: relative; padding-bottom: 4px; padding: 15px; margin: 1em 0;}
.chat-message-text {
    background-color: #eeffff;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
}

.chat-message-text:hover {text-decoration: none; cursor: pointer;}
.command-message-container {margin-left: 10%; margin-right: 10%;}
.command-message {
    border: rgba(17,50,81,0.39);
    background-color: #faf0ee;
    color: #000000;
    padding: 16px;
    margin: 20px;
    box-shadow: 6px 6px 6px;
}

.my-message {
    border: 4px double rgba(67,70,81,0.39);
    background-color: #e5f2fe;
    color: #000000;
}

.my-message:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 0;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #e5f2fe transparent;
}

.incoming-message {
    border: 4px double rgba(25,71,81,0.39);
    background-color: #f7efc9;
    border-color: #287828;
    color: #000000;
}

.incoming-message:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 0;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #f7efc9 transparent;
}

.chat-username {color: #800000; font-weight: bold; font-style: italic; background: transparent; font-size: 18px; cursor: pointer;}
.pm {color: #8a004f; font-style: italic; border-radius: 10px;}
.pm-notice {color: orange; background-color: white; font-style: italic; padding: 4px; border-radius: 8px;}
.pnote {background-color: #b3ccff; color: #002b80; padding: 4px; border: 5px double rgba(81,60,48,0.26); border-radius: 11px;}
.delete-soon {border: 10px solid #ebe3ce;}
.tooltip {position: relative; display: inline-block; border-bottom: 1px dotted black;}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 420px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 10;
}
.tooltip:hover .tooltiptext {visibility: visible;}
.chatlightback {background-color: #ffdab3; color: #000000;}
.chatdarkback {background-color: #c1caaf; color: #ffffdd;}
.chat-heading {width: 99%; height: 45px; font-weight: bold; font-size: 30px; line-height: 45px; text-align: center; padding: 8px; margin-right: 10px; background-color: #ccffcc;}
.chat-new-message-count {background-color: red; color: white; font-weight: bold; font-size: 0.85em; margin-left: 30px; border-radius: 5px; box-shadow: 1px 1px 1px gray;}