@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&amp;display=swap');
@import url("/webfonts/bootstrap/bootstrap-icons.min.css");

@font-face {
  font-family: "Rajdhani-fallback";
  src: local("Arial");
  size-adjust: 77%;
  ascent-override: 101%;
  descent-override: 41%;
}

:root {
  --ff: Rajdhani;
  --ff-bak: Rajdhani-fallback;
  --ff-icons: bootstrap-icons;
  --ff-stack: var(--ff), var(--ff-bak), system-ui, sans-serif;
  --outline: 1px dotted;
  --outline-pos-offset: 2px;
  --outline-neg-offset: -2px;
  /*colors */
  --black: rgb(0, 0, 0);
  --crimson: rgb(220, 20, 60);
  --deeppink: rgb(255, 20, 147);
  --navy: rgb(0, 36, 86);
  --orange: rgb(255, 165, 0);
  --purple: rgb(128, 0, 128);
  --white: rgb(255, 255, 255);
  
  color-scheme: light dark;
  
  /* JSK vars */
  --color-text: var(--color);
  --color-yellow: #f2c700;
  --color-red: #e1003d;
  --color-green: #009d0b;
  --color-grey: #4d4d4d;
  --color-light-grey: #e3e3e3;
  --color-white: #ffffff;
  
  --margin: 2em;
  --padding: 2em;
  
  --vcenter: translate(-50%,0);
  --hcenter: translate(0,-50%);
  --center: translate(-50%,-50%);  
}

/* Reset */
*,
*::before, 
*::after { 
  box-sizing: border-box; 
}

* { 
  margin: 0; 
  line-height: calc(1em + 0.5rem); 
}

body {
  min-height: 100vh; 
  text-rendering: optimizeSpeed; 
  -webkit-font-smoothing: antialiased; 
}

a:not([class]) { 
  text-decoration-skip-ink: auto; 
}

a:is(:hover, :active) { 
  outline: none; 
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
p { 
  overflow-wrap: break-word; 
}

h1:not(#header-logo), 
h2, 
h3, 
h4, 
h5, 
h6 { 
  font-family:var(--ff-cap),var(--ff-alt); 
  font-weight: normal; 
  line-height: 1.5; 
}

ul[role="list"], 
ol[role="list"], 
ul[role="menu"] { 
  list-style: none; 
}

img, 
picture, 
video, 
canvas, 
svg { 
  display: block; 
  max-width: 100%; 
}

imput, 
button, 
textarea, 
select { 
  font: inherit; 
}

table { 
  border-collapse: collapse; 
  border-spacing: 0; 
}

blockquote, 
q { 
  quotes: none; 
}

:is(blockquote, q)::before,
:is(blockquote, q)::after {
  content: ''; 
}

article, 
aside, 
details, 
figcaption, 
figure, 
footer, 
header, 
main, 
menu, 
nav, 
section { 
  display: block; 
}

:is(a, button) svg {
  pointer-events: none;
}
/* !Reset */

html {
  scroll-behavior: smooth;
}

html body {
  --color: hsla(0, 0%, 0%, 1);
  --color-alt: hsla(0, 0%, 100%, 1);
  --color-strong: hsla(0, 0%, 11%, 1);
  --bg: hsla(0, 0%, 100%, 1);
  --bg-dark: hsla(215, 100%, 17%, 1);
  --link: hsla(215, 100%, 17%, 1);
  --link-hover: hsla(348, 83%, 47%, 1);
  --link-bg-hover: hsla(0, 0%, 94%, 1);
  --link-focus: hsla(214, 71%, 80%, 0.3);
  --focus-outline: var(--link-focus) solid 0.25rem;
  --img-filter: none;
}

@media (prefers-color-scheme: dark) {
  html:not([data-selected-theme="light"]) body {
    --color: hsla(28, 5%, 80%, 1);
    --color-alt: hsla(28, 5%, 80%, 1);
    --color-strong: hsla(28, 5%, 80%, 1);
    --bg: hsla(228, 5%, 15%, 1);
    --bg-dark: hsla(228, 5%, 15%, 1);
    --link: hsla(28, 5%, 80%, 1);
    --link-hover: hsla(28, 5%, 80%, 1);
    --link-bg-hover: hsla(0, 0%, 34%, 1);
    --link-focus: hsla(214, 71%, 80%, 0.3);
    --focus-outline: var(--link-focus) solid 0.25rem;
    --img-filter: none;
  }
}

html[data-selected-theme="dark"] body {
  --color: hsla(28, 5%, 80%, 1);
  --color-alt: hsla(28, 5%, 80%, 1);
  --color-strong: hsla(28, 5%, 80%, 1);
  --bg: hsla(228, 5%, 15%, 1);
  --bg-dark: hsla(228, 5%, 15%, 1);
  --link: hsla(28, 5%, 80%, 1);
  --link-hover: hsla(28, 5%, 80%, 1);
  --link-bg-hover: hsla(0, 0%, 34%, 1);
  --link-focus: hsla(214, 71%, 80%, 0.3);
  --focus-outline: var(--link-focus) solid 0.25rem;
  --img-filter: none;
}

body {
  font-size: calc(15px + 0.390625vw);
  line-height: 1.66667;
  font-family: var(--ff-stack);
  font-weight: 500;
  min-height: 100%;
  height: 100%;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light dark;
  background-color: var(--bg);
  color: var(--color);
}

@media (prefers-color-scheme: dark) {
  :not([data-selected-theme="light"]) img {
    filter: brightness(.8) contrast(1.2);
  }
}

[data-selected-theme="dark"] img {
  filter: brightness(.8) contrast(1.2);
}

body.is-modal-open {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

noscript {
  color: red;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25rem;
}

sup {
  top: -0.5rem;
}

blockquote {
  margin: 0 0 1rem;
  color: #5e5e5e;
  font-size: 95%;
  padding: 1rem 2rem;
  border-left: .25rem solid var(--navy);
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: .5rem;
}

a,
a:visited {
  color: var(--link); 
  text-decoration: underline;
  text-underline-position: under;
}

a:is(:hover, :active, :focus) {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-style: dotted;
}

a[href*="mailto:"] {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

:is(a, button, input, textarea, summary):focus { 
  outline: var(--outline); 
  outline-offset: var(--outline-pos-offset); 
}

:is(button, input, textarea):focus { 
  outline-offset: var(--outline-neg-offset); 
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

code {
  font-size: 87.5%;
  color: #FE2E9A;
  word-break: break-word;
}

pre {
  display: block;
  font-size: 87.5%;
  color: #212529;
}

address {
  margin-bottom: 1rem;
  line-height: inherit;
}

b,
strong {
  font-weight: 700;
  color: var(--color-strong);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 2rem;
}

h3, .h3 {
  font-size: 1.45rem;
}

h4, .h4 {
  font-size: 1.3rem;
}

h5, .h5 {
  font-size: 1.15rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
	line-height: 150%;
	padding: 1rem 0;
}

ul, ol {
  margin-bottom: 1rem;
}

ul {
  list-style-type: disc;
}


ol {
  list-style-type: decimal;
}

li {
	margin-left: 1.2rem
}

img {
  vertical-align: middle;
  border-style: none;
}

article {
	margin: 2rem 0;
}

.button {
  border: none;
  display: inline-flex;
  gap: .5em;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.clear {
	clear: both !important;
}

/* Ratio system */
:is([class*="ratio"], [class*="rt-"]) { position:relative; width:100%; padding:0; overflow:hidden; }
:is([class*="ratio"], [class*="rt-"]) + * { width:100%; }

/* Ratios */
.ratio1_1, .ratio1\/1, .rt-1\/1 { aspect-ratio: 1/1; }
.ratio2_1, .ratio2\/1, .rt-2\/1 { aspect-ratio: 2/1; }
.ratio4_3, .ratio4\/3, .rt-4\/3 { aspect-ratio: 4/3; }
.ratio3_2, .ratio3\/2, .rt-3\/2 { aspect-ratio: 3/2; }
.ratio5_3, .ratio5\/3, .rt-5\/3 { aspect-ratio: 5/3; }
.ratio5_2, .ratio5\/2, .rt-5\/2 { aspect-ratio: 5/2; }
.ratio16_9, .ratio16\/9, .rt-16\/9 { aspect-ratio: 16/9; }
/* pion */
.ratio1_2, .ratio1\/2, .rt-1\/2 { aspect-ratio: 1/2; }
.ratio2_3, .ratio2\/3, .rt-1\/2 { aspect-ratio: 2/3; }
.ratio3_4, .ratio3\/4, .rt-3\/4 { aspect-ratio: 3/4; }
.ratio9_16, .ratio9\/16, .rt-9\/16 { aspect-ratio: 9/16; }

@supports (not (aspect-ratio: auto)) {
  :is([class*="ratio"], [class*="rt-"])::before { content:""; display:block; }
  :is([class*="ratio"], [class*="rt-"]) *:first-child { display:block; position:absolute; top:0; right:0; bottom:0; left:0; width:100%; }
  .ratio1_1::before, .ratio1\/1::before, .rt-1\/1::before { padding-top: 100%; }    
  .ratio2_1::before, .ratio2\/1::before, .rt-2\/1::before { padding-top: calc((1 / 2) * 100%); }
  .ratio4_3::before, .ratio4\/3::before, .rt-4\/3::before { padding-top: calc((3 / 4) * 100%); }
  .ratio3_2::before, .ratio3\/2::before, .rt-3\/2::before { padding-top: calc((2 / 3) * 100%); }
  .ratio5_3::before, .ratio5\/3::before, .rt-5\/3::before { padding-top: calc((3 / 5) * 100%); }
  .ratio5_2::before, .ratio5\/2::before, .rt-5\/3::before { padding-top: calc((2 / 5) * 100%); }
  .ratio16_9::before, .ratio16\/9::before, .rt-16\/9::before { padding-top: calc((9 / 16) * 100%); }
  /* pion */
  .ratio1_2::before, .ratio1\/2::before, .rt-1\/2::before { padding-top: calc((2 / 1) * 100%); }
  .ratio2_3::before, .ratio2\/3::before, .rt-2\/3::before { padding-top: calc((3 / 2) * 100%); }
  .ratio3_4::before, .ratio3\/4::before, .rt-3\/4::before { padding-top: calc((4 / 3) * 100%); }
  .ratio9_16::before, .ratio9\/16::before, .rt-9\/16::before { padding-top: calc((16 / 9) * 100%); }
}


/* HTML: <div class="loader"></div> */
.preloader { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-color: var(--white); 
  display: none; 
  justify-content: center; 
  align-items: center; 
  z-index: 999; 
  visibility: hidden; 
  opacity: 0; 
}

.show-preloader { 
  display: flex;
  visibility: visible; 
  opacity: 1; 
}

@media (prefers-reduced-motion) {
  .show-preloader { 
    display: none;
    visibility: hidden;
    opacity: 0; 
  }
}

.loader {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.dot {
  --size: 15px;
  display: block;
  border-radius: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) * 1.25);
  background-color: #fff;
}

.dot:nth-child(1) {
  background-color: #a4ba3a;
	animation: preloader .7s ease-in-out alternate infinite;
}

.dot:nth-child(2) {
  background-color: #91d222;
	animation: preloader .7s ease-in-out alternate .25s infinite;
}

.dot:nth-child(3) {
  background-color: #1ab997;
	animation: preloader .7s ease-in-out alternate .5s infinite;
}

.dot:nth-child(4) {
  background-color: #6988e7;
	animation: preloader .7s ease-in-out alternate .75s infinite;
}

.dot:nth-child(5) {
  background-color: #214ed3;
	animation: preloader .7s ease-in-out alternate 1s infinite;
}

.dot:nth-child(6) {
  background-color: #1b3fab;
	animation: preloader .7s ease-in-out alternate 1.25s infinite;
}

@keyframes preloader {
  100% {
    transform: scale(3);
    box-shadow: 10px 10px 22px -2px rgba(0, 0, 0, .25);
  }
}

/* Theme switcher */

.theme-switcher {
  border: none;
  inline-size: fit-content;
  padding: 2px;
}

.theme-switcher button {
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  border-radius: 10px;
  padding: 0.5em 1em;
  text-align: center;
  user-select: none;
  background: none;
  border: solid 1px transparent;
}

.theme-switcher svg {
  width: 24px;
  height: 24px;
}

.theme-switcher [aria-pressed="true"] {
  border-color: #CCC;
  color: #333;
}

.theme-switcher button:focus {
  outline-offset: calc(2 * var(--outline-neg-offset));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-selected-theme="light"]) .theme-switcher svg {
    filter: brightness(0) invert(1);
  }
  :root[data-selected-theme="dark"] [data-theme="dark"] {
    display: none;
  }
}

[data-selected-theme="dark"] .theme-switcher svg {
  filter: brightness(0) invert(1);
}

[data-selected-theme="light"] .theme-switcher svg {
  filter: brightness(0) invert(0);
}


@media (prefers-color-scheme: light) {
  :root[data-selected-theme="light"] [data-theme="light"] {
    display: none;
  }
}

:root[data-selected-theme="light"] [data-theme="light"],
:root[data-selected-theme="dark"] [data-theme="dark"] {
  display: none;
}

.theme-switcher div[role="menu"] {
  display: inline-flex;
}

.social {
  list-style: none;
  float: right;
  margin-top: 0;
  margin-bottom: 0;
}

.social li {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 2rem;
  display: flex;
  align-items: center;
}

.\-color-white {
	color: var(--white);
}

.\-color-navy {
	color: var(--navy);
}

.\-color-red {
	color: #d91920;
}

header {
    position:relative;
}

header::after {
    display: block;
    content: '';
    clear: both;
}

footer  {

	margin: 0;
	padding: 2rem 0;
    background-color:var(--bg-dark); 
    color: var(--color-alt);
}

main {

}

main aside {
  padding: 0 1rem;
}

.page-width {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.offset {
  padding: 1rem;
}

h1 { 
  margin:1rem 0;  
  padding:0; 
}

h1 a {
  display: block;
}

h1 a:focus {
  outline: 2px dotted;
}

.a11y-hide,
.hide-text,
.sr-only,
.hide,
._hide {
  border: 0 !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important; 
  clip: rect(1px, 1px, 1px, 1px) !important; 
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;  
}
 
:is(.a11y-hide, .hide-text, .hide, ._hide):is(:active, :focus),
.sr-only-focusable:is(:active, :focus) {
  -webkit-clip-path: none !important;
  clip-path: none !important;
  clip: auto !important;
  height: auto !important;
  margin: auto !important;
  overflow: visible !important;
  width: auto !important;
  white-space: normal !important;
}

.JSWrapper .usun a:is(:link, visited) {
  border: 1px solid var(--white);
}

.JSWrapper .usun a:is(:hover, focus) {
  background-color: #d91920;
}

#header-main {
  padding:0.5rem 0;
}

#header-main h1 img {
  width: 100%;
}
 
#header-main.active {
  position: fixed;
  top: 0;
  width: 100%;
  margin-bottom: 0;
  -webkit-transition: all .5s linear;
  -moz-transition: all .5s linear;
  -ms-transition: all .5s linear;
  -o-transition: all .5s linear;
  transition: all .5s linear;
  z-index: 10;
}

@supports(position:sticky) {
  #header-main.active { position:-webkit-sticky; position:sticky; top:0; }
}
  
#menu-icon {
  display: none;
}

#header-main #header-logo {
  margin: 0;
  padding: 0;
}

#header-main .logos {
  display: inline-flex;
  align-items: center; 
  padding: 0
}


#header-main .logos :is(img, svg) {
  width: auto;
  height: 120px;
}

.logo-policja {
  fill: #052453;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-selected-theme="light"]) .logos svg path {
    fill: var(--white);
    filter: brightness(0) invert(1)
  }
}

:root[data-selected-theme="dark"] .logos svg path {
  filter: brightness(0) invert(1)
}

:root[data-selected-theme="light"] .logos svg path {
  filter: none
}

#header-main.active :is(h1, .social, .search, img) {
  display: none;
}
 
@media(max-width: 768px) {
  #header-main.active {
    position: relative;
  }
  
  #header-main.active :is(h1, .search, img),
  #header-main #menu-icon {
    display:initial;
  }
  
  #header-main h1 {
    margin: 1rem;
  }
  
  #header-main img {
    width: 60%;
    height: auto;
  }
  #header-main .logos :is(img, svg) {
    height: 64px;
  }
}

#header-main nav {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  -webkit-transition: padding 0.2s linear;
  -moz-transition: padding 0.2s linear;
  -o-transition: padding 0.2s linear;
  transition: padding 0.2s linear;
}


#header-main nav::before,
#header-main nav::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  background-image: linear-gradient(90deg, orange, deeppink, purple, deeppink, orange);
}

#header-main.active nav {
  margin: initial;
  box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.5);
  background-color: var(--navy);
}

@media(max-width: 768px) {
  #header-main nav {
    display:none;
    width: 100%;
    padding-bottom: 10px
  }
  
  #header-main nav.menu-active {
    display: block;
    clear: both
  }
  
  #header-main.active nav.menu-active {
    display: none;
  }
}


#header-main nav ul {
  list-style: none;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around; 
} 


#header-main nav li {
  text-align: center;
  font-size: 1.3rem;
  margin-left: 0;
}

#header-main nav li::before {
  display: none;
}

#header-main nav a {
  display: block;
  position: relative; 
  width: 100%;
  padding: 0.5rem 0;
  color: var(--color);
  text-decoration: none;
  transition: color 0.5s;
  transition-timing-function: cubic-bezier(0.2,1,0.3,1);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#header-main nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--link-hover);
  transform: scale3d(0, 1, 1);
  transition: transform 0.1s;
}

#header-main nav a:is(:hover, :focus)::before  {
  transform: scale3d(1, 1, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
}

#header-main nav a:hover {
  text-decoration: none;
  color: var(--link);
}

#header-main nav a:is(:active, :focus) {
}

#header-main.active nav li {
  font-size: 1rem
}

#header-main.active nav a {
  padding: 0.2rem 0;
  color: var(--white);
}

@media(max-width: 768px) {
  #header-main nav ul {
    flex-direction: column;
  }
}


/*Skiplinks*/
.skiplinks-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.skiplinks-menu ul {
  list-style: none;
}

.skiplinks-menu li::before {
  display: none;
}

.skiplinks-menu a {
  display: inline;
  left: -9000em;
  box-sizing: border-box;
  padding: 1rem;
  position: absolute;
  text-decoration: none;
  z-index: 3;
  text-align: center
}

.skiplinks-menu a:hover {
  background: #404040;
  color: var(--white);
  left: 0;
  top: 0;
  position: absolute;
}

.skiplinks-menu a:focus {
  background: #404040;
  color: var(--white);
  left: 0;
  top: 0;
  position: absolute;
  outline: 2px solid transparent;
}
 
figure {
  padding: 0;
  margin: 0; 
}
 
figure img {
  width: 100%;
}
 
.topnews {
  position: relative;
  margin-bottom: 2rem
}
 
.topnews figcaption {
  display: block;
  position: absolute;
  right: 0;
  bottom: 5%;
  padding: 2rem;
  background-color: rgba(0, 36, 86, 0.75);
}
 
.topnews .title {    
  color:  var(--white);
  font-size: 3rem; 
  text-decoration: none;
}

.topnews .title:is(:hover, :focus) {
  text-decoration: underline;
}
 
.article-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
 }
 
.article-list ul li {
  padding: 1rem;
}

main ul li img {
  width: 100%;
}

/* Okno aktualnosci */
  
.article-list header {
  border-bottom: solid 1px var(--navy);
  padding: 0;
  margin: 0 1rem;
  overflow: hidden;
  display: none;
}
  
.article-list header h2 {
  background-color: var(--navy);
  color:  var(--white);
  display:inline;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  line-height: inherit;
}

.article-list header span {
  float: right;
}

.article-list footer {
  background-color: transparent;
  text-align: center;
  margin-bottom: 2rem;
}

.article-list li {
  margin: 0;
}

.article-list li::before {
  display:none;
}
 
.article-list figure {
  margin: 0;
  padding: 0;
}

.article-list :is(img, .fake-img) {
  --b: 8px;  /* border thickness*/
  --s: 60px; /* size of the corner*/
  --g: 14px; /* the gap*/
  --c: var(--orange); 
  
  padding: calc(var(--b) + var(--g));
  background-image:
    conic-gradient(from 90deg at top var(--b) left var(--b), #0000 25%, var(--c) 0),
    conic-gradient(from -90deg at bottom var(--b) right var(--b), #0000 25%, var(--c) 0);
  background-position:
    var(--_p,0%) var(--_p,0%),
    calc(100% - var(--_p,0%)) calc(100% - var(--_p,0%));
  background-size: var(--s) var(--s);
  background-repeat: no-repeat;
  cursor: pointer;
  transition: 
    background-position .3s var(--_i,.3s), 
    background-size .3s calc(.3s - var(--_i,.3s));
}

.article-list :is(img, .fake-img):hover {
  background-size: calc(100% - var(--g)) calc(100% - var(--g));
  --_p: calc(var(--g)/2);
  --_i: 0s;
}

.article-list .fake-img {
  height: 100%;
}

.article-list .fake-img div {
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}
  
.article-list figcaption {
  position: relative;
  display: block;
  padding-top: 1rem;
}
  
.article-list .date {
  font-size: 0.8rem;
  color: #404040;
  margin-bottom: 1rem;
}

.article-list .title {
  font-size: 120%;
  font-weight: 600;
  text-decoration: none;
}
  
.article-list .title:is(:hover, :focus) {
  text-decoration: underline;
}

.article-list .excerpt {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.article-list-small ul {
  list-style: none;
}

.article-list-small li {
  margin-left: 0;
}

.article-list-small figure {
  margin: 0;
}

.article-list-small .date {
  color: #5e5e5e;
  font-size: .8rem;
}

.attr {
  position: relative;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.attr::before,
.attr::after {
  display: none;
  content:'';
  height: 0.8rem;
  width: 0.1111111111111111rem;
  background-color: #d91920;
  -webkit-transform: skew(-20deg);
  transform: skew(-20deg);
  position: absolute;
  top: 0
}

.attr::before {
  left: 0
}

.attr::after {
  right: 0
}

.attr:empty::before,
.attr:empty::after {
  background-color: var(--white);
}

/* link wiecej do blokow */

a[class^="see-more-link"] {
  text-decoration: none;
}

/* typ 1 */

.see-more-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  background: #214ed3;
  transition: 1s;
  box-shadow: 6px 6px 0  var(--black);
  transform: skewX(-15deg);
}

a.see-more-link {
  color: var(--white);
}

.see-more-link:focus {
  --outline-pos-offset: 10px;
  outline-offset: var(--outline-pos-offset);
  outline-color: var(--crimson);
}

.see-more-link:is(:hover, :focus) {
    transition: 0.5s;
    box-shadow: 10px 10px 0 var(--orange);
}

a.see-more-link:is(:hover, :focus) {
  color: var(--orange);
}

.see-more-link span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.see-more-link:is(:hover, :focus) span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0.5rem;
}

.see-more-link span {
  margin-left: 0.5rem;
  transform: skewX(15deg) 
}

.see-more-link span:nth-child(2) {
  display: inline-flex;
  width: 1.5rem;
  margin-left: 0.5rem;
  position: relative;
}
  
/**************SVG****************/

.see-more-link path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

.see-more-link path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.see-more-link:is(:hover, :focus) path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.see-more-link:is(:hover, :focus) path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

.see-more-link:is(:hover, :focus) path.three {
    animation: color_anim 1s infinite 0.2s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: var(--orange);
    }
    100% {
        fill: white;
    }
}

/* typ 2 */

.see-more-link-2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0); 
  border: solid 1px var(--navy);
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  color: initial;
}

.see-more-link-2:hover {
  color: var(--navy);
}

.see-more-link-2::after {
  content: '';
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  top: 8px;
  left: 8px;
  transition: 1s;
  background: var(--orange);
}

.see-more-link-2:hover::after {
  top: 0;
  left: 0;
}

/* typ 3 */

.see-more-link-3 {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  width: auto; 
  height: auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin: 0px 25px 15px;
  color: initial;
  padding: 5px;
}

.see-more-link-3 span {
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
  width: 100%;
  padding: 0.5rem 0.75rem;
  transition: 0.3s;
  color: rgb(255, 255, 255);
  background-color: rgb(54, 56, 55);
}

.see-more-link-3::before,
.see-more-link-3::after {
  position: absolute;
  content: '';
  background: transparent;
  z-index: 2;
  width: 10%; height: 25%;
  transition: 0.35s;
}
.see-more-link-3::before {
  top: 0; left: 0;
  border-left: 1px solid rgb(28, 31, 30);
  border-top: 1px solid rgb(28, 31, 30);
}
.see-more-link-3::after {
  bottom: 0; right: 0;
  border-right: 1px solid rgb(28, 31, 30);
  border-bottom: 1px solid rgb(28, 31, 30);
}
.see-more-link-3:hover::before,
.see-more-link-3:hover::after {
  width: 100%;
  height: 100%;
}

/* typ 4 */

a.see-more-link-4 {
  color: var(--link);
  position: relative;
  padding: 1rem 3.5rem 1rem 1.5rem;
  transition: 0.2s all;
  cursor: pointer;
  box-shadow: -12px -9px 0px var(--bg), 0px 0px 0px rgba(255, 255, 255, 0);
}

a.see-more-link-4 span {
  padding: 0;
  margin: 0;
}

a.see-more-link-4::before {
  --fill: var(--link);
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z' fill='var(--fill)'/%3E%3C/svg%3E%0A");
  display: inline-block;
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  right: 24px;
  transition: 0.2s all;
  opacity: 1;
  color: var(--orange);
  background-color: var(--link);
  -webkit-mask: var(--svg);
  mask: var(--svg);
}

a.see-more-link-4::after {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -999;
  content: '';
  background-color: var(--link-bg-hover);
  height: 100%;
  width: 100%;
  transition: 0.3s all;
}

a.see-more-link-4:is(:focus-visible, :hover) {
  box-shadow: 12px 9px 0px var(--bg), 18px 15px 0px var(--orange);
  color: var(--link);
}

a.see-more-link-4:is(:focus-visible, :hover)::before {
  background-color: var(--link);
  position: absolute;
  right: 5px;
  opacity: 1;
}

a.see-more-link-4:is(:focus-visible, :hover)::after {
  width: 50%;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-selected-theme="light"]) a.see-more-link-4:is(:focus-visible, :hover) {
    color: var(--orange);
  }
  :root:not([data-selected-theme="light"]) a.see-more-link-4:is(:focus-visible, :hover)::before {
    background-color: var(--lorange);
  }
}

:root[data-selected-theme="dark"]  a.see-more-link-4:is(:focus-visible, :hover) {
  color: var(--orange);
}

:root[data-selected-theme="dark"] a.see-more-link-4:is(:focus-visible, :hover)::before {
  background-color: var(--orange);
}

a.see-more-link-4:focus {
  outline: none;
  /*color: var(--link);*/
}




/* lista artykulow - standard */

.cat-name {
  margin-bottom: 3rem;
  color: var(--navy);
  font-weight: 700;
}

.cat-name h2::first-letter {
  border-left: .4rem solid var(--navy);
  padding-left: .4rem;
}

.art-prev {
  list-style-type: none;
  font-size: 1.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.art-prev li {
  display: flex;
  position: relative;
  margin-bottom: 1rem;
}

.art-prev li::before {
  content: '\f285';
  font-family: var(--ff-icons);
  color: #d91920;
  margin-right: .75rem;
}

.box {
  position: relative;
  padding: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border: .125rem solid transparent;
}

.\-border-grey {
  border-color: #e2e8f0;
}

.\-border-blue {
  border-color: #006cd7;
}

.\-special {
  
}

.\-special img {
  display: block;
  max-height: 200px;
  margin: 0 auto;
}

.\-shadow {
  box-shadow: 0 8px 6px -6px #d0d0d0;
}

.\-alert {
  padding-left: 5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: .25rem;
}

.\-alert-info {
  border-color: #006cd7;
}

.\-alert-info [role="header"] {
  font-size: 1.5rem;
  position: relative;
  margin-left: -3rem;
  padding-left: 3rem;
}

.\-alert-info [role="header"]::before {
  content: '\f434';
  position:absolute; 
  font-family: var(--ff-icons);
  font-size: 1.2rem;
  left:0; 
  color:#006cd7;
  margin-right: 1rem;
  border: .125rem solid #006cd7;
  border-radius: 50%;
  width: 2.25rem;
  text-align: center;
}

.info > h3 {
  font-size: 1rem;
  position: relative;
  padding-left: 2.5rem;
}

.info > h3::before {
  content: '\f434';
  position:absolute; 
  font-family: var(--ff-icons);
  font-size: 1.2rem;
  top: -.3rem;
  left:0; 
  color:#006cd7;
  margin-right: 1rem;
  border: .125rem solid #006cd7;
  border-radius: 50%;
  width: 1.65rem;
  text-align: center;
}

/* galeria */

.gallery {
  margin-bottom: 3rem;
  margin-top: 3rem;
  padding: 0;
}

.gallery ul {
  --cols: 1;
  --gutter: 2rem;
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter);
}

.gallery li {
  --gutter-count: calc(var(--cols) - 1);
  flex-basis: calc((100% / var(--cols)) - (var(--gutter) / var(--cols)) * var(--gutter-count));
  display: inline-flex;
  margin: 0;
}

@media only screen and (min-width: 600px) {
    .gallery ul {
        --cols:2;
    }
}

@media only screen and (min-width: 889px) {
    .gallery ul {
        --cols:3;
    }
}

.gallery li::before {
  display: none;
}

.gallery figure {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
}

.gallery a {
  position: relative;
  display: block;
  padding: 0.5rem;
}

.gallery a::before, 
.gallery a::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.gallery a::before {  
  background: linear-gradient(to bottom, #efefef 2px, transparent 2px) 0 0, linear-gradient(to right, #efefef 2px, transparent 2px) 0 100%, linear-gradient(to left, #efefef 2px, transparent 2px) 100% 0, linear-gradient(to top, #efefef 2px, transparent 2px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 0;
  transition: background-size 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.gallery a::after {
  background: linear-gradient(to right, var(--orange) 4px, transparent 4px) 0 0, linear-gradient(to bottom, var(--orange) 4px, transparent 4px) 0 0, linear-gradient(to left, var(--orange) 4px, transparent 4px) 100% 0, linear-gradient(to bottom, var(--orange)0 4px, transparent 4px) 100% 0, linear-gradient(to left, var(--orange) 4px, transparent 4px) 100% 100%, linear-gradient(to top, var(--orange) 4px, transparent 4px) 100% 100%, linear-gradient(to right, var(--orange) 4px, transparent 4px) 0 100%, linear-gradient(to top, var(--orange) 4px, transparent 4px) 0 100%;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  opacity: 1;
  transition: background-size 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.gallery a:hover::before {
  background-size: 100% 100%;
}

.gallery a:hover::after {
  background-size: 22px 22px;
}

.gallery a:focus {
  outline: var(--outline) #444;
  outline-offset: var(--outline-pos-offset);

}

.gallery a img {
  transition: all .2s ease-in-out;
}

.gallery a:hover img {
  transform: scale(1.1);
}

/* odtwarzacz wideo - video-js */
.video-container { 
  width: 75%;
  max-width: 640px; 
  margin:2em auto; 
}

.video-container-big { 
  width:100%; 
  max-width:640px; 
  margin:2em auto; 
}

.video-js.vjs-1-5 { 
  width:100%; 
  max-width:100%; 
  height:0; 
  padding-top:20%; 
}

.attachments {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.attachments header {
  margin-bottom: 2rem;
}

.attachments ul {
  list-style: none;
  padding: 0;
}

.attachments li {
  background-repeat: no-repeat !important;
  background-position: left top !important;
  margin-left: 0;
}

.attachments li::before {
  display: none;
}

.attachments :is(a, div) {
  margin-left: 0;
}

@media only screen and (max-width: 624px) {
    header .social li:not(:nth-last-child(-n+2)) {
        display: none;
    }
}

footer .social a:is(:focus, :hover) {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* lista kategorii */

.tag-list {
  list-style-type: none;
}

.tag-list li::before {
  display: none;
}

.tag-list i {
  color: #d1d1d1;
}

footer section {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media(max-width: 768px) {
  footer section {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

footer section header h3 {
    font-weight: 700
} 

footer h4 {
	font-size: 1.1rem;
}

footer .footer-list {
  padding-left: .25em;
}

footer a,
footer .footer-list a {
  color: var(--white);
}

footer :is(a:not(.see-more-link-4), .footer-list a):is(:focus, :hover) {
  color: var(--orange);
}

/* Modal search */

.search {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.search.active {
  display:block;
  opacity: 1;
  pointer-events: auto;
  touch-action: none;
}

.search.active::before,
.search.active::after {
  transform: translate3d(0, 0, 0);
}

.search-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--bg-dark);
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh ;
}

.search-container::before,
.search-container::after {
  content: '';
  position: absolute;
  width: calc(100% + 15px);
  height: calc(100% + 15px);
  pointer-events: none;
  border: 1.5rem solid var(--white);
  transition: transform 0.5s;
}

.search-container::before {
  top: 0;
  left: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  transform: translate3d(-15px, -15px, 0);
}

.search-container::after {
  right: 0;
  bottom: 0;
  border-top-width: 0;
  border-left-width: 0;
  transform: translate3d(15px, 15px, 0);
}

.search-form {
  margin: 5rem 0;
  opacity: 0;
  transform: scale3d(0.8, 0.8, 1);
  transition: opacity 0.5s, transform 0.5s;
}

.search.active .search-form {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

.search-form-row {
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  font-family: inherit;
  font-size: 4rem;
  line-height: 1;
  display: inline-block;
  width: 100%;
  padding: 1rem;
  color: var(--black);
  border: 3px solid transparent;
  background-color: var(--white);
}

.search-input:-ms-input-placeholder,
.search-input::-moz-placeholder,
.search-input::-webkit-input-placeholder,
.search-input::placeholder {
  color: var(--black);
}

.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.search-input::-ms-clear {
  display: none;
}

.search-input:focus {
  outline-offset: -6px;
  outline-width: 2px;
  z-index: 1;
}

/* Buttons */

.search-btn {
  display: block;
  padding-left: 2rem;
  padding-right: 2rem;
  color: var(--black);
  font-size: 3rem;
  text-align: center;
  border: 3px solid transparent;
  background-color: #efefef;
  opacity: 0;
  transform: scale3d(0.8, 0.8, 1);
  transition: opacity 0.5s, transform 0.5s;
  cursor: pointer;
}

.search-btn.\-submit span {
  font-size: 1rem;
  display: block;
  margin-top: 0.5rem;
}

.search-btn.\-close {
  position: absolute;
  top: 3rem;
  right: 3rem;
  padding: 0.5rem;
  line-height: 0;
}

.search-btn:is(:focus, :hover) {

}

.search-btn:focus {
  outline-offset: -6px;
  outline-width: 2px;
}

.search.active .search-btn {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

.search-info {
  font-size: 90%;
  font-weight: bold;
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0.85em 0;
  text-align: right;
  color: var(--white);
}

.search-related {
  display: flex;
  width: 75%;
  pointer-events: none;
}

.search-suggestion {
  width: 33.33%;
  text-align: left;
  opacity: 0;
  transform: translate3d(0, -30px, 0);
  transition: opacity 0.5s, transform 0.5s;
}

.search-suggestion:nth-child(2) {
  margin: 0 3em;
}

.search-suggestion h3 {
  font-size: 1.35em;
  margin: 0;
}

.search-suggestion h3::before {
  content: '\21FE';
  display: inline-block;
  padding: 0 0.5em 0 0;
}

.search-suggestion p {
  font-size: 1.15em;
  line-height: 1.4;
  margin: 0.75em 0 0 0;
}

.search.active .search-suggestion {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.search.active .search-suggestion:nth-child(2) {
  transition-delay: 0.1s;
}

.search.active .search-suggestion:nth-child(3) {
  transition-delay: 0.2s;
}

@media screen and (max-width:40em) {
  .search-form {
    margin: 5em 0 1em;
  }
  .search-btn.\-close {
    font-size: 2rem;
	top: 1rem;
	right: 1rem;
  }
  .search-info {
  }
  .search-suggestion {
    font-size: 80%;
	width: 100%;
  }
  .search-suggestion:is(:nth-child(2), :nth-child(3)) {
	display: none;
  }
}

@media only screen and (max-width: 480px){
  .search-form {
    width: 100%;
  }
  .search-form-row {
	width: 90%;
  }
  .search-form-row * {
	font-size: 1rem;
  }
  .search-btn.\-submit {
	padding: 0 1rem;
	width: auto;
  }
  .search-btn.\-submit span,
  .search-info {
	display: none;
  }
  #header-main h1 {
	padding: 0;
	margin: 0;
  }
  #header-main img {
	width: 100%;
  }
  #header-main nav ul li {
	font-size: 1rem;
  }
  .topnews figcaption {
	position: relative;
	padding: 1rem;
  }
  .search-container::before,
  .search-container::after {
	display: none;
  }
  .topnews .title {
	font-size: 8vw;
  }
}
@media only screen and (max-width: 624px){}
@media only screen and (max-width: 744px){}
	
/* Breadcrumbs */

#sciezka-navi {
  position: relative;
  width: auto;
  display: block;
  text-align: left;
  margin: 2rem 0; 
}

#sciezka-navi ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
}

#sciezka-navi ul li {
  position: relative; 
  float: left;
  padding: 0;
  margin-left: 0; 
}

#sciezka-navi ul li span {
  margin: 0 0.25rem;
}

#sciezka-navi a,
#sciezka-navi a:visited {
  font-weight: 500;
  color: var(--link);
  padding: 0.25rem;
}

#sciezka-navi a:is(active, :focus, :hover) { 
	color: var(--link-hover); 
}

#sciezka-navi span::before { 
	content:"/"; 
	text-decoration:none; 
	text-align:left; 
}

#sciezka-navi ul li:first-child::before { 
	content:"\f425"; 
	position:absolute; 
	font-family: var(--ff-icons); 
	left:0; 
	color:var(--link);  
}

#sciezka-navi ul li:first-child { 
	padding-left: 1.5rem; 
}

.article > header > h2 {
  font-weight: 600; 
  padding-bottom: 2rem;
}

@media (prefers-color-scheme: dark) {
  :not([data-selected-theme="light"]) .article > header > h2 {
    color: #cfccc9;
  } 
}

.article > header > time {
  display: inline-flex;
  align-items: center;
}

.article > header > time > .bi {
  margin-right: .5rem;
}

.article section::after {
  content: '';
  display: table;
  clear: both;
}

.article section h3 {
  padding-bottom: 1rem;
  line-height: 150%;
}

.article table {
  border-collapse: collapse;
  background: var(--white);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.article table * {
  position: relative
}

.article table td,
.article table th {
  padding: .5rem;
  text-align: left;
  vertical-align: middle;
}

.article table thead tr {
  background: var(--navy);
}

.article table thead :is(th, th strong) {
  color: var(--white);
}

.article table tbody tr {
}

.article table tbody tr:last-child {
    border: 0
}

.article tbody tr:nth-child(even) {
    background-color: #f5f5f5
}

.article tbody tr {
}

.article tbody tr:hover {
    color: #555;
    background-color: #f5f5f5;
    cursor: pointer
}

.article li {
  margin-bottom: 1rem;
}

.article li :is(ul, ol) {
  margin-top: 1rem;
}

.article-tags p {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.article-tags p * {
  display: inline-block;
  margin-right: 1rem;
}


/* style pomocnicze */

.hide { position:absolute !important; top:-100em !important; left:-100em !important; width:1px !important; height:1px !important; padding:0 !important; margin:0 !important; text-indent:-1000em !important;}
.mobileShow { display:none !important;}
.left { float:left; overflow:hidden;}
.right { float:right; overflow:hidden; }
.clear { clear:both; }

.align_right {text-align:right;}
.align_left {text-align:left;}
.align_center {text-align:center;}

.pad2 { padding:0.2em; }
.pad5 { padding:0.5em; }
.pad10 { padding:1em; }
.pad20 { padding:2em; }
.margin_y5 { margin-top:0.5em; margin-bottom:0.5em; }
.margin_y10 { margin-top:1em; margin-bottom:1em; }
.margin_y20 { margin-top:2em; margin-bottom:2em; }
.margin_b10 { margin-bottom:1em; }
.margin_b15 { margin-bottom:1.5em; }
.margin_b20 { margin-bottom:2em; }
.margin_t10 { margin-top:1em; }
.margin_t20 { margin-top:2em; }

._center50 { bottom:auto; top:50% !important; right:auto; left:50% !important; transform:var(--center); -ms-transform:var(--center); -webkit-transform:var(--center); }
:is(._left50, ._top50) { transform:var(--vcenter); -ms-transform:var(--vcenter); -webkit-transform:var(--vcenter); }
._left50 { right:auto; left:50% !important;}
._top50 { bottom:auto; top:50% !important; }


/* Forms
   ========================================================================== */

/* formularz */

.forms { 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  /*overflow: hidden;*/ 
  border: 0;
  margin: 2rem 0;
  padding: 0;
  color: var(--color);
}

.forms:has(#wyszukiwarka_cms) {
  margin: 0;
}

.forms .required { 
  font-weight: normal; 
  color: var(--crimson); 
  font-size: 0.9em; 
}

.forms br { 
  clear:both; 
  margin:0; 
  padding:0; 
  overflow:hidden; 
}

.forms img { 
  border:0; 
  vertical-align:middle; 
}

.forms form { 
  width: 100%; 
  height:auto; 
  margin:0 auto; 
  background:transparent; 
  padding:0; 
}

.forms fieldset { 
  position:relative; 
  display:block; 
  z-index:1; 
  height:auto; 
  padding:0; 
  margin:0; 
  border:0; 
  overflow:visible; 
}

.forms legend{ 
  position:relative; 
  margin:0; 
  padding:0.5rem; 
  overflow:hidden; 
  font-size:1.8rem; 
  line-height:120%; 
  text-align:left; 
  border:0; 
  background:transparent;
}

.forms legend.subtitle { 
  position:relative; 
  display:block; 
  top:0; 
  z-index:1;
  width:auto; 
  overflow:hidden; 
  padding:0.8em; 
  text-align:left; 
  font-size:1em;
  font-weight:bold;
}

.forms :is(ins, .ins) { 
  position:relative; 
  display:block; 
  overflow:visible; 
  padding:0.7rem 0; 
  text-align:left; 
  margin:0.5em 0; 
  background:transparent; 
  font-size:1em; 
  text-decoration:none; 
}

.forms .box_error { 
  border: 1px solid var(--crimson); 
}

.forms .submit { 
  padding:1em 0; 
  text-align:center;
}

.forms .title { 
  padding:0.5em; 
  font-weight:normal; 
  font-size:1.6em; 
  line-height:1.1em;
}

.forms .subtitle { 
  font-weight:bold; 
}

.forms .all { 
  padding:0.8em !important; 
}

.forms label,
.forms .label { 
  padding: 0.5rem 0; 
}

.forms label span.error { 
  position: absolute; 
  top: -100em; 
  left: -100em; 
  width: 1px; 
  height: 1px; 
  text-indent: -1000em;
}

.forms div[style] { 
  width: auto !important; 
}

.forms div.form_input { 
  position: relative; 
  padding: 0; 
  width: auto; 
  margin: 0; 
  background: transparent; 
  text-align: left; 
  font-size: 1rem;
}

.forms div.form_input :is(label, .label) { 
  margin-right: 1rem;
  margin-left: 1rem;
}

.forms div.form_input :is(label[for="dataod"], label[for="datado"]) {
  margin: 1rem;
}

.forms div.form_input .left { 
  display: flex; 
  flex-grow: 1; 
  margin: .5rem 0;
}

.forms div.form_text { 
  position: relative; 
  padding: 0.3em 0 0 0; 
  width: auto; 
  margin: 0; 
  text-align: left;
  font-size: 1em; 
  line-height:1em;
}

.forms div.form_text p {
  margin-top: 0;
}

/* ustawienie dwa w rzedzie */
.forms .twoRows { 
  float: left; 
  width: 50%; 
}

.forms .twoRows ins,
.forms .twoRows .ins { 
  padding:0.2em; 
}

.forms .twoRows :is(label, .label) { 
  position: relative; 
  top: auto; 
  left: auto; 
  -webkit-transform: translate(0,0);
  -ms-transform: translate(0,0);
  transform: translate(0,0);
  padding: 0 0.5em 0.5em 0; 
  float: none; 
  width: auto; 
  border: 0; 
  text-align: left; 
}

.forms .twoRows .reset :is(label, .label) {
  display: block; 
  padding: 0 0 0.5em 0; 
  float: none; 
  width: 100%; 
  text-align: left; 
  box-sizing: border-box;
}

.forms .twoRows .reset .left :is(label, .label) { 
  position: relative; 
  top: auto; 
  -webkit-transform: translate(0,0);
  -ms-transform: translate(0,0);
  transform:translate(0,0);
  left: auto; 
  display: inline; 
  vertical-align: middle; 
  padding: 0 0.5em 0 0; 
  float: none; 
  width: auto; 
  border: 0; 
  text-align: left;
}

.forms .twoRows .form_input { 
  position: relative; 
  display: inline; 
  float: none; 
  padding: 0; 
  width: auto; 
  margin: 0; 
  text-align: left; 
  font-size:0.9em;
}

.forms .twoRows .reset .form_input {
  float: none; 
  width: 100%; 
}

.forms .twoRows :is(select, input[type=text], input[type=file], input[type=password]) { 
  width: 90%; 
}

.forms .twoRows input[type=text].data {
  width: 50%;
}

.forms .twoRows input.data { 
  width: 50%; 
  font-size: 0.9em; 
  padding: 0.6em 0; 
}

.forms ins img {
  width: auto !important; 
  height: auto !important;
}

/* wyszukiwarka dzialowa */
.forms.page { 
  text-align: left; 
  margin: 0 0 1rem;
}

.forms.page form { 
  width: 30%; 
  margin: 0; 
}

.forms.page form fieldset { 
  border: 1px solid #b5bec4; 
  background-color: var(--white); 
}

.forms.page form .szukaj-dzial { 
  position: absolute; 
  top: 8px !important; 
  width: 190px; 
  overflow: hidden; 
  color: #b3b3b3; 
  font-size: 0.9em; 
  font-weight: normal; 
  text-align: left; 
}

.forms.page input[type=text] { 
  width: 85%; 
  border: 0;
}

.forms.page :is(input[type=submit], button) { 
  position: absolute; 
  top: 0; 
  right: 0;
  display: block; 
  width: 30px; 
  height: 30px; 
  padding: 0; 
  margin: 0; 
  border: 0; 
  overflow: hidden; 
  text-indent: -100em; 
  cursor: pointer; 
  background: transparent; 
  color: #fcc133; 
}

.forms.page :is(input[type=submit], button)::before { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  text-indent: 0; 
  font-size: 1.2em; 
  line-height: 1.3em; 
  font-family: var(--ff-icons); 
  content: "\f282"; 
  color:var(--navy); 
}

.forms.page :is(input[type=submit], button):is(:focus, :hover) { 
  color:  var(--black); 
}

.forms.archiwum .lupa::after  { 
  position: absolute; 
  top: 50%; 
  right: 3%;
  -webkit-transform: translate(0,-50%);
  -ms-transform: translate(0,-50%);
  transform: translate(0,-50%); 
  text-indent: 0; 
  font-size: 1.2em; 
  line-height: 1.3em; 
  font-family: var(--ff-icons); 
  content: "\f286"; 
  color:var(--navy);
}

/* czyszczenie pola w wyszukiwarce */
.usun { 
  position: relative; 
  display: inline-block; 
  vertical-align: middle;
  width: 28px; 
  height: 28px; 
  margin: 0.03em 0 0 0.5em; 
}

.usun :is(a, a:visited) { 
  position:relative; 
  display:block; 
  height:100%; 
  text-decoration:none; 
  color: var(--white); 
  background-color: var(--navy); 
  transition-duration:0.6s; 
}

.usun a::before { 
  font-family: var(--ff-icons); 
  content:"\f659"; 
  font-size:1.4em; 
  line-height:1em; 
  position:absolute; 
  top:50%; 
  transform: translate(0, -50%); 
  left:0; width:100%; 
  text-align:center; 
}

.usun a:is(:focus, :hover) { 
  background:#757575; 
  transition-duration:0.6s;
}

.usun a.active::before { 
  content:"\e10f"; 
}

/* wstaw date */
a.dateInsert { 
  position: relative; 
  display: inline-block; 
  vertical-align: middle; 
  margin: 0 0.5rem; 
  width: 2.2rem; 
}

a.dateInsert,
a.dateInsert:visited { 
  text-decoration: none; 
  transition-duration:0.6s;
}

a.dateInsert::before { 
  display: inline-block; 
  content: "\f1fa"; 
  font-family: var(--ff-icons); 
  font-size: 1.6rem; 
  line-height: 1rem; 
  text-align: center; 
  position: absolute; 
  left:0; 
  top: 50%;
  -webkit-transform:translate(0, -50%);
  -ms-transform:translate(0, -50%);
  transform:translate(0, -50%);
  width: 2rem; 
}

a.dateInsert:is(:focus, :hover) { 
  color: #777; 
  transition-duration: 0.6s; 
}

/* opcje sortowania */
.sort { 
  position: relative; 
  display: inline-block; 
  vertical-align: middle; 
  z-index: 2; 
  margin: 0 0.1em; 
  white-space: nowrap; 
  transition-duration: 0.6s; 
}

a.sort-up, a.sort-up:visited,
a.sort-down, a.sort-down:visited { 
  position: relative; 
  display: inline-block; 
  text-decoration: none; 
  line-height: 0.5em; 
  margin-right: -7px; 
  color: var(--white); 
  transition-duration: 0.6s; 
}

:is(a.sort-up, a.sort-down):is(:focus, :hover),
:is(a.sort-up, a.sort-down):hover::before { 
  color: var(--black); 
  text-decoration: none !important; 
  transition-duration: 0.6s; 
}

a:is(.sort-up, .sort-down)::before { 
  font-family: var(--ff-icons); 
  content: "\f281";
  font-size: 0.8em; 
  line-height: 0.9em;
  position: relative; 
  text-align: center; 
  text-decoration: none; 
}

a.sort-down::before {
  content:"\f27e";
}
 
 /* filtr - szybkie usuwanie nad wynikami */
.filter { 
  position:relative; 
  display:block; 
  margin:1em 0.1em; 
}

.filter h3 { 
  position:relative; 
  display:inline-block; 
  margin:0 0.2em 0 0; 
  font-size:1em; 
  line-height:1em; 
  color: var(--black); 
}

.filter :is(a, a:visited) { 
  position:relative; 
  display:inline-block; 
  border:1px solid #ededed; 
  padding:0.3em 0.5em; 
  margin:0.1em 0.2em; 
  text-decoration:none; 
  font-size:1em; 
  line-height:1em; 
  color: var(--black); 
}

.filter a:is(:focus, :hover) { 
  background:var(--navy); 
  color:#fff; 
  transition-duration:0.6s; 
}

.filter a::before { 
  font-family: var(--ff-icons); 
  content: "\f292"; 
  font-size: 1rem; 
  line-height:0.9em; 
  color:var(--navy); 
  position:relative; 
  text-align: center; 
  float: right; 
  vertical-align:middle; 
  margin:0 0 0 0.3em;
}

.filter a:is(:focus, :hover)::before { 
  color: var(--white); 
  transition-duration: 0.6s; 
}

/* pola formularza */ 
.forms :is(input[type=text], input[type=file], input[type=password], select, textarea) { 
  font-size: 1rem; 
  font-weight: normal; 
  color: var(--color); 
  text-align: left; 
  border: 1px solid var(--color); 
  width: 100%; 
  margin: 0; 
  padding: 0.5em; 
  box-sizing: border-box; 
  background: var(--bg);
}

.forms select { 
  padding: 0.5em 3em 0.5em 1em; 
}

.forms .select { 
  position: relative; 
  display: inline-block; 
}

.forms .select::after { 
  content: '\f282'; 
  font-family: var(--ff-icons); 
  color: var(--color); 
  background: transparent; 
  position: absolute; 
  right: 0.5rem; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  pointer-events: none; 
}

.forms .select select { 
  position:relative; 
  width:100%; 
  padding:.5rem 2.5rem .5rem 1rem; 
  -webkit-appearance:none; 
  -moz-appearance:none; 
  appearance: none;
}


.forms .select select::-ms-expand {
  display: none; 
}

.forms .select select[multiple] {
  z-index:2;
}

.forms input[type=text].number {
  width:20%;
}

.forms input[type=text].data {
  width:40%;
  margin: 1rem 0;
}


.forms input[type=password] {
  /*
  width: 50%;
  border:1px dotted var(--color);
  */
}

.forms input[readonly="readonly"] {
  opacity: 0.9;
}

.forms :is(input[type=radio], input[type=checkbox]) {
  border: 0;
  margin: 0.4em 0.5em 0.4em 1em;
  background: transparent;
}

.forms textarea {
  padding: 0.1em;
  overflow-y: auto;
  overflow-x: hidden;
  width: 90%;
}

.forms :is(input[type=submit], input[type=button], button) { 
  font-size: 1rem;
  color: var(--color);
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
  width: auto;
  height: auto;
  margin: 0.2em;
  padding: 0.5em 1.2em;
  border: 1px solid var(--color);
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
}

.forms button.szukaj::after {
  color: var(--color); 
  font-size: 1em;
  line-height: 0.8em;
  display: inline-block;
  padding: 0 0 0 0.2em;
  margin-top: -0.3em;
  vertical-align: middle;
  text-align: center;
}

.forms :is(input[type=submit], input[type=button], button).usunFiltr {
  /*
  color: var(--color-white); 
  background: #818181;
  */
}

:is(input[type=submit], input[type=button], button):is(:focus, :hover) {
  /*
  background: var(--navy);
  color: var(--white);
  transition-duration: 0.6s;
  */
}

.forms input[type=image] {
  border: 0;
}

.forms :is(input, textarea):disabled {
  opacity: 0.3;
}

.forms :is(input, select, textarea):focus {
  outline: none;
}

.forms :is(input, select, textarea):focus-visible {
  outline: 1px dotted var(--color);
  outline-offset: -5px;
}

#_date_publication + ._d-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#_date_publication + ._d-flex > div {
  width: clamp(250px, 40%, 100%) !important;
}

#_date_publication + ._d-flex div.date {
  display: flex;
  flex-wrap: nowrap;
}

#_date_publication + ._d-flex div.date input {
  width: auto;
  margin: 0;
}

/* pretty checkbox */
:is(.checkbox, [id^="szukajw"]) {
  position: relative;
  margin: 0 0 1em;
}

.checkbox.radio label::after,
.checkbox.radio label::before {
  border-radius: 25px;
}

:is(.checkbox, [id^="szukajw"]) :is(input[type=checkbox], input[type=radio]) {
  position: absolute;
  left: -1000em;
}

:is(.checkbox, [id^="szukajw"]):focus-within {
  outline: 1px dotted var(--color);
  outline-offset: 3px;
}

:is(.checkbox, [id^="szukajw"]) label {
  display: flex;
  flex-direction: row;
  line-height: 1.5rem;
  padding-left: 3rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

:is(.checkbox, [id^="szukajw"]) label::after,
:is(.checkbox, [id^="szukajw"]) label::before {
  display: inline-block;
  font-family: var(--ff-icons);
  font-size: 2rem;
  line-height: 1.5rem;
  cursor: pointer;
  position: absolute;
  left: 0;
  padding-right: 1rem;
}

:is(.checkbox, [id^="szukajw"]) label::after {
  content: "\f584";
}

:is(.checkbox, [id^="szukajw"]) label::before {
  content: "\f26d";
  display: none;
}

:is(.checkbox, [id^="szukajw"]) :is(input[type=checkbox], input[type=radio]) {
  margin: 0;
}

:is(.checkbox, [id^="szukajw"]) :is(input[type=checkbox], input[type=radio]):checked + label:after {
  display: none;
}

:is(.checkbox, [id^="szukajw"]) input[type=checkbox]:checked + label::before {
  display: block;
}

:is(.checkbox, [id^="szukajw"]) input[type=radio]:checked + label::before {
  display: block;
  background-color: var(--color);
  color: var(--color-alt);
  border:1px solid var(--color); 
}

:is(.checkbox, [id^="szukajw"]) :is(input[type=checkbox], input[type=radio]):focus + label {
  text-decoration: underline; 
}

:is(.checkbox, [id^="szukajw"]) :is(input[type=radio]:focus, input[type=radio]:checked) + label::before {
  border-radius: 25px;
}

#_search_area + div {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: .5rem;
}

:is(#_search_area + div) [id^="szukajw"] {
  display: block !important;
  margin: 0;
}

/*button do wyszukiwarki zastepujace checkbox */
a[class*="checkbox-button-"] {
  display: none !important;
}

label[for="szukajwyniki"]::after {
  content: "\f5d7"; /* toggle2-off */
}

label[for="szukajwyniki"]::before {
  content: "\f5d8"; /* ttoggle2-on */
}

/* categories to search */
.searchList { 
  list-style: none;
  padding-left: 0;
}

.searchList li { 
  margin-left: 0;
}

.searchList li .checkbox {
  margin: 0;
}

/* expand advanced search */
#searchExpandBtn {
  text-align: left;
  padding: 0.1rem 0.1rem 1rem 0;
  clear:both; 
}

#searchExpandBtn :is(a, a:visited) {
  display: inline-block;
  font-size: 1rem;
  padding: 0.5rem 0;
  text-decoration: none;
}

#searchExpandBtn a:focus {
  outline: none;
}

#searchExpandBtn a:focus-visible {
  outline: 1px dotted var(--color);
  oytline-offset: 3px;
}

#searchExpandBtn a:hover {
  text-decoration: underline;
}

#searchExpandBtn a::before {
  content: '\f126'; /* arrow-down-square */
  font-family: var(--ff-icons); 
  font-size: 2rem; 
  line-height: 1.5rem; 
  display: inline-block; 
  padding-right: 1rem;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

#searchExpandBtn.active a::before {
  content:"\f147";  /* arrow-up-square */
  transition-duration: 1.5s; 
  text-decoration: none; 
}

.searchExpand ._row {
  width: 100%;
  margin: 0;
}

.searchExpand ._row ._col-4 {
  flex: auto;
}


/* sort search results */
._mb-2:has(#filtr_cms) {
  margin-top: 0;
}

#filtr_cms {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
  padding: 0 1em;
}

#filtr_cms ._row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 1rem;
  margin: 0;
  width: 100%;
}

#filtr_cms ._row > div {
  flex: none;
  padding: 0;
}

#filtr_cms ._row > div:last-child {
  flex-basis: 100%;
  margin-left: auto;
  margin-right: auto;
}

#filtr_cms :is(ins, .ins) {
  padding: 0.5rem 0;
}

@media (min-width: 540px) {
  #filtr_cms ._row > div:last-child {
    flex-basis: auto;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (prefers-color-scheme: dark) {
  .forms :is(legend, label, .label) {
    color: var(--color-strong);
  }
}

/* search results */
.searchResults {}

.searchResults ol {
  list-style: none;
  margin-top: 2rem;
  padding-left: 0;
}

.searchResults ol li {
  margin-left: 0;
  margin-bottom: 3rem;
  padding: 1em;
  border: 1px solid var(--color-light-grey);
}

.searchResults ol li > div:not(.container) {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: .5rem;
}

.searchResults :is(time, .category) {
  display: inline-flex;
  gap: .5em;
}

.searchResults time {
  width: 100%;
  align-items: center;
  padding: 0;
}

.searchResults .category {
  display: inline-flex;
  flex-wrap: nowrap;
}

.searchResults :is(time, .category)::before {
  display: inline-block;
  font-family: var(--ff-icons);
}

.searchResults time::before {
  content: "\f1fa"; /* calendar2-date */
}

.searchResults .category::before {
  content: '\f3d7'; /* folder */
}

.searchResults .container {
    position: relative;
    display: flex;
    gap: var(--gap);
}

.searchResults .type {
    position: relative;
    width: 30px;
    flex-shrink: 0;
    padding: 1rem 0 0 0;
    overflow: hidden;
}

.searchResults .type img {
    width: 30px;
}

.searchResults .content {
    position: relative;
    padding: 0;
}

.searchResults a h3:empty {
  display: none;
}

.searchResults .imgwraper {
    position: relative;
    width: 20%;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: var(--border-radius);
}


/*oznaczenie szukanej frazy */
.wyniki { padding:0.1em;border:1px #e8e8e8 solid; background-color:#e8e8e8; }

/*dialog alert */
.alerts {
  --padding: 2rem;
  --gap: 1rem;
  --border-radius: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--padding);
  margin: var(--gap) auto;
  text-align: left;
  font-size: 1.4em;
  line-height: 1.1em;
  color: var(--color);
  border: 1px solid var(--color-grey);
  border-radius: var(--border-radius);
}

.alerts._warn { color:var(--color-text); background-color:var(--color-yellow); border:1px solid var(--color-yellow); border:0; }
.alerts._alert { color:var(--color-white); background-color:var(--color-red); border:1px solid var(--color-red); border:0; }
.alerts._ok { color:var(--color-white); background-color:var(--color-green); border:1px solid var(--color-green); border:0; }
.alerts i.element { position:relative; display:flex; justify-content:center; align-items:center; aspect-ratio:1; padding:10px; text-align:center; font-style:normal; border:1px solid var(--color-light-grey); }
.alerts i.element:before { content:"\26A0"; font-size:3rem; }
.alerts div.content { padding:1em; font-size:1em; line-height:1em; font-weight:normal; text-align:left; }

/* Panel */
div:has(> #newuser) {
  display: none;
}

#olduser {
    width: 100%;
  }

@media (min-width: 889px) {
  #olduser {
    width: 50%;
    margin: 0 auto;
  }
}

/* MENU PODZIAL STRON W DZIALE */
#meni_strony { 
  margin: 2rem 0;
}

#meni_strony ul { 
  display: flex;
  flex-direction: row;
  gap: .25rem;
  list-style: none;
}

#meni_strony ul li {
  padding: 0;
  text-transform:lowercase;
  align-self: center;
}

#meni_strony ul li:not(.selectbox) {
  width: 48px;
  height: 48px;
}

#meni_strony ul li:not(.selectbox).noActive {
  /*display: inline-flex;
  justify-content: center;
  align-items: center;*/
}

#meni_strony ul li.noActive {
  display: none;
  padding: 1rem;
  color: var(--color);
  opacity: .3;
  font-weight: 700;
  cursor: not-allowed;
}

#meni_strony ul li.selectbox { 
  white-space:nowrap;
}

#meni_strony ul li.selectbox .forms { 
  margin: 0; 
  flex-direction: row; 
}

#meni_strony ul li.selectbox .forms  select { 
  width:auto; 
  padding:0.75rem 2rem 0.75rem 0.5rem; 
  border-radius:5px; 
}

#meni_strony ul li.selectbox .iloscStron { 
  align-self: center; 
  padding-left: 0.5rem; 
}

#meni_strony :is(a, a:visited) {
  display: block;
  background-color: var(--white);
  border: dotted 1px transparent;
  padding: 1rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 700; 
  text-transform: lowercase; 
  -webkit-transition: all 0.4s ease-in;
  -moz-transition: all 0.4s ease-in;
  -o-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in; 
}

#meni_strony ul li:not(.selectbox) a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#meni_strony a:is(:active, :focus, :hover, .check) { 
  color: var(--crimson);
  border-color: var(--black);
  transition: all 0.2s ease-in;
}

#meni_strony span { 
  position: absolute; 
  top: -100em; 
  left: -100em; 
  width: 1px; 
  height: 1px; 
  text-indent: -1000em; 
}

#meni_strony i {
  font-style: normal;
}

.numeracja #meni_strony { 
  background: #f6f7f9; 
  padding: 1em; 
  margin: 0 0 2em 0;
}

.numeracja #meni_strony ul li { 
  margin: 0; 
  display: inline-block;
}

.numeracja #meni_strony :is(a, a:visited) { 
  background: var(--white); 
  border: 0; 
  color: var(--black); 
  padding: 0.3em 0.38em; 
  font-size: 0.9em; 
  text-decoration: underline; 
  font-weight: normal; 
  overflow: hidden;  
}

.numeracja #meni_strony a:is(:active, :focus, :hover, .check) {
  color: #fdb813; 
  text-decoration: none; 
  transition: all 0.2s ease-in;
}

.selectPagination #meni_strony,
.selectPagination #meni_strony ul li.selectbox  {
  margin: 0;
}

.selectPagination #meni_strony ul li:first-child {
  float: left;
  text-align: left;
}

.selectPagination #meni_strony ul li:first-child a:before,
.selectPagination #meni_strony ul li:last-child a:after {
}

.selectPagination #meni_strony ul li:last-child {
  float: right;
  text-align: right;
}

.selectPagination #meni_strony ul li:last-child a::after {
  content: "\e101";
}

.selectPagination #meni_strony ul li:first-child a:hover::before,
#meni_strony ul li:first-child a:focus::before,
.selectPagination #meni_strony ul li:last-child a:hover::after,
#meni_strony ul li:last-child a:focus::after {
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.2s ease-in;
}

/* MENU PODZIALU TEKSTU */
#meni_tekstu { padding:0; margin:1em 0 0; }
#meni_tekstu ul { padding:0; margin:0px; text-align:left; list-style-type:none; list-style-image:none; width:auto;}
#meni_tekstu ul li { margin:0; margin-right:0.2em; padding:0; float:left; display:block; display:inline; list-style:none; position:relative; }
#meni_tekstu ul li span { display:block; color:#000; font-size:0.9em; line-height:1em; padding:0.6em 0.6em; background:#fff; border-bottom:3px solid #375a81; }
#meni_tekstu ul li :is(a, a:visited) { display:block; color:#000; font-size:0.9em; line-height:1em; padding:0.6em 0.6em; font-weight:normal; text-decoration:none; white-space:nowrap; border-bottom:3px solid #fff; background:#fff; }
#meni_tekstu ul li a:is(:active, :focus, :hover, .check) { background:#fff; border-bottom:3px solid #375a81; color:#000; text-decoration:none;}

.menuTekst { position:relative; padding:1em 0; margin:0; z-index:1; border:0; min-height:50px; }
.menuTekst ul { position:relative; padding:0; margin:0; list-style-type:none; list-style-image:none; width:auto;}
.menuTekst ul li { position:relative; display:block; margin:0; margin-bottom:0.5em; padding:0; border:0; text-align:left;list-style:none; }
.menuTekst a { display:block; margin:0; padding:1em 0.5em; border:1px solid #ededed; font-family:'opensansBold',sans-serif; color:#000; font-size:1.1em; line-height:1.1em; text-decoration:none; text-transform:uppercase; border-radius:5px; transition-duration:1s;}
.menuTekst a:hover,.menuTekst a:focus,.menuTekst a.check { background:#375a81; text-decoration:underline; transition-duration:0.7s; }
.menuTekst a:hover:before,.menuTekst a:focus:before,.menuTekst a.check:before { color:#fff; transition-duration:1.5s; }
.menuTekst a span { position:relative; display:inline-block; padding:0 0 0 2em; }
.menuTekst a:before { position:absolute; float:left;display:block; margin:0; padding:0 0.2em; width:50px; border:0; font-family:bor; content:"\e106"; color:#375a81; font-size:1.2em; line-height:1em; vertical-align:middle; text-decoration:none;}


/*===============================================*/
/* MODULY */
/*===============================================*/

/*ARCHIWUM*/
#archiwum {
  width: 99%;
}

#archiwum h2 { 
  position: relative; 
  text-align: left; 
  font-weight: bold; 
  text-decoration: none; 
  text-transform: uppercase; 
  font-size: 1.3em;
  line-height: 1.5em; 
  padding: 1em 0 0.5em 0; 
}

#archiwum :is(ul, ul ul) {
  padding: 0;
  text-align: left; 
  list-style: none; 
  margin: 1em 0 0 0;
}

#archiwum ul { 
  margin-left: 2em; 
}

#archiwum ul li { 
  margin: 0; 
  margin-right: 1em; 
  border: 0; 
  padding: 0 0 0 1em; 
  float: left; 
  width: 45%; 
  display: block !important; 
  display: inline; 
  list-style: none; 
  position: relative;
}

#archiwum ul ul { 
  width:auto; 
}

#archiwum ul ul li { 
  padding: 0.5em 0.5em 0.5em 1.2em; 
  margin: 0; 
  overflow: hidden; 
  width: 99%; 
  float: none; 
  position: relative; 
  border-bottom: 1px solid #dcdcdc; 
  background: url("/dokumenty/szablonyimg/1-arrow.png") no-repeat left center;
} 

#archiwum ul ul li :is(a, a:visited) { 
  font-size: 1em; 
  font-weight: normal; 
  text-decoration: none; 
  padding: 0; 
}

#archiwum ul ul li a:is(:hover, :active) { 
  text-decoration:none; 
}

/*MAPA SERWISU*/
#sitemap {
}

#sitemap ul { 
	margin: 1rem 0 0 1rem; 
}

#sitemap ul li { 
	float: none; 
	width: auto; 
	display: block; 
	position: relative; 
}

#sitemap ul li :is(a, a:visited) { 
	font-size: 1.3rem; 
	padding: 0 0 0.3rem 0; 
	display: inline-block; 
	font-weight: bold; 
	text-decoration: none; 
}

#sitemap ul li a:is(:hover, :active) { 
	text-decoration: none; 
}

#sitemap ul ul { 
	padding: 0; 
	margin: 1rem 0 1rem 1rem;
}

#sitemap ul ul li :is(a, a:visited) { 
	font-size: 1.1rem; 
	font-weight: normal; 
	text-decoration: none; 
}

#sitemap ul ul ul li :is(a, a:visited) { 
	font-size: 1rem;  
}

#sitemap ul ul ul ul li :is(a, a:visited) { 
	font-size: 1em; 
	font-weight: normal; 
	text-decoration: none; 
	border: 0; 
}

/* opcje rozwijania */
#sitemap a.rozwin,
#sitemap a.rozwin:visited { 
	position: relative; 
	display: inline-block; 
	margin: 0 0.2rem; 
	vertical-align: middle; 
	text-decoration: none; 
	line-height: 0.5rem; 
	color: #375a81; 
	transition-duration: 0.6s; 
}

#sitemap a.rozwin:is(:focus, :hover) { 
	color:#34343e; 
	transition-duration:0.6s; 
}

#sitemap a.rozwin::before { 
	font-family: var(--ff-icons); 
	content: "\f4fd";
	line-height: 0.5rem; 
	position: relative;
	text-align: center; 
}

#sitemap a.rozwin:focus::before{
	color: #d91920;
}

#sitemap ul li.expand a.rozwin::before {
	content:"\f2e9";
}

#sitemap ul li.expand li a.rozwin::before {
	content:"\f4fd";
}

#sitemap ul li.expand li.expand a.rozwin::before {
	content:"\f2e9";
}

#sitemap ul.hide {
	display: none;
}

/*===============================================*/
/* OKNA POPUP */
/*===============================================*/

/*okno zwykle*/
.okno_tlo { background:#fff; padding:2em; min-width:300px }

/*okno drukuj*/
body.okno_tlo_print { background:#fff; }
#printer {
  padding: 0.6em;
  width: 97%
}

#printer * {
  color: var(--color-text);
}

#printer :is(#text-size, #drukuj, #meni_strony, #meniTab, .noprint, .opcje-strony, .prev, .next, .zdjecia-previous, .zdjecia-next, .wyszukiwarka, .sort, .filter, .meniTab, .download, .graf) {
  display: none;
}
#printer #table-listing table tr td {
  font-size: 0.9em;
}

#printer .img img {
  width: 100%;
  height: auto;
}

#printer #metryka { height:110px; }

#printer .zdjecia ul li {
  float: left;
  display: block
}

#printer .zdjecia-tumb {
  width: 100%;
  height: auto;
  padding: 0;
}

#printer .zdjecia-tumb-overlay {
  margin: 1em auto;
}

#printer .zdjecia-tumb-wraper {
  position: relative;
  width: auto;
}

#printer .forms :is(ins, .ins) {
  position: relative;
  display: block;
  height: auto;
  padding: 0;
  margin: 10px 0 10px 0;
}

#printer .forms .label {
  position: relative;
  top: auto;
  left: auto;
  padding: 0;
  width: auto;
  border: 0;
  text-align: left;
  font-size: 1.3em;
  font-weight: normal;
}

#printer .forms div.form_text {
  position: relative;
  padding: 0 0 10px 0;
  color: #565656;
  font-size: 1em;
}

#printer :is(.rekordy, .obiekt.right) {
  width: 100%;
}


/* Lista artykulow */

@media screen and (max-width: 599.98px) {
  .category .article-list li {
    padding: 0;
  }
}

/* accordion */

.accordion {
	margin: 2rem 0;
	overflow: hidden;
	width: 100%;
}

.accordion dt {
	margin: 0;
	padding: 0;
}

.accordion dt:not(:last-of-type) {
    border-bottom: 1px solid #EFF1F0;
}

.accordion-trigger {
	align-content: space-between;
	-webkit-box-align: center;
	align-items: center;
	background-color: #fff;
	border: 0;
	border-radius: 0px;
	color: var(--navy);
	display: -webkit-box;
	display: flex;
	font-size: 1.25rem;
	line-height: 1;
	padding: 20px;
	text-align: left;
	-webkit-transition: all ease-in-out 0.2s;
			transition: all ease-in-out 0.2s;
	width: 100%;
}

.accordion-trigger[aria-expanded=true] .accordion-icon::before {
	-webkit-transform: rotate(45deg) translate3d(13px, 14px, 0);
			transform: rotate(45deg) translate3d(13px, 14px, 0);
}

.accordion-trigger[aria-expanded=true] .accordion-icon::after {
	-webkit-transform: rotate(-45deg) translate3d(-13px, 14px, 0);
			transform: rotate(-45deg) translate3d(-13px, 14px, 0);
}

.accordion-trigger:is(:focus, :hover) {
	background-color: var(--navy);
	color: #fff;
	cursor: pointer;
	outline: none;
}

.accordion-trigger:is(:focus, :hover) .accordion-title {
  color: #fff;
}

.accordion-trigger:is(:focus, :hover) .accordion-icon::after, 
.accordion-trigger:is(:focus, :hover).accordion-icon::before {
  background-color: #fff;
}

.accordion-trigger::-moz-focus-inner {
  border: none;
}

.accordion-title {
  font-size: 1.2rem;
  -webkit-transition: ease-in-out 0.3s;
  transition: ease-in-out 0.3s;
}

.accordion-icon {
  display: block;
  height: 40px;
  margin-left: auto;
  position: relative;
  -webkit-transition: all ease-in-out 0.2s;
  transition: all ease-in-out 0.2s;
  width: 40px;
}

.accordion-icon::after, 
.accordion-icon::before {
  background-color: #333;
  content: "";
  height: 3px;
  position: absolute;
  top: 10px;
  -webkit-transition: all ease-in-out 0.1333333333s;
  transition: all ease-in-out 0.1333333333s;
  width: 30px;
}

.accordion-icon::before {
  left: 1px;
  -webkit-transform: rotate(45deg) translate3d(8px, 22px, 0);
          transform: rotate(45deg) translate3d(8px, 22px, 0);
  -webkit-transform-origin: 100%;
          transform-origin: 100%;
}

.accordion-icon::after {
  -webkit-transform: rotate(-45deg) translate3d(-8px, 22px, 0);
          transform: rotate(-45deg) translate3d(-8px, 22px, 0);
  right: 1px;
  -webkit-transform-origin: 0;
          transform-origin: 0;
}

.accordion-panel {
  background-color: #fafafa;
  position: relative;
  padding: 1rem;
}

.accordion-panel::after {
  background-color: #EFF1F0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

.accordion-panel-inner {
  padding: 20px 20px 40px;
}

@media screen and (max-width: 767.98px) {
  .accordion-icon {
    display: none;
    padding: 20px;
  }
}

/* box */

.article-list-box footer {
  background: transparent;
}

.article-list-box ul {
  list-style: none;
  padding-left: 0;
}

.article-list-box ul li {
  border: none;
  margin: 0;
  padding: 1rem;
}

.article-list-box .box {
  position: relative;
  height: auto;
  padding: 0;
  background: rgba(255,255,255,0.0);
}

.box .content {
  position: relative;  
  padding: 5rem 1rem 1rem 1rem;
  background: var(--white);
  color: var(--navy);
  width: 100%;
  aspect-ratio: 1;
  display: inline-flex;
  flex-wrap: wrap;
}

.box::before {
  --b: 8px;  /* border thickness*/
  --s: 60px; /* size of the corner*/
  --g: 14px; /* the gap*/
  --c: var(--orange); 
  content: '';
  position: absolute;
  top: calc(var(--b) * -1);
  left: calc(var(--b) * -1);
  bottom: calc(var(--b) * -1);
  right: calc(var(--b) * -1);
  /*background: var(--white);*/
  padding: calc(var(--b) + var(--g));
  background-image:
    conic-gradient(from  90deg at top    var(--b) left  var(--b),#0000 25%,var(--c) 0),
    conic-gradient(from -90deg at bottom var(--b) right var(--b),#0000 25%,var(--c) 0);
  background-position:
    var(--_p,0%) var(--_p,0%),
    calc(100% - var(--_p,0%)) calc(100% - var(--_p,0%));
  background-size: var(--s) var(--s);
  background-repeat: no-repeat;
  cursor: pointer;
  transition: 
    background-position .3s var(--_i,.3s), 
    background-size .3s calc(.3s - var(--_i,.3s));
}

.box .tape,
.box .tape::after {
  position: absolute;
  top: 0;
  left: 0;
}

.box .tape {
  overflow: hidden;    
  width: 100%;
  height: 100%;
  background: rgba(255,255,0,0.0);   
}

.box .tape::after {
  content: ''; 
  height: 100%;
  width: 0;
  margin-left: 50%;
  background: rgba(255,255,255,0.03);
  background: rgba(0,0,0,0.1);
  pointer-events: none;  
  transform: skew(41deg);
  overflow: hidden;
  transition: 0.25s;
}

.box:hover .tape::after{
  width:100%;
  margin-left:0%;
  transform:skew(0deg);
 
}

.box span {
  display: block;
  position: absolute;
  top: -10px;
  right: 20px;
  margin: 0;
  padding: 0;
  font-size: 10em;
  color: rgba(0,0,0,0.05);
  transition: 0.25s;
}

.box:hover span { 
  top: -30px;  
  color: rgba(0,0,0,0.15);
}

.box h3 { 
  margin: 0 0 10px;
  padding: 0;
  font-weight: bold;
}

.box p { 
  margin: 0;
  padding: 0;
  color: var(--navy);
}

.box a { 
  position: relative;
  margin: 20px 0 0 0;
  padding: 10px 20px;
  text-decoration: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  display: inline-block;
  align-self: flex-end;
}

.box a:hover { 
  background: rgba(255,255,255,0.95);  
  color: #222;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-selected-theme="light"]) .box .content {
    background-color: transparent;
  }
  :root:not([data-selected-theme="light"]) .box span {
    color: rgba(255, 190, 0, .15);
  }
  :root:not([data-selected-theme="light"]) .box:hover span {
    color: rgba(255, 190, 0, .35);
  }
  :root:not([data-selected-theme="light"]) .box :is(h3, p, a) {
    color: #cfccc9;
  }
  :root:not([data-selected-theme="light"]) .box a {
    border-color: var(--orange);
  }
  :root:not([data-selected-theme="light"]) .box a:hover {
    background-color: var(--orange);
    color: #222;
  }
}

[data-selected-theme="dark"] .box .content {
  background-color: transparent;
}

[data-selected-theme="dark"] .box span {
  color: rgba(255, 190, 0, .15);
}

[data-selected-theme="dark"] .box:hover span {
  color: rgba(255, 190, 0, .35);
}

[data-selected-theme="dark"] .box :is(h3, p, a) {
  color: #cfccc9;
}

[data-selected-theme="dark"] .box a {
  border-color: var(--orange);
}

[data-selected-theme="dark"] .box a:hover {
  background-color: var(--orange);
  color: #222;
}

/* prosta lista */

.category-list li {
  padding: 1rem;
  margin: 1rem 0;
}

.category-list li::before {
  display: none;
}

.category-list figure {
  border: 1px solid var(--navy);
  text-align: center;
  padding: 0;
  margin: 1rem;
  overflow: hidden;
}

.category-list a {
  display: block;
  padding: 2rem 0;
}

.category-list a:hover {
  background: var(--navy);
}

.category-list a:hover :is(i, figcaption) {
  color: #fff;
}

.category-list i {
  font-size: 5rem;
  color: #d0d0d0;
}

.category-list figcaption {
  font-size: 2rem;
}


aside li::before {
	color: #000;
}

.box_spec1 .forms {
}

.box_spec1 fieldset {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 2rem 0;
	border: 1px solid #f1f1f1;
}

.vlaCalendarPicker .pickerBackground {
  width:initial !important; 
  height:initial !important;
}

.strategic-goal {
  --b: .5em;
  /* border width */
  --c: 3em;
  /* corner size */
  --r: 0;
  /* corner rounding */
  position: relative;
  margin: 1rem;
  border: solid var(--b) transparent;
  padding: 1em;
  width: calc(100% - 2rem);
}

.strategic-goal::before {
  position: absolute;
  z-index: -1;
  inset: calc(-1*var(--b));
  border: inherit;
  border-radius: var(--r);
  background: linear-gradient(orange, deeppink, purple) border-box;
  --corner: conic-gradient(from -90deg at var(--c) var(--c), red 25%, #0000 0) 0 0 / calc(100% - var(--c)) calc(100% - var(--c)) border-box;
  --inner: conic-gradient(red, red) padding-box;
  -webkit-mask: var(--corner), var(--inner);
  -webkit-mask-composite: source-out;
  mask: var(--corner) subtract, var(--inner);
  content: '';
}

.strategic-goal h2 {
  padding-right: 2rem;
  color: var(--link);
  text-align: center;
}

.operational-objectives {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 4rem 0;
}

.operational-objectives li {
  width: 50%;
  margin: 0 0 1rem 0;
  padding: 0.5rem;
}

.operational-objectives a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
}

.operational-objectives figure {
  display: flex;
  flex-wrap: nowrap;
  padding: 0;
  width: 100%;
}

.operational-objectives :is(img, svg) {
  display: block;
  margin: 1px;
  width: 30%;
}

.operational-objectives figcaption {
  width: 70%;
  align-self: center;
  padding-left: 1rem;
  font-size: 2rem;
}

.operational-objectives h3 span {
  position: relative;
  display: inline-block;
}

.operational-objectives h3 span::before {
  position:absolute;
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  left: -5px;
  bottom: -6px;
  border-radius: 50%;
}

.operational-objectives h3 span::after {
  position:absolute;
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  bottom: -4px;
}

.operational-objectives h3 span::before,
.operational-objectives h3 span::after {
  background-color: #a4ba3a;
}

.operational-objectives li:nth-of-type(2) h3 span::before,
.operational-objectives li:nth-of-type(2) h3 span::after {
  background-color: #91d222;
}

.operational-objectives li:nth-of-type(3) h3 span::before,
.operational-objectives li:nth-of-type(3) h3 span::after {
  background-color: #1ab997;
}

.operational-objectives li:nth-of-type(4) h3 span::before,
.operational-objectives li:nth-of-type(4) h3 span::after {
  background-color: #6988e7;
}

.operational-objectives li:nth-of-type(5) h3 span::before,
.operational-objectives li:nth-of-type(5) h3 span::after {
  background-color: #214ed3;
}

.operational-objectives li:nth-of-type(6) h3 span::before,
.operational-objectives li:nth-of-type(6) h3 span::after {
  background-color: #1b3fab;
}

.operational-objectives a:is(:focus, :hover) h3 span::before,
.operational-objectives a:is(:focus, :hover) h3 span::after {
  background-color: #d91920;
}

.operational-objectives svg path:first-child {
  fill: #002b22
}

@media (prefers-color-scheme:dark) {
  html:not([data-selected-theme="light"]) .operational-objectives svg path:first-child {
    fill: #ffffff
  }
}

[data-selected-theme="dark"] .operational-objectives svg path:first-child {
  fill: #ffffff
}

details {
  margin-bottom: 2rem;
}

summary { 
  font-size: 125%;
}

.nav-list {
  padding: 0;
  list-style: none;
}

.nav-list li {
  border-bottom: 2px solid var(--navy);
  padding: 1.25rem;
  font-size: 1.25rem;
  margin: 0;
  margin-bottom: 2rem;
}

.nav-list li a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.nav-list li a:is(:active, :focus, :hover) {
  color: #d91920;
  text-decoration: underline;
}


.dynamic-list {
  counter-reset: index;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
}

.dynamic-list li {
  counter-increment: index;
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.dynamic-list li::before {
  content: counters(index, ".", decimal-leading-zero);
  font-size: 150%;
  text-align: right;
  font-weight: 700;
  min-width: 50px;
  padding-right: 10px;
  align-self: flex-start;
  background-image: linear-gradient(to bottom, aquamarine, orangered);
  background-attachment: fixed;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-cover {
  border: solid 1px rgba(0, 0, 0, 0.25);
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

/* bootstrap icons fix */
.bi {
  /*display: inline-flex;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-family: 'bootstrap-icons';
  font-feature-settings: normal;
  font-style: normal;
  font-synthesis: none;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  text-rendering: auto;
}

:is(.bi, [class^="bi-"], [class*=" bi-"])::before {
  vertical-align: initial;
}


/* JSK styles */

/* dialogBox */
.dialogBox { position:absolute; top:50%; left:50%; transform:var(--center); min-width:30%; height:auto; padding:var(--padding) var(--padding) 0 0; z-index:10; }
.dialogBox .content { border:1px solid var(--color-grey); background-color:var(--color-light-bg); box-shadow:var(--box-shadow); background-image:none; }
.dialogBox .content .forms { padding:var(--padding); }
.dialogBox .usun { position:absolute; top:0; right:0; width:30px; height:30px; }

/* --- */
.image-card { position:relative; display:flex; margin:0; padding:0; background-repeat:no-repeat; background-size:cover; background-position:left center; overflow:hidden;}
.image-card h3 { display:block; margin:0; padding:0; font-family:var(--font); font-size:3em; line-height:1em; color:var(--color-text); font-weight:600; text-align:left; }
.image-card strong { display:block; margin:0; padding:0; font-family:var(--font); font-size:1em; line-height:1em; color:var(--color-text); text-transform:none; }
.image-card p { display:block; margin:2em 0; font-family:var(--font); font-size:1em; line-height:1.2em; color:var(--color-text); font-weight:400; text-align:left; }
.image-card .content { position:relative; width:48%; box-sizing:border-box; padding:calc(2 * var(--padding)); text-align:left;z-index:1;}
.image-card .img { position:absolute; top:0; left:0; width:100%; height:100%; z-index:-1; }
.image-card .img :is(img, video) { width:100%; height:100%; object-fit:cover; object-position:center; }
.image-card.bg-50 { justify-content:space-between;  background-size:45% auto; background-position:100% 50%; }
.image-card.bg-50 .img { order:2; position:relative; top:auto; left:auto; width:45%; height:100%; left:auto; right:0; z-index:1;}
.image-card.w-100 { margin-left: calc(-1 * var(--inside)); margin-right:calc(-1 * var(--inside));}
.image-card.border { border:1px solid var(--color-light-grey); border-radius:var(--border-radius); }
.image-card.shadow { box-shadow:var(--box-shadow); }
.image-card.fixed { background-attachment:fixed; background-size:cover;}
.image-card.light :is(h3, strong, p) { color:var(--color-text); text-shadow:var(--text-shadow); }
.image-card.dark * { color:var(--color-white); text-shadow:var(--text-shadow-dark); }

/*cms fix*/
#admin_content :is(.dark.mask, .light.mask)::before {
  z-index:-1;
}

#admin_content .image-card :is(img, .img)  {
  z-index:0;
}

#admin_content .image-card.w-100 {
  margin-left: calc(1 * var(--inside));
  margin-right:calc(1 * var(--inside));
}

._p-0 { padding:0; }
._p-1 { padding:calc(0.25 * var(--padding)); }
._p-2 { padding:calc(0.5 * var(--padding)); }
._p-3 { padding:calc(1 * var(--padding)); }
._p-4 { padding:calc(1.25 * var(--padding)); }
._p-5 { padding:calc(1.5 * var(--padding)); }
._p-6 { padding:calc(2 * var(--padding)); }
._pt-0 { padding-top:0; }
._pt-1 { padding-top:calc(0.25 * var(--padding)); }
._pt-2 { padding-top:calc(0.5 * var(--padding)); }
._pt-3 { padding-top:calc(1 * var(--padding)); }
._pt-4 { padding-top:calc(1.25 * var(--padding)); }
._pt-5 { padding-top:calc(1.5 * var(--padding)); }
._pt-6 { padding-top:calc(2 * var(--padding)); }
._pb-0 { padding-bottom:0; }
._pb-1 { padding-bottom:calc(0.25 * var(--padding)); }
._pb-2 { padding-bottom:calc(0.5 * var(--padding)); }
._pb-3 { padding-bottom:calc(1 * var(--padding)); }
._pb-4 { padding-bottom:calc(1.25 * var(--padding)); }
._pb-5 { padding-bottom:calc(1.5 * var(--padding)); }
._pb-6 { padding-bottom:calc(2 * var(--padding)); }

._m-0 { margin:0; }
._m-1 { margin:calc(0.25 * var(--margin)); }
._m-2 { margin:calc(0.5 * var(--margin)); }
._m-3 { margin:calc(1 * var(--margin)); }
._m-4 { margin:calc(1.25 * var(--margin)); }
._m-5 { margin:calc(1.5 * var(--margin)); }
._m-6 { margin:calc(2 * var(--margin)); }
._mt-0 { margin-top:0; }
._mt-1 { margin-top:calc(0.25 * var(--margin)); }
._mt-2 { margin-top:calc(0.5 * var(--margin)); }
._mt-3 { margin-top:calc(1 * var(--margin)); }
._mt-4 { margin-top:calc(1.25 * var(--margin)); }
._mt-5 { margin-top:calc(1.5 * var(--margin)); }
._mt-6 { margin-top:calc(2 * var(--margin)); }
._mb-0 { margin-bottom:0; }
._mb-1 { margin-bottom:calc(0.25 * var(--margin)); }
._mb-2 { margin-bottom:calc(0.5 * var(--margin)); }
._mb-3 { margin-bottom:calc(1 * var(--margin)); }
._mb-4 { margin-bottom:calc(1.25 * var(--margin)); }
._mb-5 { margin-bottom:calc(1.5 * var(--margin)); }
._mb-6 { margin-bottom:calc(2 * var(--margin)); }

._row {
  --gap: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  /*
  margin: 0 calc(-0.5 * var(--gap));
  width: calc(100% + var(--gap));
  */
  margin: 0;
  width: 100%;
}

._col-1,._col-2,._col-3,._col-4,._col-5,._col-6,._col-7,._col-8,._col-9,._col-10,._col-11,._col-12 {
  display: block;
  flex-basis: 100%;
  flex: auto;
  padding: 0;
}

@media (min-width:889px) {
  ._col-1,._col-2,._col-3,._col-4,._col-5,._col-6,._col-7,._col-8,._col-9,._col-10,._col-11,._col-12 {
    padding: 0;
  }
  ._col-1 { flex:1; } 
  ._col-2 { flex:2; } 
  ._col-3 { flex:3; } 
  ._col-4 { flex:4; } 
  ._col-5 { flex:5; } 
  ._col-6 { flex:6; } 
  ._col-7 { flex:7; } 
  ._col-8 { flex:8; }
  ._col-9 { flex:9; }
  ._col-10 { flex:10; }
  ._col-11 { flex:11; }
  ._col-12 { flex:12; }
}