/*
#########################
### GLOBALS ELEMENTS  ###
#########################
*/
body {
  color: #000000;
}

a {
  color: inherit;
}

a.more,
.news .article a.more {
  background: #575756;
  padding: 5px 25px 5px 10px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  color: #ffe202;
  font-size: 80%;
  position: relative;
  display: inline-block;
  /* WCAG 2.1 AA */
}

a.more::after,
.news .article a.more::after {
  font-family: 'pfron' !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e904';
  font-size: 2.1rem;
  display: inline-block;
  padding-top: 0px;
  vertical-align: top;
  padding-right: 0;
  padding-left: 5px;
  position: absolute;
  top: 5px;
  /* WCAG 2.1 AA 3px */
  right: 8px;
}

a.more:hover,
body a.more:focus,
.news .article a.more:hover,
body .news .article a.more:focus {
  color: #ffffff;
  background: #5b5a48;
  /* WCAG 2.1 AA */
}

a.more2,
.news .article a.more2 {
  padding: 5px 35px 5px 0px;
  color: #2f2f37;
  font-size: 80%;
  font-weight: 500;
  /*position: relative;*/
  background-image: url('../Images/Ikony/strzalka30.png');
  /*background-size: contain;*/
  display: inline-block;
  background-repeat: no-repeat;
  background-position: right center;
  min-height: 32px;
  text-decoration: underline;
}

a.ico-mail {
  background-image: url('../Images/Ikony/mail.png');
  /*background-size: contain;*/
  padding-right: 30px !important;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: right center;
}

body a:focus {
  outline: 4px solid black;
  display: inline-block;
}

.skip-link:focus {
  margin-left: -30px;
  font-size: 16px;
  font-size: 1.6rem;
}

/*
a.more2::after, 
.news .article a.more2::after {
    display: inline-block;
    padding-top: 0px;
    vertical-align: top;
    padding-right: 0;
    padding-left: 5px;
    position: absolute;
    top: 3px;
    right: 8px;
    background-image: url('../Images/Ikony/strzalka30.png');   
    background-size: contain;
}*/
.cred {
  color: red;
}

.cblue {
  color: #00a0d0;
}

.cgrey {
  color: grey;
}

.byellow {
  background: #ffe202;
}

hr {
  border-top-color: #ffe202;
}

.site-logo {
  border-bottom-color: transparent;
}

/*.site-logo-right img {
    max-height: 45px;
    max-width: 150px;
}*/
.site-logo img,
.site-logo-right img {
  width: auto;
  height: auto;
}

.form-control::placeholder {
  font-size: 80%;
}

input[type='text'] {
  padding: 6px 15px;
  border: 1px solid #b2a43d;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

input[type='text']:focus {
  border-color: #000;
  box-shadow: none;
  border-width: 3px;
}

blockquote::before {
  content: '';
}

/*
##################################
### CONTENT ELEMENTS custom-1  ###
### bootstrap 4 columns to row ###
##################################
*/
/*
.frame-custom-1 {
    border: 2.5px solid #fff;
}
.frame-custom-1 .ce-gallery figure.image {
    width: 100%;
}
.frame-custom-1 .ce-gallery figure.image img {
    width: 100%;
    height: auto;
}
.frame-custom-1 .ce-column {
    float: none;
}
.frame-custom-1 .ce-textpic .ce-inner {
    float: none;
    right: auto;
    position: inherit;
}
.frame-custom-1 .ce-textpic .ce-outer {
    float: none;
    right: auto;
    position: inherit;
}
.frame-custom-1 .ce-textpic .ce-gallery {
    margin:0;
}
.frame-custom-1 .ce-gallery figcaption {
    display: none;
}
.frame-custom-1 header {
    position: absolute;
    bottom: 15px; 
    width: 100%;
    margin: 0;
    background-color: rgba(0,0,0,0.3);
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    text-align: center;
    color: #fff;
    height: 5.5rem;
    display: table;
    text-transform: lowercase;
    text-shadow: 1px 1px 2px black,2px 2px 4px rgba(0,0,0,0.8),3px 3px 6px rgba(0,0,0,0.6),4px 4px 8px rgba(0,0,0,0.4),5px 5px 10px rgba(0,0,0,0.2),-1px -1px 2px black,-2px -2px 4px rgba(0,0,0,0.8),-3px -3px 6px rgba(0,0,0,0.6),-4px -4px 8px rgba(0,0,0,0.4),-5px -5px 10px rgba(0,0,0,0.2);
    overflow: hidden;
}
.frame-custom-1 header h2 {
    margin: 0;        
    display: table-cell;
    vertical-align: middle;        
}
.frame-custom-1 header h3 {
    display: none;
}
.frame-custom-1 header a {
    color: inherit;
    display: block;
}
.frame-custom-1 header a:hover {
    color: inherit;
    text-decoration: none;
}
*/

/* WCAG 2.1 AA */
@media screen and (max-width: 600px) {

  .ce-left .ce-gallery,
  .ce-right .ce-gallery {
    width: 100%;
  }
}

/*
###################
###  HOME PAGE  ###
###################
*/
body.page-1 .site {
  background: #ffe202;
}

body.page-1 .site .main,
body.layout-1 .site .main {
  width: 100%;
}

/* WCAG 2.1 AA */
body.page-1 .site .main .main-article ul,
body.layout-1 .site .main .main-article ul {
  margin: 0;
  padding: 0;
}

body.page-1 .site .main .frame-type-textpic,
body.layout-1 .site .main .frame-type-textpic {
  width: 25%;
  padding-left: 2%;
  padding-right: 2%;
  float: left;
  font-size: 80%;
  list-style: none;
  /* WCAG 2.1 AA */
}

body.layout-1 .site .main .frame-type-textpic {
  width: 33%;
}
body.page-1 .site .main .frame-type-textpic a:focus,
body.layout-1 .site .main .frame-type-textpic a:focus {
  display: block;
}

/* WCAG 2.1 25-08-2023 */
@media screen and (max-width: 767px) {
  body.layout-1 .site .main .frame-type-textpic .ce-above .ce-bodytext {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

body.page-1 .site .main .frame-default h1,
body.page-1 .site .main .frame-default h2,
body.page-1 .site .main .frame-default h3,
body.page-1 .site .main .frame-default h4,
body.page-1 .site .main .frame-default h5 {
  font-size: 1.6px;
  font-size: 1.6rem;
  padding: 0px;
  margin: 0px;
  margin-bottom: 5px;
  line-height: 1.4;

  text-transform: none;
  font-weight: 500;
}

body.layout-1 .site .main .frame-default h1,
body.layout-1 .site .main .frame-default h2,
body.layout-1 .site .main .frame-default h3,
body.layout-1 .site .main .frame-default h4,
body.layout-1 .site .main .frame-default h5 {
  padding: 0px;
  margin: 0px;
  margin-bottom: 5px;
  line-height: 1.4;

  text-transform: none;
  font-weight: 500;
}

body.page-1 .site .main .frame-type-text {
  width: 60%;
  float: left;
}

body.page-1 .site .main .frame-type-list {
  width: 40%;
  float: right;
}

body.page-1 .site .main .frame-type-div,
body.layout-1 .site .main .frame-type-div {
  float: left;
  width: 100%;
}

@media screen and (max-width: 991px) {

  body.page-1 .site .main .frame-type-text,
  body.page-1 .site .main .frame-type-list {
    width: 100%;
    padding-top: 0px;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  body.page-1 .site .main .frame-type-textpic {
    width: 50%;
  }

  body.page-1 .site .main .frame-type-text,
  body.page-1 .site .main .frame-type-list {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  body.layout-1 .site .main .frame-default h1,
  body.layout-1 .site .main .frame-default h2,
  body.layout-1 .site .main .frame-default h3,
  body.layout-1 .site .main .frame-default h4,
  body.layout-1 .site .main .frame-default h5 {
    font-size: 2rem;
  }
}

body.page-1 .site .main .frame-default h1,
body.page-1 .site .main .frame-default h2,
body.page-1 .site .main .frame-default h3,
body.page-1 .site .main .frame-default h4,
body.page-1 .site .main .frame-default h5,
body.page-1 .site .main .frame-default h6,
body.page-1 .site .main .frame-default strong {
  color: #000;
}

body.layout-1 .site .main .frame-default h1,
body.layout-1 .site .main .frame-default h2,
body.layout-1 .site .main .frame-default h3,
body.layout-1 .site .main .frame-default h4,
body.layout-1 .site .main .frame-default h5,
body.layout-1 .site .main .frame-default h6,
body.layout-1 .site .main .frame-default strong {
  color: #2f2f37;
}

body.page-1 .site .main .frame-type-textpic a,
body.layout-1 .site .main .frame-type-textpic a {
  color: inherit;
}

/*
body.page-1 .site .main .news-search-form fieldset {
    position: relative;
    margin-top: -0.5em;
}
body.page-1 .site .main .news-search-form fieldset .form-group {
    margin: 0;
} new down line */

body.page-1 .site .main .news-search-form form {
  margin-top: -0.5em;
  position: relative;
  display: flow-root;
}

body.page-1 .site .main .news-search-form input[type='text'] {
  max-width: 300px;
  float: right;
}

.news-search-form input[type='submit'] {
  background-image: url('../Images/Ikony/wyszukaj.png');
  text-indent: 25px;
  width: 25px;
  height: 25px;
  padding: 0px !important;
  border: 0px none !important;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -12px;
}

/*
##########################
###  FIRST NAVIGATION  ###
##########################
*/
#navigation-toggler:focus,
.site-header .site-links li a:focus,
.main-navigation li a:focus {
  outline: 4px solid black;
  /* WCAG 2.1 AA */
}

/*
##############################
###  SECONDARY NAVIGATION  ###
##############################
*/
.secondary-navigation {
  border: 0px none;
  text-align: right;
  width: 16%;
}

.secondary-navigation img {
  border: 3px solid #575756;
  -webkit-border-radius: 75px;
  -moz-border-radius: 75px;
  border-radius: 75px;
}

/*
################
###  HEADER  ###
################
*/
.site-header {
  padding-top: 20px;
  padding-bottom: 20px;

  padding-left: 100px;
}

@media screen and (max-width: 359px) {
  .site-header {
    padding-left: 0px;
  }

  .site-header .site-logo img {
    max-width: 135px;
  }
}

@media screen and (max-width: 1000px) {
  .site-header .site-logo-right {
    position: absolute;
    top: 50%;
    margin-top: -37px;
    right: 40px;
  }
}

@media screen and (max-width: 500px) {
  .site-header .site-logo-right {
    right: 5px;
  }

  .site-header .site-logo-right img {
    max-width: 165px;
  }
}

@media screen and (min-width: 1000px) {
  .site-header .site-logo-right {
    float: right;
    padding: 20px 60px 15px 0;
  }
}

.site-header .site-play-back {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -23px;
  font-size: 10px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

@media screen and (max-width: 359px) {
  .site-header .site-play-back {
    display: none;
  }
}

.site-header .site-play-back:hover {
  color: inherit;
}

.site-header .site-play-back img {
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.site-header .site-play-back:hover img {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

body.page-1 .site-header .site-play-back:hover img {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.site-header .site-tools {
  margin-top: -46px;
}

.main-navigation {
  font-size: 16px;
  font-size: 1.6rem;
  border-bottom-color: #ffe202;
}

.main-navigation li a {
  padding-left: 7px;
  padding-right: 7px;
  text-transform: uppercase;
  font-weight: 500;
}

.global-tools-arrow:after {
  margin-top: -6px;
}

.site-header .site-links li {
  margin-left: 20px;
}

.site-header .site-links li .border-circle {
  display: inline-block;
  width: 72px;
  height: 69px;
  border: 3px solid #ffffff;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  /*background-color: #ffffff;*/
  text-align: center;
  padding: 0px;
}

.site-header .site-links li .border-circle .icon {
  background-image: url('../Images/Ikony/kwiatek75bo.png');
  background-size: contain;
  display: block;
  width: 65px;
  height: 65px;
}

.site-header .site-links li .border-circle .home {
  background-image: url('../Images/Ikony/kwiatek75bo.png');
}

.site-header .site-links li .border-circle .prezes {
  background-image: url('../Images/Ikony/prezes75bo4.png');
}

.site-header .site-links li .border-circle .program {
  background-image: url('../Images/Ikony/sprawnosc75bo.png');
}

.site-header .site-links li .border-circle .dostepnosc {
  background-image: url('../Images/Ikony/kwiatek75bo.png');
}

.site-header .site-links li .border-circle .skarga {
  background-image: url('../Images/Ikony/wazne75bo.png');
}

.site-header .site-links li .border-circle .news {
  background-image: url('../Images/Ikony/megafon75bo.png');
}

.site-header .site-links li:first-child a {
  border-left: 3px solid #575756;
}

@media screen and (min-width: 992px) {
  .site-header .site-links li .border-circle {
    border: 3px solid #575756;
  }

  body.page-1 .site-header {
    background-image: url('../Images/Ikony/bg-corners-right.png');
    background-repeat: no-repeat;
    background-position: right bottom;
  }
}

/*
####################
###  BREADCRUMB  ###
####################
*/
.breadcrumb {
  background: transparent;
  /*margin-left: 8%;*/
  padding: 0 0 30px 10%;
}

.breadcrumb .active {
  color: #797676;
  /* aaaaaa kontras 2.3 zmiana do 4.5 797676 mail 29072022 bk */
}

/*
##################
###  CONTENTS  ###
##################
*/
/*
main h1 a, main h2 a, main h3 a, main h4 a, main h5 a, main h6 a {
    text-decoration: underline;
}
main .ce-bodytext a {
    text-decoration: underline;
}
*/
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  color: inherit;
  margin-top: 0px;
  text-align: inherit;
}

main h1 {
  font-size: 30px;
  font-size: 3rem;
}

main h2 {
  font-size: 28px;
  font-size: 2.8rem;
}

main h3 {
  font-size: 26px;
  font-size: 2.6rem;
}

main h4 {
  font-size: 24px;
  font-size: 2.4rem;
  font-weight: 500;
}

main h5 {
  font-size: 22px;
  font-size: 2.2rem;
  font-weight: 500;
}

main h6 {
  font-size: 20px;
  font-size: 2rem;
}

main h1::after,
main h2::after {
  display: none;
}

main h1,
main .main-article h1,
main h2,
main .main-article h2 {
  margin-top: 0px;
  margin-left: 0px;
}

main h2,
main .main-article h2 {
  padding: 5px 0px 10px 0px;
}

main header h1:first-child {
  margin-top: -11px;
}

main header h2:first-child {
  padding-top: 0px;
}

/*main header h1, main header h2, main header h3, main header h4, main header h5 {
    text-transform: uppercase;
}*/
body h1,
body h2 {
  text-transform: none;
}

/* WCAG 2.1 AA */
main a {
  color: #cd850b;
  /* ffe202; e7b900 #96710F CD880B*/
  text-decoration: none;
}

/* WCAG 2.1 AA PORTAL23-18 MB 8-11_09_2023 */
main a:not([class]),
main .news-single a {
  text-decoration: underline;
}

/* WCAG 2.1 AA PORTAL23-18 MB 8-11_09_2023 */
main a:not([class]):hover,
main .news-single a:hover {
  border-bottom: 2px solid #0066cc;
  /* WCAG 2.1 AA PORTAL23-22 21_09_2023 zmiana z aqua */
}

/* WCAG 2.1 AA */
main a:hover,
main a:focus {
  color: #cd850b;
  /* ffe202; e7b900 96710F CD880B */
}

@media (max-width: 1000px) {
  main .ce-gallery img {
    width: 100%;
    height: auto;
  }
}

main .ce-column {
  margin-bottom: 10px;
}

main p {
  padding: 0px;
}

/*
################
###  FOOTER  ###
################
*/
.site-footer {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.55;
  border-top: 0px none;
  color: #ffffff;
}

.site-footer a {
  color: #ffffff;
  /*text-decoration: underline; WCAG 2023-03-17 */
}

.site-footer a:hover,
body .site-footer a:focus {
  color: #ffe202;
  text-decoration: underline;
}

.site-footer nav {
  background: #575658;
  border-top: 4px solid #ffe202;
}

.site-footer nav ul {
  border-left: 0px none;
}

.site-footer nav ul:first-of-type {
  border: 0 none;
  padding-left: 0;
}

@media screen and (min-width: 769px) {
  .site-footer nav ul:last-child {
    width: 22%;
  }
}

.site-footer nav+div {
  border-top: 0px none;
}

.site-footer>div>div {
  background: #575658;
}

.site-footer .footer-social .social-links .icon-wrapper {
  display: inline-block;
  margin-right: 20px;
}

.site-footer .footer-social .social-links svg {
  width: 30px;
  height: 30px;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

.news-single {
  padding-top: 0px;
}

.news-single .news-text-wrap {
  padding-left: 0px;
  margin-top: 0px;
  margin-bottom: 10px;
}

/*
article.main-article header:first-child h3 {
    display: none;
}
article.main-article .news-single header h3 {
    display: inline;
}
*/
.news .footer time {
  color: #000;
  border-bottom: 1px dashed #000;
  border-top: 1px dashed #000;
}

.popover .popover-header {
  display: none;
}

.bs-popover-top .arrow::before {
  bottom: -10px;
  border-top-color: #ffffff;
}

/* INV WCAG FIXES */

.article .teaser-text a,
.main-article p a:not(.more) {
  display: inline-block;
}

.main-article p a:not(.more),
.main-article li p a,
.main-article li a {
  color: #874526;
}

main a:not([class]):hover,
main .news-single a:hover {
  filter: brightness(70%);
  border-bottom: none;
}

#navigation-toggler {
  text-indent: unset;
}

@media screen and (max-width: 479px) {
  body.page-1 .site .main .frame-type-textpic {
    width: 100%;
  }

  .news-search-form {
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  body.layout-1 .site .main .frame-type-textpic {
    width: 100%;
    margin-bottom: 2rem;
  }
}

.news .article h3,
.news .article h2 {
  margin-bottom: 15px;
}