/* font */

@font-face {
  font-family: HindVadodara-Regular;
  src: url("../czcionki/HindVadodaraRegular.ttf") format("truetype");
  src: url("../czcionki/HindVadodaraRegular.eot?iefix")
      format("embedded-opentype"),
    url("../czcionki/HindVadodara-Regular.woff") format("woff"),
    url("../czcionki/HindVadodara-Regular.woff2") format("woff"),
    url("../czcionki/HindVadodaraRegular.eot"),
    url("../czcionki/HindVadodara-Regular.svg#HindVadodara-Regular")
      format("svg");
}

@font-face {
  font-family: HindVadodara-Medium;
  src: url("../czcionki/HindVadodaraMedium.ttf") format("truetype");
  src: url("../czcionki/HindVadodaraMedium.eot?iefix")
      format("embedded-opentype"),
    url("../czcionki/HindVadodara-Medium.woff") format("woff"),
    url("../czcionki/HindVadodara-Medium.woff2") format("woff"),
    url("../czcionki/HindVadodaraSemiBold.eot"),
    url("../czcionki/HindVadodara-Medium.svg#HindVadodara-Medium") format("svg");
}

@font-face {
  font-family: HindVadodara-SemiBold;
  src: url("../czcionki/HindVadodaraSemiBold.ttf") format("truetype");
  src: url("../czcionki/HindVadodaraSemiBold.eot?iefix")
      format("embedded-opentype"),
    url("../czcionki/HindVadodara-SemiBold.woff") format("woff"),
    url("../czcionki/HindVadodara-SemiBold.woff2") format("woff"),
    url("../czcionki/HindVadodaraSemiBold.eot"),
    url("../czcionki/HindVadodara-SemiBold.svg#HindVadodara-SemiBold")
      format("svg");
}

/* tagi */

body {
  margin: 0;
  font-family: HindVadodara-Regular;
}

body:not(.druk) {
  font-size: 16px;
  color: #282828;
}

input,
select,
textarea {
  font-family: HindVadodara-Regular;
  font-size: 1em;
}

a {
  color: #282828;
}

*:focus {
  outline-width: 3px;
  outline-color: #0018ff;
}

h1 {
  font-size: 1.75em;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.45em;
}

h4 {
  font-size: 1.3em;
}

h5 {
  font-size: 1.17em;
}

h6 {
  font-size: 1.05em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1em 0 1rem;
  padding: 0;
  font-family: HindVadodara-Medium;
  font-weight: normal;
  clear: both;
}

h2 a {
  text-decoration: none;
}

.c {
  text-align: center;
}

.g {
  font-family: HindVadodara-SemiBold;
}

.r {
  border: 1px #e3e3e3 solid;
}

b,
strong {
  font-family: HindVadodara-SemiBold;
  font-weight: normal;
}

svg:hover {
  cursor: pointer;
}

/* nawigacja wcag */
.szybka-nawigacja {
  position: absolute;
  top: 1px;
  left: -320px;
  z-index: 1;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.szybka-nawigacja li {
  margin: 0;
  padding: 5px 10px;
  margin-bottom: 2px;
  background: #fff;
}

.szybka-nawigacja a {
  text-decoration: none;
}

/* szablon - glowny kontener */

#wszystko {
  background-color: #a7d9ff;
}

#wszystko-tresc {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin: auto;
  max-width: 1060px;
  min-height: 100vh;
  background-color: #ffffff;
  z-index: 30;
}

/* szablon - pasek na gorze */

#gora {
  width: 100%;
  /*position:fixed;*/
  position: relative;
  z-index: 40;
}

#gora-tresc {
  margin: auto;
  max-width: 1060px;
  min-height: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  font-size: 1em;
  background-color: #fff;
}

/* szablon - prawa strona z banerem */

#kont-ban-srodek-prawa {
  max-width: 840px;
  overflow: hidden;
  flex-grow: 2;
}

#kont-druk {
  max-width: 820px;
}

#kont-srodek-prawa {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  /*justify-content: space-between;*/
  position: relative;
}

/* pasek na gorze */

#linki-ikony {
  padding: 0 15px 0 5px;
}

#wyszukiwarka,
#ulatwienia,
#deklaracja-dostepnosci {
  margin: auto;
  padding: 0 15px;
  flex-basis: 240px;
}

#wersja {
  padding: 0 5px 0 15px;
  flex-basis: 70px;
  text-align: right;
}

#linki-ikony {
  margin-top: 3px;
}

#wyszukiwarka {
  height: 34px;
  font-size: 1em;
  background-color: #fff;
}

#fraza,
#szukaj {
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 1em;
}

#fraza {
  width: 150px;
  border-bottom: 1px #bbbbbb solid;
  background-color: #fff;
  color: #797979;
  font-size: 1em;
}

#fraza.wys-kontr {
  border: 1px #fcfc4e solid;
  background-color: #000;
}

#szukaj {
  cursor: pointer;
  line-height: 18px;
  font-size: 28px;
  height: 18px;
  padding: 0 6px;
  float: right;
}

#ulatwienia {
  position: relative;
  flex-basis: 180px;
}

#wyszukiwarka label,
#ulatwienia .aktywny,
#deklaracja-dostepnosci a,
#wersja a {
  line-height: 34px;
}

#ulatwienia span.aktywny {
  display: block;
}

#czcionka-kontrast {
  position: absolute;
  top: 34px;
  left: 0;
  padding: 0 10px 5px;
  flex-basis: 180px;
  background: #fff;
  display: none;
}

#czcionka-kontrast span {
  display: block;
  margin: 5px 0;
  padding: 0 5px;
}

.czcionka,
.kontrast {
  margin: 3px;
}

.czcionka {
  padding: 0 4px;
  cursor: pointer;
}

.kontrast {
  margin: 0 2px;
  padding: 2px 3px;
  font-size: 1.1em;
  line-height: 80%;
  cursor: pointer;
}

.czcionka-dom {
  font-size: 16px;
}

.czcionka-duza {
  font-size: 24px;
}

.kontrast-dom {
  background: #ffffff;
  border: 2px #000000 solid;
  color: #000000;
}

.kontrast-wys {
  color: #fcfc4e;
  background: #000000;
  border: 2px #000000 solid;
}

#szybkie-linki a,
#deklaracja-dostepnosci a,
#wersja a {
  text-decoration: none;
}

#szybkie-linki a:hover,
#deklaracja-dostepnosci a:hover,
#wersja a:hover {
  text-decoration: underline;
}

#gora-tresc svg path,
#gora-tresc svg rect {
  fill: #e3e3e3;
}

#gora-tresc svg:hover path,
#gora-tresc svg:hover rect {
  fill: #78be20;
}

#szukaj {
  margin-top: 6px;
}

/* logo i baner */

#logo {
  position: relative;
  width: 220px;
  height: 220px;
  z-index: 30;
  border-bottom: 5px #ff3737 solid;
  /*background:url('../graf/logo.png') center no-repeat;
	background-size: 220px 220px */
}

#logo-m {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  z-index: 30;
  border-bottom: 5px #ff3737 solid;
  display: none;
}

#logo-m img {
  width: 100%;
}

#baner {
  position: relative;
  width: 100%;
  max-width: 840px;
  height: 220px;
  display: block;
  background: url("../graf/zdjecie-baner.jpg") center no-repeat;
  border-bottom: 10px #f9e04c solid;
}

/* lewa */

#lewa {
  /*position: -webkit-sticky;*/ /* Safari */
  /*position: sticky;*/
  align-self: flex-start;
  top: 0;
  width: 220px;
  background-color: #fff;
  z-index: 1;
}

#lewa ul {
  list-style-type: none;
  margin: 10px 0;
  padding: 0;
  font-size: 1em;
}

/* menu glowne */

.tytul-menu {
  display: block;
  position: relative;
  margin: 0;
  padding: 2px 12px;
  border-bottom: 3px #e3e3e3 solid;
  border-right: 1px #e3e3e3 solid;
  font-size: 1.1em;
}

.tytul-menu .nazwa {
  display: block;
  width: inherit;
}

.tytul-menu span.obrot {
  position: absolute;
  right: 10px;
  top: 10px;
  display: block;
  width: 10px;
  height: 16px;
  transform: rotate(90deg);
  font-size: 2em;
  color: #e3e3e3;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%222.56mm%22%20height%3D%224mm%22%20version%3D%221.1%22%20viewBox%3D%220%200%202.56%204%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%3E%3Cg%20transform%3D%22translate(-75.766%20-197.82)%22%3E%3Cpath%20d%3D%22m76.326%20197.82-0.55998%200.56001%201.44%201.44-1.44%201.44%200.55998%200.56001%202-2z%22%20stroke-width%3D%22.014967%22%20fill%3D%22%23e3e3e3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  z-index: -1;
}

.tytul-menu span.obrot.aktywny {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%222.56mm%22%20height%3D%224mm%22%20version%3D%221.1%22%20viewBox%3D%220%200%202.56%204%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%3E%3Cg%20transform%3D%22translate(-75.766%20-197.82)%22%3E%3Cpath%20d%3D%22m76.326%20197.82-0.55998%200.56001%201.44%201.44-1.44%201.44%200.55998%200.56001%202-2z%22%20stroke-width%3D%22.014967%22%20fill%3D%22%23282828%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.tytul-menu a {
  display: block;
  padding: 2px 0;
  text-decoration: none;
}

#menu li {
  padding-bottom: 4px;
}

#menu li ul {
  padding: 0 10px;
}

#menu li ul li {
  margin: 0;
  padding: 0;
}

#menu li ul li:not(.menu-zwin) {
  border-bottom: 1px #e3e3e3 solid;
}

#menu li ul li a {
  display: block;
  padding: 4px 0 4px 6px;
  text-decoration: none;
}

#menu li ul li a:hover {
  text-decoration: underline;
}

#menu p.aktywny {
  background-color: #f9e04c;
}

#menu.wys-kntr p.aktywny {
  color: #000;
}

#menu-p-kont {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 60px;
  font-size: 40px;
  text-align: center;
  overflow: hidden;
  display: none;
}

#menu-p {
  position: absolute;
  top: -60px;
  left: 0;
}

.menu-zwin {
  text-align: right;
  overflow: hidden;
}
.menu-zwin span {
  display: block;
  float: right;
  width: 20px;
  padding: 5px 0;
  transform: rotate(-90deg);
  font-size: 2em;
  line-height: 80%;
  text-align: center;
}

.gr-linki .tytul-menu {
  margin-bottom: 4px;
}

.tytul-menu:hover,
.menu-zwin span {
  cursor: pointer;
}

#linki-graf img,
#linki-graf a {
  margin-top: 2px;
}

#mrg-l img {
  cursor: pointer;
}

#lewa .link-graf {
  cursor: pointer;
  margin-bottom: 10px;
}

/* srodek */

.tresc-glowna {
  clear: both;
  /* min-width: 300px; */
  margin: 0 30px;
  width: 100%;
  overflow: hidden;
  position: relative;
  font-size: 1em;
  /* padding: 0 5px 0 5px; */
}

.tresc-glowna-start {
  max-width: 620px;
  /* min-width: 300px; */
  margin: 0 20px;
  overflow: hidden;
  position: relative;
  font-size: 1em;
}

p.data-utw {
  text-align: right;
  color: #acacac;
  font-size: 0.8em;
}

div.hr {
  min-width: 300px;
  height: 2px;
}

div.hr hr {
  display: none;
}

p.data {
  margin: 20px 0 0;
  padding: 0;
  font-size: 1em;
}

.tresc-tekst {
  float: right;
  width: 100%;
  line-height: 140%;
}

.tresc p {
  margin: 1em 0;
  padding: 0;
}

.tresc li {
  padding: 3px 0;
}

.tresc-tekst p a,
.tresc-tekst p a {
  color: #282828;
}

.poz-lista-ostrz {
  padding: 0 5px;
}

.poz-lista-ostrz a {
  display: block;
  color: #2b2723;
  font-size: 14pt;
}

.data-tlo {
  font-weight: bold;
  background: #f7ff70;
}

div.linia,
div.linia2 {
  clear: both;
  margin: 0 auto;
  width: 70%;
  height: 2px;
  background-color: #e3e3e3;
}

div.line-f {
  width: 100%;
}

p.linia {
  clear: both;
  width: 70%;
  height: 2px;
  background-color: #e3e3e3;
}

.msi-gr {
  margin: 20px 0;
}

.msi-inf {
  clear: both;
  overflow: hidden;
  margin: 8px 0;
}

p.link-msi {
  margin: 0;
  padding: 2px 10px 2px 16px;
  position: relative;
}

p.link-msi a {
  text-decoration: none;
}

p.link-msi a:hover {
  text-decoration: underline;
}

.msi-gr .wyroznij {
  font-family: HindVadodara-Medium;
}

.link-msi:before {
  content: "\2771";
  position: absolute;
  top: 2px;
  left: 0;
  color: #e3e3e3;
}

.msi-gr .wyroznij .link-msi:before {
  color: #f9423a;
}

.msi-gr-tytul {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 1px;
  font-family: HindVadodara-Medium;
}

.msi-linki {
  width: 100%;
}

.msi-linki a {
  margin-left: 10px;
  color: #999999;
  text-decoration: none;
}

.info-arch {
  border-bottom: 2px #ff0000 solid;
  border-left: 10px #ff0000 solid;
  padding: 10px;
}

.inf .wiecej {
  display: inline-block;
  background-color: #f9e04c;
}

.tresc-glowna .powrot {
  clear: both;
  overflow: hidden;
  margin-bottom: 20px;
}

.tresc-glowna .powrot a {
  display: block;
  padding: 2px 10px;
  float: left;
  background-color: #f9e04c;
}

.tresc-glowna .powrot span {
  display: block;
  float: left;
  padding-left: 6px;
  padding-bottom: 8px;
  line-height: 70%;
  transform: rotate(180deg);
}

.ikona-druk {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1;
}

.tresc-glowna.wys-kntr {
  color: #fcfc4e;
}

.tresc-glowna.wys-kntr a {
  color: #fff;
}

a img {
  border: 0;
  cursor: pointer;
}

img.link {
  float: left;
  margin: 5px 10px 5px 0;
  cursor: pointer;
}

img.bez-linka {
  float: left;
  margin: 5px 10px 5px 0;
  border: 0;
}

div.galmin {
  position: relative;
  float: left;
  display: inline;
  margin: 4px 15px 6px 0;
  cursor: pointer;
}

div.galmin img {
  border: 0;
}

div.galmin_z {
  position: relative;
}

div.galmin_p {
  position: absolute;
  padding-left: 5px;
  color: #ffffff;
  font-size: 9pt;
  background: #6e6e6e;
  line-height: 16px;
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;
}

a.powrot {
  display: block;
  margin: 30px 0;
  color: #b3b3b3;
  font-size: 10pt;
  text-decoration: none;
}

a.powrot:hover {
  text-decoration: underline;
}

#plakaty {
  max-width: 560px;
}

#plakaty img {
  margin: 5px;
}

.tresc-glowna table {
  border: 1px #a8a8a8 solid;
  border-collapse: collapse;
}

.tresc-glowna table td,
.tresc-duza table td {
  border: 1px #a8a8a8 solid;
  padding: 2px 6px 2px 6px;
  vertical-align: top;
}

.tresc-glowna table th,
.tresc-duza table th {
  border: 1px #a8a8a8 solid;
  padding: 2px 6px 2px 6px;
  text-align: center;
  font-weight: normal;
  font-family: HindVadodara-SemiBold;
}

.tresc-glowna table.bez-linii {
  border: 0;
  margin: 5px;
}

.tresc-glowna table.bez-linii td {
  border: 0;
}

.tab-aktywny-wiersz {
  cursor: pointer;
}

.link-dok-pdf,
.link-dok-txt,
.link-dok-img,
.link-dok-arch {
  clear: both;
  position: relative;
}

.link-dok-pdf a,
.link-dok-txt a,
.link-dok-img a,
.link-dok-arch a {
  display: block;
  padding: 2px 0;
}

.link-dok-pdf a:after {
  content: url(../graf/pdf.gif);
  position: absolute;
  top: 3px;
  left: 0;
}

.link-dok-txt a:after {
  content: url(../graf/text.gif);
  position: absolute;
  top: 3px;
  left: 3px;
}

.link-dok-img a:after {
  content: url(../graf/jpg.gif);
  position: absolute;
  top: 3px;
  left: 3px;
}

.link-dok-arch a:after {
  content: url(../graf/arch.png);
  position: absolute;
  top: 3px;
  left: 3px;
}

.link-dok-pdf span,
.link-dok-txt span,
.link-dok-img span,
.link-dok-arch span {
  display: block;
  margin-left: 30px;
}

.link-przycisk {
  margin: 20px;
  text-align: center;
}

.link-przycisk a {
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 1.25rem;
  background-color: #f9e04c;
}

.podpis {
  float: right;
  width: 300px;
  text-align: center;
}

/* menu msi */

ul.menu_msi {
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 20px;
}

li.menu_msi_na,
li.menu_msi_a {
  display: block;
  float: left;
  cursor: pointer;
  font-size: 1.1em;
  line-height: 100%;
  padding: 0;
  margin-right: 20px;
  height: 16px;
  line-height: 110%;
}

li.menu_msi_a:before {
  content: "\0203A";
  float: left;
}

li.menu_msi_a:after {
  content: "\02039";
  float: right;
  text-align: right;
}

li.menu_msi_a:before,
li.menu_msi_a:after {
  width: 10px;
  font-size: 1.5em;
  line-height: 60%;
  color: #ff9600;
}

/* prawa */

#prawa {
  display: block;
  width: 220px;
  position: relative;
  top: -20px;
  background-color: #fff;
}

#prawa img {
  /*display:block;*/
  margin-bottom: 10px;
}

#linki-graf {
  margin: 0 10px 10px 0;
  text-align: right;
}

#linki-graf img,
#linki-graf a img,
#linki-graf-dol img,
#linki-graf-dol a img {
  border: 0;
  max-width: 220px;
  cursor: pointer;
  background-color: #fff;
}

.gr-linki {
  display: block;
  margin-top: 10px;
}

.gr-linki img {
  background-color: #fff;
}

.gr-linki ul {
  list-style-type: none;
  margin: 0 0 15px 0;
  padding: 0;
}

.gr-linki ul li {
  margin: 0 10px 0 10px;
  border-bottom: 1px #ededed solid;
}

.gr-linki ul li a {
  display: block;
  padding: 4px 0 4px 6px;
  text-decoration: none;
  color: #4f4f4f;
  line-height: 20px;
}

.gr-linki ul li a:hover {
  text-decoration: underline;
}

/* linki graf */
#linki-graf-dol {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  margin: 30px 0 30px 20px;
}

#linki-graf-dol .kol {
  flex: 33%;
  max-width: 250px;
  min-width: 230px;
  text-align: center;
}

#linki-graf-dol .tytul {
  position: relative;
  margin: 10px 0;
  padding: 2px 10px;
  color: #282828;
  font-size: 1.2rem;
  overflow: hidden;
}

#linki-graf-dol img {
  margin: 10px 0;
}

#linki-graf-dol .kol:nth-child(3n + 0) .tytul {
  border-top: 2px #78be20 solid;
  border-bottom: 2px #78be20 solid;
}

#linki-graf-dol .kol:nth-child(3n + 1) .tytul {
  border-top: 2px #f9e04c solid;
  border-bottom: 2px #f9e04c solid;
}

#linki-graf-dol .kol:nth-child(3n + 2) .tytul {
  border-top: 2px #f9423a solid;
  border-bottom: 2px #f9423a solid;
}

.link-graf {
  max-width: 220px;
  cursor: pointer;
}

.linki-graf a,
.linki-graf .link-zdarzenie {
  margin-top: 10px;
}

.linki-graf a {
  display: block;
  text-decoration: none;
}

/* kalendarz */

#ki {
  padding: 5px 8px 5px 8px;
}

.ki-czas {
  text-align: center;
  font-weight: bold;
  font-size: 9pt;
}

.ki-tytul {
  font-weight: bold;
  font-size: 10pt;
}

.imp {
  margin: 5px 0 5px 0;
  padding: 2px 5px 2px 5px;
  background-color: rgba(255, 255, 255, 0.5);
}

/* stopka */

#stopka {
  clear: both;
  position: relative;
  margin: auto;
  max-width: 1060px;
  padding-top: 20px;
  background-color: #fff;
}

#stopka span {
  display: block;
}

#stopka span:first-child {
  position: absolute;
  top: 20px;
  left: 0;
  border-top: 2px #f9e04c solid;
  width: 220px;
}

#stopka span:nth-child(2) {
  border-top: 2px #78be20 solid;
  margin-left: 220px;
  padding: 8px 10px;
  text-align: right;
  font-size: 0.8em;
}

#pasek-inf {
  position: fixed;
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: url("../graf/pasek-bg2.png");
  color: #ffffff;
  font-weight: bold;
  line-height: 24px;
  font-size: 14pt;
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;
}

#pasek-inf a {
  color: #ffffff;
  font-weight: bold;
  line-height: 24px;
  font-size: 14pt;
}

#nakladka {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px #e3e3e3 solid;
  padding: 10px 15px 15px 15px;
  background: #ffffff;
  z-index: 50;
  display: none;
  cursor: move;
}

#zamknij-ps {
  position: absolute;
  top: 7px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
}

/* galeria */

#gal-naw {
  float: left;
  margin-bottom: 5px;
}

#gal-zamknij {
  float: right;
  margin-bottom: 5px;
  cursor: pointer;
}

.img_sh {
  position: absolute;
  top: 3px;
  left: 3px;
  background: #afafaf;
  width: inherit;
  height: inherit;
}

.img_f {
  position: absolute;
}

.nr-zd {
  font-size: 12pt;
}

.nav-pop,
.nav-nas {
  position: absolute;
  padding: 3px 15px;
  top: 0;
  background-color: rgb(255, 255, 255, 0.4);
  font-size: 3em;
  cursor: pointer;
}

.nav-pop {
  left: 0;
}

.nav-nas {
  right: 0;
}

.link-gal {
  cursor: pointer;
}

#info {
  position: fixed;
  bottom: 10px;
  left: 0;
  z-index: 50;
}

.info-kont {
  display: flex;
  flex-direction: column;
}

.info-okno {
  position: relative;
  margin: 10px 20px;
  border-top: 10px solid;
  border-bottom: 10px solid;
  border-color: transparent;
  max-width: 85vw; /*540px;*/
  max-height: 75vh;
  background-color: #ffffff;
  overflow: auto;
  box-shadow: 4px 4px 0 0 rgba(40, 40, 40, 0.4);
}

.info-okno-tresc {
  padding: 15px 20px;
}

.info-okno-tresc img {
  max-width: 100%;
}

.info-okno .x {
  margin-right: 5px;
}

#info p {
  margin: 6px;
  padding: 0;
  text-align: center;
  font-size: 10pt;
}

#info .tytul {
  font-size: 14pt;
}

#info-ostrzezenie {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 5px #433e21 double;
  width: 340px;
  overflow: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 16px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
  background: -moz-linear-gradient(bottom, #fff265 0%, #ffea00 100%);
  background: -webkit-linear-gradient(bottom, #fff265 0%, #ffea00 100%);
  background: linear-gradient(to top, #fff265 0%, #ffea00 100%);
  z-index: 40;
}

#info-ostrzezenie p {
  margin: 0;
  padding: 10px;
  color: #433e21;
  font-size: 20pt;
  font-weight: bold;
  line-height: 30pt;
}

#info-ostrzezenie a {
  color: #433e21;
  text-decoration: none;
}

#info-ostrzezenie .znak {
  float: left;
  padding: 10px;
  color: #433e21;
  font-size: 50pt;
  line-height: 50pt;
}

#info .zamknij-info,
#info-ostrzezenie .zamknij-info {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 14pt;
  line-height: 14pt;
  color: #747370;
}

#info-ostrzezenie {
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 2s; /* Firefox < 16 */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera < 12.1 */
  animation: fadein 2s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* cookies */

#cook {
  position: fixed;
  bottom: 34px;
  max-width: 1050px;
  max-height: 100%;
  overflow: auto;
  border: 5px #60bf19 solid;
  background-color: #fff;
  z-index: 30;
  display: none;
}

#cook p {
  margin: 0;
  padding: 15px 20px;
  font-size: 0.9em;
  line-height: 140%;
  text-align: center;
  color: #000;
}

.x {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  padding: 2px;
  text-align: center;
  line-height: 16px;
  font-size: 20px;
  cursor: pointer;
}

/* facebook */
#face-slider {
  position: fixed;
  right: -316px;
  top: 30%;
  z-index: 10;
}
#face-slider #tab {
  cursor: pointer;
  height: 110px;
  width: 35px;
  float: left;
  background: url("../graf/facebook-slider.png") no-repeat center center;
}
#face-code {
  padding: 5px;
  border: solid #0170cf 3px;
  background: #fff;
  float: left;
  width: 300px;
  height: 400px;
  -moz-border-radius: 0 0 0 8px;
  -webkit-border-radius: 0 0 0 8px;
  border-radius: 0 0 0 8px;
}

/* MRM */
p.tytul {
  margin: 0;
  /*padding:30px 0 0 0;*/
  color: #f27932;
  /*font-size:14pt;*/
}
ul.mrm-menu {
  display: block;
  padding: 0;
  margin: 0;
}
ul.mrm-menu-prawa {
  display: block;
  float: right;
  padding: 0 0 10px 0;
  margin: 0;
}
ul.mrm-menu li,
ul.mrm-menu-prawa li {
  display: inline;
  background: #3784ba;
  color: #ffffff;
  padding: 3px 9px 3px 9px;
  margin: 0;
  border-radius: 4px;
  cursor: pointer;
}
ul.mrm-menu li {
  background: #59ac5c;
}

ul.mrm-menu li:hover,
ul.mrm-menu-prawa li:hover {
  background: #ec8038;
}
hr.mrm {
  border: 0;
  background: #4f649b;
}

/* menu wewnetrzne podstrony */
.menu-ps {
  padding: 0;
  margin: 0 0 30px;
  clear: both;
}
.menu-ps-prawa {
  float: right;
  padding: 0 0 10px 0;
  margin: 0;
  text-align: right;
}
.menu-ps li,
.menu-ps-prawa li {
  display: inline-block;
  padding: 3px 10px;
  cursor: pointer;
  font-family: HindVadodara-Medium;
}
.menu-ps-prawa li {
  margin: 3px 3px 0 0;
}
.menu-ps-prawa li {
  margin: 3px 0 0 3px;
}
.linia-ps {
  clear: both;
  margin: 30px auto;
  width: 70%;
  height: 2px;
  background-color: #7148b5;
}

/* mkrpa */
.mkrpa .menu-ps li {
  color: #c72d8f;
  border-bottom: 2px #c72d8f solid;
  border-left: 1px #c72d8f solid;
}
.mkrpa .menu-ps li:hover {
  color: #fff;
  background-color: #c72d8f;
}
.mkrpa .menu-ps-prawa li {
  color: #7148b5;
  border-right: 1px #7148b5 solid;
  border-bottom: 2px #7148b5 solid;
}
.mkrpa .menu-ps-prawa li:hover {
  color: #fff;
  background-color: #7148b5;
}

img.gkrpa-img-link {
  padding: 4px;
  border: 1px;
  border-radius: 4px;
  cursor: pointer;
}

p.tytul-akt {
  clear: both;
  color: #b98c39;
  font-size: 11pt;
}

p.autor-akt {
  float: right;
  margin: 10px 0 30px;
  width: 240px;
  text-align: center;
}

span.gkrpa-kontakt {
  color: #e10020;
}

/* str sen */
.strsen .menu-ps li {
  color: #733d30;
  border-bottom: 2px #733d30 solid;
  border-left: 1px #733d30 solid;
}
.strsen .menu-ps li:hover {
  color: #fff;
  background-color: #733d30;
}
.strsen .menu-ps-prawa li {
  color: #c52a00;
  border-right: 1px #c52a00 solid;
  border-bottom: 2px #c52a00 solid;
}
.strsen .menu-ps-prawa li:hover {
  color: #fff;
  background-color: #c52a00;
}

/* zsz1 */
.zsz1 .menu-ps li {
  color: #c8261e;
  border-bottom: 2px #c8261e solid;
  border-left: 1px #c8261e solid;
}
.zsz1 .menu-ps li:hover {
  color: #fff;
  background-color: #c8261e;
}
.zsz1 .menu-ps-prawa li {
  color: #2b186d;
  border-right: 1px #2b186d solid;
  border-bottom: 2px #2b186d solid;
}
.zsz1 .menu-ps-prawa li:hover {
  color: #fff;
  background-color: #2b186d;
}

/* zsz2 */
.zsz2 .menu-ps li {
  color: #ad7401;
  border-bottom: 2px #ad7401 solid;
  border-left: 1px #ad7401 solid;
}
.zsz2 .menu-ps li:hover {
  color: #fff;
  background-color: #ad7401;
}
.zsz2 .menu-ps-prawa li {
  color: #626058;
  border-right: 1px #626058 solid;
  border-bottom: 2px #626058 solid;
}
.zsz2 .menu-ps-prawa li:hover {
  color: #fff;
  background-color: #626058;
}

/* zakladki */
.menu-zakladki .menu-ps li {
  border-bottom: 2px #e3e3e3 solid;
  border-left: 1px #e3e3e3 solid;
}
.menu-zakladki .menu-ps li:hover {
  background-color: #e3e3e3;
}
.menu-zakladki .menu-ps-prawa li {
  border-right: 1px #e3e3e3 solid;
  border-bottom: 2px #e3e3e3 solid;
}
.menu-zakladki .menu-ps-prawa li:hover {
  background-color: #e3e3e3;
}

/* wyniki glosowan */
.wg-tytul {
  cursor: pointer;
}
.wg-tab {
  position: relative;
}
.wg-x {
  position: absolute;
  right: 15px;
  bottom: 0;
  font-size: 16pt;
  color: red;
  cursor: pointer;
}
.wg-linia {
  padding: 0;
  border: none;
  border-top: medium double #555;
  color: #555;
  text-align: center;
}

/* petycje */
.petycja .punkt {
  margin-bottom: 5px;
  font-size: 1.3em;
}
.petycja .punkt-tresc {
  margin-left: 10px;
  padding-left: 20px;
  border-left: 5px #f9e04c solid;
  overflow: hidden;
}
.petycja .punkt-tresc p:not(.punkt),
.petycja li span:not(.wyjasnienie) {
  font-weight: bold;
}
.petycja li span:not(.wyjasnienie) {
  margin-right: 20px;
}
.petycja .wyjasnienie {
  font-size: 1em;
  font-style: italic;
  font-weight: normal;
}
.petycja input[type="text"],
.petycja textarea {
  font-family: HindVadodara-Regular;
  font-size: 16px;
}
.petycja input[type="text"] {
  width: 300px;
}
.petycja textarea {
  width: 500px;
  max-width: 500px;
}
.petycja textarea[name="opis"] {
  width: 690px;
  max-width: 690px;
  min-height: 200px;
}
.petycja .zaznacz li {
  display: block;
}
.petycja ul.zaznacz {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.petycja .zaznacz li {
  margin: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.petycja .zaznacz li:before {
  content: "\2610";
  height: 100%;
  font-size: 20px;
}
.petycja .zaznacz li.aktywny {
  font-weight: bold;
}

.petycja .zaznacz li.aktywny:before {
  content: "\2611";
}
.petycja .zaznacz li p {
  margin: 0 15px 0;
  padding: 0;
}
.petycja .do-listy {
  margin-left: 40px;
}
.petycja .do-listy input {
  display: none;
}
.petycja .lista-bledow {
  color: #ff0000;
}

.glightbox {
  text-decoration: none;
}

/* czcionka dla tesktu ua */

p.ua,
table.ua,
th.ua,
ul.ua,
ol.ua,
div.ua * {
  font-family: Verdana;
}

/* rwd */
@-ms-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

.rtable,
.rtable *,
.rtable *::before,
.rtable *::after {
  box-sizing: border-box;
}

.rtable {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.rtable th,
.rtable td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/**
 * mniej niz 960px
 */

@media screen and (max-width: 959px) {
  #linki-graf-dol {
    align-content: flex-start;
    justify-content: flex-start;
  }
}

/**
 * mniej niz 870px
 */

@media screen and (max-width: 875px) {
  #wyszukiwarka {
    order: 1;
    margin: auto;
  }
}

/**
 * mniej niz 800px
 */

@media screen and (max-width: 820px) {
  #gora-tresc {
    background-color: #fff;
  }
  #lewa {
    position: absolute;
    left: -220px;
    margin-top: 240px;
    padding-right: 45px;
  }
  #menu {
    padding-right: 40px;
  }
  @keyframes pokaz-menu {
    from {
      left: -220px;
    }
    to {
      left: 0;
    }
  }
  @keyframes ukryj-menu {
    from {
      left: 0;
    }
    to {
      left: -220px;
    }
  }
  #lewa.pokaz {
    left: 0;
    animation-name: pokaz-menu;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  #lewa.ukryj {
    left: -220px;
    animation-name: ukryj-menu;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  #lewa.pokaz #menu-p {
    top: 0;
  }
  #lewa.ukryj #menu-p {
    top: -60px;
  }
  #logo {
    display: none;
  }
  #logo-m {
    display: block;
  }
  #menu-p-kont {
    display: block;
  }
  #prawa {
    display: none;
  }
  #srodek,
  .tresc-glowna {
    margin-left: 50px;
    margin-right: 15px;
  }
  #prawa {
    display: none;
  }
  #linki-graf-dol {
    margin: 30px 40px;
  }
  #stopka span:first-child {
    display: none;
  }
  #stopka span:nth-child(2) {
    margin: 0;
  }
}

/* Mobile: wiersz jako karta */
@media (max-width: 640px) {
  .rtable thead {
    display: none;
  }

  .rtable,
  .rtable tbody,
  .rtable tr {
    display: block;
    width: 100%;
  }

  .tresc-glowna table.rtable {
    border: none;
  }

  /* karta (zewnętrzne obramowanie) */
  .rtable tbody tr {
    border: 1px solid #ddd;
    margin: 12px 0;
  }

  /* komórki w karcie */
  .rtable tbody td {
    display: block;
    width: 100%;
    border: 0;
    padding: 10px 12px;
  }

  /* linie wewnątrz karty */
  .rtable tbody td + td {
    border-top: 1px solid #ddd;
  }

  /* komórki z etykietą */
  .rtable tbody td[data-label] {
    display: grid;
    grid-template-columns: 12ch 1fr; /* szerokość etykiety */
    column-gap: 10px;
    row-gap: 4px;
  }

  .rtable tbody td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
  }

  /* wiersze typu colspan lub komórki bez data-label: bez etykiety */
  .rtable tbody td[colspan],
  .rtable tbody td:not([data-label]) {
    display: block;
  }

  .rtable tbody td[colspan]::before,
  .rtable tbody td:not([data-label])::before {
    content: none;
  }
}

/**
 * mniej niz 630px
 */

@media screen and (max-width: 629px) {
  #wyszukiwarka,
  #wersja {
    order: 0;
  }
  #ulatwienia,
  #deklaracja-dostepnosci {
    order: 1;
  }
}
