@charset "UTF-8";

@import url("/webfonts/bootstrap/bootstrap-icons.min.css");

@font-face {
  font-family: 'Roboto';
  src: url('/webfonts/roboto/roboto-regular.eot');
  src: url('/webfonts/roboto/roboto-regular.eot?#iefix') format('embedded-opentype'),
       url('/webfonts/roboto/roboto-regular.woff') format('woff'),
       url('/webfonts/roboto/roboto-regular.ttf') format('truetype'),
       url('/webfonts/roboto/roboto-regular.svg#roboto') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/webfonts/roboto/roboto-italic.eot');
  src: url('/webfonts/roboto/roboto-italic.eot?#iefix') format('embedded-opentype'),
       url('/webfonts/roboto/roboto-italic.woff') format('woff'),
       url('/webfonts/roboto/roboto-italic.ttf') format('truetype'),
       url('/webfonts/roboto/roboto-italic.svg#roboto') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/webfonts/roboto/roboto-700.eot');
  src: url('/webfonts/roboto/roboto-700.eot?#iefix') format('embedded-opentype'),
       url('/webfonts/roboto/roboto-700.woff') format('woff'),
       url('/webfonts/roboto/roboto-700.ttf') format('truetype'),
       url('/webfonts/roboto/roboto-700.svg#roboto') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/webfonts/roboto/roboto-700italic.eot');
  src: url('/webfonts/roboto/roboto-700italic.eot?#iefix') format('embedded-opentype'),
       url('/webfonts/roboto/roboto-700italic.woff') format('woff'),
       url('/webfonts/roboto/roboto-700italic.ttf') format('truetype'),
       url('/webfonts/roboto/roboto-700italic.svg#roboto') format('svg');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.grid            { display: flex; flex-wrap: wrap; }
.grid.\-top      { align-items: flex-start; }
.grid.\-middle   { align-items: center; }
.grid.\-bottom   { align-items: flex-end; }
.grid.\-stretch  { align-items: stretch; }
.grid.\-baseline { align-items: baseline; }
.grid.\-left     { justify-content: flex-start; }
.grid.\-center   { justify-content: center; }
.grid.\-right    { justify-content: flex-end; }
.grid.\-between  { justify-content: space-between; }
.grid.\-around   { justify-content: space-around; }

.cell            { box-sizing: border-box; flex-shrink: 0; }
.cell.\-fill     { width: 0; min-width: 0; flex-grow: 1; }
.cell.\-1of12    { width: calc(100% * 1 / 12); }
.cell.\-2of12    { width: calc(100% * 2 / 12); }
.cell.\-3of12    { width: calc(100% * 3 / 12); }
.cell.\-4of12    { width: calc(100% * 4 / 12); }
.cell.\-5of12    { width: calc(100% * 5 / 12); }
.cell.\-6of12    { width: calc(100% * 6 / 12); }
.cell.\-7of12    { width: calc(100% * 7 / 12); }
.cell.\-8of12    { width: calc(100% * 8 / 12); }
.cell.\-9of12    { width: calc(100% * 9 / 12); }
.cell.\-10of12   { width: calc(100% * 10 / 12); }
.cell.\-11of12   { width: calc(100% * 11 / 12); }
.cell.\-12of12   { width: 100%; }

@media screen and (max-width: 699px)  {
  [class$="of12"] { width: 100% !important; }
}

.grid { box-sizing:border-box; display:-webkit-flex; display:-ms-flexbox; display:-webkit-box; display:flex; -webkit-flex:0 1 auto; -ms-flex:0 1 auto; -webkit-box-flex:0; flex:0 1 auto; -webkit-flex-direction:row; -ms-flex-direction:row; -webkit-box-orient:horizontal; -webkit-box-direction:normal; flex-direction:row; -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap; margin:0 -8px 0 -8px; }
.grid.grid-nogutter{ margin:0 }
.grid.grid-nogutter>.col{ padding:0 }
.col{ box-sizing:border-box; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto; -webkit-flex-grow:1; -ms-flex-positive:1; -webkit-box-flex:1; flex-grow:1; -ms-flex-preferred-size:0; -webkit-flex-basis:0; flex-basis:0; max-width:100%; min-width:0; padding:0 8px 0 8px; }
.col-align-top{ -webkit-align-self:flex-start; -ms-flex-item-align:start; align-self:flex-start; }
.col-align-bottom{ align-self:flex-end; }
.col-align-middle{ -webkit-align-self:center; -ms-flex-item-align:center; align-self:center; }
.col-top{ justify-content:flex-start !important; flex-direction:column; display:flex; }
.col-bottom{ justify-content:flex-end !important; flex-direction:column; display:flex; }
.col-middle{ justify-content:center; flex-direction:column; display:flex; }
.grid-start{ -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; }
.grid-center{ -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; }
.grid-end{ -webkit-box-pack:end; -ms-flex-pack:end; justify-content:flex-end; }
.grid-around{ justify-content:space-around; }
.grid-between{ -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; }
.grid-reverse{ -webkit-box-orient:horizontal; -webkit-box-direction:reverse; -ms-flex-direction:row-reverse; flex-direction:row-reverse; }
.col-fixed { flex:initial; }
.col-first { -webkit-box-ordinal-group:0; -ms-flex-order:-1; order:-1; }
.col-last { -webkit-box-ordinal-group:2; -ms-flex-order:1; order:1; }
.col-grow-2 { flex-grow:2; }
.col-grow-3 { flex-grow:3; }
.col-grow-4 { flex-grow:4; }
.col-grow-5 { flex-grow:5; }
.col-grow-6 { flex-grow:6; }
.col-grow-7 { flex-grow:7; }
.col-grow-8 { flex-grow:8; }
.col-grow-9 { flex-grow:9; }
.col-grow-10 { flex-grow:10; }
.col-grow-11 { flex-grow:11; }
.col-1 { -ms-flex-preferred-size:8.33333%; -webkit-flex-basis:8.33333%; flex-basis:8.33333%; max-width:8.33333%; }
.col-2 { -ms-flex-preferred-size:16.66667%; -webkit-flex-basis:16.66667%; flex-basis:16.66667%; max-width:16.66667%; }
.col-3 { -ms-flex-preferred-size:25%; -webkit-flex-basis:25%; flex-basis:25%; max-width:25%; }
.col-4 { -ms-flex-preferred-size:33.33333%; -webkit-flex-basis:33.33333%; flex-basis:33.33333%; max-width:33.33333%; }
.col-5 { -ms-flex-preferred-size:41.66667%; -webkit-flex-basis:41.66667%; flex-basis:41.66667%; max-width:41.66667%; }
.col-6 { -ms-flex-preferred-size:50%; -webkit-flex-basis:50%; flex-basis:50%; max-width:50%; }
.col-7 { -ms-flex-preferred-size:58.33333%; -webkit-flex-basis:58.33333%; flex-basis:58.33333%; max-width:58.33333%; }
.col-8 { -ms-flex-preferred-size:66.66667%; -webkit-flex-basis:66.66667%; flex-basis:66.66667%; max-width:66.66667%; }
.col-9 { -ms-flex-preferred-size:75%; -webkit-flex-basis:75%; flex-basis:75%; max-width:75%; }
.col-10 { -ms-flex-preferred-size:83.33333%; -webkit-flex-basis:83.33333%; flex-basis:83.33333%; max-width:83.33333%; }
.col-11 { -ms-flex-preferred-size:91.66667%; -webkit-flex-basis:91.66667%; flex-basis:91.66667%; max-width:91.66667%; }
.col-12 { -ms-flex-preferred-size:100%; -webkit-flex-basis:100%; flex-basis:100%; max-width:100%; }

@media only screen and (max-width: 480px) {
  .col-sm{ flex:100%; max-width:100% }
}

@media only screen and (max-width: 624px){
  .col-md{ flex:100%; max-width:100% }
}

@media only screen and (max-width: 744px){
  .col-lg{ flex:100%; max-width:100% }
}

.a11y-hide,
.hide-text {
  border: 0; 
  clip: rect(0 0 0 0); 
  clip-path: inset(50%); 
  height: 1px; 
  margin: -1px; 
  overflow: hidden; 
  position: absolute; 
  /*white-space: nowrap;*/
  width: 1px;
}

abbr[title] {
  text-decoration: none;
  border-bottom: 2px dashed #7e8d98;
}

/* Skiplinks */
.skiplinks-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.skiplinks-menu ul {
  list-style: none;
}

.skiplinks-menu a {
  display: inline;
  left: -9000em;
  padding: 1rem;
  position: absolute;
  text-decoration: none;
  z-index: 3;
  text-align: center
}

.skiplinks-menu a:hover,
.skiplinks-menu a:focus {
  background: #404040;
  color: #fff;
  left: 0;
  top: 0;
  position: absolute;
}

.skiplinks-menu a:focus {
  outline: 2px solid transparent;
}

.highcontrast .skiplinks-menu a:hover,
.highcontrast .skiplinks-menu a:focus {
  background: #ff0;
  color: #000;
  outline: 2px solid transparent;
}

/* Top menu */
.start-menu a:hover,
.start-menu a:focus {
  border-bottom: 1px solid #000;
  outline: 2px solid transparent;
  background-color: #ff0;
}

.highcontrast .start-menu a {
  color: #ff0;
  border-bottom: 2px solid #ff0;
}

.highcontrast .start-menu a:hover,
.highcontrast .start-menu a:focus {
  color: #000;
  border-bottom: 2px solid #ff0;
  outline: 2px solid transparent;
}

/* Controls */
.controls li {
  margin: 0 0.5rem;
}

.controls a {
  padding-top: 0;
  text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
}

.controls a img {
  margin: 0;
  border: 2px solid #fff;
  border-radius: 13px;
}

.controls a:hover,
.controls a:focus {
  outline: 1px solid transparent;
}

.controls a:hover img,
.controls a:focus img {
  border: 2px solid #0C599F;
}

.highcontrast .controls a,
.highcontrast .controls a {
  background-color: #000;
}

.highcontrast .controls a:hover img,
.highcontrast .controls a:focus img {
  border-color: #ff0;
}

.highcontrast .button-toggle-remove {
  display: block;
}

.highcontrast .button-toggle-highcontrast {
  display: none;
}

.icon-desc {
  display: block;
  color: #000;
}

.text-main a {
  font-weight: 700;
  color: #002354;
  text-decoration: none;
  padding: 0.05em 0.25em;
}

.about-services-list {
  border-bottom: 2px solid transparent;
}

.about-services-list:hover,
.about-services-list:focus {
  border-bottom: 2px solid #0C599F;
  outline: 2px solid transparent;
}


body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  background: #fff;
  color: #404040;
  font-size: 16px;
  line-height: 1.75rem;
}

.wrapper {
  position: relative;
  max-width: 990px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.header-wrapper {
  justify-content: space-between;
  margin-bottom: 40px;
}

.declaration {
  font-size: 1.1rem;
}

.start-menu {
  display: flex;
  list-style: none;
  padding: 0;
}

.start-menu a {
  color: inherit;
  text-decoration: none;
  margin-right: 2rem;
  border-bottom: 1px solid #000;
}

.logo-wrapper {
  justify-content: space-between;
  align-items: center;
  line-height: 1.5em;
  margin-bottom:4rem;
}

.logo-wrapper p {
  font-size: 1.1em;
  line-height: 1.7em;
  margin: 0 0 1.2em 0;
  padding-left: 4em;
}

.logo,
.portal-description {
  width: 50%;
}

.portal-description {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media screen and (max-width: 699px) {
  .portal-description {
    justify-content: center;
  }
}

.portal-description img {
  width: 110px;
  height: auto;
}

.portal-description img:nth-of-type(1) {
  width:150px;
}

.logo a {
  display: block;
  text-transform: uppercase;
  font-size: 250%;
  line-height: 150%;
  text-decoration: none;
}

.logo img {
  display: block;
  background-color: transparent;
  border: 10px solid transparent;
  width: 95%;
}


a:hover img.img-link,
a:focus img.img-link {
  outline: 2px solid #0C599F;
}

.highcontrast a:hover img.img-link,
.highcontrast a:focus img.img-link {
  outline: 2px solid #FF0;
}

.portal-description {
  text-align: right;
}

.grants-logo-wrapper {
  line-height: 1.5rem;
  max-width: 990px;
  padding: 1em 0;
  margin: auto;
  display: flex;
  /* justify-content: space-evenly; */
  align-items: center;
  flex-direction: initial !important;
}

.col-grants-logo {
  -ms-flex-preferred-size: 20%;
  -webkit-flex-basis: 20%;
  flex-basis: 20%;
  max-width: 20%;
  padding: 0;
}

.grants-logo-wrapper img {
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 699px) {
  .col-grants-logo {
    -ms-flex-preferred-size: 50%;
    -webkit-flex-basis: 50%;
    flex-basis: 50%;
    max-width: 50%;
    padding: 0.5rem;
  }
}

/*Controls*/
.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  list-style: none;
}

.fonthigh .controls {
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.controls img {
  width: 44px;
  height: 44px;
}

.change-size,
.change-contrast {
  display: flex;
}

.highcontrast .button-toggle-remove {
  display: block;
}

.highcontrast .button-toggle-highcontrast {
  display: none;
}

/* Homepage */
.caffles {
  margin: 40px auto 0;
}

.article-list {
  box-sizing: border-box;
  width: 100%;
  max-width: 990px;
  margin: auto;
  padding-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.news-caffs {
  --g: 1rem;
  --c: 3;
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  gap:var(--g);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.news {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  color: #fff;
  width: calc((100% - calc((var(--c) - 1) * var(--g))) / var(--c)  );
  overflow: hidden;
  position: relative;
  text-align: center;  
}

.icon-kgp {
  width: 10%;
}

.news a {
  color: inherit;
  display: block;
  height: 100%;
}

.news a img {
  display: block;
  width: 100%;
  text-align: center;
}

:is(.newsa, .newsb, .newsc, .newsd, .newse, .newsf) a {
  background-repeat: no-repeat;
  background-position: center 20%;
  background-size: 60%;
  transition: all ease 1s;
  transition: background ease 0.5s;
}

.newsa a {
  background-image: url('/dokumenty/szablonyimg/26-kafel1.svg');
  background-color: #919191;
}

.newsb a {
  background-image: url('/dokumenty/szablonyimg/26-kafel2.svg');
  background-color: #00A82A;
}

.newsc a {
  background-image: url('/dokumenty/szablonyimg/26-kafel3.svg');
  background-color: #2D89EC;
}

.newsd a {
  background-image: url('/dokumenty/szablonyimg/26-kafel4.svg');
  background-color: #206DB4;
}

.newse a {
  background-image: url('/dokumenty/szablonyimg/26-kafel5.svg');
  background-color: #F96013;
}

.newsf a {
  background-image: url('/dokumenty/szablonyimg/26-kafel6a.svg');
  background-color: #E10300;
}

.article-text {
  align-items: center;
  display: flex;
  height: 25%;
  justify-content: center;
  line-height: 1.75rem;
  margin: 0;
  padding: 1rem;
  position: absolute;
  text-align: center;
  top: 75%;
  transition: all ease 0.25s;
  width: 100%;
}

.newsa .article-text {
  background: #575757;
}

.newsb .article-text {
  background: #236522;
}

.newsc .article-text {
  background: #424DB3;
}

.newsd .article-text {
  background: #0C599F;
}

.newse .article-text {
  background: #9A3200;
}

.newsf .article-text {
  background: #AD0300;
}

.news a:is(:hover, :focus) .article-text {
  box-sizing: border-box;
  font-size: 1.5rem;
  height: 100%;
  line-height: 2.25em;
  /*padding-top: 5rem;*/
  top: 0;
}

@media screen and (min-width:700px) and (max-width:989px) {
.article-list {
    justify-content: center;
    align-content: center;
  }

  .news-caffs {
    --c: 2;
    justify-content: center;
    padding: var(--g)
  }

  .news {
    /* width: 100%; */
    margin-bottom: 0;
  }

}
@media screen and (max-width: 699px) {
  .article-list {
    /*flex-direction: column;*/
    justify-content: center;
    align-content: center;
    box-sizing: border-box;
  }
  
  .news-caffs {
    --c: 1;
    justify-content: center;
    padding: var(--g)
  }
  
  .news {
    /*width: 90%;
    max-width: 90%;*/
  }
  
  .news a,
  .news b,
  .news c,
  .news d,
  .news e,
  .news f {
    background-size: 60%;
  }
  
}

/* Footer */
/*.contact-section ul {
  margin-left: 1rem;
  padding: 0;
}

.menu {
  flex-basis: 100%;
  background-color: #585858;
  height: 70px;
  margin-top: 10px;
}
*/

.main-footer {
  flex-basis: 100%;
  display: flex;
  background: #1C3960;
  background-size: 25%;
  padding-top: 20px;
  padding-bottom: 30px;
  box-sizing: border-box;
}

.footer-section {
  width: 25%;
  color: #fff;
}

.footer-section h2 {
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.footer-section a {
  text-decoration: none;
}

.footer-section img {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0;
  margin-right: 0.25rem;
}

.footer-left,
.footer-right {
  width: 50%;
}

.footer-text {
  margin-top: 30px;
}

.footer-text a {
  background: none;
  color: inherit;
  text-decoration: none;
}

.footer-text li {
  list-style: none;
  margin-left: -2.5rem;
  margin-bottom: 1rem;
}

.footer-text li a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.footer-text a:hover,
.footer-text a:focus {
  color: #000;
  background: #ff0;
  border-bottom: 1px solid #ff0;
  outline: 2px solid transparent;
}

.highcontrast .footer-text li a {
  color: #ff0;
  text-decoration: none;
  border-bottom: 1px solid #ff0;
}

.highcontrast .footer-text li a:hover,
.highcontrast .footer-text li a:focus {
  color: #000;
  background-color: #ff0;
  text-decoration: none;
}

/*
.title-contact {
  text-transform: uppercase;
}

.list-instruction {
  line-height: 2.5rem;
}
*/

.police-online {
  font-size: 1rem;
  list-style: none;
  color: white;
  font-weight: bold;
}

.a11y-decl {
  font-weight: bold;
  margin-top: 30px;
}

.a11y-decl a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.a11y-decl a:hover,
.a11y-decl a:focus {
  color: #000;
  background: #ff0;
  outline: 2px solid transparent;
}

.highcontrast .a11y-decl a {
  color: #ff0;
}

.highcontrast .a11y-decl a:hover,
.highcontrast .a11y-decl a:focus {
  color: #000;
  text-decoration: none;
}

.footer-right a {
  display: inline-block;
  margin-bottom: 0;
  color: #fff;
}

.footer-right a:focus {
  outline: 2px solid transparent;
}

.highcontrast .footer-right a {
  color: #ff0;
}

.footer-right a img {
  border: 2px solid transparent;
  padding: 0.25rem;
}

.footer-right a:hover img,
.footer-right a:focus img {
  border-color: #ff0;
  color: #ff0;
  outline-color: transparent;
}

.footer-right a:hover span,
.footer-right a:focus span {
  background-color: #ff0;
  border-color: #ff0;
  color: #000;
  outline-color: transparent;
}

.footer-right h2.police-online + ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.footer-right h2.police-online + ul li {
  width: 33%;
}

.footer-right h2.police-online + ul a {
  display: initial;
}

/* Cookies*/

.footer-cookies {
  font-size: 0.875rem;
}

.footer-cookies a {
  color: #002354;
  text-decoration: none;
  font-weight: 700;
}

.cookie-alert {
  width: 100%;
  margin: auto;
  padding: 0.5em 2em 2em;
  background: #eceded;
  border-radius: 0;
  position: relative;
  box-sizing: border-box;
  bottom: 0;
 }

.highcontrast .cookie-alert {
  background: #000;
  border: 1px solid #ff0;
  border-bottom: none;
}

.cookie-alert > div {
  width: 100%;
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-alert p {
  display: block;
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-alert a {
  color: #1C3960;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 0.1em;
}

.highcontrast .cookie-alert a {
  color: #ff0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

 .cookie-alert a:is(:hover, :focus) {
  border-bottom: 2px solid #0C599F;
  outline: 2px solid transparent;
}

.highcontrast  .cookie-alert a:is(:hover, :focus) {
  border-bottom: 2px solid #ff0;
  outline: 2px solid transparent;
}

/* Bigger text */

.fonthigh .logo-wrapper p,
.fonthigh .contact-section,
.fonthigh .page-path,
.fonthigh p {
  font-size: 1.25rem;
  line-height: 2rem;
}

.fonthigh .start-menu, 
.fonthigh .a11y-decl,
.fonthigh .footer-text,
.fonthigh .about-services-list {
  font-size: 1.5rem;
  line-height: 2.25rem;
}

.fonthigh h1 {
  font-size: 2.85rem;
  line-height: 4.25rem;
}

.fonthigh h2 {
  font-size: 2.45rem;
  line-height: 2.75rem;
}

.fonthigh h3 {
  font-size: 2.05rem;
  line-height: 2.8rem;
}

.fonthigh h4 {
  font-size: 1.65rem;
  line-height: 2.8rem;
}

.fonthigh h5 {
  font-size: 1.45rem;
  line-height: 2.8rem;
}

.fonthigh h6 {
  font-size: 1.35rem;
  line-height: 2.8rem;
}

/* Highcontrast */
.highcontrast {
  background: #000;
  color: #fff;
}

.highcontrast .header,
.highcontrast .caffles,
.highcontrast .news a,
.highcontrast .news .article-text,
.highcontrast .article-list,
.highcontrast .hidden-button,
.highcontrast .content,
.highcontrast .main-footer,
.highcontrast .description {
  background-color: #000;
}

.highcontrast .news {
  border-color: #ff0;
  background: #000;
}

.highcontrast .article-text,
.highcontrast .list-police,
.highcontrast .phone-book,
.highcontrast .wrapper-top,
.highcontrast .wrapper-top .top,
.highcontrast .news a,
.highcontrast .footer-cookies a,
.highcontrast .about-services .about-services-list {
  color: #ff0;
}


.highcontrast .news a:hover .article-text,
.highcontrast .news a:focus .article-text,
.highcontrast .text-main a {
  color: #ff0;
  background-color: #000;
}

.highcontrast .text-main a:hover,
.highcontrast .text-main a:focus {
  color: #000;
  background: #ff0;
  outline: 2px solid transparent;
}

.highcontrast blockquote {
  border-left: 2px solid #fff;
}

.highcontrast .page-path {
  color: #fff;
  background-color: #000;
}

.highcontrast .wrapper-top .fa-arrow-up {
  color: #ff0;
  border-color: #ff0;
}

.highcontrast .installation-jabber {
  border-color: #ff0;
}

.highcontrast .text-main a:hover,
.highcontrast .text-main a:focus {
  background: #000;
  color: #ff0;
  outline: 2px solid transparent;
}

.highcontrast .logo a:hover img,
.highcontrast .logo a:focus img {
  outline: 2px solid #ff0;
}

/**/
.highcontrast .main-contact-section a,
.highcontrast .main-page-section a {
    color: #FF0;
    border-bottom: 2px solid #ff0;
}

.highcontrast .main-contact-section a:hover,
.highcontrast .main-contact-section a:focus,
.highcontrast .main-page-section a:hover,
.highcontrast .main-page-section a:focus {
  color: #ff0;
  border-bottom: 2px solid #ff0;
  outline: 2px solid transparent;
}

/**/
.highcontrast .fa-american-sign-language-interpreting {
  color: #000;
  background: #FF0;
}

/**/
.highcontrast .about-services-list,
.highcontrast .about-services-list {
  border-bottom: 2px solid transparent;
}

.highcontrast .about-services-list:hover,
.highcontrast .about-services-list:focus {
  border-bottom: 2px solid #ff0;
  outline: 2px solid transparent;
}

/*Page*/
h1 {
  font-size: 2.6rem;
  line-height: 4rem;
}

h2 {
  font-size: 2rem;
  line-height: 2.5rem;
}

h3 {
  font-size: 1.6rem;
  line-height: 2.1rem;
}

h4 {
  font-size: 1.4rem;
  line-height: 1.9rem;
}

h5 {
  font-size: 1.2rem;
  line-height: 1.7rem;
}

h6 {
  font-size: 1.1rem;
  line-height: 1.7rem;
}

.main-contact-section,
.main-page-section {
  display: flex;
  width: 990px;
  margin: 50px auto;
  flex-direction: column;
}

.main-contact-section a,
.main-page-section a {
  color: #005799;
  text-decoration: none;
  border-bottom: 2px solid #005799;
}

.main-contact-section a:hover,
.main-contact-section a:focus,
.main-page-section a:hover,
.main-page-section a:focus {
  background: #ff0;
  border-color: #000;
  color: #000;
  border-bottom: 2px solid #000;
}

.highcontrast .main-contact-section a,
.highcontrast .main-contact-section a,
.highcontrast .main-page-section a,
.highcontrast .main-page-section a {
  color: #FF0;
  border-bottom: 2px solid #ff0;
}

.highcontrast .main-contact-section a:hover,
.highcontrast .main-contact-section a:focus,
.highcontrast .main-page-section a:hover,
.highcontrast .main-page-section a:focus {
  background: #ff0;
  border-color: #000;
  color: #000;
}

.wrapper-columns {
  display: flex;
  width: 100%;
  margin: 30px auto;
}

/* Breadcrumbs */

.page-path {
  font-size: 0.9rem;
  line-height: 1.2rem;
  background-color: #fff;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.page-path li {
  margin-right: 0.5rem;
}

.page-path li:after,
.page-path a:first-child:before {
  font-family: "bootstrap-icons";
  font-weight: 900;
}

.page-path li:after {
  content: "\f285";
  margin-left: 0.5rem;
}

.page-path li:last-child:after {
  content: "";
}

.page-path a {
  color: #565353;
  text-decoration: none;
  border-bottom: none;
}

.page-path a:first-child:before {
  content: "\f425";
  margin-right: 0.25rem;
}

.highcontrast .page-path a {
  border-bottom: 2px solid transparent;
  border-color: transparent !important;
  color: #ff0;
}

.highcontrast .page-path a:hover,
.highcontrast .page-path a:focus {
  color: #000;
  border-bottom: 2px solid #ff0;
  outline: 2px solid transparent;
}

.list-police {
  color: #1C3960;
  text-decoration: none;
  cursor: pointer;
}

.contact-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Mapa strony */

#sitemap ul {
  list-style: disc;
  padding-left: 2em;
}

#sitemap ol {
  list-style: decimal;
  padding-left: 2em;
}

#sitemap ul.hide {
  display: none;
}

/* opcje rozwijania */
#sitemap a.rozwin:link,
#sitemap a.rozwin:visited { 
  position:relative; 
  display:inline-block;
  margin:0 0.2em; 
  vertical-align:middle; 
  text-decoration:none; 
  line-height:0.5em; 
  color:#000; 
  border:0; 
  transition-duration:0.6s; 
}

#sitemap a.rozwin:hover,
#sitemap a.rozwin:focus { 
  color:#000; 
  transition-duration:0.6s; 
}

#sitemap a.rozwin:before { 
  content:"\f4fd";
  font-family: "bootstrap-icons"; 
}

#sitemap .expand a.rozwin:before {
  content:"\f2E9";
  font-family: "bootstrap-icons"; 
}

/*
#sitemap li.expand a.rozwin span {
  content: 'Zwiń';
}
*/

#sitemap a.rozwin .hide {	
  clip: rect(1px, 1px, 1px, 1px);
  display: block;
  position: absolute;
}

.images-container {
  display: flex;
  flex-basis: 51%;
  flex-direction: column;
  margin-top: 105px;
}

.img-contact-container,
.img-contact-container-second,
.img-contact-container-third,
.img-contact-container-fourt,
.img-contact-container-fifth,
.img-contact-container-sixth {
  background-repeat: no-repeat;
  background-size: 70%;
  width: 100%;
  height: 360px;
}

.img-contact-container {
  background: url('logo-bg.svg');
  margin-top: 760px;
}

.img-contact-container-second {
  background: url('logo-bg.svg');
  margin-top: 400px;
}

.img-contact-container-third {
  background: url('logo-bg.svg');
  margin-top: 1440px;
}

.img-contact-container-fourth {
  background: url('logo-bg.svg');
  margin-top: 1240px;
}

.img-contact-container-fifth {
  background: url('logo-bg.svg');
  margin-top: 1454px;
}

.img-contact-container-sixth {
  background: url('logo-bg.svg');   
  margin-top: 810px;
}

.img-contact-section,
.img-contact-section-second,
.img-contact-section-third,
.img-contact-section-fourth,
.img-contact-section-fifth,
.img-contact-section-sixth,
.img-contact-container-jabber {
  background-repeat: no-repeat;
  background-size: 55%;
  background-position: 50%;
  width: 80%;
  height: 200px;
  margin: 0 auto;
}

.img-contact-section {
  background: url('ikona1.svg');
}

.img-contact-section-second {
  background: url('ikona2.svg');
}

.img-contact-section-third {
  background: url('ikona3.svg');
}

.img-contact-section-fourth {
  background: url('ikona4.svg');
}

.img-contact-section-fifth {
  background: url('ikona5.svg');
}

.img-contact-section-sixth {
  background: url('ikona6.svg');
}

.img-contact-container-jabber {
  width: 40%;
  margin-left: 30px;
  background-size: 100%;
}

.highcontrast .img-contact-container {
  background: url('logo-bg.svg');
  margin-top: 737px;
  margin-left: 100px;
}

.highcontrast .img-contact-section {
  background: url('ikona1b.svg');
}

.highcontrast .img-contact-section-second {
  background: url('ikona2b.svg');
}

.highcontrast .img-contact-section-third {
  background: url('ikona3b.svg');
}

.highcontrast .img-contact-section-fourth {
  background: url('/dokumenty/szablonyimg/26-kafel4.svg');
}

.highcontrast .img-contact-section-fifth {
  background: url('ikona5b.svg');
}

.highcontrast .img-contact-section-sixth {
  background: url('ikona6b.svg');
}

.highcontrast .img-contact-section-jabber {
  background: url('ikona1b.svg');
  background-position: 50% 200px;
}
.about-services {
  margin-left: -0.2em;
  padding: 0.1em 0.2em;
  list-style: none;
}

.about-services-list {
  text-decoration: none;
  color: #0C599F;
  font-size: 0.9rem;
  line-height: 1.7rem;
  font-weight: bold;
}

.main-page-section ul,
.main-page-section ol {
  padding-left: 2em;
  list-style: circle;
}

/* Back to top */
.wrapper-top {
  padding-bottom: 20px;
  padding-top: 20px;
}

.hidden-button {
  height: 44px;
  border: none;
  background: white;
  color: #1C3960;
  font-weight: bold;
  display: inline-flex;
  gap: .5rem;
  align-items:center;
  font-size: 1.1rem;
  cursor: pointer;
  padding-bottom: .35rem;
}

.highcontrast .hidden-button {
   background: #000;
}

[class*="-arrow-up"] {
  font-size: 1.4rem;
  border: 2px solid #0C599F;
  padding: 0.3rem;
  border-radius: 7px;
  color: #0C599F;
  display: inline-flex;
  align-items: center;
}

a:is(:focus, :hover) [class*="-arrow-up"] {
  border-color: #000;
  color: #000;
}

.highcontrast [class*="-arrow-up"] {
  color: #ff0;
  border-color: #ff0;
}

.highcontrast a:is(:focus, :hover) [class*="-arrow-up"] {
  border-color: #000;
  color: #000;
}

.top {
  color: #1C3960;
  list-style: none;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.top:hover,
.top:focus {
  border-bottom: 2px solid #0C599F;
  outline: 2px solid transparent;
}

.highcontrast .top {
  border-bottom: 2px solid transparent;
}

.highcontrast .top:hover,
.highcontrast .top:focus {
  border-bottom: 2px solid #ff0;
  outline: 2px solid transparent;
}

/* Categories list */

.category-list {
  list-style: none;
  padding: 0;
}

.category-list-element {
  margin: 2rem 0;
}

.category-list-element a {
  
}

/* Category title */

.category-tag {
  position: relative;
}

.category-tag h2:before {
  content: '';
  width: .25rem;
  height: 1.7rem;
  background-color: #be152d;
  position: absolute;
  top: .3rem;
  left: 0;
}

.highcontrast .category-tag h2:before {
  background-color: #ff0;
}

.category-tag h2 {
  padding-left: 0.75rem;
  font-weight: 700;
  position: relative;
}

/* Posts list */

.collection-list-wrapper {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.collection-list,
.post-horizontal {
  display: flex;
  width: 100%;
}

.collection-list {
  flex-direction: column;
}

.post-horizontal {  
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.post-horizontal-image {
  position: relative;
  overflow: hidden;
  width: 30%;
}

.post-horizontal-image:before {
  content: "";
  display: block;
  padding-top: 75%;
}

@media screen and (max-width: 699px) {
  .post-horizontal-imag,
  .post-horizontal-info {
    width: 100%;
  }
}

.post-horizontal-image img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%
}

.post-horizontal-info { 
  width: 70%;
  padding: 0 2rem;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.post-name {
  text-decoration: none;
}

.post-name h3 {
  color: #111;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 2rem;
  border-bottom: 2px solid transparent;
  margin-top: 0;
}

.highcontrast .post-name h3 {
  color: #ff0;
}

.post-name:hover h3,
.post-name:focus h3 {
  border-bottom: 2px solid #111;
  background: #ff0;
}

.highcontrast .post-name:hover h3,
.highcontrast .post-name:focus h3 {
  color: #000;
}

.post-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.post-meta span {
  display: inline-block;
  margin: 0 0 .75rem 0;
}

.post-meta i {
  margin-right: 0.5rem;
}

/* Paginacja stron */

#meni_strony ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 1rem;
} 

#meni_strony ul li {
  aspect-ratio: 1;
  align-items: center;
  display: inline-flex;
  font-size: 1.2rem;
  justify-content: center;
  line-height: 1;
}

#meni_strony ul li.noActive {
  display: none;
}

#meni_strony ul li a {
  border: none;
  padding: .25rem;
  text-align: center;
  width: 100%;
}

#meni_strony ul li.selectbox .forms {
  align-items: center;
  display: flex;
  justify-content: center;
}

#meni_strony ul li.selectbox .forms .select {
  margin-right: .5rem;
}

#meni_strony ul li.selectbox .forms select {
  border: 1px solid #aaa;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;  
  font-size: 1.2rem;
  line-height: 2.75rem;
  padding: 0 3rem 0 2rem;
  background-color: #fff;
}

#meni_strony ul li.selectbox .forms select::-ms-expand {
  display: none;
}

#meni_strony ul li.selectbox .forms select:focus {
  background-color: #ff0;
  border-color: #000;
}

#meni_strony h3.hide,
#meni_strony ul li.selectbox .forms .select label.hide,
#meni_strony ul li span:not([class]) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Hide letter Ę */
#meni_strony ul li:has([href$="?l=8"]) {
  display: none;
}

/* Artykul */

.article-area {}


/* Galeria zdjec */

.article-area .gallery-list {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-around;*/
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-area .gallery-list_item {
  -ms-flex-preferred-size: 33.33333%;
  -webkit-flex-basis: 33.33333%;
  flex-basis: 33.33333%;
  max-width: 33.33333%;
  padding: 1rem;
  margin: 0;
}

@media screen and (max-width:479px) {
  .article-area .gallery-list_item {
    -ms-flex-preferred-size: 100%;
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media screen and (min-width:480px) and (max-width:700px) {
  .article-area .gallery-list_item {
    -ms-flex-preferred-size: 66.6666%;
    -webkit-flex-basis: 66.6666%;
    flex-basis: 66.6666%;
    max-width: 66.6666%;
  }
}

.article-area .gallery-list_item figure {
  padding: 0;
  margin: 0;
}

.article-area .gallery-list_item a {
  display: block;
  position: relative;
  border-bottom: .25rem solid #005799;
  padding-bottom: 0.125rem;
}

.highcontrast .article-area .gallery-list_item a,
.highcontrast .article-area .gallery-list_item a:hover,
.highcontrast .article-area .gallery-list_item a:focus {
  border-bottom: .25rem solid #ff0;
}

.article-area .gallery-list_item img {
  display: block;
  width: 100%;
}

.article-area .gallery-list_item a:focus,
.article-area .gallery-list_item a:hover {
  background-color: transparent;
  border-bottom: .25rem solid #000;
}

.article-area .gallery-list_item a:before,
.article-area .gallery-list_item a:after {
  position: absolute;
  content: '';
  opacity: 0;
  -webkit-transition: translate3d(0,-10px,0);
  transition: translate3d(0,-10px,0);
}

.article-area .gallery-list_item a:before {
  top: 10%;
  right: 6%;
  bottom: 10%;
  left: 6%;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: scale(0,1);
  transform: scale(0,1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.highcontrast .article-area .gallery-list_item a:before {
  border-top-color: #ff0;
  border-bottom-color: #ff0;
}

.article-area .gallery-list_item a:after {
  top: 6%;
  right: 10%;
  bottom: 6%;
  left: 10%;
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
  -webkit-transform: scale(1,0);
  transform: scale(1,0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

.highcontrast .article-area .gallery-list_item a:after {
  border-right-color: #ff0;
  border-left-color: #ff0;
}

.article-area .gallery-list_item span:before,
.article-area .gallery-list_item span:after {
  content: '';
  background-color: #fff;
  opacity: 0;
  position: absolute; 
}


.highcontrast .article-area .gallery-list_item span:before,
.highcontrast .article-area .gallery-list_item span:after {
  background-color: #ff0;
}

.article-area .gallery-list_item span:before {
  width: 2px;
  top: 30%;
  bottom: 30%;
  left: 50%;
  right: 50%;
}

.article-area .gallery-list_item span:after {
  height: 2px;
  top: 50%;
  bottom: 50%;
  left: 35%;
  right: 35%;
}

.article-area .gallery-list_item a:hover:before,
.article-area .gallery-list_item a:focus:before,
.article-area .gallery-list_item a:hover:after, 
.article-area .gallery-list_item a:focus:after,
.article-area .gallery-list_item a:hover span:before,
.article-area .gallery-list_item a:focus span:before,
.article-area .gallery-list_item a:hover span:after,
.article-area .gallery-list_item a:focus span:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.article-area .gallery-list_item a:hover:after, 
.article-area .gallery-list_item a:focus:after,
.article-area .gallery-list_item a:hover span:after,
.article-area .gallery-list_item a:focus span:after {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

.article-area .gallery-list_item figcaption {
  font-size: .8rem;
}

/* Zalaczniki */

.article-area .attachments ul {
  list-style: none;
  padding: 0;
}

.article-area .attachments li {
  padding-left: 0;
}

.article-area .attachments div:first-of-type {
  display: flex;
  flex-direction: row;
}

.article-area .attachments a {
  font-size: 1.2rem;
}

.article-area .attachments .fas {
  font-size: 2rem;
  margin-right: 1rem;
}

.box__border {
  border:2px solid #000;
  padding: 1rem;
}

.highcontrast .box__border {
  border-color: #ff0]
}

/* Multimedia */

/* odtwarzacz wideo - video-js */
.video-container,
.video-container-big {
  margin:2rem auto; 
  clear: both;
  content: '';
}

.video-container { 
  width:75%; 
  max-width:640px; 
}

.video-container-big { 
  width:100% !important; 
  max-width:640px !important; 
}

.video-js.vjs-1-5 { 
  width:100%; 
  max-width:100%; 
  height:0; 
  padding-top:20%; 
}

:is(.media_embed, .yt-embed-container) {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.media_embed:not(:has(iframe)) {
  height: initial;
  padding-bottom: 0; 
}

:is(.media_embed, .yt-embed-container) :is(embed, iframe) {
  height:100% !important;
  left:0;
  position: absolute;
  top: 0;
  width:100% !important;
}

/* Tabela */

table {
  width: 100%;
  border-color: inherit;
  border-collapse: collapse;
  border-spacing: 0;
  text-indent: 0;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid rgba(237, 240, 243, 0.75);
  color: #7e8d98;
  font-size: 0.875rem;
  font-weight: var(--text-weight);
  text-align: left;
}

th,
thead td {
  color: rgb(65 84 98);
  font-size: 1rem;
}

thead th,
thead td {
  border-bottom: 3px solid rgba(237, 240, 243, 0.75);
}

table.grid tbody tr:nth-child(odd) {
  background-color: rgba(115, 130, 140, 0.075);
}

/*Media Queries*/

@media screen and (max-width:1024px) {
  .hide-text {
    clip: unset;
    clip-path: none;
    position: initial;
    overflow: initial;
    white-space: normal;
    display: inline;
    width: unset;
    height: unset;
  }
  
  .header {
    width: 95%;
    margin: auto;
  }
  
  .controls-wrapper {
    width: 100%;
    margin: auto;
  }
  
  .highcontrast .controls-wrapper {
    margin: auto;
  }
  
  .controls a {
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: flex-start;
    border-bottom: 2px solid transparent;
  }

  .controls a:hover span,
  .controls a:focus span {
    background-color: #ff0;
    border-bottom: 2px solid #000;
  }

  .highcontrast .controls a:hover span,
  .highcontrast .controls a:focus span {
    background-color: #ff0;
    color: #000;
    border-bottom: 2px solid #000;
  }

  .controls a img {
    margin-right: 1rem;
    width: 44px;
    height: 44px;
  }

  .controls span {
    border-bottom: 2px solid transparent;
  }

  .highcontrast .controls span {
    color: #ff0;
  }

  .start-links {
    order: 2;
  }

  .start-menu li {
    margin-bottom: 1rem;
    /* width: 50%; */
    text-align: center;
  }

  .controls {
    flex-wrap: wrap;
    width: 100%;
    margin: 1rem auto;
    flex-direction: column;
    margin-left: 10%;
    margin-left: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .controls a:hover,
  .controls a:focus {
    outline: 2px solid transparent;
    color: #0c599f;
    border-radius: 0;
    text-decoration: none !important;
  }

  .controls li {
    margin-bottom: 0.5rem;
  }
  
  #meni_strony .hide-text {
    clip: rect(1px, 1px, 1px, 1px);
    display: block;
    position: absolute;
  }
}
  
@media screen and (min-width: 500px) and (max-width: 1024px) {
  .start-links,
  .start-menu {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  h1 {
    width: 100%;
  }
  
  h2 {
    width: 100%;
  }
  
  .images-container {
    display: none;
  }
  
  .about-services-list {
    align-items: center;
  }
  
  .contact-section {
    margin-left: 0;
    margin-right: 0;
    flex-basis: 100%;
  }
  
  .wrapper-top {
    width: 100%;
    box-sizing: border-box;
  }
  
  .main-contact-section {
    width: 95%;
  }
  
  .main-page-section {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-section a i {
    width: 100%;
  }
}


@media screen and (min-width:700px) and (max-width:989px) {
  .hide-text {
    clip: unset;
    position: static;
    display: inline;
  }

  .img-contact-section-second,
  .img-contact-container-second {
    display: none;
  }

  .header-wrapper {
    margin-bottom: 0;
  }

  .start-links {
    margin: 5% auto;
    line-height: 2em;
    font-size: 1.25em;
  }

  .img-contact-section,
  .img-contact-section-fifth,
  .img-contact-section-fourth,
  .img-contact-section-second,
  .img-contact-section-third,
  .img-contact-section-second,
  .img-contact-container-fourth,
  .img-contact-container-sixth,
  .img-contact-container-third,
  .img-contact-container-jabber,
  .img-contact-container-fifth,
  .img-contact-container-second,
  .img-contact-container {
    display: none;
  }

  .start-menu a {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-right: 0;
    box-sizing: border-box;
  }

  .portal-description {
    padding-top: 0.5em !important;
  }

  .logo img {
    display: block;
    max-width: 100%;
    width: 95%;
    margin: auto;
  }

  .content {
    margin-top: 0;
  }

  .text-main {
    max-width: 90%;
    margin: auto;
  }

  .main-footer {
    height: auto;
    text-align: center;
  }

  .main-footer .wrapper {
    flex-direction: column;
  }

  .footer-left {
    width: 90%;
    margin: auto;
  }

  .footer-section {
    width: 90%;
    margin: auto;
  }

  .footer-section img {
    display: block;
    margin: 10px auto 0;
  }

  .footer-section .a11y-hide {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    clip: unset;
    position: static;
    margin: 0 1em;
  }

  .fonthigh .footer-section .a11y-hide {
    font-size: 1.5rem;
  }
  
  .footer-cookies {
    width: 90%;
    margin: auto;
    text-align: center;
  }

  /******* pages ******/
  .portal-description {
    padding-left: 0;
  }

  .logo-wrapper P {
    padding-left: 2em;
  }

  .page-path {
    width: 100%;
  }

  .main-contact-section,
  .main-page-section {
    flex-direction: column;
  }

  .main-contact-section p {
    width: 95%;
  }

  .list-police {
    width: 60%;
  }

  .about-services {
    font-size: 0.7rem;
  }

  .about-services-list {
    font-size: 1rem;
  }

  .img-contact-section,
  .img-contact {
    width: 100%;
    margin: 0;
  }

  .img-contact-container {
    margin: 10px auto;
  }

  .img-contact {
    width: 40%;
  }

  .start-menu {
    width: 50%;
    margin: 0;
    padding: 0;
  }

  .main-contact-section,
  .main-page-section {
    width: 95%;
    box-sizing: border-box;
  }

  .fa-facebook-f,
  .fa-camera,
  .fa-video {
    font-size: 1.5rem;
    margin-right: 0;
    color: #fff;
    padding: 0.2em;
  }

  .highcontrast .cookie-alert {
    border-radius: 0;
    border-left-color: transparent;
    border-right-color: transparent;
  }
}

@media screen and (max-width: 699px) {
  .header {
    height: auto;
    position: static;
  }
  
  .wrapper {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
  }
  
  .header .wrapper {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
  }
  
  .logo,
  .portal-description {
    width: 100%;
    text-align: center;
  }
  
  .logo img {
    max-width: 100%;
    width: 66%;
    margin: auto;
  }
  

  .main-footer {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 1200px !important;
    text-align: center;
  }
  
  .main-footer .wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    flex-basis: 100%;
    display: block !important;
  }
  
  .footer-section {
    width: 90%;
    margin: auto;
  }
  
  .footer-section,
  .footer-right {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    margin: 0 auto;
  }
  
  .footer-section img {
    display: block;
    margin: 10px auto 0;
  }
  
  .footer-section .a11y-hide {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    clip: unset;
    position: static;
    margin: 0 1em;
    display: inline;
  }
  
  .main-contact-section {
    flex-direction: column;
    width: 93%;
    margin-top: 0;
  }
  
  .page-path {
    width: 100%;
  }
  
}

@media screen and (max-width:479px) {
  .start-links,
  .start-menu {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
    order: 3;
    flex-direction: row;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .start-menu a {
    margin-right: 0;
    margin-bottom: 0;
    padding: 0;
  }

  .wrapper-columns {
    width: 100%;
  }

  .images-container {
    display: none;
  }

  .logo,
  .portal-description {
    margin: auto;
    text-align: center;
  }

  .logo img {
    width: 100%;
    margin: 0;
  }

  .footer-section a i {
    width: 100%;
  }
  
  .collection-list-wrapper {
    margin-top: 0;
  }
  
  .post-horizontal {
    flex-direction: column;
    margin-top: 0;
  }
  
  .post-horizontal-image,
  .post-horizontal-info {
    width: 100%;
  }
  
  .post-horizontal-info {
    padding: 1rem 0;
  }
  
  .post-meta {
    margin-top: 0;
  }
}

/* Formularze */
/*
fieldset legend, 
label {
  display: block;
  margin-bottom: 0.25rem;
  vertical-align: middle;
}

input + a span, 
select + a span, 
textarea + a span {
  margin-top: -1.125rem;
  margin-bottom: 1.5rem;
  color: #7e8d98;
}





*/

.forms input, 
.forms optgroup, 
.forms select, 
.forms textarea {
  margin: 0px;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: inherit;
  line-height: 1.5rem;
  position: relative;
}

.forms input, 
.forms select, 
.forms textarea {
  border: 1px solid #c8d1d8;
  border-radius: 0.25rem;
  background-color: #fff;
  color: #415462;
  font-weight: 400;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}


.forms input:not([type="checkbox"]):not([type="radio"]),
.forms button[type="submit"],
.forms select, 
.forms textarea {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  vertical-align: middle;
  word-wrap: break-word;
  text-overflow: inherit;
  white-space: normal;
}

.forms div.select {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.forms select {
  background-image: url('/dokumenty/szablonyimg/26-arrow-down.svg');
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 12px;
  padding-right: 2.5rem;
}

.forms select option {
  overflow-wrap: break-word;
}

.forms input:not([type="checkbox"]):not([type="radio"]),
.forms button[type="submit"] {
  width: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.forms fieldset,
.forms ins,
.forms .form_input,
.forms .left {
  display: flex;
  text-decoration: none;
}

.forms fieldset {
  flex-wrap: wrap;
  margin: 0;
  padding: 2rem 0;
  border: 1px solid #f1f1f1;
}

.forms .twoRows {
  width: 50%;
  margin: 0;
  padding: 2rem;
}

.forms .twoRows ins {
  flex-direction: initial;
  align-items: center;
}

.forms .twoRows .form_input {
  align-items: center;
}

@media screen and (max-width:479px) {
  .forms .twoRows {
    width: 100%;
    padding: 1rem;
  }
  
  .forms .twoRows ins {
    flex-direction: column;
    align-items: center;
  }
}

.forms fieldset legend {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: 2rem;
  border: 1px solid #f1f1f1
}

.forms fieldset fieldset {
  width: calc(100% - 2rem);
  margin: 1rem;
}

.forms ins {
  width: 100%;
  padding: 1rem;
  margin: 0;
  align-items: center;
}

@media screen and (max-width:479px) {
  .forms ins,
  .forms .form_input {
    flex-direction: column;
  }
  
  .forms fieldset fieldset {
    width: 100%;
    margin: 1rem 0;
    border-left: 0;
    border-right: 0;
  }
}

.forms ins .form_input {
 /* flex: 1;*/
}

.forms ins label {
  padding: 0 0.5rem;
}

.forms input[type="submit"] {
  border-width: 2px;
  padding: 1rem 3rem;
  margin: 0 auto;
}

/*
.forms input[type="submit"]:focus {
  padding: calc(1rem - 2px) calc(3rem - 2px) !important;
}
*/
.form_input {
  margin: 0;
  padding: 0;
  justify-content: center;
}

.form_input * {
  position: relative;
  display: inline-block;
}

.form_input > .form_input {
  display: inline-block;
  position: relative;
}

@media screen and (max-width:479px) {
  .checkbox {
  }
}

.form_input--half {
  width: 50%;
}

@media screen and (max-width:479px) {
  .form_input--half {
    width: 100%;
  }
}

.form_input--vertical {
  flex-direction: column;
}


.form_input .left {
  width: initial !important;
}

.form_input input {
  margin: 0 .5rem;
}

.form_input a {
  position: relative;
  margin: 0 .5rem
}

.okno_tlo .box_spec1 {
  margin: 0 5rem
}


.forms [type="date"], 
.forms [type="datetime-local"], 
.forms [type="month"], 
.forms [type="time"], 
.forms [type="week"] {
    background-image: ;
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
}

.forms a.dateInsert {
  border-bottom: 0;
  display: inline-block;
}

.forms a.dateInsert:before {
  font-family: "bootstrap-icons";
  content: "\f1e4";
  font-size: 1.4rem;
  top: 50%;
  transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  left: 0;
  width: 100%;
  text-align: center;
}

.forms a[role="button"], 
.forms button, 
.forms input[type="button"], 
.forms input[type="reset"], 
.forms input[type="submit"] {
  border: 1px solid rgb(16 149 193);
  border-radius: 0.25rem;
  outline: none;
  background-color: rgb(16 149 193);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
}

.forms a[role="button"]:hover, 
.forms a[role="button"]:focus,
.forms button:hover, 
.forms button:focus,
.forms input[type="button"]:hover, 
.forms input[type="button"]:focus,
.forms input[type="reset"]:hover, 
.forms input[type="reset"]:focus,
.forms input[type="submit"]:hover,
.forms input[type="submit"]:focus {
  background: #ff0;
  border-color: #000;
  color: #000
}

.forms [name="formularz"] .twoRows:last-of-type {
  width: 100%
}

@media screen and (max-width:479px) {
  .forms [name="formularz"] [name^="termin"]  {
    max-width: 60%
  }
}

.forms [name="zones"] .left {
  align-items: center
}

.forms [name="zones"] label[for^="szukaj_o"] {
  align-self: center;
}



[action="/pre/szukaj"] fieldset {
  align-items: center;
}

[action="/pre/szukaj"] input#szukaj-dzial {
  flex: 1;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) button[type="submit"] {
  margin:0 auto;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) fieldset {
  padding: 1rem;
  gap: 1rem;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) ins {
  padding: 0;
  width: initial;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) ins:nth-of-type(1) {
  flex: 1;
  gap: 1rem;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) ins:nth-of-type(2) {
  display: none;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) input:not([type="checkbox"],[type="radio"],[type="submit"]) {
  paddingl-left: 0;
  padding-right: 0;
}

:is([action^="/pre/projekty"], [action="/pre/szukaj"]) ins:nth-of-type(1) input {
  margin: 0;
}

@media screen and (max-width:479px) {
  [action="/pre/szukaj"] fieldset {
    flex-direction: column;
  }
  
  [action="/pre/szukaj"] input#szukaj-dzial {
    width: 100%;
  }
  
  [action^="/pre/projekty"] ins {
    width: 100%;
  }
}

/* vlaCalendar fix */

.vlaCalendarPicker .pickerBackground {
  width: auto;
  height: auto;
}

.vlaCalendar span.indication {
  display: flex;
  align-items: center
}

.vlaCalendarPicker .vlaCalendar .arrowRight,
.vlaCalendarPicker .vlaCalendar .arrowLeft {
  position: initial !important;
  top: initial !important;
  width: 40px;
  height: 40px;
}

.vlaCalendarPicker .vlaCalendar .arrowRight {
  order: 2
}

.vlaCalendar .label {
  padding: 0 1rem
}

.vlaCalendarPicker .vlaCalendar, 
.vlaCalendarPicker .vlaCalendar table, 
.vlaCalendarPicker .vlaCalendar a {
  position: relative
}

.record-list {
  list-style: none;
  padding-left: 1rem;
  font-size: 1.2rem;
}

.record-list__record-arrow {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

[for="pole5"] + div { width: 100% !important; }
[for="pole5"] + div input { width: 100% !important; }

/*KOMUNIKATY */
#komunikat { position:relative; display:block; padding:1em 1em 1em 20%; margin:2em auto; height:1%; min-height:35px; width:auto; background:transparent; z-index:1; border:1px solid #d6d6d6;   }
#komunikat div.element { position:absolute; top:-0.7em; left:1em; padding:0; width:16%; text-align:center;  background:#ffffff; border:1px solid #d6d6d6; }
#komunikat div.element:before { font-family:Arial; content:"i"; font-weight:bold; font-size:3em; line-height:1em; }
#komunikat div.info { font-weight:normal; font-size:1em; line-height:1.2em; }
#komunikat div.info h3 { font-weight:normal; font-size:1em; line-height:1.2em; }
#komunikat div.info .ok { font-weight:bold; color:#32a201; font-size:1.2em; }
#komunikat div.info .blad {font-weight:bold; color:#e30000; font-size:1.2em; }

.mini-menu { display:flex; gap:1rem; flex-wrap:wrap; list-style:none; padding:0; }
.mini-menu a { text-decoration:none; border-bottom-width:0; }
.mini-menu a.check {  border-bottom-width:2px; }

a.check > .bi {
  transform: scale(1);
  transition: .15s all ease;
  display: inline-block;
}

a.check:hover > .bi {
  padding-left: .25em;
  transform: scale(1.2);
}