/* Tresc zapisana w CKEditorze 5 (panel): obrazy, wyrownanie i tabele; uzupelnia main.css. */
figure.image { display: table; clear: both; text-align: center; margin: 0.9em auto; min-width: 50px; max-width: 100%; }
figure.image > img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
figure.image > figcaption { display: table-caption; caption-side: bottom; word-break: break-word; color: #333; background-color: #f7f7f7; padding: 0.6em; font-size: 0.75em; }
figure.image.image_resized { max-width: 100%; display: block; box-sizing: border-box; }
figure.image.image_resized > img { width: 100%; }
figure.image-style-align-left, figure.image-style-align-right, figure.image-style-side { clear: none; }
figure.image-style-align-left { float: left; margin: 0 1.5em 1em 0; }
figure.image-style-align-right { float: right; margin: 0 0 1em 1.5em; }
figure.image-style-side { float: right; margin: 0 0 1em 1.5em; max-width: 50%; }
figure.image-style-block-align-left { margin-left: 0; margin-right: auto; max-width: calc(100% - 1.5em); }
figure.image-style-block-align-right { margin-left: auto; margin-right: 0; max-width: calc(100% - 1.5em); }
figure.image-style-align-center { margin-left: auto; margin-right: auto; }
.image-inline { display: inline-flex; max-width: 100%; align-items: flex-start; }
.image-inline > img { max-width: 100%; height: auto; }
figure.table { display: block; margin: 0 0 20px; overflow-x: auto; }
figure.table > table { width: 100%; margin: 0; }
.media { clear: both; margin: 0.9em 0; }
.media iframe { max-width: 100%; }
/* telefony: zawijanie dlugich ciagow (sygnatury, numery) */
@media (max-width: 767px) {
  .result-wrap__title a, .result-wrap__title, h1 a, h2 a, h3 a, h4 a, td, th, .simple-wrap a { white-space: normal !important; overflow-wrap: anywhere; word-break: break-word; }
}


/* Dostepnosc cyfrowa (WCAG 2.1): link pomijajacy nawigacje, widoczny fokus, przycisk pauzy slidera */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #000; color: #fff; padding: 10px 16px; font-size: 16px; }
.skip-link:focus { left: 0; color: #fff; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1a73e8 !important; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.main-slider-wrap { position: relative; }
.slider-pause { position: absolute; left: 15px; bottom: 15px; z-index: 20; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; font-size: 16px; line-height: 40px; padding: 0; cursor: pointer; }
.trafficjam-font a { text-decoration: underline; }.skip-link, .skip-link:hover, .skip-link:focus { background: #000 !important; color: #fff !important; text-decoration: underline; }

/* Naglowki i separatory w menu bocznym sa elementami listy (poprawna struktura ul > li), bez wygladu pozycji menu */
.sidebar-nav > li.menu-heading { list-style: none; margin: 0; padding: 0; border: 0; background: none; }
.sidebar-nav > li.menu-heading::before, .bip-content .left-nav ul li.menu-heading::before { content: none; }
