.comments-list {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}

.comments-public-list > li {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 10px;
}

/*
 * Overflow should not be hidden for private comments because of the chat bubble,
 * although this prevents breaking up very long words.
 */
.comments-public-list .media-body {
  overflow: hidden;
}
.comment-text {
  overflow-wrap: break-word;
}

.comment-input {
  border: 0;
  border-bottom: 1px solid #000000;
  border-radius: 0;
}
.comment-input:focus, .comment-input:active {
  outline: none !important;
  box-shadow: none;
}

.comment-view-replies {
  font-weight: 600;
}
.comment-view-replies:hover {
  cursor: pointer;
}

/* Chat bubble */
.comments-private-list .media-body {
  position: relative;
  background-color: #ffffff;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.comments-private-list .media-body.not-mine {
  margin-left: 3rem;
  background-color: #f5f5f5;
}
.comments-private-list .media-body::before {
  content: '';
  position: absolute;
  top: -1px;
  border: 10px solid transparent;
  border-top: 10px solid #cccccc;
}
.comments-private-list .media-body::after {
  content: '';
  position: absolute;
  top: 0px;
  border: 10px solid transparent;
}
.comments-private-list .media-body.mine::before {
  left: -10px;
}
.comments-private-list .media-body.mine::after {
  left: -8px;
  border-top: 10px solid #ffffff;
}
.comments-private-list .media-body.not-mine:before {
  right: -10px;
}
.comments-private-list .media-body.not-mine::after {
  right: -8px;
  border-top: 10px solid #f5f5f5;
}
