/* Obecné zaujímavosti – v1.67: okresný multiselect v detaile kraja */
html.oz-redesign-v167 .oz-v167-region-district-form {
  overflow: visible;
}

html.oz-redesign-v167 .oz-v167-region-district-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  overflow: visible;
}

html.oz-redesign-v167 .oz-v167-district-filter {
  position: relative;
  width: min(420px, 100%);
  flex: 0 1 420px;
  z-index: 25;
}

html.oz-redesign-v167 .oz-v167-district-button {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(50, 82, 125, .18);
  background: #fff;
  color: #132036;
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 0 52px 0 22px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(22, 48, 78, .08);
  position: relative;
}

html.oz-redesign-v167 .oz-v167-district-button::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #47744a;
  border-bottom: 2px solid #47744a;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .18s ease;
}

html.oz-redesign-v167 .oz-v167-district-filter.is-open .oz-v167-district-button::after {
  transform: translateY(-30%) rotate(225deg);
}

html.oz-redesign-v167 .oz-v167-district-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(50, 82, 125, .14);
  box-shadow: 0 22px 50px rgba(17, 34, 58, .16);
  padding: 10px;
  z-index: 9999;
}

html.oz-redesign-v167 .oz-v167-district-filter.is-open .oz-v167-district-menu {
  display: block;
}

html.oz-redesign-v167 .oz-v167-district-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #5f687a;
  font-weight: 800;
  cursor: pointer;
}

html.oz-redesign-v167 .oz-v167-district-option:hover {
  background: rgba(71, 116, 74, .08);
  color: #294c39;
}

html.oz-redesign-v167 .oz-v167-district-option input {
  width: 18px;
  height: 18px;
  accent-color: #3f64c8;
  flex: 0 0 auto;
}

html.oz-redesign-v167 .oz-v167-district-apply.button,
html.oz-redesign-v167 .oz-v167-district-apply {
  min-height: 52px;
  border-radius: 18px;
  padding-left: 24px;
  padding-right: 24px;
  font-weight: 800;
}

html.oz-redesign-v167 .oz-v167-district-clear {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
}

html.oz-redesign-v167 .oz-v167-region-district-help {
  width: 100%;
  margin: 8px 0 0;
  color: #657085;
  font-size: .95rem;
}

@media (max-width: 720px) {
  html.oz-redesign-v167 .oz-v167-region-district-row {
    flex-direction: column;
    align-items: stretch;
  }
  html.oz-redesign-v167 .oz-v167-district-filter {
    width: 100%;
    flex-basis: auto;
  }
  html.oz-redesign-v167 .oz-v167-district-apply.button,
  html.oz-redesign-v167 .oz-v167-district-apply,
  html.oz-redesign-v167 .oz-v167-district-clear {
    width: 100%;
    justify-content: center;
  }
}
