/* Named table-filter layout */

div.ajaxtable_container.ajaxtable_hasFilters {
  grid-template-rows: auto auto auto auto;
}

div.ajaxtable_container.ajaxtable_hasFilters div.ajaxtable_container_filters {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

div.ajaxtable_container.ajaxtable_hasFilters div.ajaxtable_container_pagination.top {
  grid-column: 1;
  grid-row: 2;
}

div.ajaxtable_container.ajaxtable_hasFilters div.ajaxtable_container_search_and_options {
  grid-column: 2;
  grid-row: 2;
}

div.ajaxtable_container.ajaxtable_hasFilters div.ajaxtable_container_main {
  grid-row: 3;
}

div.ajaxtable_container.ajaxtable_hasFilters div.ajaxtable_container_pagination.bottom {
  grid-row: 4;
}

div.ajaxtable_container.ajaxtable_hasFilters div.ajaxtable_container_itemsperpage {
  grid-row: 4;
}

div.ajaxtable_filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
}

button.ajaxtable_filtersToggle {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  width: auto;
  height: 40px;
  min-height: 40px;
  margin-right: 0;
  margin-left: 3px;
  padding: 0 8px;
  border: 0;
  background-color: #ccc;
  color: var(--lor-color);
  font: inherit;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  transition: background-color 180ms ease, color 180ms ease;
}

button.ajaxtable_filtersClear {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  width: auto;
  height: 40px;
  min-height: 40px;
  margin-right: 0;
  margin-left: 3px;
  padding: 0 8px;
  border: 0;
  background-color: #ff1d11;
  color: #fff;
  font: inherit;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  transform: scale(1);
  transform-origin: center;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

button.ajaxtable_filtersClear.ajaxtable_filtersClearEntering,
button.ajaxtable_filtersClear.ajaxtable_filtersClearRemoving {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

button.ajaxtable_filtersClear:not(.disabled):hover {
  background-color: rgb(150, 0, 0);
  color: #fff;
  cursor: pointer;
}

button.ajaxtable_filtersClear:not(.disabled):hover span.ajaxtable_filtersClearCount {
  background-color: #fff;
  color: rgb(150, 0, 0);
}

button.ajaxtable_filtersClear i,
button.ajaxtable_filtersClear svg {
  display: block;
  color: #fff;
  fill: #fff;
  font-size: 15px;
  line-height: 1;
}

button.ajaxtable_filtersClear span.ajaxtable_filtersClearCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: rgb(150, 0, 0);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

button.ajaxtable_filtersToggle:not(.disabled):hover {
  background-color: var(--lor-color);
  color: #fff;
  cursor: pointer;
}

button.ajaxtable_filtersToggle:not(.disabled):hover i,
button.ajaxtable_filtersToggle:not(.disabled):hover svg {
  color: #fff;
  fill: currentColor;
}

button.ajaxtable_filtersToggle i,
button.ajaxtable_filtersToggle svg {
  display: block;
  color: var(--lor-color);
  fill: currentColor;
  font-size: 15px;
  line-height: 1;
  transform-origin: center;
  transition: transform 260ms ease;
  will-change: transform;
}

button.ajaxtable_filtersToggle.disabled,
button.ajaxtable_filtersToggle.disabled i,
button.ajaxtable_filtersToggle.disabled svg {
  color: #999;
  fill: currentColor;
}

button.ajaxtable_filtersToggle[aria-expanded='false'] i,
button.ajaxtable_filtersToggle[aria-expanded='false'] svg {
  transform: rotate(180deg);
}

button.ajaxtable_filtersToggle span.ajaxtable_filtersToggleLabel {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  white-space: nowrap;
}

div.ajaxtable_filterOptions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  overflow: hidden;
  transition: height 260ms ease, opacity 180ms ease;
}

div.ajaxtable_filterOptions[hidden] {
  display: none;
}

div.ajaxtable_filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 7px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #f8f8f8;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

div.ajaxtable_filter:hover {
  border-color: var(--lor-color);
  background-color: var(--lor-color);
  box-shadow: 0 1px 3px var(--lor-color-25);
  color: #fff;
}

div.ajaxtable_filterLabel {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

div.ajaxtable_filter:hover div.ajaxtable_filterLabel {
  color: #fff;
}

label.ajaxtable_filterOption {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}

label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control],
label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

label.ajaxtable_filterOption i.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption svg.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption i.ajaxtable_filterRadioIcon,
label.ajaxtable_filterOption svg.ajaxtable_filterRadioIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
  color: #999;
  transform: scale(1);
  transform-origin: center;
  transition: color 160ms ease, transform 200ms ease;
}

label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control]:checked + i.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control]:checked + svg.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control]:checked + i.ajaxtable_filterRadioIcon,
label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control]:checked + svg.ajaxtable_filterRadioIcon {
  color: var(--lor-color);
}

label.ajaxtable_filterOption:hover input[type='checkbox'][data-ajaxtable-filter-control] + i.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption:hover input[type='checkbox'][data-ajaxtable-filter-control] + svg.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control]:focus-visible + i.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control]:focus-visible + svg.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption:hover input[type='radio'][data-ajaxtable-filter-control] + i.ajaxtable_filterRadioIcon,
label.ajaxtable_filterOption:hover input[type='radio'][data-ajaxtable-filter-control] + svg.ajaxtable_filterRadioIcon,
label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control]:focus-visible + i.ajaxtable_filterRadioIcon,
label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control]:focus-visible + svg.ajaxtable_filterRadioIcon {
  color: var(--lor-color-dark);
  transform: scale(1.1);
}

div.ajaxtable_filter:hover label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control] + i.ajaxtable_filterCheckboxIcon,
div.ajaxtable_filter:hover label.ajaxtable_filterOption input[type='checkbox'][data-ajaxtable-filter-control] + svg.ajaxtable_filterCheckboxIcon,
div.ajaxtable_filter:hover label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control] + i.ajaxtable_filterRadioIcon,
div.ajaxtable_filter:hover label.ajaxtable_filterOption input[type='radio'][data-ajaxtable-filter-control] + svg.ajaxtable_filterRadioIcon {
  color: #fff;
}

label.ajaxtable_filterOption:active input[type='checkbox'][data-ajaxtable-filter-control] + i.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption:active input[type='checkbox'][data-ajaxtable-filter-control] + svg.ajaxtable_filterCheckboxIcon,
label.ajaxtable_filterOption:active input[type='radio'][data-ajaxtable-filter-control] + i.ajaxtable_filterRadioIcon,
label.ajaxtable_filterOption:active input[type='radio'][data-ajaxtable-filter-control] + svg.ajaxtable_filterRadioIcon {
  transform: scale(0.9);
}

select.ajaxtable_filterControl,
div.ajaxtable_filterDateRange input {
  min-height: 24px;
  padding: 3px 20px 3px 5px;
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  background: #fff;
  font: inherit;
}

div.ajaxtable_filterDateRange {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

button.ajaxtable_filterClear,
button.ajaxtable_filterClearAll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
}

button.ajaxtable_filterClearAll {
  min-height: 24px;
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--lor-color);
  color: #fff;
  transition: background-color 180ms ease, color 180ms ease;
}

button.ajaxtable_filterClear {
  min-height: 24px;
  min-width: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(206, 0, 0);
}

button.ajaxtable_filterClear i,
button.ajaxtable_filterClear svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  height: 20px;
  color: currentColor;
  font-size: 20px;
  line-height: 1;
  opacity: 1;
  transition: opacity 140ms ease 180ms;
}

button.ajaxtable_filterClear {
  width: 24px;
  transform: scale(1);
  transform-origin: center;
  overflow: hidden;
  transition: width 180ms ease, opacity 180ms ease, transform 180ms ease, color 160ms ease;
}

button.ajaxtable_filterClear.ajaxtable_filterClearEntering {
  width: 0;
  min-width: 0;
  opacity: 1;
  pointer-events: none;
  transform: scale(1);
}

button.ajaxtable_filterClear.ajaxtable_filterClearEntering i,
button.ajaxtable_filterClear.ajaxtable_filterClearEntering svg {
  opacity: 0;
  transition-delay: 0s;
}

button.ajaxtable_filterClear.ajaxtable_filterClearRemoving {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6);
}

button.ajaxtable_filterClear svg {
  fill: currentColor;
}

button.ajaxtable_filterClearAll:hover {
  background: var(--lor-color-dark);
}

button.ajaxtable_filterClear:hover,
button.ajaxtable_filterClear:focus {
  background: transparent;
  color: rgb(150, 0, 0);
}

div.ajaxtable_filter:hover button.ajaxtable_filterClear,
div.ajaxtable_filter:hover button.ajaxtable_filterClear i {
  color: #fff;
}

div.ajaxtable_filter:hover button.ajaxtable_filterClear svg {
  color: #fff;
  fill: #fff;
}