.ais-Panel--collapsible .ais-Panel-header {
  position: relative
}

.ais-Panel--collapsible .ais-Panel-header>span {
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
  padding-right: 2em
}

.ais-Panel--collapsible .ais-Panel-header .ais-Panel-collapseButton {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center
}

.ais-Panel--collapsible .ais-Panel-header .ais-Panel-collapseButton svg {
  transition: transform 0.3s ease;
  width: 1em;
  height: 1em
}

.ais-Panel--collapsible .ais-Panel-header .ais-Panel-collapseButton[aria-expanded="true"] svg {
  transform: rotate(180deg)
}

.ais-Panel--collapsible .ais-Panel-body {
  transition: grid-template-rows 0.3s ease;
  display: grid;
  grid-template-rows: 1fr;
  overflow-y: hidden;
  margin: 0 -4px
}

.ais-Panel--collapsible .ais-Panel-body>div {
  transition: opacity 0.5s;
  height: fit-content;
  overflow-y: hidden;
  padding: 0 4px
}

.ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body {
  grid-template-rows: 0fr
}

.ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body>div {
  opacity: 0
}

.ais-Menu .ais-Menu-list .ais-Menu-item {
  cursor: pointer;
}

.ais-GeoSearch-map {
  height: 800px;
  max-height: 80vh;
}

.map-pin {
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.map-pin svg {
  width: 100%;
  height: 100%;
}

.vox_instantsearch_tab_map {
  position: relative;
  overflow: hidden;
}

.map-info-heading {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px;
}

.map-info-close-button {
  width: 48px;
  height: 48px;
  background-image: url('/media/mod_vox_instantsearch/images/xmark-solid.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center;
  cursor: pointer;
  border-radius: 50%;
}

.vox_instantsearch_tab_container {
  display: grid;
  grid-template-columns: 100% 100%;
  overflow: hidden;
  transition: grid-template-columns 0.3s ease;
}

.vox_instantsearch_tab_container .vox_instantsearch_tab_map,
.vox_instantsearch_tab_container .vox_instantsearch_tab_list {
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

.vox_instantsearch_tab_container.active-map .vox_instantsearch_tab_map,
.vox_instantsearch_tab_container.active-map .vox_instantsearch_tab_list {
  transform: translateX(0%);
}

.vox_instantsearch_tab_container.active-list .vox_instantsearch_tab_map,
.vox_instantsearch_tab_container.active-list .vox_instantsearch_tab_list {
  transform: translateX(-100%);
}

select.flatpickr-monthDropdown-months {
  padding: 0 0 0 .5ch !important;
  width: auto !important;
}

.numInputWrapper input[type="number"] {
  padding: 0 0 0 .5ch !important;
  width: 100% !important;
}

.flatpickr-buttons {
  display: flex;
  gap: 1rem;
  padding: 10px;
  border-top: 1px solid #e6e6e6;
  justify-content: space-around;
}

.flatpickr-buttons button[type="button"] {
  padding: 5px 10px;
}