#chat-log.chat-notifications {
  --top: 0px;
  --left: 0px;
  --direction: column;
  --opacity: 1;
  position: fixed;
  display: flex;
  flex-flow: var(--direction) nowrap;
  width: 300px;
  height: auto;
  left: var(--left);
  z-index: 9999;
  overflow: hidden;
  opacity: var(--opacity);
}
.chat-notifications.settings {
  --border-color: #666;
  --div-border-color: #6666;
  --div-bg-color: rgba(0, 0, 0, 0.05);
  --highlight-color: red;
  --hint-color: #444;
  max-height: 650px;
}
.chat-notifications.settings .window-content {
  padding: 0;
}
.chat-notifications.settings nav {
  background: var(--div-bg-color);
  padding: 6px;
  margin: 0;
  margin-bottom: 3px;
  border-bottom: 1px solid var(--border-color);
  margin: 0 0 6px 0;
}
.chat-notifications.settings section {
  padding: 0.8em;
}
.chat-notifications.settings a[href] {
  color: #4a52ca;
}
.chat-notifications.settings .info {
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  position: relative;
  top: -0.4em;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin: 0;
  padding: 0 0.3rem;
}
.chat-notifications.settings .info:before {
  font-size: 0.6rem;
  content: "\f059";
  border: none;
}
.chat-notifications.settings input[type="checkbox"] {
  opacity: 0;
  width: 0;
  padding: 0;
  margin: 0;
  flex: 0;
}
.chat-notifications.settings label[for] {
  cursor: pointer;
}
.chat-notifications.settings .form-checkbox-group {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin: 3px 0;
}
.chat-notifications.settings .form-checkbox-group label:hover {
  text-shadow: 0 0 4px var(--highlight-color);
}
.chat-notifications.settings .form-checkbox-group label:before {
  font-weight: 400;
  font-family: "Font Awesome 5 Free";
  padding: 0 0.3em;
  content: "\f0c8";
}
.chat-notifications.settings .form-checkbox-group input:checked + label:before {
  font-weight: 900;
  content: "\f14a";
}
.chat-notifications.settings .multi-input-row {
  display: flex;
  flex-flow: row nowrap;
}
.chat-notifications.settings .multi-input-row > * {
  margin: 0.5ch;
}
.chat-notifications.settings .multi-input-row :first-child {
  margin-left: 0;
}
.chat-notifications.settings .multi-input-row :last-child {
  margin-right: 0;
}
.chat-notifications.settings .input-group-col {
  display: flex;
  flex-flow: column nowrap;
  flex: 1;
}
.chat-notifications.settings .hint {
  flex: 0 100%;
  padding: 0 1em 0.3em 0;
  margin-left: 4ch;
  font-size: 0.9em;
  color: var(--hint-color);
}
.chat-notifications.settings .perc:after {
  content: '%';
}
.dark-mode .chat-notifications.settings {
  --border-color: #aaa;
  --div-bg-color: rgba(150, 150, 150, 0.05);
  --highlight-color: #7bb4ff;
  --hint-color: #797979;
}
