/* SIP 4GIS - motyw E - Urzedowy z kafelkami - Lizmap 3.9
   Plik generowany (build.py). Kolor gminy: na koncu pliku
   :root { --sip-akcent: #2f4631; }
   Czcionki: licencja SIL OFL 1.1 (fonts/OFL-*.txt). */
:root {
  --sip-wersja: w3a72978655;
  --sip-motyw: E;
}

/* ===== 00-zmienne-e.css ===== */
/* Motyw E - Urzedowy z kafelkami: zmienne (jak A, pasek z kafelkami ikon jak w B, staly) */
:root {
  --sip-akcent: #2f4631;
  --sip-szer-logo: 44px;

  --sip-font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --sip-font-mono: Consolas, 'Cascadia Mono', 'Segoe UI', monospace;
  --sip-rozmiar: 14px;
  --sip-rozmiar-podpisu: 12px;
  --sip-h1: 20px;
  --sip-h3: 16px;
  --sip-podpis-nachylenie: 'Nachylenie';

  --sip-tekst: #1b1f23;
  --sip-tekst-2: #4b5560;
  --sip-tekst-wyl: #6a737c;
  --sip-link: #0b57d0;
  --sip-fokus: #0b57d0;
  --sip-ramka: #c5cad0;
  --sip-ramka-lekka: #e3e6ea;
  --sip-ramka-pola: #8a939c;
  --sip-najechanie: #e6e9ec;

  --sip-wys-naglowka: 64px;
  --sip-wys-naglowka-tel: 56px;
  --sip-pasek-akcentu: 4px;
  --sip-tlo-naglowka: #ffffff;
  --sip-tekst-naglowka: #1b1f23;
  --sip-tekst-naglowka-2: #4b5560;
  --sip-linia-naglowka: #c5cad0;
  --sip-tlo-pola-naglowka: #ffffff;
  --sip-ramka-pola-naglowka: #8a939c;
  --sip-tekst-pola-naglowka: #1b1f23;
  --sip-tekst-pola-naglowka-2: #4b5560;
  --sip-tlo-polacz: var(--sip-akcent);
  --sip-tlo-polacz-hover: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
  --sip-tekst-polacz: #ffffff;
  --sip-ramka-polacz: var(--sip-akcent);

  --sip-szer-paska: 92px;
  --sip-pasek-staly: 1;
  --sip-tlo-paska: #f3f4f6;
  --sip-tekst-paska: #1b1f23;

  /* kafelki paska: ikona nad podpisem, wybrany w kolorze gminy */
  --sip-poz-szer: 80px;
  --sip-poz-wys: 58px;
  --sip-poz-ikona: 22px;
  --sip-poz-linia: 0px;
  --sip-poz-promien: 10px;
  --sip-poz-przerwa: 4px;
  --sip-poz-waga: 600;
  --sip-poz-najechanie: #e3e6ea;
  --sip-poz-najechanie-tekst: #1b1f23;
  --sip-poz-aktywne-tlo: var(--sip-akcent);
  --sip-poz-aktywne-tekst: #ffffff;
  --sip-poz-aktywne-linia: transparent;
  --sip-poz-aktywne-waga: 700;
  --sip-poz-fokus: #0b57d0;
  --sip-poz-kreska: #c5cad0;

  --sip-tlo-panelu: #ffffff;
  --sip-tlo-belki: #f3f4f6;
  --sip-tekst-belki: #1b1f23;
  --sip-ramka-belki: 1px solid #c5cad0;
  --sip-najechanie-belki: #e3e6ea;
  --sip-wys-belki: 44px;
  --sip-szer-panelu: 320px;
  --sip-szer-prawego: 380px;

  --sip-wys-pola: 36px;
  --sip-wys-wiersza: 32px;
  --sip-wciecie: 20px;
  --sip-promien: 2px;
  --sip-promien-pola: 2px;
  --sip-promien-okna: 2px;
  --sip-ramka-okna: 1px solid #8a939c;
  --sip-cien-okna: none;
  --sip-szer-okna: 340px;
  --sip-okno-gora: 16px;
  --sip-okno-prawo: 64px;

  --sip-tlo-menu-tel: #ffffff;
  --sip-tekst-menu-tel: #1b1f23;
  --sip-aktywne-tlo-menu-tel: var(--sip-akcent);
  --sip-aktywne-tekst-menu-tel: #ffffff;
  --sip-promien-arkusza: 2px;

  --sip-p1-tlo: #e3e6ea;
  --sip-p1-ramka: #aeb5bc;

  --sip-przycisk-mapy: 36px;
  --sip-tlo-przyciskow-mapy: #ffffff;
  --sip-ramka-przyciskow-mapy: 1px solid #8a939c;
  --sip-ramka-przyciskow-mapy-wew: #c5cad0;
  --sip-ikona-przyciskow-mapy: #1b1f23;
  --sip-najechanie-przyciskow-mapy: #e6e9ec;
  --sip-aktywne-tlo-przyciskow-mapy: var(--sip-akcent);
  --sip-aktywne-ikona-przyciskow-mapy: #ffffff;
}

/* ===== 10-baza.css ===== */
/* ==========================================================================
   SIP 4GIS - baza wspolna dla wszystkich motywow (Lizmap 3.9)
   Zasady pliku: tylko apostrofy, jeden adres obrazka w wierszu, bez importow.
   ========================================================================== */

/* --- Czcionka i tekst ---------------------------------------------------- */
html body,
html body .btn,
html body input,
html body select,
html body textarea,
html body button,
html body .tooltip,
html body .popover,
html body .ui-widget {
  font-family: var(--sip-font);
}
html body {
  color: var(--sip-tekst);
  font-size: var(--sip-rozmiar);
}
html body a {
  color: var(--sip-link);
}

/* --- Fokus z klawiatury ---------------------------------------------------- */
html body a:focus-visible,
html body button:focus-visible,
html body .btn:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible,
html body [tabindex]:focus-visible {
  outline: 2px solid var(--sip-fokus) !important;
  outline-offset: 2px;
  box-shadow: none;
}

/* --- Ikony: wspolna mechanika maski ---------------------------------------- */
html body #mapmenu .nav-list > li > a .icon,
html body #mapmenu .nav-list > li > a > [class*='icon-']:not(.icon),
html body #headermenu li.login a .icon,
html body #headermenu li.user a .icon,
html body #headermenu .navbar-search .search-icon .icon,
html body #navbar button.btn,
html body #dock-close,
html body #right-dock-close,
html body #switcher-layers-actions button,
html body .sip-ikona {
  background-image: none !important;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}
html body #mapmenu .nav-list > li > a .icon,
html body #mapmenu .nav-list > li > a > [class*='icon-']:not(.icon) {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  background-color: currentColor !important;
  background-position: 0 0 !important;
  /* ikona zastepcza dla narzedzi spoza zestawu (np. dodatkow gminy) */
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/narzedzie.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/narzedzie.svg);
}
/* narzedzie Zaznaczenie ma w Lizmapie zamiast ikony bialy glif Bootstrapa (icon-white icon-star) */
html body #mapmenu .nav-list > li > a > [class*='icon-']:not(.icon) {
  margin: 0 !important;
  vertical-align: middle;
  line-height: normal;
}
/* narzedzia dodane skryptami wstawiaja do ikony wlasny glif (sprite) - zastepuje go maska */
html body #mapmenu .nav-list > li > a .icon > i,
html body #mapmenu .nav-list > li > a .icon > img,
html body #mapmenu .nav-list > li > a .icon > svg {
  display: none !important;
}

/* --- Naglowek --------------------------------------------------------------- */
html body #header {
  background: var(--sip-tlo-naglowka) !important;
  color: var(--sip-tekst-naglowka);
  height: var(--sip-wys-naglowka);
  box-sizing: border-box;
  /* linie jako cienie wewnetrzne: Lizmap liczy wysokosc naglowka bez ramek */
  border: 0;
  box-shadow: inset 0 var(--sip-pasek-akcentu) 0 var(--sip-akcent), inset 0 -1px 0 var(--sip-linia-naglowka);
  display: flex;
  align-items: center;
  padding: 0 0 0 12px;
  z-index: 1035;
}
html body #logo {
  flex: none;
  float: none;
  width: var(--sip-szer-logo);
  min-width: 0;
  height: 44px;
  margin: 0 12px 0 0;
  padding: 0;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
html body #title {
  position: static;
  top: auto;
  transform: none;
  float: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: calc(100% - var(--sip-szer-logo) - 560px);
}
html body #title h1,
html body #title h1 a {
  margin: 0;
  padding: 0;
  font-size: var(--sip-h1);
  font-weight: 600;
  line-height: 1.15;
  color: var(--sip-tekst-naglowka) !important;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}
html body #title h2 {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--sip-tekst-naglowka-2) !important;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* pasek z wyszukiwaniem i logowaniem - przeniesiony do naglowka */
html body #headermenu {
  top: var(--sip-pasek-akcentu);
  left: auto;
  right: 0;
  height: calc(var(--sip-wys-naglowka) - var(--sip-pasek-akcentu) - 1px);
  min-height: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  z-index: 1036;
  display: flex;
  align-items: center;
}
html body #headermenu .navbar-inner {
  min-height: 0;
  height: 100%;
  padding: 0 16px 0 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
}
html body #headermenu .navbar-inner > .pull-right {
  float: none;
  display: flex;
  align-items: center;
  gap: 16px;
}
html body #headermenu .navbar-search {
  position: relative;
  float: none;
  width: 340px;
  height: var(--sip-wys-pola);
  margin: 0;
}
html body #headermenu .navbar-search .search-query {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 32px 0 38px;
  border: 1px solid var(--sip-ramka-pola-naglowka);
  border-radius: var(--sip-promien-pola);
  background: var(--sip-tlo-pola-naglowka);
  color: var(--sip-tekst-pola-naglowka);
  font-size: 14px;
  line-height: normal;
  box-shadow: none;
}
html body #headermenu .navbar-search .search-query::placeholder {
  color: var(--sip-tekst-pola-naglowka-2);
  opacity: 1;
}
html body #headermenu .navbar-search .search-icon {
  position: absolute;
  top: 0;
  left: 6px;
  right: auto;
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
html body #headermenu .navbar-search .search-icon .icon {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: var(--sip-tekst-pola-naglowka-2) !important;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/szukaj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/szukaj.svg);
}
html body #headermenu #header-clear {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--sip-promien);
  background-image: none !important;
  background-color: var(--sip-tekst-pola-naglowka-2) !important;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
}
html body #headermenu .navbar-search:has(.search-query:placeholder-shown) #header-clear {
  display: none;
}
html body #headermenu ul.nav {
  float: none;
  margin: 0;
  display: flex;
}
html body #headermenu ul.nav > li {
  float: none;
}
html body #headermenu li.login > a,
html body #headermenu li.user > a,
html body #headermenu li.dropdown > a.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--sip-wys-pola);
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: var(--sip-promien);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-shadow: none;
  text-decoration: none;
}
html body #headermenu li.login > a {
  background: var(--sip-tlo-polacz);
  color: var(--sip-tekst-polacz) !important;
  border: 1px solid var(--sip-ramka-polacz);
}
html body #headermenu li.login > a:hover {
  background: var(--sip-tlo-polacz-hover);
}
html body #headermenu li.user > a,
html body #headermenu li.dropdown > a.dropdown-toggle {
  background: transparent;
  color: var(--sip-tekst-naglowka) !important;
  border: 1px solid var(--sip-ramka-pola-naglowka);
}
html body #headermenu li.login a .icon,
html body #headermenu li.user a .icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  background-color: currentColor !important;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
}
html body #headermenu li.login a .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zaloguj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zaloguj.svg);
}
html body #headermenu li.user a .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/uzytkownik.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/uzytkownik.svg);
}

/* --- Pasek narzedzi: ikony -------------------------------------------------- */
html body #mapmenu .nav-list > li > a {
  color: var(--sip-tekst-paska);
  text-decoration: none;
  text-shadow: none;
}
html body #mapmenu .nav-list > li.home .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dom.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dom.svg);
}
html body #mapmenu .nav-list > li.projects .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/projekty.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/projekty.svg);
}
html body #mapmenu .nav-list > li.switcher .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/warstwy.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/warstwy.svg);
}
html body #mapmenu .nav-list > li.legend .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/legenda.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/legenda.svg);
}
html body #mapmenu .nav-list > li.metadata .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/o-mapie.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/o-mapie.svg);
}
html body #mapmenu .nav-list > li.locate .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wyszukaj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wyszukaj.svg);
}
html body #mapmenu .nav-list > li.uldk .icon,
html body #mapmenu .nav-list > li.dzialki4gis .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dzialki.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dzialki.svg);
}
html body #mapmenu .nav-list > li.uslugi4gis .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/link.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/link.svg);
}
html body #mapmenu .nav-list > li.geolocation .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/polozenie.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/polozenie.svg);
}
html body #mapmenu .nav-list > li.print .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/drukuj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/drukuj.svg);
}
html body #mapmenu .nav-list > li.measure .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/pomiary.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/pomiary.svg);
}
html body #mapmenu .nav-list > li.permaLink .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/udostepnij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/udostepnij.svg);
}
html body #mapmenu .nav-list > li.draw .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rysuj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rysuj.svg);
}
html body #mapmenu .nav-list > li.gsv .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/street-view.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/street-view.svg);
}
html body #mapmenu .nav-list > li.popupcontent .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wyniki.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wyniki.svg);
}
html body #mapmenu .nav-list > li.attributeLayers .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/tabela.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/tabela.svg);
}
html body #mapmenu .nav-list > li.wyryspog .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wypis-wyrys.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wypis-wyrys.svg);
}
html body #mapmenu .nav-list > li.threejs .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/widok-3d.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/widok-3d.svg);
}
html body #mapmenu .nav-list > li.nachylenie .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/nachylenie.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/nachylenie.svg);
}
html body #mapmenu .nav-list > li.doc .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rejestr-mpzp.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rejestr-mpzp.svg);
}
html body #mapmenu .nav-list > li.filter .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/filtr.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/filtr.svg);
}
html body #mapmenu .nav-list > li.edition .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/edycja.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/edycja.svg);
}
html body #mapmenu .nav-list > li.timemanager .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/czas.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/czas.svg);
}
html body #mapmenu .nav-list > li.tooltip-layer .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/podpowiedz.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/podpowiedz.svg);
}
html body #mapmenu .nav-list > li.selectiontool .icon,
html body #mapmenu .nav-list > li.selectiontool > a > [class*='icon-'] {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zaznaczenie.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zaznaczenie.svg);
}
html body #mapmenu .nav-list > li.dataviz .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wykres.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wykres.svg);
}
html body #mapmenu .nav-list > li.action .icon {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/akcja.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/akcja.svg);
}

/* krotkie podpisy zamiast technicznych nazw z Lizmapa */
html body #mapmenu .nav-list > li.home .menu-title,
html body #mapmenu .nav-list > li.metadata .menu-title,
html body #mapmenu .nav-list > li.popupcontent .menu-title,
html body #mapmenu .nav-list > li.permaLink .menu-title,
html body #mapmenu .nav-list > li.geolocation .menu-title,
html body #mapmenu .nav-list > li.uldk .menu-title,
html body #mapmenu .nav-list > li.gsv .menu-title,
html body #mapmenu .nav-list > li.wyryspog .menu-title,
html body #mapmenu .nav-list > li.threejs .menu-title,
html body #mapmenu .nav-list > li.nachylenie .menu-title,
html body #mapmenu .nav-list > li.doc .menu-title,
html body #mapmenu .nav-list > li.attributeLayers .menu-title {
  font-size: 0 !important;
}
html body #mapmenu .nav-list > li .menu-title::after {
  font-size: var(--sip-rozmiar-podpisu);
}
html body #mapmenu .nav-list > li.home .menu-title::after { content: 'Start'; }
html body #mapmenu .nav-list > li.metadata .menu-title::after { content: 'O mapie'; }
html body #mapmenu .nav-list > li.popupcontent .menu-title::after { content: 'Wyniki'; }
html body #mapmenu .nav-list > li.permaLink .menu-title::after { content: 'Udost\000119pnij'; }
html body #mapmenu .nav-list > li.geolocation .menu-title::after { content: 'Po\000142o\00017Cenie'; }
html body #mapmenu .nav-list > li.uldk .menu-title::after { content: 'Dzia\000142ki'; }
html body #mapmenu .nav-list > li.gsv .menu-title::after { content: 'Street View'; }
html body #mapmenu .nav-list > li.wyryspog .menu-title::after { content: 'Wypis i wyrys'; }
html body #mapmenu .nav-list > li.threejs .menu-title::after { content: 'Widok 3D'; }
html body #mapmenu .nav-list > li.nachylenie .menu-title::after { content: var(--sip-podpis-nachylenie); }
html body #mapmenu .nav-list > li.doc .menu-title::after { content: 'Rejestr MPZP'; }
html body #mapmenu .nav-list > li.attributeLayers .menu-title::after { content: 'Tabela'; }

/* --- Panele (dock, prawy, dolny) -------------------------------------------- */
html body #dock,
html body #right-dock,
html body #sub-dock,
html body #bottom-dock {
  background: var(--sip-tlo-panelu) !important;
  color: var(--sip-tekst);
  border-left: 0;
  padding: 0;
}
/* Lizmap rysuje nad i pod panelem linie w kolorze motywu administracyjnego */
html body #dock,
html body #right-dock {
  border-top: 0;
  border-bottom: 0;
}
html body #dock div.tabbable,
html body #right-dock div.tabbable {
  margin: 0;
}
html body #dock-tabs,
html body #right-dock-tabs,
html body ul.nav.nav-tabs {
  border-bottom: 0;
}
html body #dock-tabs,
html body #right-dock-tabs {
  flex: none;
  min-height: var(--sip-wys-belki);
  margin: 0;
  padding: 0 88px 0 0;
  background: var(--sip-tlo-belki);
  border-bottom: var(--sip-ramka-belki);
  display: flex;
  align-items: center;
}
/* Lizmap rysuje tu wlasna linie w kolorze motywu administracyjnego */
html body #dock > div > ul.nav.nav-tabs,
html body #right-dock > div > ul.nav.nav-tabs {
  border-bottom: var(--sip-ramka-belki);
}
html body #dock-tabs > li > a,
html body #right-dock-tabs > li > a {
  color: var(--sip-tekst-belki) !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0;
  padding: 0 16px;
  font-size: var(--sip-h3);
  font-weight: 600;
  line-height: var(--sip-wys-belki);
}
html body #dock-close,
html body #right-dock-close {
  top: calc((var(--sip-wys-belki) - 32px) / 2);
  right: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--sip-promien);
  background-color: var(--sip-tekst-belki) !important;
  box-shadow: none;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
}
html body #dock-close:hover,
html body #right-dock-close:hover {
  background-color: var(--sip-akcent) !important;
}
html body .dock-title,
html body .right-dock-title {
  color: var(--sip-tekst);
  border-bottom: 1px solid var(--sip-ramka);
  font-size: var(--sip-h3);
  font-weight: 600;
  padding: 10px 16px;
}
html body #dock div.menu-content,
html body #right-dock div.menu-content,
html body #sub-dock div.menu-content,
html body #mini-dock div.menu-content,
html body #bottom-dock div.menu-content,
html body div.modal div.menu-content,
html body .dock-content {
  background-color: var(--sip-tlo-panelu) !important;
  color: var(--sip-tekst);
  font-size: var(--sip-rozmiar);
}
html body #dock h3,
html body #sub-dock h3,
html body #right-dock h3,
html body #bottom-dock h3 {
  color: var(--sip-tekst);
  font-size: var(--sip-h3);
  font-weight: 600;
}
html body #sub-dock h3 {
  border-bottom: 1px solid var(--sip-ramka);
}

/* --- Drzewo warstw ---------------------------------------------------------- */
html body #switcher-layers-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  padding: 4px 8px;
  border-top: 0 !important;
  border-bottom: 1px solid var(--sip-ramka);
  background: var(--sip-tlo-panelu);
  text-align: right;
}
html body #switcher-layers-actions button.btn {
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: var(--sip-promien);
  background-color: var(--sip-tekst-2) !important;
  box-shadow: none;
  text-shadow: none;
}
html body #switcher-layers-actions button.btn:hover {
  background-color: var(--sip-akcent) !important;
}
html body #switcher-layers-actions button.btn > i {
  display: none;
}
html body #switcher-layers-actions #layers-unfold-all {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rozwin-wszystko.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rozwin-wszystko.svg);
}
html body #switcher-layers-actions #layers-fold-all {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zwin-wszystko.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zwin-wszystko.svg);
}
html body #switcher-layers-actions #layerActionUnfilter {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/filtr.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/filtr.svg);
}
html body #switcher-layers-container > div.menu-content,
html body #switcher-baselayer .menu-content {
  background: var(--sip-tlo-panelu) !important;
  padding: 6px 8px 8px 0;
}
html body lizmap-treeview {
  display: block;
  color: var(--sip-tekst);
  font-size: var(--sip-rozmiar);
}
html body lizmap-treeview ul {
  margin: 0 0 0 var(--sip-wciecie);
  padding: 0;
}
html body lizmap-treeview > ul {
  margin-left: 36px;
}
html body lizmap-treeview li {
  line-height: 1.3;
}
html body lizmap-treeview li > div {
  min-height: var(--sip-wys-wiersza);
  align-items: center;
  padding: 0 0 0 2px;
  border-radius: var(--sip-promien);
}
html body lizmap-treeview li > div:hover {
  background: var(--sip-najechanie);
}
html body lizmap-treeview li > div.selected {
  border-color: var(--sip-akcent);
}
html body lizmap-treeview .node {
  column-gap: 8px;
  min-width: 0;
}
html body lizmap-treeview input[type='checkbox'] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  align-self: center;
  accent-color: var(--sip-akcent);
  cursor: pointer;
}
html body lizmap-treeview label {
  font-size: var(--sip-rozmiar);
  line-height: 1.3;
  color: var(--sip-tekst);
  padding: 6px 0;
  cursor: pointer;
}
html body lizmap-treeview .group > .node > label,
html body lizmap-treeview .group label {
  font-weight: 600;
}
html body lizmap-treeview img.legend {
  flex: none;
  max-height: 18px;
  max-width: 24px;
}
html body lizmap-treeview li.not-visible > div label,
html body lizmap-treeview li.not-visible > ul.symbols label,
html body lizmap-treeview li.not-visible > label,
html body lizmap-treeview li.not-in-scale > label,
html body lizmap-treeview li.not-in-scale > ul.symbols label {
  font-style: italic;
  color: var(--sip-tekst-wyl);
}
html body lizmap-treeview li.not-visible > div input[type='checkbox'],
html body lizmap-treeview li.not-in-scale > label input[type='checkbox'] {
  accent-color: var(--sip-tekst-wyl);
}
html body lizmap-treeview li > div {
  position: relative;
}
html body lizmap-treeview a[href=''] {
  display: none;
}
html body lizmap-treeview .layer-actions {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: var(--sip-promien);
  background: var(--sip-najechanie);
  opacity: 0;
}
html body lizmap-treeview li > div:hover .layer-actions,
html body lizmap-treeview li > div:focus-within .layer-actions {
  opacity: 1;
}
html body lizmap-treeview .icon-info-sign {
  border-color: var(--sip-ramka-pola);
}
html body lizmap-treeview ul.symbols {
  margin-left: 26px;
}
html body lizmap-treeview ul.symbols li.symbol {
  min-height: 26px;
}
html body lizmap-treeview ul.symbols label {
  font-size: 13px;
  padding: 3px 0;
}

/* przycisk rozwijania grupy: pole 32x32, rysunek wg zmiennych motywu */
html body lizmap-treeview div.expandable {
  position: absolute;
  left: -34px;
  top: calc((var(--sip-wys-wiersza) - 32px) / 2);
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  transform: none !important;
  color: var(--sip-tekst);
  cursor: pointer;
  border-radius: var(--sip-promien);
}
html body lizmap-treeview div.expandable.expanded {
  color: var(--sip-tekst);
}
html body lizmap-treeview div.expandable:hover {
  background: var(--sip-najechanie);
}
html body lizmap-treeview div.expandable::before,
html body lizmap-treeview div.expandable::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
}

/* warstwa podkladowa */
html body #switcher-baselayer {
  border-top: 1px solid var(--sip-ramka);
}
html body #switcher-baselayer h3,
html body #switcher-baselayer h3 span.title {
  background: transparent;
  color: var(--sip-tekst) !important;
  font-size: 14px;
  font-weight: 600;
}
html body #switcher-baselayer h3 .icon {
  display: none;
}
html body #switcher-baselayer .menu-content {
  padding: 0 16px 12px;
}
html body #switcher-baselayer select {
  width: 100%;
}

/* --- Pola formularzy i przyciski w panelach i oknach ------------------------- */
html body #dock select,
html body #dock input[type='text'],
html body #dock input[type='number'],
html body #dock input[type='search'],
html body #dock textarea,
html body #right-dock select,
html body #right-dock input[type='text'],
html body #right-dock input[type='number'],
html body #right-dock textarea,
html body #mini-dock select,
html body #mini-dock input[type='text'],
html body #mini-dock input:not([type]),
html body #mini-dock input[type='number'],
html body #mini-dock textarea,
html body .modal select,
html body .modal input[type='text'],
html body .modal textarea {
  height: var(--sip-wys-pola);
  box-sizing: border-box;
  padding: 0 10px;
  margin-bottom: 0;
  border: 1px solid var(--sip-ramka-pola) !important;
  border-radius: var(--sip-promien-pola) !important;
  background-color: #ffffff;
  color: var(--sip-tekst);
  font-size: 14px;
  line-height: normal;
  box-shadow: none;
}
html body #dock textarea,
html body #right-dock textarea,
html body #mini-dock textarea,
html body .modal textarea {
  height: auto;
  padding: 8px 10px;
}
html body #dock input:focus,
html body #dock select:focus,
html body #right-dock input:focus,
html body #right-dock select:focus,
html body #mini-dock input:focus,
html body #mini-dock select:focus {
  border-color: var(--sip-akcent) !important;
  box-shadow: 0 0 0 1px var(--sip-akcent);
}
html body #dock input:disabled,
html body #mini-dock input:disabled,
html body #mini-dock select:disabled,
html body #right-dock input:disabled {
  background: #f3f4f6;
  color: var(--sip-tekst-wyl);
}
html body #dock label,
html body #right-dock label,
html body #mini-dock label,
html body .modal label {
  color: var(--sip-tekst);
  font-size: 13px;
  font-weight: 600;
}
html body #dock .btn,
html body #right-dock .btn,
html body #mini-dock .btn,
html body #bottom-dock .btn,
html body .modal .btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--sip-ramka-pola);
  border-radius: var(--sip-promien);
  background: #ffffff;
  color: var(--sip-tekst);
  font-size: 14px;
  line-height: 30px;
  text-shadow: none;
  box-shadow: none;
}
html body #dock .btn:hover,
html body #right-dock .btn:hover,
html body #mini-dock .btn:hover,
html body #bottom-dock .btn:hover,
html body .modal .btn:hover {
  background: var(--sip-najechanie);
  border-color: var(--sip-tekst-2);
}
html body #dock .btn-primary,
html body #right-dock .btn-primary,
html body #mini-dock .btn-primary,
html body #right-dock .btn-success,
html body #mini-dock .btn-success,
html body .modal .btn-primary {
  background: var(--sip-akcent);
  border-color: var(--sip-akcent);
  color: #ffffff;
  font-weight: 600;
}
html body #dock .btn-primary:hover,
html body #right-dock .btn-primary:hover,
html body #mini-dock .btn-primary:hover,
html body #right-dock .btn-success:hover,
html body #mini-dock .btn-success:hover,
html body .modal .btn-primary:hover {
  background: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
  border-color: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
  color: #ffffff;
}
html body #dock .btn:disabled,
html body #mini-dock .btn:disabled,
html body #right-dock .btn:disabled {
  background: #e9ecef;
  border-color: #e9ecef;
  color: #737c85;
}

/* przycisk zamkniecia panelu jest w Lizmapie przyciskiem .btn - bez ramki i odstepow */
html body #dock #dock-close,
html body #right-dock #right-dock-close {
  min-height: 0;
  padding: 0;
  border: 0;
  line-height: 0;
  background-color: var(--sip-tekst-belki) !important;
}
html body #dock #dock-close:hover,
html body #right-dock #right-dock-close:hover {
  background-color: var(--sip-akcent) !important;
}

/* --- Uchwyty szerokosci paneli (wstawia je sip-ui.js) ----------------------- */
html body .sip-uchwyt {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1045;
  width: 10px;
  cursor: col-resize;
  touch-action: none;
}
html body .sip-uchwyt-prawa {
  right: -6px;
}
html body .sip-uchwyt-lewa {
  left: -6px;
}
html body .sip-uchwyt::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 2px;
  background: transparent;
}
html body .sip-uchwyt:hover::after,
html body .sip-uchwyt:focus-visible::after,
html.sip-przeciaganie body .sip-uchwyt::after {
  background: var(--sip-akcent);
}
html body .sip-uchwyt:focus-visible {
  outline: 0 !important;
}
html.sip-przeciaganie,
html.sip-przeciaganie body {
  cursor: col-resize !important;
  -webkit-user-select: none;
  user-select: none;
}
html.sip-przeciaganie body iframe {
  pointer-events: none;
}

/* --- Przycisk zwijania paska (wstawia go sip-ui.js, wlaczaja motywy A i C) ---- */
html body #sip-zwin-pasek {
  display: none;
}
html body #sip-zwin-pasek .sip-zwin-ikona {
  flex: none;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/pasek-zwin.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/pasek-zwin.svg);
}
html.sip-pasek-zwiniety body #sip-zwin-pasek .sip-zwin-ikona {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/pasek-rozwin.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/pasek-rozwin.svg);
}

/* --- Okna narzedzi (mini-dock) ---------------------------------------------- */
html body #mini-dock {
  top: var(--sip-okno-gora);
  right: var(--sip-okno-prawo);
  width: var(--sip-szer-okna);
  max-width: calc(100% - 32px);
  padding: 0;
  background: var(--sip-tlo-panelu) !important;
  border: var(--sip-ramka-okna);
  border-radius: var(--sip-promien-okna);
  box-shadow: var(--sip-cien-okna);
  max-height: calc(100% - var(--sip-okno-gora) - var(--sip-okno-dol, 140px));
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--sip-tekst);
}
html body #mini-dock .tabbable {
  margin: 0;
}
html body #mini-dock h3 {
  position: relative;
  margin: 0;
  min-height: var(--sip-wys-belki);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: var(--sip-tlo-belki) !important;
  color: var(--sip-tekst-belki);
  border-bottom: var(--sip-ramka-belki);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
html body #mini-dock h3 span.title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  padding: 0 44px 0 14px;
  color: var(--sip-tekst-belki);
}
html body #mini-dock h3 span.title .icon,
html body #mini-dock h3 span.title > i[class^='icon-'] {
  display: none;
}
html body #mini-dock h3 span.title .text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* przyciski zamykania w oknach: x z Lizmapa */
html body #mini-dock h3 .btn-error,
html body #mini-dock h3 #locate-close,
html body #mini-dock h3 .btn-print-clear,
html body #mini-dock h3 .btn-measure-clear,
html body #mini-dock h3 .btn-permalink-clear,
html body #mini-dock h3 .btn-geolocation-close,
html body #mini-dock h3 .btn-draw-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  float: none;
  border: 0;
  border-radius: var(--sip-promien);
  background: transparent;
  color: transparent !important;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
}
html body #mini-dock h3 .btn-error::before,
html body #mini-dock h3 #locate-close::before,
html body #mini-dock h3 .btn-print-clear::before {
  content: '';
  position: absolute;
  inset: 6px;
  background-color: var(--sip-tekst-belki);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
}
html body #mini-dock h3 .btn-error:hover,
html body #mini-dock h3 #locate-close:hover,
html body #mini-dock h3 .btn-print-clear:hover {
  background: var(--sip-najechanie-belki);
}
html body #mini-dock h3 .btn-locate-clear {
  display: none;
}
html body #mini-dock div.menu-content {
  overflow-x: hidden;
  padding: 14px 16px 16px;
  max-height: none;
}
/* zwijanie okna do paska tytulu: przelacznik ze skryptu zwijanieOkien.js (4GIS) albo sip-ui.js */
html body #mini-dock h3 .zw-przycisk,
html body #mini-dock h3 .sip-zwin-okno {
  flex: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--sip-promien) !important;
  background: transparent !important;
  color: var(--sip-tekst-belki) !important;
  cursor: pointer;
}
html body #mini-dock h3 .zw-przycisk:hover,
html body #mini-dock h3 .sip-zwin-okno:hover {
  background: var(--sip-najechanie-belki) !important;
}
html body #mini-dock h3 .zw-przycisk svg {
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
}
/* zwijanieOkien.js wsuwa przelacznik w lewy margines tytulu (-10 px), wiec tytul zostaje z marginesem 14 px */
html body #mini-dock h3.sip-naglowek-okna span.title {
  padding-left: 4px;
}
html body #mini-dock h3.zw-naglowek,
html body #mini-dock h3.sip-naglowek-okna {
  cursor: pointer;
}
html body #mini-dock h3 .sip-zwin-okno::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rozwin.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rozwin.svg);
}
html body #mini-dock .sip-zwiniete h3 .sip-zwin-okno::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dalej.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dalej.svg);
}
html body #mini-dock .tab-pane.sip-zwiniete > h3 ~ * {
  display: none !important;
}
html body #mini-dock .mini-dock-close {
  position: absolute;
  right: 6px;
  top: calc((var(--sip-wys-belki) - 32px) / 2);
  z-index: 2;
  float: none !important;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: var(--sip-promien);
}
html body #mini-dock .mini-dock-close i {
  display: none;
}
html body #mini-dock .mini-dock-close::before {
  content: '';
  position: absolute;
  inset: 6px;
  background-color: var(--sip-tekst-belki);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
}
html body #mini-dock .mini-dock-close:hover {
  background: var(--sip-najechanie-belki);
}
html body #mini-dock .tab-pane {
  position: relative;
}

/* wyszukiwarka dzialek (uldk) */
html body #wyszukiwarkaUldk {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
html body #wyszukiwarkaUldk label {
  display: block;
  padding: 0 0 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--sip-tekst);
}
html body #wyszukiwarkaUldk select,
html body #wyszukiwarkaUldk input[type='text'] {
  width: 100%;
  height: var(--sip-wys-pola) !important;
  margin: 0 0 12px !important;
  padding: 0 10px !important;
  border: 1px solid var(--sip-ramka-pola) !important;
  border-radius: var(--sip-promien-pola) !important;
  font-size: 14px;
  color: var(--sip-tekst);
}
html body #wyszukiwarkaUldk input:disabled {
  background: #f3f4f6;
}
html body #wyszukiwarkaUldk .uldk-separator {
  display: none;
}
html body #wyszukiwarkaUldk #type_box {
  margin: 0 0 12px !important;
  gap: 8px;
}
html body #wyszukiwarkaUldk #type_box input[type='checkbox'] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--sip-akcent);
}
html body #wyszukiwarkaUldk #type_box input.teryt {
  margin: 0 !important;
}
html body #wyszukiwarkaUldk .button-box {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  padding-top: 4px;
}
html body #wyszukiwarkaUldk .button-box .rounded-box {
  height: var(--sip-wys-pola);
  padding: 0 8px !important;
  border: 1px solid var(--sip-ramka-pola) !important;
  border-radius: var(--sip-promien) !important;
  background: #ffffff;
  color: var(--sip-tekst);
  font-size: 14px !important;
  font-weight: 400;
}
html body #wyszukiwarkaUldk .button-box .rounded-box:hover {
  background: var(--sip-najechanie);
}
html body #wyszukiwarkaUldk .button-box #terytbt {
  background: var(--sip-akcent);
  border-color: var(--sip-akcent) !important;
  color: #ffffff;
  font-weight: 600;
}
html body #wyszukiwarkaUldk .button-box #terytbt:hover {
  background: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
}

/* wyszukiwanie (locate) */
html body #mini-dock div.locate div.menu-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html body #mini-dock div.locate div.menu-content br,
html body #mini-dock div.locate div.menu-content hr {
  display: none;
}
html body #mini-dock .locate-layer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html body #mini-dock .locate-layer input,
html body #mini-dock .locate-layer select {
  width: 100% !important;
}
html body #mini-dock .custom-combobox {
  position: relative;
  display: flex;
  width: 100%;
}
html body #mini-dock .custom-combobox-input {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  padding: 0 40px 0 10px !important;
  border-radius: var(--sip-promien-pola) !important;
  background: #ffffff !important;
  color: var(--sip-tekst) !important;
  font-weight: 400 !important;
}
html body #mini-dock .custom-combobox-toggle {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 34px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-left: 1px solid var(--sip-ramka-lekka) !important;
  border-radius: 0 var(--sip-promien-pola) var(--sip-promien-pola) 0;
  background: transparent !important;
  cursor: pointer;
}
html body #mini-dock .custom-combobox-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--sip-tekst);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rozwin.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/rozwin.svg);
}
html body #mini-dock .custom-combobox-toggle .ui-icon,
html body #mini-dock .custom-combobox-toggle .ui-button-text {
  display: none;
}
html body .ui-autocomplete.ui-menu {
  background: #ffffff;
  border: 1px solid var(--sip-ramka-pola);
  border-radius: var(--sip-promien);
  box-shadow: 0 4px 12px rgba(20, 28, 36, 0.14);
  font-size: 14px;
  padding: 4px 0;
  max-height: 50vh;
  overflow: auto;
}
html body .ui-autocomplete .ui-menu-item a,
html body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
  padding: 6px 12px;
  border: 0 !important;
  border-radius: 0;
  margin: 0 !important;
  color: var(--sip-tekst);
}
html body .ui-autocomplete .ui-state-active,
html body .ui-autocomplete .ui-state-focus {
  background: var(--sip-najechanie) !important;
  color: var(--sip-tekst) !important;
}

/* --- Przyciski mapy --------------------------------------------------------- */
html body #navbar {
  top: var(--sip-okno-gora);
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--sip-tlo-przyciskow-mapy);
  border: var(--sip-ramka-przyciskow-mapy);
  border-radius: var(--sip-promien-okna);
  box-shadow: var(--sip-cien-okna);
  overflow: hidden;
}
html body #navbar button.btn {
  width: var(--sip-przycisk-mapy);
  height: var(--sip-przycisk-mapy);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--sip-ramka-przyciskow-mapy-wew);
  background-color: var(--sip-tlo-przyciskow-mapy) !important;
  position: relative;
  box-shadow: none;
}
html body #navbar button.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--sip-ikona-przyciskow-mapy);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}
html body #navbar button.btn:hover {
  background-color: var(--sip-najechanie-przyciskow-mapy) !important;
}
html body #navbar button.btn.active {
  background-color: var(--sip-aktywne-tlo-przyciskow-mapy) !important;
}
html body #navbar button.btn.active::before {
  background-color: var(--sip-aktywne-ikona-przyciskow-mapy);
}
html body #navbar button.btn.zoom-extent {
  border-bottom: 0;
  margin-bottom: 8px;
}
html body #navbar button.btn.zoom-out {
  border-bottom: 0;
}
html body #navbar .btn.pan::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/przesun.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/przesun.svg);
}
html body #navbar .btn.zoom::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/ramka.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/ramka.svg);
}
html body #navbar .btn.zoom-extent::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/caly-zasieg.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/caly-zasieg.svg);
}
html body #navbar .btn.zoom-in::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/plus.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/plus.svg);
}
html body #navbar .btn.zoom-out::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/minus.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/minus.svg);
}
html body #navbar .btn.previous::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wstecz.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wstecz.svg);
}
html body #navbar .btn.next::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dalej.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/dalej.svg);
}
html body #navbar div.slider {
  display: none;
}

/* --- Skala, wspolrzedne, mapa przegladowa, atrybucja ---------------------------- */
html body #overview-box {
  right: 16px;
  bottom: 44px;
  border: var(--sip-ramka-okna);
  border-radius: var(--sip-promien-okna);
  box-shadow: var(--sip-cien-okna);
  overflow: hidden;
  background: var(--sip-tlo-panelu);
}
html body #overview-box > * + *,
html body lizmap-overviewmap .ol-overviewmap {
  border-top: 1px solid var(--sip-ramka);
}
html body #overview-bar,
html body lizmap-mouse-position {
  background: var(--sip-tlo-panelu);
  color: var(--sip-tekst);
}
html body #overview-bar .label,
html body lizmap-mouse-position > div.mouse-position span,
html body lizmap-mouse-position > div.mouse-position input[type='number'],
html body lizmap-mouse-position > div.coords-unit select {
  color: var(--sip-tekst);
  font-size: 13px;
  font-family: var(--sip-font-mono);
}
html body #attribution-box {
  background: rgba(255, 255, 255, 0.85);
  border-top-left-radius: var(--sip-promien);
}

/* --- Okno informacji w mapie i w panelu --------------------------------------- */
html body .lizmapPopup.olPopup,
html body #map-content .lizmapPopup {
  background-color: var(--sip-tlo-panelu) !important;
  border: var(--sip-ramka-okna) !important;
  border-radius: var(--sip-promien-okna);
  box-shadow: var(--sip-cien-okna);
  color: var(--sip-tekst) !important;
}
html body .lizmapPopup.olPopup .lizmapPopupContent h4,
html body #map-content .lizmapPopupContent h4,
html body #popupcontent .lizmapPopupContent h4 {
  margin: 0;
  padding: 10px 14px;
  background: var(--sip-tlo-belki);
  color: var(--sip-tekst-belki);
  border-bottom: var(--sip-ramka-belki);
  font-size: 15px;
  font-weight: 600;
}
html body #dock div.lizmapPopupDiv,
html body #mini-dock div.lizmapPopupDiv,
html body #right-dock div.lizmapPopupDiv,
html body #bottom-dock div.lizmapPopupDiv,
html body #popupcontent .lizmapPopupDiv {
  background-color: var(--sip-tlo-panelu) !important;
  padding: 8px 10px;
  margin: 0 !important;
}
html body #popupcontent > div.menu-content,
html body #popupcontent div.menu-content {
  padding: 0 !important;
}
html body .lizmapPopup.olPopup .lizmapPopupTable,
html body #map-content .lizmapPopupTable,
html body #popupcontent .lizmapPopupTable,
html body .lizmapPopupTable {
  background-color: var(--sip-tlo-panelu) !important;
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
}
/* bez obramowan w kolorze motywu administracyjnego: tylko linie wierszy i linia miedzy kolumnami */
html body table.lizmapPopupTable,
html body table.lizmapPopupTable.table-bordered {
  border: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 8px;
}
html body table.lizmapPopupTable th,
html body table.lizmapPopupTable td {
  padding: 7px 8px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sip-ramka-lekka) !important;
  vertical-align: top;
  overflow-wrap: anywhere;
}
html body table.lizmapPopupTable th {
  color: var(--sip-tekst-2);
  font-weight: 600;
  text-align: left;
}
/* kolumna nazw: szerokosc zmieniana przeciaganiem jej prawej krawedzi (sip-ui.js) */
html body table.lizmapPopupTable tr > :first-child:not([colspan]) {
  position: relative;
  width: var(--sip-szer-etykiety, 40%);
  border-right: 1px solid var(--sip-ramka-lekka) !important;
}
html.sip-js-kolumny body table.lizmapPopupTable tr > :first-child:not([colspan])::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4px;
  width: 8px;
  z-index: 1;
  cursor: col-resize;
}
html.sip-js-kolumny body table.lizmapPopupTable tr > :first-child:not([colspan]):hover::after {
  background: linear-gradient(90deg, transparent 3px, var(--sip-ramka) 3px, var(--sip-ramka) 5px, transparent 5px);
}
/* wiersz naglowka grupy (komorka na cala szerokosc) */
html body table.lizmapPopupTable th[colspan] {
  background: var(--sip-tlo-belki) !important;
  color: var(--sip-tekst-belki);
  font-size: 14px;
  text-align: center;
}
html body .lizmapPopupTable thead {
  background: transparent !important;
}
html body .lizmapPopupTable a {
  color: var(--sip-link);
  text-decoration: underline;
}
html body .lizmapPopupContent .lizmapPopupHeader,
html body .lizmapPopupContent .lizmap-popup-layer-feature-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* --- Okna dialogowe (np. warunki korzystania) ---------------------------------- */
html body .modal {
  border: var(--sip-ramka-okna);
  border-radius: var(--sip-promien-okna);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: var(--sip-tlo-panelu);
  overflow: hidden;
}
html body .modal-header {
  background: var(--sip-tlo-belki);
  color: var(--sip-tekst-belki);
  border-bottom: var(--sip-ramka-belki);
  padding: 12px 18px;
}
html body .modal-header h3 {
  color: var(--sip-tekst-belki) !important;
  font-size: 17px;
  font-weight: 600;
}
html body .modal-body {
  font-size: 14px;
  line-height: 1.5;
  padding: 16px 18px;
}
html body .modal-footer {
  background: var(--sip-tlo-panelu);
  border-top: 0;
  box-shadow: none;
  padding: 0 18px 16px;
}
html body .modal-backdrop,
html body .modal-backdrop.fade.in {
  background: #111418;
  opacity: 0.55;
}
html body .ui-dialog {
  border: var(--sip-ramka-okna);
  border-radius: var(--sip-promien-okna);
  box-shadow: var(--sip-cien-okna);
  font-family: var(--sip-font);
}
html body .ui-dialog .ui-dialog-titlebar {
  background: var(--sip-tlo-belki);
  color: var(--sip-tekst-belki);
  border: 0;
  border-radius: 0;
}

/* --- Dolny panel (tabela atrybutow) -------------------------------------------- */
/* Lizmap: polprzezroczysty ciemny panel, jasna ramka w srodku, przyciski przyklejone do dolu ekranu */
html body #bottom-dock {
  opacity: 1 !important;
  padding: 0 !important;
  border: 0;
  border-top: 1px solid var(--sip-ramka);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
html body #bottom-dock > .tabbable,
html body #bottom-dock #bottom-dock-content,
html body #bottom-dock #attributeLayers,
html body #bottom-dock #attributeLayers > .tabbable {
  height: 100%;
  margin: 0;
}
/* pasek zakladek warstw: w linii z belkami paneli */
html body #attributeLayers-tabs {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  height: var(--sip-wys-belki);
  box-sizing: border-box;
  margin: 0;
  padding: 0 210px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--sip-tlo-belki);
  border-bottom: var(--sip-ramka-belki) !important;
  scrollbar-width: thin;
}
html body #attributeLayers-tabs > li {
  flex: none;
  margin: 0;
}
html body #attributeLayers-tabs > li > a,
html body #bottom-dock.fullsize #attributeLayers-tabs > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 12px;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--sip-tekst-belki) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.8;
}
html body #attributeLayers-tabs > li > a:hover {
  background: var(--sip-najechanie-belki) !important;
  opacity: 1;
}
html body #attributeLayers-tabs > li.active > a {
  border-bottom-color: var(--sip-akcent) !important;
  font-weight: 600;
  opacity: 1;
}
html body #attributeLayers-tabs .btn-close-attribute-tab {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 -4px 0 2px;
  border-radius: var(--sip-promien);
  background-image: none !important;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  opacity: 0.75;
}
html body #attributeLayers-tabs .btn-close-attribute-tab:hover {
  opacity: 1;
}
/* przyciski okna (Zamknij, Maksymalizuj): w pasku zakladek, z prawej */
html body #bottom-dock-window-buttons {
  position: absolute !important;
  top: 0 !important;
  right: 8px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 6px;
  height: var(--sip-wys-belki);
  padding: 0;
  font-size: 0;
}
html body #bottom-dock.visible #bottom-dock-window-buttons,
html body #bottom-dock.half-transparent #bottom-dock-window-buttons {
  display: flex;
}
html body #bottom-dock #bottom-dock-window-buttons .btn {
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 28px;
}
/* tresc zakladki */
html body #attributeLayers .tab-content .attribute-content,
html body #bottom-dock.fullsize #attributeLayers .tab-content .attribute-content,
html body #bottom-dock div.bottom-content {
  inset: var(--sip-wys-belki) 0 0 0 !important;
  box-sizing: border-box;
  padding: 10px 12px 8px;
  border: 0 !important;
  background: var(--sip-tlo-panelu) !important;
  color: var(--sip-tekst);
  font-size: 14px;
}
html body #attribute-summary.attribute-content {
  overflow: auto;
}
html body #attribute-layer-list-table {
  margin-bottom: 12px;
  border-collapse: collapse;
}
html body #attribute-layer-list-table td {
  padding: 6px 12px 6px 0;
  border: 0;
  border-bottom: 1px solid var(--sip-ramka-lekka);
  background: transparent !important;
  vertical-align: middle;
}
html body #attribute-summary > b {
  display: block;
  margin: 4px 0 6px;
  color: var(--sip-tekst-2);
  font-size: 13px;
  font-weight: 600;
}
html body #attribute-summary .form-actions {
  display: none;
}
/* pasek wyszukiwania i przyciskow nad tabela */
html body .attribute-layer-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  height: auto;
  min-height: 34px;
  padding: 0 0 8px;
  margin: 0 0 8px;
  border-bottom: 1px solid var(--sip-ramka-lekka);
}
html body .attribute-layer-action-bar > .btn-group {
  position: relative;
  margin: 0;
}
html body .attribute-layer-action-bar input[type='search'] {
  width: 240px;
  height: 32px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 30px 0 10px;
  border: 1px solid var(--sip-ramka-pola) !important;
  border-radius: var(--sip-promien-pola);
  background: #ffffff;
  color: var(--sip-tekst);
  font-size: 14px;
  box-shadow: none;
}
html body .attribute-layer-action-bar input[type='search']:focus {
  border-color: var(--sip-akcent) !important;
  box-shadow: 0 0 0 1px var(--sip-akcent);
}
html body .attribute-layer-action-bar .clear-layer-search {
  top: 8px !important;
  right: 8px !important;
  width: 16px;
  height: 16px;
  background-image: none !important;
  background-color: var(--sip-tekst-2);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zamknij.svg);
}
html body .attribute-layer-action-bar .btn,
html body .attribute-layer-action-bar lizmap-selection-invert .btn {
  min-width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 8px;
  line-height: 30px;
}
html body .attribute-layer-action-bar .btn.hidden,
html body .attribute-layer-action-bar .btn.hide {
  display: none;
}
html body .attribute-layer-action-bar .btn > i {
  vertical-align: middle;
  margin-top: -2px;
}
html body .attribute-layer-action-bar .btn svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  fill: currentColor;
}
html body .attribute-layer-main span.attribute-layer-msg {
  font-size: 13px;
  font-style: italic;
}
/* tabela (DataTables) */
html body .attribute-layer-content {
  height: calc(100% - 50px);
}
html body table.attribute-table-table {
  border-collapse: separate;
  border-spacing: 0;
  color: var(--sip-tekst);
}
html body table.attribute-table-table thead th,
html body #bottom-dock .dataTables_scrollHead table thead th {
  padding: 8px 26px 8px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sip-ramka) !important;
  background-color: var(--sip-tlo-belki);
  color: var(--sip-tekst-belki);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
html body table.attribute-table-table thead th::before,
html body table.attribute-table-table thead th::after {
  color: inherit;
  opacity: 0.45;
}
html body table.attribute-table-table thead th.sorting_asc::before,
html body table.attribute-table-table thead th.sorting_desc::after {
  opacity: 1;
}
html body table.attribute-table-table tbody td,
html body table.attribute-table-table tr td {
  padding: 5px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sip-ramka-lekka) !important;
  background-color: transparent;
  color: var(--sip-tekst);
  font-size: 13px;
  line-height: 1.35;
  vertical-align: middle;
}
html body table.attribute-table-table.table-striped tbody > tr:nth-child(odd) > td,
html body table.attribute-table-table tbody tr.odd td {
  background-color: color-mix(in srgb, var(--sip-tekst) 3%, #ffffff);
}
html body table.attribute-table-table tbody tr.even > td[class*='sorting_'] {
  background-color: transparent;
}
html body table.attribute-table-table tbody tr.odd > td[class*='sorting_'] {
  background-color: color-mix(in srgb, var(--sip-tekst) 3%, #ffffff);
}
html body table.attribute-table-table.table-hover tbody tr:hover > td {
  background-color: var(--sip-najechanie);
}
html body table.attribute-table-table tr.active td,
html body table.attribute-table-table tr.active:hover td {
  background-color: color-mix(in srgb, var(--sip-akcent) 10%, #ffffff) !important;
  color: var(--sip-tekst);
  border-top: 0 !important;
  border-bottom: 1px solid var(--sip-akcent) !important;
}
html body table.attribute-table-table tr.active td:first-child,
html body table.attribute-table-table tr.active:hover td:first-child {
  border-left: 0 !important;
  box-shadow: inset 3px 0 0 var(--sip-akcent);
}
html body table.attribute-table-table tr.active td:last-child,
html body table.attribute-table-table tr.active:hover td:last-child {
  border-right: 0 !important;
}
html body table.attribute-table-table > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px #fff1a6 !important;
  color: var(--sip-tekst) !important;
}
html body table.attribute-table-table a {
  color: var(--sip-link);
}
/* przyciski obiektu w wierszu tabeli: jeden rzad, mniejsze */
html body #bottom-dock lizmap-feature-toolbar .feature-toolbar {
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
}
html body #bottom-dock lizmap-feature-toolbar .feature-toolbar .btn {
  width: 28px;
  height: 28px;
  min-height: 28px;
  border-color: transparent;
  background: transparent;
}
html body #bottom-dock lizmap-feature-toolbar .feature-toolbar .btn:hover {
  border-color: var(--sip-ramka-pola);
  background: #ffffff;
}
html body #bottom-dock lizmap-feature-toolbar .feature-toolbar .btn::before {
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}
/* stopka tabeli: liczba wierszy, strony, ile na stronie */
html body #bottom-dock .dataTables_wrapper .dataTables_info {
  padding: 8px 12px 0 0 !important;
  color: var(--sip-tekst-2);
  font-size: 13px;
}
html body #bottom-dock .dataTables_wrapper .dataTables_length {
  padding: 4px 0 0 !important;
}
html body #bottom-dock .dataTables_wrapper .dataTables_length label {
  margin: 0;
  color: var(--sip-tekst-2);
  font-size: 13px !important;
  font-weight: 400;
}
html body #bottom-dock .dataTables_wrapper .dataTables_length select {
  width: auto;
  height: 30px;
  margin: 0 4px;
  padding: 0 6px;
  border: 1px solid var(--sip-ramka-pola);
  border-radius: var(--sip-promien-pola);
  font-size: 13px !important;
}
html body #attributeLayers .tab-content .attribute-content .pagination {
  margin: 4px 0 0 !important;
  border-radius: 0;
  box-shadow: none;
}
html body #attributeLayers .tab-content .attribute-content .pagination > li > a,
html body #attributeLayers .tab-content .attribute-content .pagination > li > span {
  min-width: 30px;
  height: 30px;
  box-sizing: border-box;
  margin: 0 0 0 4px;
  padding: 0 10px;
  border: 1px solid var(--sip-ramka-pola);
  border-radius: var(--sip-promien) !important;
  background: #ffffff;
  color: var(--sip-tekst);
  font-size: 13px;
  line-height: 28px;
  text-align: center;
  float: none;
  display: inline-block;
}
html body #attributeLayers .tab-content .attribute-content .pagination > li > a:hover {
  background: var(--sip-najechanie);
  color: var(--sip-tekst);
}
html body #attributeLayers .tab-content .attribute-content .pagination > .active > a,
html body #attributeLayers .tab-content .attribute-content .pagination > .active > a:hover,
html body #attributeLayers .tab-content .attribute-content .pagination > .active > a:focus {
  background: var(--sip-akcent);
  border-color: var(--sip-akcent);
  color: #ffffff;
  font-weight: 600;
}
html body #attributeLayers .tab-content .attribute-content .pagination > .disabled > a,
html body #attributeLayers .tab-content .attribute-content .pagination > .disabled > a:hover {
  background: #ffffff;
  border-color: var(--sip-ramka);
  color: var(--sip-tekst-wyl);
}
/* panel obiektu obok tabeli i tabele podrzedne */
html body .attribute-layer-feature-panel {
  padding-left: 12px;
  border-left: 1px solid var(--sip-ramka);
}
html body .tabbable.attribute-layer-child-content {
  margin-top: 8px;
  border: 1px solid var(--sip-ramka);
  border-radius: var(--sip-promien);
}
html body .tabbable.attribute-layer-child-content ul li a {
  padding: 6px 10px;
  font-size: 13px;
}

/* --- Edycja (panel w doku) ------------------------------------------------------- */
/* Lizmap: etykiety 90 px obok pol (za waskie), zielone zakladki, kolorowe ikony narzedzi */
html body #edition .menu-content {
  container-type: inline-size;
  padding: 14px 16px 16px !important;
}
html body #edition-modification-msg {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--sip-akcent);
  background: color-mix(in srgb, var(--sip-akcent) 8%, #ffffff);
  color: var(--sip-tekst);
  font-size: 14px;
  line-height: 1.45;
}
html body #edition-creation {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
html body #edition-creation select,
html body #edition-layer {
  width: 100%;
}
html body #edition-draw.btn {
  align-self: stretch;
  min-height: var(--sip-wys-pola);
  background: var(--sip-akcent);
  border-color: var(--sip-akcent);
  color: #ffffff;
  font-weight: 600;
  line-height: calc(var(--sip-wys-pola) - 2px);
  text-align: center;
}
html body #edition-draw.btn:hover {
  background: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
  border-color: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
}
/* zakladki Formularz / Geometria i zakladki formularza */
html body .edition-tabs .nav-pills,
html body #edition .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  border-bottom: 1px solid var(--sip-ramka) !important;
}
html body .edition-tabs .nav-pills > li > a,
html body #edition .nav-tabs > li > a {
  margin: 0 0 -1px;
  padding: 8px 10px;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--sip-tekst-2) !important;
  font-size: 14px;
  line-height: 1.2;
}
html body .edition-tabs .nav-pills > li > a:hover,
html body #edition .nav-tabs > li > a:hover {
  color: var(--sip-tekst) !important;
  background: var(--sip-najechanie) !important;
}
html body .edition-tabs .nav-pills > .active > a,
html body .edition-tabs .nav-pills > .active > a:hover,
html body .edition-tabs .nav-pills > .active > a:focus,
html body #edition .nav-tabs > .active > a,
html body #edition .nav-tabs > .active > a:hover,
html body #edition .nav-tabs > .active > a:focus {
  border-bottom-color: var(--sip-akcent) !important;
  background: transparent !important;
  color: var(--sip-tekst) !important;
  font-weight: 600;
}
html body #edition div.tab-content {
  overflow: visible;
}
html body #edition-form-container h3 {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  color: var(--sip-tekst);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
/* formularz: etykieta nad polem, pola na cala szerokosc; szeroki panel - dwie kolumny */
html body #edition .control-group,
html body #edition-modal .control-group {
  margin: 0 0 12px;
}
html body #dock #edition .form-horizontal .control-label,
html body #edition .control-label {
  float: none;
  width: auto;
  margin: 0 0 4px;
  padding: 0;
  text-align: left;
  color: var(--sip-tekst);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  hyphens: manual;
}
html body #dock #edition .form-horizontal .controls,
html body #edition .controls {
  margin: 0;
}
html body #edition .controls input[type='text'],
html body #edition .controls input[type='number'],
html body #edition .controls input[type='email'],
html body #edition .controls input[type='url'],
html body #edition .controls input:not([type]),
html body #edition .controls select,
html body #edition .controls textarea {
  width: 100%;
  max-width: none;
}
html body #edition .controls input.jforms-ctrl-date,
html body #edition .controls input.jforms-ctrl-datetime {
  width: calc(100% - 40px);
}
html body #edition .controls textarea {
  min-height: 84px;
  resize: vertical;
}
html body #edition .controls label.checkbox,
html body #edition .controls label.radio {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: none;
  margin: 0 0 4px;
  padding: 0;
  font-weight: 400;
}
html body #edition .controls label.checkbox input,
html body #edition .controls label.radio input {
  float: none;
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--sip-akcent);
}
html body #edition .jforms-required-star {
  color: #b42318;
  font-weight: 700;
}
html body #edition .jforms-help {
  margin-left: 4px;
}
html body #edition .control-group.error .control-label,
html body #edition .control-group.error .help-inline {
  color: #b42318;
}
html body #edition .control-group.error input,
html body #edition .control-group.error select,
html body #edition .control-group.error textarea {
  border-color: #b42318 !important;
}
html body #edition .jforms-error-list,
html body #edition .alert-error {
  border: 0;
  border-left: 3px solid #b42318;
  border-radius: 0;
  background: #fdecea;
  color: #7a1a12;
  text-shadow: none;
}
html body #edition fieldset {
  margin: 4px 0 12px;
  padding: 0;
  border: 0;
}
html body #edition fieldset > legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--sip-ramka);
  color: var(--sip-tekst);
  font-size: 14px;
  font-weight: 600 !important;
  line-height: 1.3;
}
html body #edition div.jforms-table-group {
  padding: 0;
}
html body #edition .lizmap-form-relation {
  margin: 8px 0 12px;
  padding: 8px 0 0;
  border-top: 1px solid var(--sip-ramka);
}
html body #edition .lizmap-form-relation > span {
  padding: 0 !important;
  font-size: 14px;
}
@container (min-width: 460px) {
  html body #edition .form-horizontal .control-group {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  html body #edition .form-horizontal .control-group::before,
  html body #edition .form-horizontal .control-group::after {
    display: none;
  }
  html body #edition .form-horizontal .control-group > .control-label {
    margin: 0;
    padding-top: 9px;
  }
  html body #edition .form-horizontal .control-group > .controls:only-child {
    grid-column: 1 / -1;
  }
}
/* przyciski Zapisz / Anuluj */
html body #edition div.form-actions,
html body #edition .jforms-submit-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--sip-ramka);
  background: transparent;
}
html body #edition .jforms-submit-buttons .btn,
html body #edition .jforms-submit-buttons input[type='submit'],
html body #edition .jforms-submit-buttons button {
  min-height: var(--sip-wys-pola);
  padding: 0 16px;
  font-size: 14px;
  line-height: calc(var(--sip-wys-pola) - 2px);
}
html body #edition .jforms-submit-buttons input[type='submit'],
html body #edition .jforms-submit-buttons button[type='submit'],
html body #edition .jforms-submit-buttons .jforms-submit {
  background: var(--sip-akcent);
  border-color: var(--sip-akcent);
  color: #ffffff;
  font-weight: 600;
}
html body #edition .jforms-submit-buttons input[type='submit']:hover,
html body #edition .jforms-submit-buttons button[type='submit']:hover,
html body #edition .jforms-submit-buttons .jforms-submit:hover {
  background: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
  border-color: color-mix(in srgb, var(--sip-akcent) 82%, #000000);
}
/* geometria: narzedzia i wspolrzedne */
html body #edition-geomtool-container {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 8px;
}
html body #edition-geomtool-container .btn,
html body #edition-geomtool-restart-drawing.btn,
html body #edition lizmap-paste-geom .btn {
  min-width: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 6px;
  border-radius: var(--sip-promien) !important;
}
html body #edition-geomtool-container .btn.active {
  background: color-mix(in srgb, var(--sip-akcent) 12%, #ffffff);
  border-color: var(--sip-akcent);
  box-shadow: inset 0 -3px 0 var(--sip-akcent);
}
html body #edition .qgis_sprite {
  filter: grayscale(1) contrast(1.15);
  vertical-align: middle;
}
html body #edition-point-coord-form-group h3 {
  margin: 12px 0 10px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--sip-ramka);
  background: transparent;
  color: var(--sip-tekst);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
html body #edition .waiter {
  background: rgba(255, 255, 255, 0.7);
}
html body #edition .progress .bar {
  background: var(--sip-akcent);
}
/* tytuly zakladek doku: bez kolorowych ikon Lizmapa (ikony sa w pasku narzedzi) */
html body #dock-tabs > li > a::before,
html body #right-dock-tabs > li > a::before {
  display: none !important;
}

/* --- Komunikaty --------------------------------------------------------------- */
html body #message .alert {
  border-radius: var(--sip-promien);
  font-size: 14px;
}

/* --- Tytuly paneli: czytelne nazwy zamiast technicznych --------------------------- */
html body #nav-tab-popupcontent > a,
html body #nav-tab-metadata > a {
  font-size: 0 !important;
}
html body #nav-tab-popupcontent > a::after,
html body #nav-tab-metadata > a::after {
  font-size: var(--sip-h3);
}
html body #nav-tab-popupcontent > a::after { content: 'Informacja o obiekcie'; }
html body #nav-tab-metadata > a::after { content: 'O mapie'; }

/* --- Pasek przyciskow obiektu (przybliz, wysrodkuj...) ----------------------------- */
html body lizmap-feature-toolbar .feature-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
html body lizmap-feature-toolbar .feature-toolbar .btn {
  position: relative;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--sip-ramka-pola);
  border-radius: var(--sip-promien);
  background: #ffffff;
  box-shadow: none;
}
html body lizmap-feature-toolbar .feature-toolbar .btn.hide {
  display: none;
}
html body lizmap-feature-toolbar .feature-toolbar .btn > i {
  display: none;
}
html body lizmap-feature-toolbar .feature-toolbar .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--sip-tekst);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
}
html body lizmap-feature-toolbar .feature-toolbar .btn:hover {
  background: var(--sip-najechanie);
}
html body lizmap-feature-toolbar .feature-toolbar .btn.active {
  background: var(--sip-akcent);
  border-color: var(--sip-akcent);
}
html body lizmap-feature-toolbar .feature-toolbar .btn.active::before {
  background-color: #ffffff;
}
html body lizmap-feature-toolbar .feature-zoom::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/przybliz-obiekt.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/przybliz-obiekt.svg);
}
html body lizmap-feature-toolbar .feature-center::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wysrodkuj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/wysrodkuj.svg);
}
html body lizmap-feature-toolbar .feature-select::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zaznaczenie.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/zaznaczenie.svg);
}
html body lizmap-feature-toolbar .feature-filter::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/filtr.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/filtr.svg);
}
html body lizmap-feature-toolbar .feature-edit::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/edycja.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/edycja.svg);
}
html body lizmap-feature-toolbar .feature-print::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/drukuj.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/drukuj.svg);
}
html body lizmap-feature-toolbar .feature-delete::before {
  -webkit-mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/usun.svg);
  mask-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/ikony/usun.svg);
}

/* --- Formularz w oknie informacji (popup drag and drop) --------------------------- */
html body .lizmapPopupSingleFeature .lizmapPopupTitle {
  margin: 0;
}
html body .popup_lizmap_dd {
  padding: 0 !important;
}
html body .popup_lizmap_dd .nav-tabs {
  display: flex;
  gap: 4px;
  margin: 4px 0 8px;
  border-bottom: 1px solid var(--sip-ramka) !important;
}
html body .popup_lizmap_dd .nav-tabs > li > a {
  margin: 0;
  padding: 8px 10px;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--sip-tekst-2);
  font-size: 14px;
  line-height: 1.2;
}
html body .popup_lizmap_dd .nav-tabs > li > a.active,
html body .popup_lizmap_dd .nav-tabs > li.active > a {
  color: var(--sip-tekst);
  font-weight: 600;
  border-bottom-color: var(--sip-akcent) !important;
}
html body .popup_lizmap_dd .control-group {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 10px;
  margin: 0 !important;
  padding: 7px 0;
  border-bottom: 1px solid var(--sip-ramka-lekka);
}
html body .popup_lizmap_dd .control-group::before,
html body .popup_lizmap_dd .control-group::after {
  display: none !important;
}
html body .popup_lizmap_dd .control-label {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  text-align: left !important;
  color: var(--sip-tekst-2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
html body .popup_lizmap_dd .controls {
  margin: 0 !important;
  font-size: 14px;
  color: var(--sip-tekst);
  word-break: break-word;
}
html body .popup_lizmap_dd .tab-content,
html body .popup_lizmap_dd .tab-pane {
  border: 0 !important;
  padding: 0 !important;
  background: transparent;
}

/* --- Podglad motywu (sip-ui.js, tylko dla zalogowanych) ------------------------------ */
html body #sip-podglad-znak {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  z-index: 6000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 16px);
  box-sizing: border-box;
  padding: 6px 6px 6px 12px;
  border-radius: var(--sip-promien);
  background: #1b1f23;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
html body #sip-podglad-znak button {
  flex: none;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #ffffff;
  border-radius: var(--sip-promien);
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
html body #sip-podglad-znak button:hover {
  background: #ffffff;
  color: #1b1f23;
}
html body #headermenu .dropdown-menu li.nav-header.sip-motywy {
  padding: 6px 15px 2px;
  color: var(--sip-tekst-2);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  text-shadow: none;
}
html body #headermenu .dropdown-menu li.sip-motywy > a {
  padding: 6px 15px 6px 30px;
  color: var(--sip-tekst);
  font-size: 14px;
  line-height: 1.3;
}
html body #headermenu .dropdown-menu li.sip-motywy > a small {
  color: var(--sip-tekst-2);
}
html body #headermenu .dropdown-menu li.sip-motywy.sip-biezacy > a {
  position: relative;
  font-weight: 600;
}
html body #headermenu .dropdown-menu li.sip-motywy.sip-biezacy > a::before {
  content: '';
  position: absolute;
  left: 12px;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sip-akcent);
}
html body #headermenu .dropdown-menu li.sip-motywy > a:hover,
html body #headermenu .dropdown-menu li.sip-motywy > a:focus {
  background: var(--sip-najechanie);
  color: var(--sip-tekst);
}

/* ===== 30-p1.css ===== */
/* P1: kwadrat na szarym tle z plusem/minusem */
html body lizmap-treeview div.expandable::before {
  left: 8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--sip-p1-ramka);
  border-radius: min(var(--sip-promien), 3px);
  background-color: var(--sip-p1-tlo);
  background-image: linear-gradient(var(--sip-tekst), var(--sip-tekst));
  background-size: 8px 2px;
  background-position: center;
  background-repeat: no-repeat;
}
html body lizmap-treeview div.expandable::after {
  left: 15px;
  top: 12px;
  width: 2px;
  height: 8px;
  background: var(--sip-tekst);
}
html body lizmap-treeview div.expandable.expanded::after {
  display: none;
}


/* ===== 35-podpis-pod-ikona.css ===== */
/* ==========================================================================
   Pozycje paska narzedzi: ikona nad krotkim podpisem (motywy B, C, D).
   Wymiary i kolory ustawia plik zmiennych motywu (--sip-poz-*).
   ========================================================================== */
html body #mapmenu > div {
  width: auto;
}
html body #mapmenu .nav-list {
  margin: 0;
  padding: 0;
  gap: var(--sip-poz-przerwa);
}
html body #mapmenu .nav-list > li:not(.hide) {
  display: block;
  flex: none;
  position: relative;
  margin: 0;
}
html body #mapmenu .nav-list > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: var(--sip-poz-szer);
  height: var(--sip-poz-wys);
  box-sizing: border-box;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  border-bottom: var(--sip-poz-linia) solid transparent;
  border-top: var(--sip-poz-linia) solid transparent;
  border-radius: var(--sip-poz-promien);
  background: transparent;
  color: var(--sip-tekst-paska);
  font-size: var(--sip-rozmiar-podpisu);
  font-weight: var(--sip-poz-waga);
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}
html body #mapmenu .nav-list > li > a .icon,
html body #mapmenu .nav-list > li > a > [class*='icon-']:not(.icon) {
  width: var(--sip-poz-ikona);
  height: var(--sip-poz-ikona);
  -webkit-mask-size: var(--sip-poz-ikona) var(--sip-poz-ikona);
  mask-size: var(--sip-poz-ikona) var(--sip-poz-ikona);
}
html body #mapmenu .nav-list > li > a:hover {
  background: var(--sip-poz-najechanie);
  color: var(--sip-poz-najechanie-tekst);
}
html body #mapmenu .nav-list > li.active > a,
html body #mapmenu .nav-list > li.active > a:hover {
  background: var(--sip-poz-aktywne-tlo);
  color: var(--sip-poz-aktywne-tekst);
  border-bottom-color: var(--sip-poz-aktywne-linia);
  font-weight: var(--sip-poz-aktywne-waga);
}
html body #mapmenu .nav-list > li > a:focus-visible {
  outline-color: var(--sip-poz-fokus) !important;
  outline-offset: -2px !important;
}
html body #mapmenu .menu-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* podzial na grupy: cienka kreska miedzy grupami */
html body #mapmenu .nav-list > li.nav-dock + li.nav-minidock::before,
html body #mapmenu .nav-list > li.nav-minidock + li.nav-right-dock::before,
html body #mapmenu .nav-list > li.nav-minidock + li.nav-bottomdock::before,
html body #mapmenu .nav-list > li.nav-right-dock + li.nav-bottomdock::before,
html body #mapmenu .nav-list > li.nav-bottomdock + li.nav-right-dock::before {
  content: '';
  position: absolute;
  background: var(--sip-poz-kreska);
}

/* ===== 40-uklad-e.css ===== */
/* Motyw E - Urzedowy z kafelkami: uklad
   Jak A (jasny naglowek, panele przypiete, obramowania), ale pasek narzedzi z boku
   z kafelkami jak w B: ikona nad podpisem, wybrane narzedzie w kolorze gminy. Pasek staly. */

html body #mapmenu {
  width: var(--sip-szer-paska);
  box-sizing: border-box;
  padding: 8px 6px;
  background: var(--sip-tlo-paska);
  border-right: 1px solid var(--sip-ramka);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}
html body #mapmenu .nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* podpisy w calosci: dluzsze w dwoch wierszach zamiast ucietych */
html body #mapmenu .nav-list > li > a {
  height: auto;
  min-height: var(--sip-poz-wys);
  padding: 6px 3px;
}
html body #mapmenu .menu-title {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
/* podzial na grupy */
html body #mapmenu .nav-list > li.nav-dock + li.nav-minidock,
html body #mapmenu .nav-list > li.nav-minidock + li.nav-right-dock,
html body #mapmenu .nav-list > li.nav-minidock + li.nav-bottomdock,
html body #mapmenu .nav-list > li.nav-right-dock + li.nav-bottomdock,
html body #mapmenu .nav-list > li.nav-bottomdock + li.nav-right-dock {
  margin-top: 9px;
}
html body #mapmenu .nav-list > li.nav-dock + li.nav-minidock::before,
html body #mapmenu .nav-list > li.nav-minidock + li.nav-right-dock::before,
html body #mapmenu .nav-list > li.nav-minidock + li.nav-bottomdock::before,
html body #mapmenu .nav-list > li.nav-right-dock + li.nav-bottomdock::before,
html body #mapmenu .nav-list > li.nav-bottomdock + li.nav-right-dock::before {
  left: calc(50% - 24px);
  top: -7px;
  width: 48px;
  height: 1px;
}
/* niskie ekrany (768 px): mniejsze kafelki */
@media (pointer: fine) and (max-height: 819px) {
  html body {
    --sip-poz-wys: 50px;
    --sip-poz-ikona: 20px;
    --sip-poz-przerwa: 2px;
  }
  html body #mapmenu .nav-list > li > a {
    gap: 2px;
    padding: 4px 3px;
  }
}

/* --- panele: jak w motywie A ------------------------------------------------------ */
html body #docks-wrapper {
  left: var(--sip-szer-paska);
  width: calc(100% - var(--sip-szer-paska));
}
html body #map-content {
  margin-left: var(--sip-szer-paska);
}
html body #dock {
  width: var(--sip-szer-panelu);
  max-width: none;
  border-right: 1px solid var(--sip-ramka);
}
html body #dock.half,
html body #dock.full {
  width: auto;
}
html body #right-dock {
  width: var(--sip-szer-prawego);
  border-left: 1px solid var(--sip-ramka);
}
html body #mapmenu:has(.nav-right-dock.active) ~ #map-content {
  margin-right: var(--sip-szer-prawego);
}

/* ===== 50-telefon.css ===== */
/* ==========================================================================
   Telefon i ekrany dotykowe (Lizmap 3.9 przelacza uklad przy pointer: coarse)
   ========================================================================== */
@media (pointer: coarse) {
  :root {
    --sip-wys-pola: 44px;
    --sip-wys-wiersza: 40px;
    --sip-przycisk-mapy: 44px;
  }
  html body #header {
    height: var(--sip-wys-naglowka-tel);
    padding: 0 0 0 10px;
  }
  html body #logo {
    width: calc(var(--sip-szer-logo) * 0.75);
    height: 34px;
    margin-right: 10px;
  }
  html body #title {
    max-width: calc(100% - 180px);
  }
  html body #title h1 {
    font-size: 17px;
  }
  html body #title h2 {
    display: none;
  }
  html body #headermenu,
  html body #headermenu.mobile {
    right: 52px;
    height: calc(var(--sip-wys-naglowka-tel) - var(--sip-pasek-akcentu) - 1px);
    margin: 0;
  }
  html body #headermenu .navbar-inner {
    padding: 0 4px 0 0;
  }
  html body #headermenu .navbar-inner > .pull-right {
    gap: 4px;
  }
  html body #headermenu .navbar-search,
  html body #headermenu.mobile #auth form#nominatim-search {
    position: relative;
    top: auto;
    right: auto;
    width: 44px;
    height: 44px;
  }
  html body #headermenu.mobile #auth ul.nav {
    position: static;
  }
  html body #headermenu,
  html body #headermenu.mobile {
    padding-right: 0;
  }
  html body #headermenu .navbar-search .search-query {
    padding: 0 0 0 44px;
    border-color: transparent;
    background: transparent;
    color: transparent;
    font-size: 16px;
    cursor: pointer;
  }
  html body #headermenu .navbar-search .search-query::placeholder {
    color: transparent;
  }
  html body #headermenu .navbar-search .search-query:focus {
    position: fixed;
    inset: auto 8px auto 8px;
    top: calc((var(--sip-wys-naglowka-tel) - 44px) / 2);
    width: auto;
    height: 44px;
    z-index: 2000;
    padding: 0 12px 0 44px;
    border-color: var(--sip-ramka-pola-naglowka);
    background: var(--sip-tlo-pola-naglowka);
    color: var(--sip-tekst-pola-naglowka);
    cursor: text;
  }
  html body #headermenu .navbar-search .search-query:focus::placeholder {
    color: var(--sip-tekst-pola-naglowka-2);
  }
  html body #headermenu .navbar-search .search-icon {
    left: 0;
    width: 44px;
    pointer-events: none;
  }
  html body #headermenu .navbar-search .search-icon .icon {
    width: 24px;
    height: 24px;
    background-color: var(--sip-tekst-naglowka) !important;
    -webkit-mask-size: 24px 24px;
    mask-size: 24px 24px;
  }
  html body #headermenu li.login > a,
  html body #headermenu li.user > a {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
  html body #headermenu li.login > a .text,
  html body #headermenu li.user > a .text {
    display: none;
  }

  /* przycisk menu (hamburger) w naglowku */
  html body #menuToggle {
    position: fixed;
    top: calc((var(--sip-wys-naglowka-tel) - 44px) / 2 + var(--sip-pasek-akcentu) / 2);
    left: auto;
    right: 6px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    padding: 13px 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--sip-promien);
    background: transparent;
    cursor: pointer;
  }
  html body #menuToggle span {
    transform-origin: center !important;
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 1px;
    background: var(--sip-tekst-naglowka);
  }
  html body #menuToggle.opened {
    padding: 13px 11px;
    background: var(--sip-akcent);
  }
  html body #menuToggle.opened span {
    background: #ffffff;
  }
  html body #menuToggle.opened span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  html body #menuToggle.opened span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* na telefonie menu otwiera przycisk w naglowku - bez belki zwijania i uchwytow */
  html body #mapmenu #sip-zwin-pasek,
  html body .sip-uchwyt {
    display: none;
  }
  html body #sip-podglad-znak {
    top: calc(var(--sip-wys-naglowka-tel) + 8px);
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
  }

  /* menu narzedzi: lista z ikonami i podpisami */
  html body #mapmenu {
    width: 100%;
    left: -100%;
    top: 0;
    padding: 8px 0;
    background: var(--sip-tlo-menu-tel);
    border: 0;
    z-index: 5001;
  }
  html body #menuToggle.opened ~ #mapmenu {
    left: 0;
  }
  html body #mapmenu > div {
    top: 0;
    width: 100%;
  }
  html body #mapmenu > div > ul {
    margin: 0;
    width: 100%;
    background: transparent;
  }
  html body #mapmenu > div > ul li,
  html body #mapmenu > div > ul li.active {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  html body #mapmenu .nav-list {
    display: block;
  }
  html body #mapmenu .nav-list > li > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: auto;
    height: 48px;
    padding: 0 16px;
    border: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--sip-tekst-menu-tel);
    text-align: left;
    text-transform: none;
    white-space: nowrap;
  }
  html body #mapmenu .nav-list > li > a:hover {
    background: transparent;
    color: var(--sip-tekst-menu-tel);
  }
  /* podzial na grupy jako pozioma linia */
  html body #mapmenu .nav-list > li.nav-dock + li.nav-minidock,
  html body #mapmenu .nav-list > li.nav-minidock + li.nav-right-dock,
  html body #mapmenu .nav-list > li.nav-minidock + li.nav-bottomdock,
  html body #mapmenu .nav-list > li.nav-right-dock + li.nav-bottomdock,
  html body #mapmenu .nav-list > li.nav-bottomdock + li.nav-right-dock {
    margin: 5px 0 0;
    padding-top: 5px;
    border-top: 1px solid var(--sip-ramka);
  }
  html body #mapmenu .nav-list > li::before {
    display: none;
  }
  html body #mapmenu .nav-list > li.active > a,
  html body #mapmenu .nav-list > li.active > a:hover {
    background: var(--sip-aktywne-tlo-menu-tel);
    color: var(--sip-aktywne-tekst-menu-tel);
    font-weight: 600;
  }
  html body #mapmenu .nav-list > li > a .icon,
  html body #mapmenu .nav-list > li > a > [class*='icon-']:not(.icon) {
    width: 24px;
    height: 24px;
    -webkit-mask-size: 24px 24px;
    mask-size: 24px 24px;
  }
  html body #mapmenu .menu-title {
    display: inline;
    max-width: none;
    margin: 0;
    font-size: 16px;
    text-transform: none;
  }
  html body #mapmenu .nav-list > li .menu-title::after {
    font-size: 16px;
  }

  /* panele i okna jako arkusz od dolu */
  html body #content #dock,
  html body #content.mobile #dock {
    width: 100%;
    max-width: none;
    margin-top: 0;
    background: var(--sip-tlo-panelu) !important;
  }
  html body #docks-wrapper {
    left: 0;
    width: 100%;
  }
  html body #map-content {
    margin-left: 0;
  }
  html body #mini-dock,
  html body #content.mobile #mini-dock {
    inset: auto 0 0 0;
    width: 100%;
    max-width: none;
    max-height: 62vh;
    max-height: min(62vh, calc(100% - 8px));
    border-radius: var(--sip-promien-arkusza) var(--sip-promien-arkusza) 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: 0 -4px 16px rgba(20, 28, 36, 0.16);
    overflow: auto;
  }
  html body #mini-dock h3 {
    min-height: 52px;
    font-size: 17px;
  }
  html body #mini-dock h3 .btn-error,
  html body #mini-dock h3 #locate-close,
  html body #mini-dock h3 .btn-print-clear,
  html body #mini-dock .mini-dock-close {
    width: 44px;
    height: 44px;
    right: 4px;
  }
  html body #mini-dock div.menu-content {
    max-height: none;
    font-size: 16px;
  }
  html body #mini-dock input,
  html body #mini-dock select,
  html body #wyszukiwarkaUldk select,
  html body #wyszukiwarkaUldk input[type='text'] {
    font-size: 16px !important;
  }
  html body #wyszukiwarkaUldk label {
    font-size: 15px !important;
  }
  html body #wyszukiwarkaUldk .button-box .rounded-box {
    font-size: 15px !important;
  }
  html body #navbar {
    top: 12px;
    right: 10px;
  }
  html body #navbar button.btn {
    width: 44px;
    height: 44px;
    margin: 0;
  }
  html body #overview-box {
    display: none;
  }
  html body lizmap-treeview label {
    font-size: 16px;
  }
}

/* ===== ustawienia gminy (sip-motyw 2026-10-16) ===== */
:root {
  --sip-motyw-ustawiony: E;
  --sip-podglady: ABCDE;
}
html body #logo {
  background-image:
    url(/index.php/view/media/getMedia?repository=wieprz&project=wieprz&path=media%2Fthemes%2Fdefault%2Fcss%2F/img/herb.png);
}
