.ma-basedata,
.ma-comments,
.ma-documents {
  background-color: var(--gray);
  position: relative;
}

.comment-container,
.comment-settings {
  margin: 0 auto;
  max-width: 95%;
  width: 95%;
}

.comment {
  background-color: #dee0e3;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;

  > p {
    margin-bottom: 0;
    max-width: 86%;
  }

  a {
    text-decoration-style: dotted;
    color: inherit;
  }

  small {
    opacity: 0.5;
  }
}

.comment::after {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 15px;
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 0 8px 8px 0;
  font-weight: 900;
  font-size: 1.7rem;
  height: 100%;
  min-width: 12%;
  width: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Line Awesome Free";
}

.comment.note::after {
  content: "\f249";
  background-color: #acadb0;
}

.comment.positive {
  background-color: #b7d0b3;

  &::after {
    content: "\f560";
    background-color: #7fb257;
  }
}

.comment.negative {
  background-color: #e2a2a7;

  &::after {
    content: "\f00d";
    background-color: #ce646d;
  }
}

.comment.rank {
  background-color: #b4ddf9;

  &::after {
    content: "\f0e7";
    background-color: #55b3f1;
  }
}

.comment.modify {
  background-color: #fed69a;

  &::after {
    content: "\f6e3";
    background-color: #fdad35;
  }
}

.comment.document {
  background-color: #feafea;

  &::after {
    content: "\f02d";
    background-color: #fd49d0;
  }
}

.comment.created {
  background-color: #a4f4f3;

  &::after {
    content: "\f055";
    background-color: #14a3a1;
  }
}

#fd-container .abteilung-container > span:not(:last-child) {
  margin-right: 5px;
}

.abteilung {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  color: var(--bs-body-color);
  margin: 8px 0;

  &:before,
  &:after {
    content: "";
    flex-grow: 1;
    background: var(--bs-body-color);
    height: 1px;
    font-size: 0;
    line-height: 0;
    margin: 0 8px;
  }
}

.rx-editor {
  color: black;
}

#inhalt,
.ck-editor {
  color: #000;
}
