:host {
  display: block;
  width: 100%;
}
:host .wrapper {
  display: block;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  z-index: 10000;
}
:host .wrapper .head {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 55px;
}
:host .wrapper .head h2 {
  color: var(--header-color);
  margin: var(--header-margins);
  display: var(--header-display);
}
:host .wrapper .head .filter-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 5px;
  user-select: none;
}
:host .wrapper .filter-button {
  background: rgba(35, 104, 136, 0);
  height: 45px;
  width: 50px;
  position: absolute;
  top: 8px;
  right: 0;
  cursor: pointer;
  border-radius: var(--card-border-radius);
  transition: background-color 0.2s;
  z-index: 1000;
  border: none;
  outline: none;
}
:host .wrapper .filter-button:not(:hover) {
  transition-delay: 0.25s;
}
:host .wrapper .filter-button:hover {
  background: #236888;
}
:host .wrapper .filter-button .svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
:host .wrapper .filter-button .svg-container svg {
  height: 20px;
  width: 20px;
  fill: white;
}
:host .wrapper .filter-controls {
  position: absolute;
  left: 0;
  top: 8px;
  background: #236888;
  box-sizing: border-box;
  padding-right: 40px;
  height: 45px;
  display: flex;
  box-shadow: var(--card-box-shadow);
  width: 0;
  height: 0;
  overflow: hidden;
}
:host .wrapper .filter-controls.visible {
  width: 100%;
  height: 45px;
  overflow: visible;
}
:host .wrapper .filter-controls.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:host .wrapper .filter-controls .input-container {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  height: 45px;
}
:host .wrapper .filter-controls .input-container .icon.search {
  fill: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 15px;
  height: 45px;
  display: flex;
  align-items: center;
}
:host .wrapper .filter-controls .input-container .icon.search svg {
  height: 15px;
  width: 15px;
  margin-top: -2px;
}
:host .wrapper .filter-controls .input-container input {
  height: 0;
  width: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  color: rgba(255, 255, 255, 0.75);
  border: none;
  background: transparent;
}
:host .wrapper .filter-controls .input-container input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
:host .wrapper .filter-controls .input-container input.visible {
  margin-left: 45px;
  height: 40px;
  width: 100%;
  padding-bottom: 2px;
}
:host .wrapper .filter-controls .select {
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  text-transform: uppercase;
  user-select: none;
  padding-right: 15px;
}
:host .wrapper .filter-controls .select:before {
  height: 20px;
  margin-right: 15px;
  width: 1px;
  content: " ";
  display: block;
  background: rgba(255, 255, 255, 0.2);
}
:host .wrapper .filter-controls .select .svg-container {
  display: flex;
  height: 20px;
  width: 10px;
  margin-left: 5px;
  padding: 0;
  align-items: center;
  transition: all 0.2s;
}
:host .wrapper .filter-controls .select .svg-container svg {
  height: 10px;
  fill: rgba(255, 255, 255, 0.75);
  margin-top: -2px;
  transition: all 0.2s;
}
:host .wrapper .filter-controls .select.open .svg-container {
  transform: rotate(180deg);
  margin-top: -4px;
}
:host .wrapper .filter-controls .select:hover svg {
  transform: scale(1.2);
}
:host .wrapper .filter-controls .options {
  box-sizing: border-box;
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background: #236888;
  border-top: none;
  max-height: 230px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--card-box-shadow);
}
:host .wrapper .filter-controls .options::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
  padding: 10px 0;
}
:host .wrapper .filter-controls .options::-webkit-scrollbar-thumb {
  border: 2px solid rgba(0, 0, 0, 0);
  background: rgba(0, 0, 0, 0.25);
  background-clip: padding-box;
  border-radius: 4px;
}
:host .wrapper .filter-controls .options .results-row.selected {
  background: rgba(209, 234, 247, 0.2);
}
:host .wrapper .filter-controls .options .results-row:hover {
  background: rgba(209, 234, 247, 0.2);
}
:host .wrapper .filter-controls .options .results-row > div {
  cursor: pointer;
  height: 45px;
  display: flex;
  align-items: center;
  font-size: 12px;
  justify-content: flex-start;
  width: calc(100% - 20px);
  margin-left: 10px;
  user-select: none;
  color: rgba(255, 255, 255, 0.75);
}
:host .wrapper .filter-controls .options .results-row:not(:last-of-type) > div {
  border-bottom: 1px solid rgba(110, 110, 110, 0.1);
}