table {
  table-layout: fixed;
  width: 100%;
}

td {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

td:nth-child(1) {
  width: 40px;
}

a {
  word-break: break-all;
}

.edit-mark {
  font-size: small;
  color: #aaaaaa;
}

.timestamp {
  font-size: small;
  color: #aaaaaa;
  float: right;
}

.thread {
  font-size: small;
  font-weight: bold;
  color: #000000;
}

.user-name {
  font-weight: bold;
  cursor: pointer;
}

.user-thumbnail {
  width: 32px;
  height: 32px;

  border-radius: 3px;
}

.channel-name {
  font-weight: bold;
  text-decoration: none;
}

.channel-name:hover {
  text-decoration: none;
}

.contents {
  margin-top: 0px;
}

.message-form {
  width: 100%;
}

.icon-button {
    opacity: 0.5;
}

.icon-button:hover {
    opacity: 1;
    cursor: pointer;
}

.solo-mode {
    color: lightgreen;
    opacity: 1;
}

.solo-mode:hover {
    opacity: 0.5;
    cursor: pointer;
}

.mute-mode {
    color: lightgreen;
    opacity: 1;
}

.mute-mode:hover {
    opacity: 0.5;
    cursor: pointer;
}

.buttons {
    text-align: right;
    margin-top: -2px;
    margin-bottom: -2px;
}

.reactions {
    display: flex;
    flex-wrap: wrap;
}

.reaction-container {
    position: relative;
}

.reaction-users {
    background-color: black;
    color: white;
    padding: 5px;
    font-size: small;
    font-weight: bold;
    border-radius: 5px;
    position: absolute;
    bottom: 28px;
    text-align: center;
    width: 220px;
}

.reaction-users::after {
    border-left: solid 7px transparent;
    border-right: solid 7px transparent;
    border-top: solid 10px black;
    bottom: -10px;
    content: "";
    display: block;
    height: 0;
    left: 5px;
    position: absolute;
    width: 0;
}

.reaction {
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 2px;
    padding-top: 2px;
    padding-bottom: 0;
    padding-right: 4px;
    border: solid 1px #dddddd;
    border-radius: 0.5em;
}

.reaction-count {
    margin-left: -3px;
    font-size: smaller;
}

.reaction:hover {
    border: solid 1px skyblue;
    cursor: pointer;
}

.my-reaction {
    border: solid 1px skyblue;
    color: skyblue;
}

.reaction img {
    min-width: 0;
    min-height: 0;
    width: 1em;
    height: 1em;
}

.hide-buttons {
    opacity: 0;
}

.hide-buttons:hover {
    opacity: 1;
}

.shared-image {
    max-width: 100%;
}

.left {
    max-width: 100%;
}

.menus {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #cccccc;
    padding: 3px 6px;

    text-align: right;
    z-index: 999;
    background-color: white;
}

.disable-mute {
    cursor: pointer;
}

.menu-button {
    opacity: 0.5;
}

.menu-button:hover {
    opacity: 1;
    cursor: pointer;
}

.main-contents {
    margin-bottom: 25px;
}

.selected-message {
    background-color: #e0f7ff !important;
}

.contents .emoji-only {
    height: 32px !important;
}
