
#babble {
    display: block;
    position: fixed;
    bottom: 1em; 
    left: 100px;
    z-index: 1000;

    #chatCntr {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        bottom: 0; 
        left: 0;
        width: 100%;
        max-width: 80ch;
        height: 100vh;
        max-height: 100vh;
        background-color: rgba(255,255,255,1);
        box-shadow: 0 0 .75em rgba(0,0,0,.25);
    }

    #chatHeaderCntr {
        position: relative;
        display: block;
        background-color: #007234;
        padding: 1em;
        color: #FFF;
        flex: 0 0 auto;
    }
    #chatUiCntr {
        position: relative;
        display: block;
        border-top: 1px solid #DDD;
        background-color: rgba(0,0,0,.05);
        padding: 1.25em;
    }
    #chatFlexCntr {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        flex: 1;
        min-height: 0;
    }
    #chatWindowCntr {
        position: relative;
        display: block;
        overflow-y: auto;
    }
    #chatWindowListCntr {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        flex: 1;
        min-height: 0;
    }
    .chatWindowMessage {
        position: relative;
        display: block;
        max-width: 100%; 
        /* Ensure it doesn't get split awkwardly across lines */
        break-inside: avoid; 
    }
    .chatWindowUser {
        text-align: right;
        margin: 1em 0;
    }
    .chatWindowAgent {
        text-align: left;
        margin: 1em 10% 1em 1em;
    }
    .envelope {
        display: inline-block;
        padding: .5em 1em;
        background-color: #f5f3f3;
        border: 1px solid #d3d3d3;
        color: #000000;
        margin: 0 0 0 20ch;
        border-top-left-radius: 1em;
        border-bottom-left-radius: 1em;
        border-right-width: 0;
        font-weight: bold;
    }
    .borderLeft {
        border-left: 1px solid #E2E2E2;
    }
    .small {
        font-size: 90%;
    }
    .grey {
        color: grey;
    }

    textarea {
        padding: 1em;
        font-size: 105%;
        border: 1px solid #c0c0c0;
        border-radius: .25em;
    }
    pre {
        position: relative;
        display: block;
        max-width: 75ch;
        overflow: hidden;       /* Prevents content from spilling out of the block */
        background-color: #ecf1f9;
        color:#131f36;
        padding: 2em;
        border-radius: 1em;
        overflow: auto;
    }
    .loading {
        display: block;
        position: relative;
        background-image: url("https://insite.publicweb.ca/images/icons/loading.gif");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 1em;
        width: 1em;
        margin-right: .5em;
    }
    .loadingSmall {
        display: block;
        position: relative;
        background-image: url("../images/icons/loading-dots.gif");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 16px;
        width: 25px;
    }
}
