/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}


html,
body {
  	height: 100%;
}

img {
	display: block;
    max-width: 100%;
    height: auto;
}

a:hover {
	text-decoration: none;
}

.opis-repo:after {
     clear: both;
    content: "";
    display: block;
}

/* KOLORY */


:root{
--brand-red:    #e42528;     
--red-list:     #d0332c;
--grey-bg:      #eeeeee;    /* tło w prostokątach pod innymi elementami e8e8e8 */     
--grey-ornam:   #878887;    /* kwadraty w ornamencie */
--grey-rect:    #dfe0df;    /* kwadracik pod Dowiedz się więcej */
--grey-medium:  #cdcdcd;     /* szary w aktywnym akordeonie */
--grey-dark:    #868786;    /* nagłówki szare */
--text:         #2d2d2d;    /* prawie czarny */      
--grey-table:   #efefef;
--white:        #fff;
}




html {
  scroll-behavior: smooth;
}

ul.footnotes li {
  margin : 10px 0 10px 50px;
}

 .messages__wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}
.messages.messages--status{
    clear: both;
    border: 2px solid #8bc43f; /* zielony */
    padding: 8px 20px;
}

 @media (min-width: 1025px) {
   .messages__wrapper {
        width: 50%;
   }
}

.obrazek-over,
.overlay-popupu,
.os-overlay {
	position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
}

.systemowe-messages {
	clear: both;
	border: 2px solid #8bc43f; /* zielony */
	padding: 20px;
	width: 50%;
	    margin: 0 auto;
}

#block-marathon-primary-local-tasks {
	padding: 20px 0;
}
#block-marathon-primary-local-tasks ul li {
	display: inline-block;
}
#block-marathon-primary-local-tasks ul li a {
	display: block;
	padding: 4px;
	margin: 4px;
	border: 1px solid #838383;
}

 
/* ---------------------------- KONTENERY   -----------------------------------*/ 

@media (max-width: 767px) {
    #block-marathon-opinie,
    .paragraph--type--tekstowy,
    #block-marathon-stats,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-prawy,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-lewy,
    .paragraph--type--tekstowy, /* blok tekst  */
    .paragraph--type--blok-z-obrazkiem h2, /* blok tytuł + tekst + obrazek  */
    .paragraph-fields-wrapper, /* blok tytuł + tekst + obrazek */
    .paragraph--type--blok-tytul-tekst {  /* blok tytuł + tekst  */
        width: 100%;
        padding: 0 20px;
    }
    .path-frontpage .paragraph--type--tekstowy {
        width: 100%;
        margin: 0;
        padding: 10px 0 20px 0;
    }

}


@media (min-width: 768px){
    .paragraph--type--tekstowy,
    .node-7 .page-sekcje,
    #block-marathon-opinie,
    #block-marathon-stats,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-prawy,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-lewy,
    .paragraph--type--tekstowy, /* blok tekst  */
    .paragraph--type--blok-z-obrazkiem h2, /* blok tytuł + tekst + obrazek  */
    .paragraph-fields-wrapper, /* blok tytuł + tekst + obrazek */
    .paragraph--type--blok-tytul-tekst {  /* blok tytuł + tekst  */
        width: 740px;
        margin: 0 auto;
    }
    .node-7 .paragraph--type--tekstowy,
    .path-frontpage .paragraph--type--tekstowy {
        width: 100%;
        margin: 0;
        padding: 10px 0 20px 0;
    }
}

@media (min-width: 1025px){
    .paragraph--type--tekstowy,
    .node-7 .page-sekcje,
    #block-marathon-opinie,
    #block-marathon-stats,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-prawy,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-lewy,
    .paragraph--type--tekstowy, /* blok tekst  */
    .paragraph--type--blok-z-obrazkiem h2, /* blok tytuł + tekst + obrazek  */
    .paragraph-fields-wrapper, /* blok tytuł + tekst + obrazek */
    .paragraph--type--blok-tytul-tekst {  /* blok tytuł + tekst  */
        width: 980px;
        margin: 0 auto;
    }
    .node-7 .paragraph--type--tekstowy,
    .path-frontpage .paragraph--type--tekstowy {
        width: 100%;
        margin: 0;
        padding: 10px 0 20px 0;
    }
}

@media (min-width: 1200px){
    .paragraph--type--tekstowy,
    .node-7 .page-sekcje,
    #block-marathon-opinie,
    #block-marathon-stats,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-prawy,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-lewy,
    .paragraph--type--tekstowy, /* blok tekst  */
    .paragraph--type--blok-z-obrazkiem h2, /* blok tytuł + tekst + obrazek  */
    .paragraph-fields-wrapper, /* blok tytuł + tekst + obrazek */
    .paragraph--type--blok-tytul-tekst {  /* blok tytuł + tekst  */
        width: 1160px;
    }
    .node-7 .paragraph--type--tekstowy,
    .path-frontpage .paragraph--type--tekstowy {
        width: 100%;
    }
}

@media (min-width: 1321px){
    .paragraph--type--tekstowy,
    .node-7 .page-sekcje,
    #block-marathon-opinie,
    #block-marathon-stats,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-prawy,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-lewy,
    .paragraph--type--tekstowy, /* blok tekst  */
    .paragraph--type--blok-z-obrazkiem h2, /* blok tytuł + tekst + obrazek  */
    .paragraph-fields-wrapper, /* blok tytuł + tekst + obrazek */
    .paragraph--type--blok-tytul-tekst {  /* blok tytuł + tekst  */
        width: 1280px;
    }
    .node-7 .paragraph--type--tekstowy,
    .path-frontpage .paragraph--type--tekstowy {
        width: 100%;
    }
}
@media (min-width: 1601px){
    .paragraph--type--tekstowy,
    .node-7 .page-sekcje,
    #block-marathon-opinie,
    #block-marathon-stats,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-prawy,
    #block-marathon-obszaryeksperckie .paragraph--type--blok-tekst-obrazek-lewy,
    .paragraph--type--tekstowy, /* blok tekst  */
    .paragraph--type--blok-z-obrazkiem h2, /* blok tytuł + tekst + obrazek  */
    .paragraph-fields-wrapper, /* blok tytuł + tekst + obrazek */
    .paragraph--type--blok-tytul-tekst {  /* blok tytuł + tekst  */
        width: 1400px;
    }
    .node-7 .paragraph--type--tekstowy,
    .path-frontpage .paragraph--type--tekstowy {
        width: 100%;
    }
}




 /* EDYTOR TEKSTOWY */

article figure  {
    display: block;
}
article figure.align-left {
  float: left;
  padding: 15px 20px 15px 0;
}
article figure.align-center {
    display: block;
    padding: 15px 0;
   text-align: center;
}
article figure.align-center > div {
      
}
article figure.align-center img {
    display: inline-block;
}
article figure.align-center figcaption {
    text-align: center;
}
article figure.align-right {
    float: right;
     padding: 15px 0 15px 20px;
}
article figure img {
   /*  border: 12px solid #f1f3f4; */
}
article figcaption {
    padding: 10px 10px 0 10px;
} 
article table {
    margin: 10px 0;
}
article table td {
    padding: 10px 14px;
    border: 1px solid #e6e6e6;
}
article  a.link_obrazkowy {
    display: inline-block;
 }
article sup {
    vertical-align: super;
    font-size: 12px;
    padding: 2px;
}
blockquote {
    padding:  45px 20px 30px 90px;
    position: relative;
}
blockquote:before {
    content: "";
    background-image: url(../images/cytat.png);
    width: 52px;
    height: 49px;
    display: block;
    position: absolute;
    top: 25px;
    left: 25px;
}

@media (min-width: 1025px) {

     
}

article ul {
    padding: 10px 0 0 0;
}

article ul li {
    position: relative;
    list-style-type: none;
    padding: 4px 0 3px 30px;
}
article ul > li::before {
    content: "";
    display: block;
    position: absolute;
    top: 9px;
  left: 3px;
  width: 12px;
  height: 12px;
  background-color: var(--grey-medium);
   
}



/*EDYTOR */


ul.rozbudowana li {
    padding: 15px 0 5px 0;
}

article ul.rozbudowana ul li::before,
article ul.listawciecie li::before, 
article ul.rozbudowana > li::before {
    display: none;
}
ul.rozbudowana li.listawciecie {
    padding: 8px 0 5px 30px
}
ul.rozbudowanaczerwony li.llistawcieciekafelszary {
    padding: 8px 0 5px 30px
}
ul.rozbudowana ul {
    padding: 0;
}
ul.rozbudowana ul li {
    padding: 0;
}
ul.rozbudowana ul.rozbudowana {
    padding: 0;
}
ul.rozbudowana ul.rozbudowana li {
    padding: 15px 0 5px 30px;
}
article ul.rozbudowana,
article ul.rozbudowanaczerwony {
    padding: 10px 0 20px 30px;
}

article ul.rozbudowanaczerwony ul li,
article ul.rozbudowanaczerwony > li,
article ul.rozbudowanaczerwony  li.llistawcieciekafelszary  {
    position: relative;
}

article ul.rozbudowanaczerwony ul li::before,
article ul.rozbudowanaczerwony > li::before  {
    content: "";
  display: block;
  position: absolute;
  top: 29px;
  left: 3px;
  width: 12px;
  height: 12px;
  background-color: var(--red-list);
}
 
article ul.rozbudowanaczerwony  li.llistawcieciekafelszary::before {
    content: "";
  display: block;
  position: absolute;
  top: 13px;
  left: 3px;
  width: 12px;
  height: 12px;
  background-color: var(--grey-medium);
}


article h2 {
    position: relative;
    padding: 70px 0 10px 20px;
}
article h2.z-obrazkiem {
    padding: 0px 0 0px 0px;
}
article h2::before {
    content: "";
    display: block;
    position: absolute;
    width: 62px; 
    height: 62px;
    left: 0;
    bottom: 10px;
    background-color: var(--grey-bg);
    z-index: -2;
}
article h2.z-obrazkiem::before, 
.path-frontpage article h2::before {
    display: none;
}
article h3 {
    padding: 40px 0 10px 0px;
}
article h4 {
    padding: 15px 0 10px 0px;
}

@media (min-width: 768px){
     article ul.rozbudowana,
    article ul.rozbudowanaczerwony {
      padding: 10px 0 20px 70px;
    }
    ul.rozbudowana li.listawciecie {
    padding: 8px 0 5px 50px
}
    article ul.rozbudowanaczerwony ul li::before,
article ul.rozbudowanaczerwony > li::before  {
  top: 38px;
  left: 3px;
}
article h2 {
  position: relative;
  padding: 90px 0 10px 20px;
}
    article h4 {
        padding: 25px 0 10px 0px;
    }
}


@media (min-width: 1025px){
     article ul.rozbudowana,
    article ul.rozbudowanaczerwony {
      padding: 20px 0 20px 70px;
    }
}


/* -- AKORDEON  -------------------------------------------------- */


article .ckeditor-accordion-container {
    padding: 30px 0 30px 0px;
    width: 100%;
}

.ckeditor-accordion-container > dl dt > a,
.ckeditor-accordion-container > dl dt > a:not(.button){
    background-color: var(--grey-bg);  
    border: 0;  
    height: 46px;
    line-height: 1;
    padding: 18px 15px 10px 25px;
    margin-bottom: 5px; 
    margin-top: 5px; 
    color: var(--text);  
    transition:  300ms;
}
.ckeditor-accordion-container > dl dt.active > a {
    background-color: var(--grey-medium);
    border: 0;  
    margin-bottom: 5px; 
    margin-top: 5px; 
    transition:  300ms;
}
.ckeditor-accordion-container > dl dt > a:hover,
.ckeditor-accordion-container > dl dt > a:not(.button):hover {
    background-color: var(--grey-rect);
    box-shadow: none;
    color: var(--text);  
    text-decoration: none;
    border: 0;  
    margin-bottom: 5px; 
    margin-top: 5px; 
    transition:  300ms;
}
.ckeditor-accordion-container > dl dd {
    display: none;
    padding: 20px 25px 25px 25px;
}
.ckeditor-accordion-container > dl {
    position: relative;
    border: 0;
}
.ckeditor-accordion-container > dl dd.active {
    max-height: unset;  
    transition: max-height 3s ease-in;
    border: 0; 
    transition:  300ms;
}
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle {
    display: block;
    position: absolute;
    padding: 0 10px;
    width: 46px;
    height: 46px;
    z-index: 1;
    top: 0;
    right: 0px;
    left: unset;
    background-color: var(--brand-red);
    box-sizing: border-box;
}
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::before,
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::after {
    background-color: rgb(255, 255, 255);
    transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1);
    content: "";
    display: block;
    width: 18px;
    height: 4px;
    position: absolute;
    z-index: -1;
    will-change: transform;
}
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::before  {
    top: 22px;
    left: 12px;
    right: unset;
    transform: rotate(0deg);
    transition:  300ms;
}
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::after {
    top: 22px;
    left: 12px;
    right: unset;
    transform: rotate(90deg);
    transition:  300ms;
}
.ckeditor-accordion-container > dl dt.active > a > .ckeditor-accordion-toggle::before {
  transform: rotate(0deg);
}
.ckeditor-accordion-container > dl dt.active > a > .ckeditor-accordion-toggle::after {
  display: none;
}
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::before,
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::after,
.ckeditor-accordion-container > dl dt.active  > a > .ckeditor-accordion-toggle::before,
.ckeditor-accordion-container > dl dt.active  > a > .ckeditor-accordion-toggle::after,
.ckeditor-accordion-container > dl dt > a:hover > .ckeditor-accordion-toggle::before,
.ckeditor-accordion-container > dl dt > a:hover > .ckeditor-accordion-toggle::after,
.ckeditor-accordion-container > dl dt.active  > a:hover > .ckeditor-accordion-toggle::before,
.ckeditor-accordion-container > dl dt.active  > a:hover > .ckeditor-accordion-toggle::after {
   background-color:  #fff;  
}


@media (min-width: 768px){ 
    article .ckeditor-accordion-container {
        padding: 30px 0 30px 42px;
        width: 100%;
    }
}

@media (min-width: 1025px){ 
    article .ckeditor-accordion-container {
        padding: 30px 0 30px 115px;
        width: 100%;
    }
}

@media (min-width: 1321px){ 
    article .ckeditor-accordion-container {
        padding: 30px 0 30px 115px;
        width: 80%;
    }
}




/* STRONICOWANIE */

nav.pager {
    text-align: left;
    width: 100%;
}
.pager > ul {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 0;
}
.pager li {
    display: inline-block;
    border: 2px solid #b4cbd5;
    padding: 8px 14px 6px 14px;
    margin: 0 2px 8px 2px;
}
.pager li > a  {
    display: block;
    margin-left: -1px;
    line-height: 1.5;
    color: #212121;
    padding: 6px 15px;
    text-decoration: none;
}
.pager li:hover {
    border: 2px solid #29627b;
}
.pager li.is-active  {
    background-color: #29627b;
    border: 2px solid #29627b;
}
.pager li.is-active:hover   {
    background-color: #fff;
    border: 2px solid #29627b;
}

  

/* COOKIE */


div#sliding-popup {
    background-color: rgba(128, 128, 128, 0.85);
}
 .eu-cookie-compliance-message p {
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0px 0;
}
.eu-cookie-withdraw-tab,
.decline-button.eu-cookie-compliance-default-button {
    display: none;
}
.eu-cookie-compliance-content {
    margin: 0 auto;
    max-width: 90%;
    display: inline-block;
    text-align: left;
    width: 100%;
}
.eu-cookie-compliance-message {
    margin: 12px 30px 0px 0;
    max-width: 100%;
    width: 100%;
}
.eu-cookie-compliance-buttons {
    margin: 5px 0 5px 0;
    max-width: 100%;
    width: 100%;
}
.eu-cookie-compliance-secondary-button {
    position: relative;
      margin-top: 0;
      padding: 12px 8px 4px 35px;
      display: block;
      float: left;
}
.eu-cookie-compliance-secondary-button:before {
    content: "";
    display: block;
    background-image: url(../images/icon_check.png);
    width: 22px;
    height: 22px;
    left: 0;
    position: absolute;
    top: 8px;
    background-size: contain;
}
.eu-cookie-compliance-more-button {
    cursor: pointer;
    display: block;
    height: auto;
    margin: 0;
    padding: 12px 8px 4px 8px;
    border: none;
    text-decoration: underline;
    background: none;
    float: left;
}

@media (min-width: 768px) {
    .eu-cookie-compliance-message {
        float: left;
        margin: 12px 0px 0px 0;
        max-width: 62%;
        width: 62%;
    }
    .eu-cookie-compliance-buttons {
        float: right;
        margin: 0;
        max-width: 38%;
        width: 38%;
        padding: 10px 0 0 30px;
    }
}

@media (min-width: 1025px) {
    .eu-cookie-compliance-message {
        float: left;
        margin: 12px 30px 0px 0;
        max-width: 70%;
    }
    .eu-cookie-compliance-buttons {
        float: right;
        margin: 0 0 5px 0;
        max-width: 30%;
    }
}
@media (min-width: 1321px) {
     .eu-cookie-compliance-content {
        max-width: 75%;
    }
}