@charset "UTF-8";


html {
  font-size: 10px;
}
html.big-font {
  font-size: 12px;
}
body {
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  color: var(--black);
  line-height: 100%;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  margin: 0;
}
a {
  font-family: var(--font);
  font-style: normal;
  font-weight: 500;
  color: var(--black);
}
a:hover,
a:focus {
  color: #214258;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: bold;
  font-style: normal;
  color: var(--black);
  line-height: 110%;
  margin: 0;
  padding: 0 0 3rem;
}
h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3.5rem;
}
h3 {
  font-size: 3rem;
}
h4 {
  font-size: 3rem;
}
h5 {
  font-size: 3rem;
}
h6 {
  font-size: 3rem;
}
p {
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--black);
  line-height: 150%;
  padding: 0 0 3rem;
  margin: 0;
}
p.big {
  font-weight: 600;
  font-size: 2rem;
}
li {
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--black);
  line-height: 150%;
  padding: 0 0 1rem;
  margin: 0
}
li::marker {
  color: var(--blue);
  font-weight: bold;
}
strong {
  font-weight: 600;
}
dl, ol, ul {
  margin-top: 0;
  margin-bottom: 2rem;
  padding: 0 0 0 2rem;
}
ol ol, ol ul, ul ol, ul ul {
  margin-bottom: 10px;
}
ol li {
  padding-bottom: 1.5rem;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
.hidden {
  display: none;
}
.aligncenter {
  margin: 0 auto;
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  line-height: 0;
}
figcaption {
  font-family: var(--font);
  font-weight: 500;
  font-style: italic;
  font-size: 1.4rem;
  padding: 1.5rem 2rem;
  line-height: 150%;
}
.skip-link {
  position: absolute !important;
  max-width: 1px;
  max-height: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  white-space: nowrap;
  left: 0;
  top: .5rem;
}
.skip-link:focus {
  max-width: unset;
  max-height: unset;
  background-color: #fff;
  clip: unset;
  padding: .5rem 1rem;
}


:focus {
  outline-offset: .4rem;
  outline-style: dashed;
}

@media (max-width: 1600px) {
  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 2rem;
  }
  h5 {
    font-size: 2rem;
  }
  h6 {
    font-size: 2rem;
  }
  p {
    font-size: 1.6rem;
  }
  p.big {
    font-size: 1.8rem;
  }
  li {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  h4 {
    font-size: 1.8rem;
  }
  h5 {
    font-size: 1.8rem;
  }
  h6 {
    font-size: 1.8rem;
  }
  p {
    font-size: 1.6rem;
  }
  p.big {
    font-size: 1.8rem;
  }
  li {
    font-size: 1.6rem;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  h4 {
    font-size: 1.6rem;
  }
  h5 {
    font-size: 1.6rem;
  }
  h6 {
    font-size: 1.6rem;
  }
  p {
    font-size: 1.4rem;
  }
  p.big {
    font-size: 1.6rem;
  }
  li {
    font-size: 1.4rem;
  }
}



.veritical-col-top {
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
}
.veritical-col-center {
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.veritical-col-bottom {
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
}
.mb0 {
  margin-bottom: 0 !important;
}



/** VARS **/
:root {
  --red: #E60019;
  --blue: #00307F;
  --lightgrey: #F4F4F4;
  --grey: #CECECE;
  --darkgrey: #525252;
  --black: #000;

  --font: 'Open Sans', sans-serif;
}

:root.big-contrast {
  --red: #000;
  --blue: #000;
}

.blue {
  color: var(--blue);
}
.red {
  color: var(--red);
}

/** layout **/
.bodycontainer {
  overflow: hidden;
  max-width: 192rem;
  margin: 0 auto;
}
.container {
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 3rem;
}
#main-content {
  padding: 8rem 0;
}
.main-flex {
  display: flex;
}
.main-flex > .menubox {
  flex: 0 0 46rem;
  max-width: 46rem;
  box-sizing: border-box;
  padding-right: 8rem;
}
.main-flex > .content {
  box-sizing: border-box;
  flex: 0 0 calc(100% - 52rem);
  max-width: calc(100% - 52rem);
}


@media (max-width: 1600px) {
  .main-flex > .menubox {
    flex: 0 0 38rem;
    max-width: 38rem;
    padding-right: 6rem;
  }
  .main-flex > .content {
    box-sizing: border-box;
    flex: 0 0 calc(100% - 38rem);
    max-width: calc(100% - 38rem);
  }
}

@media (max-width: 1100px) {
  .main-flex {
    flex-flow: column;
  }
  .main-flex > .menubox {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .main-flex > .content {
    flex: 0 0 100%;
    max-width: 100%;
  }
  #main-content {
    padding: 5rem 0;
  }
}

@media (max-width: 960px) {
  #main-content {
    padding: 6rem 0;
  }
}

@media (max-width: 460px) {
  #main-content {
    padding: 4rem 0;
  }
  .container {
    padding: 0 2rem;
  }
}
/** layout *END*/





/** buttons **/
.btn {
  display: inline-block;
  color: #fff;
  background-color: var(--red);
  border: 2px solid var(--red);
  font-size: 1.4rem;
  font-weight: bold;
  padding: 1.2rem 3rem;
  line-height: 100%;
  margin: 0;
  text-decoration: none;
  transition: all .3s ease-in-out;
}
.btn:hover {
  color: var(--red);
  border-color: var(--red);
  background-color: #fff;
}
.btn.blue {
  color: #fff;
  background-color: var(--blue);
  border-color: var(--blue);
}
.btn.blue:hover {
  color: var(--blue);
  border-color: var(--blue);
  background-color: #fff;
}
.btn-clear {
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
  color: var(--black);
}
.btn:focus {
  border-color: var(--brown);
}
.btn i {
  padding: 0 1rem 0 0;
}


@media (max-width: 1500px) {
  .btn {
    font-size: 1.4rem;
    padding: 1.2rem 2.5rem;
  }
}

@media (max-width: 960px) {
  .btn {
    font-size: 1.3rem;
    padding: 1.1rem 2rem;
  }
}

@media (max-width: 640px) {
  .btn {
    font-size: 1.4rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 460px) {
  .btn {
    font-size: 1.3rem;
    padding: .8rem 1.5rem;
  }
}
/** buttons *END*/




/** TOP BAR **/
.top-bar {
  background-color: #fff;
  position: static;
  z-index: 999;
  width: 100%;
  box-shadow: 0 0 1rem rgba(0,0,0,.15);
}
.top-bar .bar-container {
  display: flex;
  align-items: center;
  height: 11rem;
}
.navbar-brand {
  margin: 0 auto 0 0;
  transition: all .3s ease-in-out;
}
.navbar-brand:focus {
  outline-offset: 1rem;
  outline-style: dashed;
}

.accessibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.accessibility-list li {
  display: inline;
}
.accessibility-list button {
  padding: .5rem;
  color: var(--black);
  font-size: 2.2rem;
  position: relative;
  cursor: pointer;
}
.big-font .accessibility-list button.font-size {
  color: #DB3900;
}
.big-contrast .accessibility-list button.contrast {
  color: #DB3900;
}
.accessibility-list button:hover {
  color: var(--orange);
}
.accessibility-list button:focus {
  outline-offset: .3rem;
}
.accessibility-list .font-size {
  padding-right: 1rem;
}
.accessibility-list .size {
  position: absolute;
  font-size: 60%;
  margin-left: -10%;
}
.accessibility-list button .minus {
  visibility: hidden;
}
.big-font .accessibility-list button .plus {
  visibility: hidden;
}
.big-font .accessibility-list button .minus {
  visibility: visible;
}

.bydgoszcz {
  margin-left: 8rem;
}


@media (max-width: 1400px) {
  .top-bar .bar-container {
    height: 10rem;
  }
}

@media (max-width: 1200px) {
  .top-bar .bar-container {
    height: 9rem;
  }
  .bar-container .logo {
    max-height: 4rem;
  }
  .bar-container .bydgoszcz {
    margin-left: 3rem;
  }
  .bar-container .bdg {
    max-height: 5rem;
  }
}

@media (max-width: 640px) {
  .top-bar .bar-container {
      height: 8rem;
  }
  .bar-container .logo {
    max-height: 3rem;
  }
  .bar-container .bdg {
    max-height: 4rem;
  }
}

@media (max-width: 460px) {
  .top-bar .bar-container {
      height: 7rem;
  }
  .bar-container .logo {
      max-height: 2.5rem;
  }
  .accessibility-list button {
    font-size: 1.8rem;
  }
  .bar-container .bydgoszcz {
    margin-left: 2rem;
  }
  .bar-container .bdg {
    max-height: 3rem;
  }
}

@media (max-width: 375px) {
  .top-bar .bar-container {
      height: 6rem;
  }
  .bar-container .logo {
      max-height: 2.2rem;
  }
  .accessibility-box {
    display: none;
  }
  .bar-container .bydgoszcz {
    margin-left: 1.5rem;
  }
  .bar-container .bdg {
    max-height: 2.7rem;
  }
}
/** TOP BAR *END*/




/** MENU **/
.menu-header {
  background-color: var(--red);
  color: #fff;
  font-weight: bold;
  font-size: 2.2rem;
  padding: 1.6rem 4.5rem;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.mainnav {
  box-shadow: 1.2rem 1.6rem 3.5rem rgb(0 0 0 / 16%);
}
#menu {
  width: 38rem;
}
#mainmenu {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 1s ease-in-out;
  max-height: 300rem;
}
#mainmenu li {
  padding: 0;
  border-bottom: 1px solid #9F9F9F;
}
#mainmenu > li:last-of-type {
  border-bottom: 0;
}
#mainmenu li a {
  font-size: 2.2rem;
  padding: 1.6rem 4.5rem;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  align-items: center;
}
#mainmenu li a:hover,
#mainmenu li a:focus {
  background-color: var(--red);
  color: #fff;
  outline: none;
}
#mainmenu > li.current-menu-parent > a,
#mainmenu > li.current-menu-item > a {
  background-color: var(--red);
  color: #fff;
  font-weight: bold;
}
#mainmenu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--lightgrey);
  overflow: hidden;
  max-height: 0;
  transition: all .3s ease-in-out;
}
#mainmenu > li.active > .sub-menu,
#mainmenu > li:focus-within + a:not(:focus) > .sub-menu,
#mainmenu > li > .sub-menu:focus-within,
#mainmenu > li.current-menu-parent > .sub-menu {
  max-height: 30rem;
}
#mainmenu .sub-menu li:first-of-type {
  border-top: 1px solid #9F9F9F;
}
#mainmenu .sub-menu li:last-of-type {
  border-bottom: none;
}
#mainmenu .sub-menu li a {
  padding-left: 6rem;
  font-size: 2rem;
}
#mainmenu > li.current-menu-parent .current-menu-item > a,
#mainmenu > li.menu-item-has-children .current-menu-parent > a {
  color: var(--blue);
}
#mainmenu > li.current-menu-parent .current-menu-item > a:hover {
  color: #fff;
}
#mainmenu > li.current-menu-parent .current-menu-item > a:focus {
  color: #fff;
}

.searchbox {
  background-color: #fff;
  border-top: 1px solid #9f9f9f;
  box-sizing: border-box;
  padding: 1.4rem 4rem;
}
.searchbox .searchform-wrapper {
  position: relative;
}
.searchbox .search-input {
  height: 3rem;
  width: 100%;
  border: 1px solid #fff;
  padding: 0 0 0 5rem;
  box-sizing: border-box;
  font-size: 2.2rem;
}
.searchbox .button {
  position: absolute;
}
.searchbox .button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4rem;
  color: var(--blue);
  background-color: transparent;
  border: none;
  font-size: 2rem;
  z-index: 1;
  cursor: pointer;
}
.searchbox .button:hover,
.searchbox .button:focus {
  color: var(--red);
}
.searchbox .error span {
  position: absolute;
  bottom: -8.5rem;
  background-color: var(--blue);
  padding: 2rem 4rem;
  width: calc(100% + 1rem);
  left: -4.5rem;
  color: #fff;
}


@media (max-width: 1600px) {
  #menu {
    width: 32rem;
  }
  #mainmenu li a {
    font-size: 1.7rem;
    padding: 1.4rem 4.5rem;
  }
  #mainmenu .sub-menu li a {
    font-size: 1.6rem;
  }
}

@media (max-width: 1100px) {
  .menubox {
    padding-bottom: 4rem
  }
  /*
  .menubox:not(.menu-open) #mainmenu {
    max-height: 0;
    overflow: hidden;
  }*/
  #menu {
    width: 100%;
  }
}

@media (max-width: 460px) {
  #mainmenu li a {
    font-size: 1.5rem;
    padding: 1rem 2.5rem;
  }
  #mainmenu .sub-menu li a {
    font-size: 1.3rem;
    padding-left: 4rem;
  }
}
/** MENU *END*/




/** footer CONTACT **/
#foocontact {
  display: flex;
  min-height: 56rem;
  background-color: var(--lightgrey);
}
#foocontact .box {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  align-items: center;
}
#foocontact .map {
  background-position: center;
  background-size: cover;
  min-height: 37rem;
}
#foocontact .outer {
  padding: 4rem 3rem;
  box-sizing: border-box;
  margin-left: calc(100% - 70rem);
  max-width: 100%;
}
#foocontact .footer-title {
  color: var(--blue);
  font-size: 2.4rem;
  font-weight: bold;
  padding: 0 0 2rem;
}
#foocontact .txt {
  padding: 0 0 4rem;
}
#foocontact .txt p {
  font-size: 1.8rem;
  padding: 0 0 2rem;
}
.bip:focus {
  outline-offset: 1rem;
  outline-style: dashed;
}

@media (max-width: 1600px) {
  #foocontact .outer {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  #foocontact {
    flex-flow: column;
  }
  #foocontact .box {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 460px) {
  #foocontact .footer-title {
    font-size: 1.6rem;
  }
  #foocontact .txt {
    padding: 0 0 2rem;
  }
  #foocontact .txt p {
    font-size: 1.4rem;
  }
  .svg-bip {
    height: 6rem;
  }
}

@media (max-width: 376rem) {
  #foocontact .map {
    min-height: 25rem;
  }
}
/** footer CONTACT *END*/




/** footer **/
.footer {
  background-color: var(--blue);
  padding: 2rem 0;
  color: var(--white);
}
.footer .copyright {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
}
.footer .copyright:last-of-type{
  padding-bottom: 0;
}
.footer .copyright a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.footer .copyright a:hover {
  text-decoration: underline;
}
.footer .copyright a:hover {
  color: #fff;
}
/** footer *END*/






/** Blog navigation **/
.post-navigation {
  padding: 3rem 0;
  border-top: 2px solid #C8C8C8;
}
#index .post-navigation,
#category .post-navigation,
#archive .post-navigation {
  padding: 3rem 0 5rem;
}
.post-navigation a {
  color: #000;
  border-color: #000;
  background-color: #fff;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 0;
  letter-spacing: 1px;
  margin: 0;
  border-radius: .5rem;
  -webkit-border-radius: .5rem;
  -moz-border-radius: .5rem;
  -ms-border-radius: .5rem;
  -o-border-radius: .5rem;
  transition: all .5s;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -o-transition: all .5s;
}
.post-navigation a:hover {
  color: #00112A;
  border-color: #00112A;
  background-color: #fff;
  text-decoration: none;
}
.post-navigation a i {
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid #000;
  font-size: 1rem;
  line-height: 3.5rem;
  text-align: center;
  padding: 0 !important;
  border-radius: 50%;
}
.post-navigation a:hover i {
  color: #343a40;
  border-color: #343a40;
}
.post-navigation .left {
  text-align: left;
}
.post-navigation .right {
  text-align: right;
}
.post-navigation .left i {
  margin: 0 2rem 0 0;
}
.post-navigation .right i {
  margin: 0 0 0 2rem;
}

nav.pagination-bottom {
  padding-top: 2rem;
  padding-bottom: 7rem;
  width: 100%;
}
nav.pagination-bottom .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav.pagination-bottom li {
  padding: 0;
  margin: 0;
  display: inline-block;
}
nav.pagination-bottom a {
  text-decoration: none;
  display: inline-block;
  padding: .5rem;
  font-size: 2rem;
}
nav.pagination-bottom a.prev,
nav.pagination-bottom a.next {
  text-decoration: none;
  display: inline-block;
  padding: .5rem;
  font-size: 1.5rem;
}
nav.pagination-bottom a:hover {
  color: var(--green);
  text-decoration: none;
}
nav.pagination-bottom span {
  text-decoration: none;
  display: inline-block;
  padding: .5rem;
  font-size: 2rem;
}
nav.pagination-bottom .current {
  color: var(--green);
  font-weight: bold;
}


@media (max-width: 575.99px) {
  .post-navigation a span {
    display: none;
  }
  .post-navigation .left a i,
  .post-navigation .right a i {
    padding: 0;
  }
}
/** Blog navigation *END*/




/** posts **/
.post-outer {
  margin: 1rem;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: .5rem;
  box-shadow: 0.2rem 0.2rem 1.1rem rgb(0 0 0 / 10%);
  background-color: #fff;
}
.post-outer .post-content {
  padding: 2rem 3rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.post-outer .stamp {
  display: none;
  width: 8rem;
  height: 10rem;
  background-color: var(--blue);
  padding: 2rem 1.5rem 1rem;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  color: #fff;
  right: 4rem;
}
.post-outer .stamp .title {
  padding: 1rem 0 0;
  display: block;
  font-size: 1.6rem;
  text-align: center;
}
.post-outer .ordinance {
  font-weight: bold;
  padding: 0 0 1rem;
  font-size: 1.6rem;
}
.post-outer .post-header {
  color: var(--black);
  font-size: 3rem;
}
.post-outer .post-entry {
  width: 100%;
  box-sizing: border-box;
}
.post-outer .post-bottom {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}
.post-outer .post-date {
  font-weight: 600;
  color: var(--green);
  padding: 0;
}


@media (max-width: 1400px) {
  .post-outer {
    margin: 1rem;
    box-shadow: 0rem 0rem 1.5rem rgb(0 0 0 / 16%);
  }
  .post-outer .post-content {
    padding: 2rem 3rem;
  }
}

@media (max-width: 1300px) {
  .article-list {
    margin: 0;
  }
  .post-outer {
    margin: 0 0 2rem;
  }
}

@media (max-width: 860px) {
  .post-outer {
    flex-flow: column;
  }
  .post-outer .post-content {
    padding: 0;
  }
  .post-outer .post-img-box {
    flex: 0 0 100%;
    padding: 0 0 5rem;
  }
}

@media (max-width: 640px) {
  .post-outer .post-header {
    font-size: 3rem;
    padding: 0 0 2rem;
  }
}

@media (max-width: 460px) {
  .post-outer .post-img-box {
    padding: 0 0 3rem;
  }
  .post-outer .post-header {
    font-size: 2.5rem;
  }
  .post-outer .post-bottom {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .post-outer .post-date {
    padding: 0 0 2rem;
  }
  .post-outer .ordinance {
    font-size: 1.2rem;
  }
}
/** posts *END*/



/** post META **/
.meta {
  list-style: none;
  padding: 2rem 0 0;
  margin: 0;
  display: inline-block;

}
.meta li {
  border-bottom: 1px solid #E6E6E6;
  padding: .5rem 0;
  font-size: 1.4rem;
}
.meta li span {
  font-weight: 400;
}
.meta li span.data {
  font-weight: 600;
}
.meta .publication .data {
  color: red;
}

@media (max-width: 460px) {
  .meta {
    margin: 0 0 2rem 0;
  }
}
/** post META *END*/



/** post DOWNLOADS **/
.downloads {
  padding: 4rem 0 0;
}
.downloads .downloads-header {
  font-size: 3rem;
}
.downloads .download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.downloads .download-list li {
  margin: 0 0 1rem;
}
.downloads .btn {
  display: flex;
}
.downloads .date {
  padding-left: 2rem;
  font-size: 80%;
  font-weight: bold;
}
/** post DOWNLOADS *END*/




/** post list **/
.article-list {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  margin: 0 -2rem;
}
.article-list > article {
  flex: 0 0 50%;
  max-width: 50%;
}
.article-list .post-outer .post-header {
  font-size: 2rem;
}


@media (max-width: 1400px) {
  .article-list {
    margin: 0 -1rem;
  }
}

@media (max-width: 1300px) {
  .article-list > article {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/** post list *END*/




/** post ARCHIVE **/
#archive .meta {
  margin: 0 2rem 0 0;
  padding: 0;
}
#archive .meta li {
  padding: .3rem 0;
  font-size: 1.4rem;
}

@media (max-width: 860px) {
  #archive .post-outer .post-content,
  #taxonomy .post-outer .post-content {
      padding: 1.5rem;
  }
}
/** post ARCHIVE *END*/




/** post SINGLE **/
#single .post-outer .post-content {
  padding: 0;
}
#single .post-extend {
  padding: 4rem 0 0 0;
}
#single .post-outer {
  padding: 0;
  margin: 0;
  box-shadow: none;
}
#single .post-images {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  padding: 6rem 0 0;
}
#single .post-images > * {
  flex: 0 0 50%;
  padding: 0 3rem 5rem;
  box-sizing: border-box;
}


@media (max-width: 960px) {
  #single .post-images {
    justify-content: center;
  }
  #single .post-images > * {
    flex: 0 0 65rem;
  }
}

@media (max-width: 460px) {
  #single {
    padding-top: 4rem;
  }
  #single .post-extend {
    padding: 4rem 0 0 0;
  }
}
/** post SINGLE *END*





/** TEMPLATE deklaracja dostępności **/
#template_deklaracja-dostepnosci .wstep {
  font-weight: 500;
}
#template_deklaracja-dostepnosci h2 {
  font-size: 3rem;
  padding: 5rem 0 3rem;
}
#template_deklaracja-dostepnosci h3 {
  font-size: 2.5rem;
  padding: 2rem 0 3rem;
}
#a11y-status {
  padding-top: 2rem;
}
#template_deklaracja-dostepnosci .kontakt_dostepnosci span {
  font-weight: 600;
  color: var(--green);
}
#template_deklaracja-dostepnosci .data {
  padding: 0 0 1rem;
}
#template_deklaracja-dostepnosci .data span {
  color: var(--green);
  font-weight: 600;
}
/** TEMPLATE deklaracja dostępności *END*/



/** page STRUCTURE **/
.structure {
  display: flex;
  flex-flow: column;
  width: 100%;
}
.structure.main {
  padding-top: 2rem;
}
.structure.childs {
  padding-bottom: 4rem;
}
.structure .row {
  position: relative;
  display: flex;
  flex-flow: row;
  justify-content: space-around;
  align-items: flex-start;
}
.structure .box {
  flex: 0 0 calc(100% / 6);
  box-sizing: border-box;
  padding: 0 1rem 0 0;
}
.structure .box .outer {
  position: relative;
  border: 2px solid var(--blue);
  box-sizing: border-box;
  padding: .5rem;
  font-size: 1.5rem;
  line-height: 120%;
  min-height: 10rem;
}
.structure .structure_0 .box {
  padding-bottom: 2rem;
}
.structure .structure_0 .box:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 2px;
  height: 2rem;
  background-color: var(--blue);
}
.structure .structure_0 .outer {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  min-height: unset;
}
.structure .structure_1:before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(((100% / 6) / 2) - .4rem);
  z-index: 1;
  width: calc((100% - (100% / 6) + .6rem));
  height: 2px;
  background-color: var(--blue);
}
.structure .structure_1 .box {
  padding-top: 2rem;
}
.structure .structure_1 .box:last-of-type {
  padding-right: 0;
}
.structure .structure_1 .outer:before {
  content: '';
  position: absolute;
  top: -2.2rem;
  left: 50%;
  z-index: 1;
  width: 2px;
  height: 2rem;
  background-color: var(--blue);
}
.structure .structure_2 .box {
  padding-top: 2rem;
}
.structure .structure_2 .outer:before {
  content: '';
  position: absolute;
  top: -2.2rem;
  left: 50%;
  z-index: 1;
  width: 2px;
  height: 2rem;
  background-color: var(--blue);
}


@media (max-width: 1300px) {
  .structure.main .row {
    justify-content: flex-start;
  }
  .structure.main .box {
    max-width: 20rem;
    min-width: 20rem;
  }
  .structure .structure_0 .box:after {
    content: none;
  }
  .structure.childs {
    flex-flow: row;
  }
  .structure.childs .row {
      flex-flow: column;
  }
  .structure.childs .box {
    max-width: 20rem;
    width: 100%;
  }
  .structure .structure_1 {
    padding-left: 4rem;
  }
  .structure .structure_1:before {
    top: -2rem;
    left: 2rem;
    height: calc((100% - (100% / 6)) + 9rem);
    width: 2px;
  }
  .structure .structure_2 .box {
    padding-right: 0;
  }
  .structure .structure_1 .outer:before {
    top: 50%;
    left: -2.2rem;
    width: 2rem;
    height: 2px;
  }
  .structure .structure_2 .outer:before {
    top: 50%;
    left: -1.2rem;
    width: 1rem;
    height: 2px;
  }
  .structure .structure_1 .box:last-of-type {
    padding-right: 1rem;
  }
}

@media (max-width: 500px) {
  .structure .structure_1 {
      padding-left: 2rem;
  }
  .structure .structure_1:before {
    left: 1rem;
  }
  .structure .structure_1 .outer:before {
    left: -1.2rem;
    width: 1rem;
  }
}
/** page STRUCTURE *END*/




/** page CONTACT **/
.contact {
  display: flex;
  flex-flow: row;
  padding: 4rem 0;
}
.contact .addres {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
}
.contact .map {
  flex: auto;
  height: 45rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/** page CONTACT *END*/




/** page DEKLARACJA SOSTĘPNOŚCI **/
#deklaracja-dostepnosci .wstep {
  font-weight: 500;
}
#deklaracja-dostepnosci h2 {
  font-size: 3rem;
  padding: 5rem 0 3rem;
}
#deklaracja-dostepnosci h3 {
  font-size: 2.5rem;
  padding: 2rem 0 3rem;
}
#a11y-status {
  padding-top: 2rem;
}
#deklaracja-dostepnosci .kontakt_dostepnosci span {
  font-weight: 600;
  color: var(--green);
}
#deklaracja-dostepnosci .data {
  padding: 0 0 1rem;
}
#deklaracja-dostepnosci .data span {
  color: var(--green);
  font-weight: 600;
}


@media (max-width: 640px) {
  .contact {
    flex-wrap: wrap;
  }
  .contact .addres {
    flex: 0 0 100%;
  }
  .contact .map {
    height: 35rem;
    width: 100%;
    margin: 0 -3rem;
  }
}
/** page DEKLARACJA SOSTĘPNOŚCI *END*/




/** FORMS **/
.form-container {
  display: flex;
  flex-wrap: wrap;
}
.form-container > div:not(.fv) {
  padding: 0 1rem 2rem;
  box-sizing: border-box;
}
.form-container .fv {
  display: flex;
  flex-wrap: wrap;
}
.form-container .fv > div {
  padding: 0 1rem 2rem;
  box-sizing: border-box;
}
.form-container .full-width {
  flex: 0 0 100%;
  max-width: 100%;
}
.form-container .half-width {
  flex: 0 0 50%;
  max-width: 50%;
}
.form-container .quarter-width {
  flex: 0 0 25%;
  max-width: 25%;
}
.form-container .small-width {
  width: 10rem;
}
.form-container label {
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 0 0 1rem;
  text-align: left;
}
.form-container input[type="text"],
.form-container input[type="number"],
.form-container input[type="email"] {
  border: 2px solid var(--darkgrey);
  width: 100%;
  font-size: 1.6rem;
  font-weight: 400;
  height: 5rem;
  line-height: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}
.form-container input[type="checkbox"] {
  height: 2rem;
  width: 2rem;
  vertical-align: middle;
}
.form-container textarea {
  border: 2px solid var(--darkgrey);
  width: 100%;
  font-size: 1.6rem;
  font-weight: 400;
  height: 20rem;
  line-height: 100%;
  padding: 2rem;
  box-sizing: border-box;
}
.form-container sup {
  position: absolute;
  padding-left: 4px;
  color: red;
}
.form-container .wpcf7-checkbox,
.form-container .wpcf7-radio {
  padding: .7rem 0;
  display: block;
}
.form-container .legend p {
  position: relative;
  padding: 0 0 0 2rem;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: #757575;
}
.form-container .legend p sup {
  left: 0;
}
.form-container .submit {
  text-align: right;
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}
.form-container p {
  padding: 0;
}
.form-container input[type="submit"] {
  cursor: pointer;
}
.form-container .ajax-loader {
  position: absolute;
  left: 0;
  z-index: 1;
  top: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: var(--red);
  background-color: var(--red);
  color: #fff;
  padding: 4rem;
  font-weight: bold;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--blue);
  background-color: var(--blue);
  color: var(--black);
  padding: 4rem;
  font-weight: bold;
}
.form-container .wpcf7-not-valid-tip {
  color: var(--red);
  font-weight: bold;
}


@media (max-width: 640px) {
  .form-container .half-width {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .form-container .quarter-width {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 460px) {
  .form-container .quarter-width {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/** FORMS *END*/




/** page HOME **/
#frontpage .top {
  position: relative;
}
.home #main-content {
  padding: 0;
}
.slider {
  padding-bottom: 4rem;
}
.slider .item {
  height: 60rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#frontpage .header-box {
  position: absolute;
  bottom: 10rem;
  z-index: 100;
  width: 100%;
}
#frontpage .main-header {
  padding-left: 52rem;
  color: #fff;
}
.home #menu {
  position: relative;
  margin-top: -55rem;
  z-index: 100;
  background-color: #fff;
}

.homenews {
  background-color: #FAFAFA;
  padding: 6rem 0;
  margin-top: 4rem;
}
.homenews .section-header {
  text-align: center;
  color: var(--blue);
}
.news-container {
  display: flex;
  flex-flow: row;
  align-items: flex-start;
  flex-wrap: wrap;
}
.news-container .left,
.news-container .right {
  flex: 0 0 50%;
  max-width: 50%;
}
.homenews .special .post-outer {
  height: 52rem;
}
.homenews .special .post-content {
  padding: 8rem 4rem;
}
.homenews .special .post-outer .stamp {
  display: block;
}
.homenews .special .ordinance {
  padding: 0 0 6rem;
}
.homenews .special .post-header {
  min-height: 20rem;
  padding-right: 10rem;
}
.homenews .news .post-header {
  color: var(--black);
  font-size: 3rem;
  min-height: 9.6rem;
  padding: 0;
}
.big-font .homenews .owl-carousel .owl-stage {
  width: 100% !important;
}
.big-font .homenews .owl-carousel .owl-item {
  width: 100% !important;
}


@media (max-width: 1600px) {
  .slider .item {
    height: 46rem;
  }
  #frontpage .main-header {
    padding-left: 38rem;
  }
  .home #menu {
    position: absolute;
    margin-top: -38rem;
  }
}

@media (max-width: 1100px) {
  .home #menu {
    position: relative;
    margin-top: -15rem;
  }
  #frontpage .header-box {
    bottom: 18rem;
  }
  #frontpage .main-header {
    padding-left: 0;
  }
  .homenews .container {
    padding: 0;
  }
  .news-container .left,
  .news-container .right {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .homenews .special .post-outer {
    height: unset;
  }
  .homenews .post-outer {
    margin: 0 2rem 3rem;
  }
  .post-outer .stamp {
    width: 6rem;
    height: 8rem;
    padding: 1rem;
    right: 3rem;
  }
  .post-outer .stamp .title {
    font-size: 1.2rem;
  }
  .homenews .special .post-content {
    padding: 4rem 3rem;
  }
  .homenews .special .ordinance {
    padding: 0 0 4rem;
  }
  .homenews .special .post-header {
    min-height: unset;
  }
  .homenews .news .post-header,
  .homenews .special .post-header {
    font-size: 2.5rem;
    min-height: unset;
    padding: 0 8rem 2rem 0;
  }
}

@media (max-width: 860px) {
  .homenews .post-outer .post-content {
    padding: 3rem 2rem;
  }
  .post-outer .stamp {
    right: 2rem;
  }
  .homenews .news .post-header,
  .homenews .special .post-header {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .homenews .special .ordinance {
    padding: 0 0 3rem;
    font-size: 1.2rem;
  }
  .homenews .news .ordinance {
    padding: 0 0 1rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 460px) {
  .post-outer .stamp {
    width: 5rem;
    height: 6.5rem;
    padding: .8rem;
  }
  .homenews .news .post-header,
  .homenews .special .post-header {
    font-size: 1.8rem;
    padding: 0 6rem 0 0;
  }
  .post-outer .stamp .title {
    font-size: 1rem;
  }
}
/** page HOME *END*/



/** Rejestr zmian **/
span.list_last_changes_date,
span.list_last_changes_author {
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 600;
}
/** Rejestr zmian *END*/




/** page SEARCH **/
.search-header {
  color: var(--blue);
}
#page_search .search-result-count {
  font-size: 1.8rem;
  font-weight: 600;
  padding: 0 0 5rem;
  color: var(--red);
}
#page_search .result-header {
  font-size: 2.5rem;
}
#page_search .result-header a:hover {
  color: var(--green);
}
/** page SEARCH *END*/



/* cookies plugin **/
body .cn-button.bootstrap {
  color: #fff;
  background: var(--red);
}

.page-id-4718 p {
	padding-bottom: 2rem;
}