@import url("https://fonts.googleapis.com/css?family=Open+Sans|Source+Code+Pro");
html, body {
  height: 100vh; }

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  background-color: #1b1e21;
  font-size: .7em;
  color: white; }

input, textarea {
  padding: 5px;
  border-radius: 3px;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  overflow-x: hidden;
  background-color: #30353a;
  color: white;
  border: none;
  padding: .5em; }
  input:focus, textarea:focus {
    transition: background-color 0.25s; }
  input:focus, textarea:focus {
    background-color: #3b4248; }

button {
  padding: 5px;
  border-radius: 3px;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background-color: #53C0FA;
  color: white;
  text-transform: uppercase; }
  button:focus {
    transition: background-color 0.25s; }
  button:hover, button:focus {
    background-color: #4298C7; }

a {
  text-decoration: none;
  color: #53C0FA; }
  a:hover {
    color: #4298C7; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  margin-bottom: .5em; }

/*
 * Errors
 */
div.errors-wrapper {
  position: fixed;
  pointer-events: none;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden; }

div.error-wrapper {
  pointer-events: auto;
  width: 40%;
  padding: .5em;
  background-color: #f01d43;
  border: 0.1em solid #cc0e30;
  color: white;
  margin: auto;
  margin-top: .85em;
  margin-bottom: .85em;
  font-size: 1em;
  align-items: center;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; }
  div.error-wrapper .feather-icon {
    margin-right: .85em; }

/*
 * Login Screen
 */
div.login-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 30%;
  margin: auto;
  margin-top: 1.5em; }
  div.login-wrapper input, div.login-wrapper button {
    margin: .3em; }

/*
 * Base View
 */
div.base-wrapper {
  display: flex;
  height: 100%; }

/*
 * The list of rooms
 */
div.rooms-container {
  border-right: 0.1em solid #121416; }

div.rooms-wrapper {
  flex-shrink: 0;
  width: 15%;
  min-width: 20em;
  padding: .85em;
  box-sizing: border-box;
  border-right: 0.1em solid #121416; }
  div.rooms-wrapper .room-search {
    padding: .5em;
    width: 100%;
    box-sizing: border-box; }

div.room-link-wrapper {
  whitespace: nowrap;
  border-left: solid 0.2em #1b1e21;
  padding-left: .5em;
  margin: .3em;
  display: flex;
  align-items: center; }
  div.room-link-wrapper .feather-icon {
    height: 1.2em; }
  div.room-link-wrapper span.notification-count {
    color: #18f49c;
    margin-right: .5em;
    display: flex;
    align-items: center; }
    div.room-link-wrapper span.notification-count.bright {
      color: #f0f418; }
  div.room-link-wrapper a {
    color: lightgrey;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
  div.room-link-wrapper:hover a {
    color: #53C0FA;
    transition: color 0.25s; }
  div.room-link-wrapper.active {
    border-left: solid 0.2em #53C0FA; }
  div.room-link-wrapper.hidden {
    display: none; }

div.reconnect-wrapper {
  position: fixed;
  bottom: 1.5em;
  left: 1.5em;
  padding: .85em;
  display: flex;
  align-items: center;
  background-color: #30353a;
  border-radius: 3px; }
  div.reconnect-wrapper .feather-icon {
    margin-right: .85em; }

/*
 * The current room, if any.
 */
div.room-wrapper {
  display: flex;
  flex-direction: column;
  padding: .85em; }

div.typing-wrapper {
  padding: .5em;
  height: 1em;
  flex-shrink: 0; }

div.message-wrapper {
  display: flex;
  flex-shrink: 0; }
  div.message-wrapper input, div.message-wrapper textarea {
    flex-grow: 12;
    margin: .3em; }
  div.message-wrapper button {
    margin: .3em;
    height: 3em;
    width: 3em;
    transition: color 0.25s;
    background-color: #1b1e21;
    color: #53C0FA; }
    div.message-wrapper button:hover {
      color: #9FDBFB; }

div.messages-wrapper {
  overflow-y: scroll;
  flex-grow: 1; }
  div.messages-wrapper a.history-link {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: .5em; }

table.messages-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed; }
  table.messages-table td {
    padding: .5em;
    vertical-align: top; }
  table.messages-table img {
    max-width: 90%;
    max-height: 30em;
    margin-top: .85em;
    margin-bottom: .85em;
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5); }
  table.messages-table .sending {
    color: grey; }
  table.messages-table video {
    max-width: 90%;
    max-height: 30em; }
  table.messages-table td:nth-child(1) {
    width: 10%;
    white-space: nowrap; }

div.message p {
  margin: 0; }
div.message blockquote {
  margin: 0 0 0 0;
  padding-left: .5em;
  border-left: 0.4em solid #53C0FA; }
div.message code {
  font-family: Iosevka, "Source Code Pro", monospace; }
div.message pre code {
  width: 100%;
  overflow: auto;
  display: block;
  box-sizing: border-box;
  padding: .85em;
  background-color: #121416;
  border-radius: 3px;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.25); }

span.sender-wrapper {
  border-radius: 3px;
  padding-left: .5em;
  padding-right: .5em;
  display: inline-block;
  box-sizing: border-box;
  text-align: right;
  font-weight: 800;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  vertical-align: bottom;
  /* Fix for overflow changing element height */
  color: black; }

a.file-wrapper {
  padding: .5em 0 .5em 0;
  display: flex;
  align-items: center; }
  a.file-wrapper .feather-icon {
    height: 2em;
    width: 2em;
    margin-right: .85em; }

.message-notice {
  text-transform: uppercase; }

/**
 * Icons
 */
.feather-icon {
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  height: 1.5em;
  width: 1.5em; }

/*# sourceMappingURL=style.css.map */
