.tag-group {
  margin: -4px -4px 4px 0;
}
.tag-group .tag {
  margin: 4px 4px 0 0;
}

.tag {
  display: inline-flex;
  margin: 2px;
  font-size: 0.9rem;
  line-height: 1;
  padding: 6px 10px 8px;
  border-radius: 3px;
  color: #fff;
  background: #343a40;
  border: 1px solid #343a40;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  align-items: center;
}
.tag.suggestion {
  background: #fff;
  opacity: 0.7;
  color: #343a40;
}
.tag.suggestion:hover {
  opacity: 1;
  text-decoration: inherit;
}
.tag .close {
  font-size: 1rem;
  padding-left: 4px;
  color: #fff;
  text-shadow: 0 1px 0 #000;
  opacity: 0.4;
  order: 100;
  line-height: 0.9;
}
.tag .handle {
  cursor: move;
}

.autocomplete {
  position: relative;
}
.autocomplete input.form-control {
  width: 100%;
}
.autocomplete div.form-control {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  height: auto;
}
.autocomplete div.form-control .tag-group.sortable {
  flex: 1 0 100%;
}
.autocomplete div.form-control input[type=text] {
  border: 0;
  padding: 0 5px;
  margin: 0;
  flex: 1 0 5em;
}

.autocomplete__suggestions {
  position: absolute;
  top: 100%;
  background-color: #fff;
  width: 100%;
  z-index: 1000;
  padding: 0.3rem 0;
  border: 1px solid #ddd;
  max-height: 16rem;
  max-height: max(16rem, 80vh);
  overflow-y: scroll;
}
.autocomplete__suggestions.up {
  top: auto;
  bottom: 100%;
}
.autocomplete__suggestions .autocomplete__entry {
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.autocomplete__suggestions .autocomplete__entry:hover {
  color: #16181b;
  background-color: #e9ecef;
  cursor: default;
}
.autocomplete__suggestions .autocomplete__entry.autocomplete__selected {
  color: #fff !important;
  background-color: #4C6BE0 !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > footer {
  margin-top: auto;
}
body.admin-menu-open {
  overflow-y: hidden;
}

.mw-xs {
  max-width: 0 !important;
}

.mw-sm {
  max-width: 576px !important;
}

.mw-md {
  max-width: 768px !important;
}

.mw-lg {
  max-width: 992px !important;
}

.mw-xl {
  max-width: 1200px !important;
}

.mw-xxl {
  max-width: 1440px !important;
}

#AdminMenuContainer {
  visibility: hidden;
  position: absolute;
  top: 56px;
  bottom: -56px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
  z-index: 999;
}
#AdminMenuContainer.show {
  visibility: visible;
  transition: visibility 0s linear 0s, opacity 300ms;
  opacity: 1;
}
#AdminMenuContainer.show #AdminMenu {
  left: 0;
}

#AdminMenu {
  position: absolute;
  left: -310px;
  top: 0;
  bottom: 56px;
  width: 300px;
  z-index: 1000;
  background: #343a40;
  transition: left ease-in-out 0.5s;
  overflow-y: auto;
}
@media (max-width: 575.98px) {
  #AdminMenu {
    left: -500px;
    width: 100%;
  }
}
#AdminMenu li.active > a.nav-link {
  background: #7089e6;
  color: #fff;
}
#AdminMenu a.nav-link {
  color: #fff;
}
#AdminMenu a.nav-link:hover {
  background: #7089e6;
}
#AdminMenu .nav-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
#AdminMenu .nav > li ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
#AdminMenu .nav > li ul a {
  padding-left: 2rem;
}
#AdminMenu .nav > li ul ul a {
  padding-left: 3rem;
}

.tox.tox-tinymce-aux {
  z-index: 1040 !important;
}

th.actions, td.actions, th.narrow, td.narrow {
  width: 1em;
  white-space: nowrap;
}

td.actions > .btn {
  margin-top: -0.8em;
  margin-bottom: -0.5em;
}

body [v-cloak] {
  display: none !important;
}

remove-last-p-mb > p:last-child {
  padding-bottom: 0;
}

.author-thumb {
  background: #e9ecef;
  color: #6c757d;
  border-radius: 50%;
  height: 3.1125rem;
  width: 3.1125rem;
  line-height: 3.1125rem;
  font-size: 1.8675rem;
  flex: 0 0 3.1125rem;
  overflow: hidden;
  text-align: center;
  position: relative;
}
.author-thumb.author-thumb-lg {
  height: 9.5625rem;
  width: 9.5625rem;
  line-height: 9.5625rem;
  font-size: 9.5625rem;
  flex: 0 0 9.5625rem;
}
.author-thumb img {
  margin-top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
  max-height: 100%;
}
.author-thumb .fas {
  line-height: inherit;
}

.text-color-inherit {
  color: inherit;
}

.form-group label:not(.sr-only) {
  padding-right: 15px;
  position: relative;
}
.form-group label:not(.sr-only) .required {
  position: absolute;
  top: 0;
  right: 5px;
}

.required {
  color: #DE3C2D;
}

.form-file-ui {
  position: relative;
  background: rgba(76, 107, 224, 0.8);
  opacity: 0.5;
  border: dashed 5px #444;
  text-align: center;
  line-height: 1;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
  transition: all 0.3s;
}
.form-file-ui:hover {
  opacity: 1;
}
.form-file-ui input[type=file] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}

.nav-item > ul {
  list-style: none;
  padding-left: 25px;
}

body#tinymce {
  margin: 10px;
}

.PageMessagesContainer {
  position: fixed;
  top: 2rem;
  right: 1rem;
  left: 1rem;
  padding-top: 1px;
  margin-top: -1px;
  z-index: 1020;
  height: 0px;
  overflow: visible;
  min-width: 90%;
}
@supports (position: sticky) and (min-width: 768px) {
  .PageMessagesContainer {
    position: sticky;
    top: 1rem;
    left: auto;
    right: auto;
  }
}
@media (min-width: 768px) {
  .PageMessagesContainer {
    min-width: 600px;
  }
}

#PageMessages {
  display: none;
  overflow: hidden;
  margin-left: auto;
  padding: 8px;
}
@media (min-width: 768px) {
  #PageMessages {
    max-width: 848px;
  }
}
#PageMessages > .alert {
  box-shadow: -1px 1px 4px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 8px;
}
#PageMessages > .alert:last-child {
  margin-bottom: 0;
}

.validation-summary-errors {
  padding: 1.25rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: #731f17;
  background-color: #f8d8d5;
  border-color: #f6c8c4;
}
.validation-summary-errors h4 {
  margin-top: 0;
  color: inherit;
}
.validation-summary-errors .alert-link {
  font-weight: 700;
}
.validation-summary-errors > p,
.validation-summary-errors > ul {
  margin-bottom: 0;
}
.validation-summary-errors > p + p {
  margin-top: 5px;
}
.validation-summary-errors hr {
  border-top-color: #f3b3ae;
}
.validation-summary-errors .alert-link {
  color: #49140f;
}

.validation-summary-valid, .field-validation-valid {
  display: none;
}

.field-validation-error {
  font-size: 0.92em;
  color: #DE3C2D;
}

.input-validation-error {
  border-color: #DE3C2D;
}

.filename {
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}