﻿/*html, body {
    font-size: 16px;
}

@media all and (max-device-width: 720px) {
    html, body {
        font-size: 20px;
    }
}*/


#mydiv {
    position: absolute;
    z-index: 9;
    background-color: #f1f1f1;
    text-align: center;
    border: 1px solid #d3d3d3;
}

#mydivheader {
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    background-color: #134b75;
    color: #fff;
}



html, body {
    padding: 0;
    height: 100%;
}

#messages {
    width: 100%;
    border: 1px solid #ccc;
    height: calc(100% - 120px);
    float: none;
    margin: 0px auto;
    padding-left: 0px;
    overflow-y: auto;
}
.jc-bg-textarea {
    background: #0e0f12;
}

textarea:focus {
    outline: none !important;
    background: #0e0f12;
}
input:focus {
    outline: none !important;
    color: white;
}
input:active {
    outline: none !important;
  
}
.system-message {
    background: #171717;
    color:gray;
}

.UserEntry {
    overflow: auto;
    margin: 4px 0;
    background: #1a261a;
    color: White;
    
}

    .UserEntry:hover {
        overflow: auto;
        margin: 4px 0;
        background: #34473f;
        color: White;
    }

.broadcast-message {
    display: inline-block;
    background: yellow;
    margin: auto;
    padding: 5px 10px;
}

.message-entry {
    overflow: auto;
    margin: 8px 0;
}

.message-avatar {
    display: inline-block;
    padding: 10px;
    font-size:18px;
    max-width: 8em;
    word-wrap: break-word;
    font-weight: bold;
    color: Highlight;
   
}

.message-content {
    display: inline-block;
    background-color: #0e8700;
    color:white;
    padding: 10px;
    margin: 0 0.5em;
    max-width: calc(60%);
    word-wrap: break-word;
    border-radius: 15px 15px 1px 15px;
}

.message-contentleft {
    display: inline-block;
    background-color: #005f87;
    color:white;
    padding: 10px;
    margin: 0 0.5em;
    max-width: calc(60%);
    word-wrap: break-word;
    border-radius: 15px 15px 15px 1px;
}

    .message-content.pull-left:before {
        width: 0;
        height: 0;
        display: inline-block;
        float: left;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #b2e281;
        margin: 15px 0;
      
    }

.message-contentleft.pull-left:before {
    width: 0;
    height: 0;
    display: inline-block;
    float: left;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #b2e281;
    margin: 15px 0;
}

.message-content.pull-right:before {
    width: 0;
    height: 0;
    display: inline-block;
    float: right;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #b2e281;
    margin: 15px 0; 
  
}
