.entity_list {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: stretch;
      -ms-flex-pack: stretch;
          justify-content: stretch;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 0;
  max-height: 80vh;
  will-change: opacity;
  --header-max-height: 49px;
  --footer-max-height: 49px;
  --body-max-height: calc(100% - var(--header-max-height) - var(--footer-max-height));
}
.entity_list-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  max-height: var(--header-max-height);
  padding: 0 1em;
  margin: 0;
  gap: 1em;
  text-align: center;
  white-space: nowrap;
  font-size: var(--dropdown-font-size, 1rem);
  color: var(--dropdown-header-color, #6c757d);
}
.entity_list-header .list-search {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #80868e;
  display: inline1-block;
  max-width: 100%;
  line-height: 49px;
  padding: 0;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
}
.entity_list-header .list-filter {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.entity_list-header .list-sort {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
}
.entity_list-header .list-view {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
}
.entity_list-header .entity_list-view {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 6px;
}
.entity_list-header .entity_list-view__button {
  min-width: 36px;
  width: 36px;
  height: 32px;
  padding: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.entity_list-header .entity_list-view__button.active {
  background-color: #b0e2ff;
  border-color: #b0e2ff;
  color: #212529;
}
.entity_list-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-height: 0;
  padding: 1em;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border-color, #dee2e6);
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.entity_list-body .entity_list-items {
  --item-padding: 1em;
  --gap: 1em;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
  list-style: none;
  gap: var(--gap);
  margin: 0;
  padding: 0;
}
.entity_list-body .entity_list-items.entity_list-items--grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.entity_list-body .entity_list-items.entity_list-items--list {
  --item-padding: 0.2em;
  --gap: 0.2em;
  grid-template-columns: repeat(1, 1fr);
}
.entity_list-body .entity_list-items .entity_list-item {
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
     -moz-column-break-inside: avoid;
          break-inside: avoid;
  padding: var(--item-padding, 1em);
  clear: both;
  font-weight: 400;
  text-align: inherit;
  color: var(--dropdown-item-font-color, #212529);
  background-color: var(--dropdown-item-bg-color, transparent);
  border: solid 1px transparent;
  cursor: pointer;
  position: relative;
  display: block;
  width: 100%;
}
.entity_list-body .entity_list-items .entity_list-item .ui-tag {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  -webkit-transform: translate(10%, -50%);
      -ms-transform: translate(10%, -50%);
          transform: translate(10%, -50%);
  padding: 2px 5px;
  font-size: 0.75rem;
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  background-color: transparent;
  border: solid 1px transparent;
  border-radius: 3px;
  border-color: var(--dropdown-item-bg-color_hover, #b0e2ff);
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
  line-height: normal;
  text-transform: uppercase;
}
.entity_list-body .entity_list-items .entity_list-item:hover .ui-tag {
  opacity: 1;
}
.entity_list-body .entity_list-items .entity_list-item.active {
  font-weight: bold;
  color: var(--dropdown-item-active-color, #212529);
  background-color: var(--dropdown-item-active-bg-color, #b0e2ff);
  border-color: var(--dropdown-item-active-bg-color, #b0e2ff);
}
.entity_list-body .entity_list-items .entity_list-item.active .ui-tag {
  opacity: 1;
}
.entity_list-body .entity_list-items .entity_list-item:hover:not(.active) {
  color: var(--dropdown-item-color_hover, #212529);
  border-color: var(--dropdown-item-bg-color_hover, #b0e2ff);
}
.entity_list-body .entity_list-items__empty {
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  font-size: var(--dropdown-font-size, 1rem);
  text-align: center;
  white-space: nowrap;
  position: relative;
  padding: 0.75rem 1.25rem;
  color: #0c5460;
  background-color: #d1ecf1;
  border: none;
  border-radius: 1px;
}
.entity_list-body .entity_list-items__empty .entity_list-items__loading {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.entity_list-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  max-height: var(--footer-max-height);
  padding: 0 1em;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: var(--dropdown-font-size, 1rem);
  color: var(--dropdown-header-color, #6c757d);
}
.entity_list-footer .entity_list-footer-counter {
  font-size: var(--dropdown-font-size, 0.875rem);
  color: var(--dropdown-header-color, #6c757d);
  white-space: nowrap;
}
.entity_list-footer .entity_list-footer-list_link {
  margin-left: auto;
  color: var(--dropdown-link-color, #007bff);
  text-align: right;
  text-decoration: none;
  text-transform: lowercase;
}
.entity_list-footer .entity_list-footer-list_link:hover {
  text-decoration: underline;
}
