@font-face {
   font-family:pixelatedmssans;
   src:url(https://dl.dropbox.com/s/zd645fhg2gwoah2/Windows%20Regular.ttf);}

html{
  font-size:9pt;
}

body {
  font-family: pixelatedmssans;
}
.msgWrapper {
  display: flex;
  width: calc(100% - 20px);
  align-items: center;
  margin: 10px;
  position: relative;
  margin-top: 2px;
  filter: drop-shadow(1px 1px 1px #333);
}

.allMessages {
  display: block;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #a1a1a1;
  border: 2px inset;
  border-radius: 0px 6px 6px 6px;
  background: white;
}
.allMessages > pre {
    outline: dotted 1px #111;
    margin: 5px;
    padding: 5px;
    margin-top: 12pt;
    position: relative;
    background:silver;
    box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;
}
.allMessages:before {
   content: attr(time);
   float: right;
   pointer-events: none;
   font-style: italic;
   font-size: 8pt;
   color: #777;
}

.allMessages > pre:before {
  content: "Message:";
  width: 100%;
  display: block;
  position: absolute;
  bottom: calc(100% + 1px);
  left: 0;
}
.senderInfo {
  margin-left: 5px !important;
}

.senderInfo:before {
  content: "From:";
  color: #333;
  margin-right: 0.25em;
}
.sent .senderInfo {
  color: red;
}
.received .senderInfo {
  color: #49ee;
}


.mod, .owner {
    display:none;
  background-image: none;
}
#background {
   scrollbar-color: unset;
   scrollbar-width: unset;
}

  ::-webkit-scrollbar {
      width: 16px;
      height: 16px;
    }

    ::-webkit-scrollbar-track {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFElEQVQIW2M4fPz0////GYAYyAIASnoKpV3w4kgAAAAASUVORK5CYII=");
      image-rendering: pixelated;
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);
    }

    ::-webkit-scrollbar-track:active {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAEElEQVQIW2No6+pjgAAgCwAWogM9VKrgGQAAAABJRU5ErkJggg==");
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);
    }

    ::-webkit-scrollbar-thumb {
      border-top: 1px solid #cccccc;
      border-left: 1px solid #cccccc;
      border-right: 1px solid black;
      border-bottom: 1px solid black;
      box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
      width: 16px;
      height: 16px;
      background-color: #cccccc;
      z-index: 1;
    }

    ::-webkit-scrollbar-corner {
      background-color: #cccccc;
    }

    ::-webkit-resizer {
      width: 16px;
      height: 16px;
      background-color: #cccccc;
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR4Ae3MgQUAMBRDwU5fFF05lb/CARTBw2Ulof0DxPtcwp3hNuEYnjbcEW4TjuFpwx3h9gMWGgZ2Y/PT2gAAAABJRU5ErkJggg==");
      background-position: bottom right;
      background-repeat: no-repeat;
      image-rendering: pixelated;
    }

    ::-webkit-scrollbar-button,
    .scroll::-webkit-scrollbar-button {
      border-top: 1px solid #cccccc;
      border-left: 1px solid #cccccc;
      border-right: 1px solid black;
      border-bottom: 1px solid black;
      box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
      display: block;
      width: 16px;
      height: 16px;
      background-color: #cccccc;
      image-rendering: pixelated;
      background-repeat: no-repeat;
      background-position: center center;
    }

    ::-webkit-scrollbar-button:active,
    .scroll::-webkit-scrollbar-button:active {
      background-position: 2px 2px;
    }

    ::-webkit-scrollbar-button:horizontal:decrement,
    .scroll::-webkit-scrollbar-button:horizontal:decrement {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC");
    }

    ::-webkit-scrollbar-button:horizontal:increment,
    .scroll::-webkit-scrollbar-button:horizontal:increment {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=");
    }

    ::-webkit-scrollbar-button:vertical:decrement,
    .scroll::-webkit-scrollbar-button:vertical:decrement {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=");
    }

    ::-webkit-scrollbar-button:vertical:increment,
    .scroll::-webkit-scrollbar-button:vertical:increment {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=");
    }

    ::-webkit-scrollbar-button:horizontal:increment:start,
    .scroll::-webkit-scrollbar-button:horizontal:increment:start {
      display: none;
    }

    ::-webkit-scrollbar-button:horizontal:decrement:end,
    .scroll::-webkit-scrollbar-button:horizontal:decrement:end {
      display: none;
    }

    ::-webkit-scrollbar-button:vertical:increment:start,
    .scroll::-webkit-scrollbar-button:vertical:increment:start {
      display: none;
    }

    ::-webkit-scrollbar-button:vertical:decrement:end,
    .scroll::-webkit-scrollbar-button:vertical:decrement:end {
      display: none;
    }

    ::-webkit-scrollbar-button:active,
    .scroll::-webkit-scrollbar-button:active {
      border-top: 1px solid #868a8e;
      border-left: 1px solid #868a8e;
      border-bottom: 1px solid #868a8e;
      border-right: 1px solid #868a8e;
      box-shadow: none;
    }
#textInput {
  border: 1px solid #a1a1a1;
  border: 2px inset;
  border-radius: 0px 6px 6px 6px;
  background: white;
   box-sizing: border-box;
   padding: 5px;
}

#input, #nameEntry {
   background-color: #FFF;
   border: inset 2px rgb(208, 208, 191);
   padding: 3px;
   box-sizing: border-box;
   border-radius: 2px;
   font-family: inherit;
   font-size: 10pt;
}
 #timestamp {
   color: #555;
}
#top_banner {
   display: none;
}

blockquote {
   border: 1px solid rgb(208, 208, 191);
   border-radius: 3px;
   line-height: 12px;
   position: relative;
}
#emojiTrayToggle {
  background-size: 90% 90%;
  background-position: center;
  aspect-ratio: 1;
  top: 12.5%;
  border-radius:99px;
  border: 2px inset grey;
}
#emojiTray {
  background-color:white;
  color: #222;
}

#is_typing {
  background-color: transparent;
  border-radius: 0;
  overflow: visible;
  width: auto;
}
#is_typing:before {
  content: "Typing...";
}
