/* ===================== */
/* === Tools classes === */
/* ===================== */
.no-margin-top {
    margin-top: 0 !important;
}

.images-center img {
    margin: 0 auto !important;
    display: block !important;
}

.font-color--white,
.font-color--white *,
.font-color--white *:hover {
    color: #FFF !important;
}

/* = Excerpt line text limit = */
.excerpt-line-limiter-1 .wp-block-post-excerpt__excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt-line-limiter-2 .wp-block-post-excerpt__excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt-line-limiter-3 .wp-block-post-excerpt__excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt-line-limiter-4 .wp-block-post-excerpt__excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ==================== */
/* === WP Admin Bar === */
/* ==================== */
#wpadminbar .quicklinks ul li#wp-admin-bar-smart_slider_3,
#wpadminbar .quicklinks ul li#wp-admin-bar-ws-form-node,
#wpadminbar .quicklinks ul li#wp-admin-bar-astra-advanced-layouts,
#wpadminbar .quicklinks ul li#wp-admin-bar-wp-mail-smtp-menu,
#wpadminbar .quicklinks ul li#wp-admin-bar-under-construction-page {
    display: none;
}

@media (min-width:1300px) and (max-width:1600px) {

    #wpadminbar .quicklinks ul li#wp-admin-bar-rank-math .rank-math-text,
    #wpadminbar .quicklinks ul li#wp-admin-bar-purge-varnish-cache .ab-label,
    #wpadminbar .quicklinks ul li#wp-admin-bar-csmm {
        display: none;
    }
}

@media (min-width:783px) and (max-width:1300px) {

    #wpadminbar .quicklinks ul li#wp-admin-bar-customize,
    #wpadminbar .quicklinks ul li#wp-admin-bar-updates,
    #wpadminbar .quicklinks ul li#wp-admin-bar-comments,
    #wpadminbar .quicklinks ul li#wp-admin-bar-rank-math,
    #wpadminbar .quicklinks ul li#wp-admin-bar-purge-varnish-cache,
    #wpadminbar .quicklinks ul li#wp-admin-bar-redis-cache,
    #wpadminbar .quicklinks ul li#wp-admin-bar-wp-rocket,
    #wpadminbar .quicklinks ul li#wp-admin-bar-csmm,
    #wpadminbar .quicklinks ul li#wp-admin-bar-top-secondary {
        display: none;
    }
}

@media(max-width:600px) {
    #wpadminbar .quicklinks ul li#wp-admin-bar-purge-varnish-cache {
        display: none !important;
    }
}

/* ================= */
/* === Reset CSS === */
/* ================= */

* {
    box-sizing: border-box;
}

body .is-layout-constrained>*+* {
    -webkit-margin-before: 0;
    margin-block-start: 0;
    -webkit-margin-after: 0;
    margin-block-end: 0;
}

.entry-content>.wp-block-group,
.entry-content>.wp-block-cover,
.entry-content>.wp-block-columns {
    padding: 0;
}

#page .wp-block-columns .wp-block-column:not(:last-child) {
    margin-bottom: 0;
}



/* ======================== */
/* === Zmienne szablonu === */
/* ======================== */

:root {
    /* 	== Globalny margines górny i dolny dla bloków == */
    --blockSpaceDesktop: 40px auto 80px;
    --blockSpaceTopDesktop: 40px;
    --blockSpaceBottomDesktop: 80px;
    --blockSpaceMobile: 24px auto 48px;
    --blockSpaceTopMobile: 24px;
    --blockSpaceBottomMobile: 48px;
    --blockSpaceMedium: 40px auto;
    --blockSpaceSmall: 24px auto;
}



/* ============================= */
/* === Astra Child Theme Mod === */
/* ============================= */

/* == Ustawienia marginesów kontenera contentu i nagłówków == */
.site-content .ast-container,
.ast-primary-header-bar.ast-primary-header.main-header-bar,
.ast-above-header-bar .site-above-header-wrap.ast-container {
    margin: 0 10vw;
    max-width: 100%;
}

.entry-content[ast-blocks-layout]>*,
.ast-primary-header-bar .site-primary-header-wrap.ast-container {
    max-width: 1960px;
}

.entry-content>.wp-block-uagb-container {
    max-width: 1960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.site-content>.ast-container {
    max-width: 100%;
}

#ast-desktop-header .ast-main-header-wrap .site-primary-header-wrap .ast-builder-grid-row .header-widget-area.widget-area.header-widget-area-inner {
    padding-left: 0;
}

#ast-desktop-header .ast-above-header-wrap .ast-builder-grid-row {
    margin: 0;
    max-width: 100%;
}

.entry-header>* {
    max-width: 1960px;
    margin-left: auto;
    margin-right: auto;
}

/* == Linki == */
@media(max-width:921px) {
    #page .site-header li.menu-item a:hover {
        color: #003571;
    }
}

#page a:hover,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:hover,
ul.block_links_list li a:hover {
    text-decoration: underline;
    color: var(--ast-global-color-0)
}

#mega-menu-wrap-primary a.mega-menu-link {
    text-decoration: none !important;
    transition: .4s ease;
}

#mega-menu-wrap-primary a.mega-menu-link:hover {
    text-decoration: underline !important;
    color: var(--ast-global-color-0) !important;
}

#page .site-footer a:hover {
    text-decoration: underline;
    color: #fff;
}

#page .site-header a:hover {
    color: #fff;
    text-decoration: none;
}

#page .uagb-button__wrapper a:hover {
    color: #fff;
}

.entry-content p a,
.entry-content li a {
    text-decoration: underline;
}

.entry-content p a:hover,
.entry-content li a:hover {
    text-decoration: none !important;
}

/* = Tytuł stron i wpisów = */
.entry-title {
    margin-bottom: 2rem;
}

/* = Nagłówki Gutenberg w zawartości strony = */
.wp-block-heading {
    margin: 1.5rem 0;
}

/* == Reset domyślnych paddingów kontenera == */
.ast-container,
.ast-container-fluid {
    margin: auto;
    padding: 0;
}

/* == Input wprowadzania tekstu wyszukiwania == */
.ast-search-wrapper {
    padding: 0 10vw;
}

/* == Ścieżka okruszków == */
.ast-breadcrumbs-wrapper {
    margin: 1.5rem 0;
}

.main-header-bar.ast-header-breadcrumb {
    border: 0;
    margin: 0 10vw;
    max-width: 100%;
    width: auto;
}

.main-header-bar.ast-header-breadcrumb {
    padding-top: 160px;
    z-index: 9;
}

.main-header-bar.ast-header-breadcrumb+#content {
    padding-top: 0;
}

@media(max-width:921px) {

    .ast-breadcrumbs-wrapper #ast-breadcrumbs-yoast,
    .ast-breadcrumbs-wrapper .breadcrumbs,
    .ast-breadcrumbs-wrapper .rank-math-breadcrumb,
    .ast-breadcrumbs-inner nav {
        padding-right: 0;
        padding-left: 0;
    }

    .main-header-bar.ast-header-breadcrumb {
        padding: 0 !important;
        border: 0 !important;
    }
}

/* == Typografia tytułu stron == */
header.entry-header h1.entry-title {
    font-size: 2.5em;
    line-height: 1.2;
    font-weight: 800;
}


/* == Typography spacing == */
.entry-content ol,
.entry-content ul {
    margin-bottom: 2em;
}

.entry-content p,
.entry-content ol>li>a {
    margin-bottom: 1rem;
}

.entry-content *>p:last-child {
    margin-bottom: 2em;
}

/* = Strona deklaracji dostępnośći = */
.wcag-declaration ol>li {
    margin-bottom: 2em;
}

.wcag-declaration ol {
    padding-left: 2em;
}

.wcag-declaration ol>li::marker {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2em;
}

/* == Scroll to top icon == */
#ast-scroll-top {
    border: 1px solid #fff;
    border-radius: 0;
}

/* == Przyciski == */
a.wp-block-button__link.wp-element-button:hover,
a.wp-block-button__link.wp-element-button {
    text-decoration: none !important;
}

/* == Nagłówek i menu == */
@media(min-width:2300px) {
    #page .site-above-header-wrap {
        max-width: 1960px;
        height: 100%;
        margin: 0 auto;
    }
}

/* = Logo = */
.logo.wp-block-columns .wp-block-column .wp-block-image img {
    max-height: 65px;
    width: auto;
}

.logo__emblem_pkrk.wp-block-image img {
    height: 65px;
}

/*Menu image - widget*/

.mega-menu-wrap img.menu-image {
    float: right;
}

/* = MENU DLA POJEDYNCZEJ AKTUALNOŚCI = */

.single #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>ul.mega-sub-menu {
    margin: 0 -10vw 0 -10vw !important;
    width: 100vw !important;
    padding: 2vw 10vw !important
}

.single #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>ul.mega-sub-menu ul {
    padding-top: 0 !important;
}

/* = Menu = */

#mega-menu-primary>li>ul>li>ul {
    max-height: 70vh !important;
    overflow: auto !important;
}

#mega-menu-wrap-primary #mega-menu-primary[data-effect="fade"]>li.mega-menu-item.mega-toggle-on>ul.mega-sub-menu {
    transition-property: opacity, visibility;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

#mega-menu-wrap-primary #mega-menu-primary[data-effect="fade"]>li.mega-menu-item>ul.mega-sub-menu {
    transition-property: opacity, visibility;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
    transition-delay: .75s;
}

.bst-menu__page-overlay.bst-menu__page-overlay--show {
    opacity: 1;
    transition-property: opacity;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    display: block !important;
    height: 100vw !important
}

.bst-menu__page-overlay {
    opacity: 0;
    transition-property: opacity, height;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
    transition-delay: .75s;
    display: block !important;
    height: 0 !important;
    display: none;
    width: 100vw;
    background-color: rgba(0, 0, 0, .4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

#mega-menu-primary li .mega-sub-menu li.mega-menu-columns-1-of-3 a {
    margin-right: 2em !important;
}

#mega-menu-primary li ul.mega-sub-menu li ul.mega-sub-menu li {
    padding-right: 2em !important;
}

@media(max-width:1250px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-columns-1-of-3 {
        width: 50%;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu li.mega-3-columns>ul.mega-sub-menu>li.mega-menu-item {
        width: 50%;
    }

    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item.mega-menu-clear.mega-menu-columns-1-of-3 {
        clear: none;
    }

    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link,
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link {
        font-size: 0.8rem;
    }

    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link,
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
        font-size: 1rem;
    }
}

@media(max-width:1200px) {
    .ast-main-header-wrap.main-header-bar-wrap .site-header-primary-section-left .logo .logo__emblem_pkrk img {
        display: none;
    }

    .ast-main-header-wrap.main-header-bar-wrap .site-header-primary-section-left .logo {
        gap: 12px;
    }

    .ast-main-header-wrap.main-header-bar-wrap .ast-builder-grid-row {
        grid-column-gap: 10px;
    }

    .ast-main-header-wrap.main-header-bar-wrap .site-header-primary-section-left .logo .logo__emblem_pkrk a:after {
        display: block;
        content: "";
        background-image: url("/wp-content/themes/pkr-multiportal-units/assets/images/SYGNET__20_.svg");
        width: 65px;
        height: 65px;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* = Wygaszanie Menu = */

@media (max-width:921px) {
    .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
        padding-bottom: 2em;
        border-bottom: 1px solid black;
    }

    .ast-main-header-nav-open .bst-menu__page-overlay {
        opacity: 1;
        height: 100vh !important;
        transition-delay: 0s;
        transition-duration: 0s;
    }

    .bst-menu__page-overlay {
        transition-delay: 0s !important;
        transition-duration: 0s !important;
    }
}

/* == Wyszukiwarka w nagłówku == */

@media(max-width:350px) {
    #ast-mobile-header .ast-main-header-wrap.main-header-bar-wrap .site-header-primary-section-right .dashicons-search.mega-menu-link {
        font-size: 14px;
    }

    .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
        padding-left: 10px;
        padding-right: 10px;
    }

    #ast-mobile-header .ast-main-header-wrap.main-header-bar-wrap .site-header-primary-section-right .ast-builder-menu {
        padding-right: 0;
    }
}

/* == Sticky menu mobile == */

@media(max-width:921px) {
    header.site-header {
        position: fixed !important;
        width: 100%;
    }

    header.site-header+#content,
    header.site-header+.main-header-bar.ast-header-breadcrumb {
        margin-top: 100px;
    }
}

@media(max-width:600px) {
    #wpadminbar {
        display: none;
    }

    body.logged-in {
        margin-top: -46px;
    }
}

/* == Blok: Lista wpisów == */
ul.wp-block-post-template {
    padding: 0;
}


/* == Blok: Lista odnośników == */
.bst-linklist {
    margin-bottom: 1em;
}

/* ============================== */
/* == Menu Mobile - off canvas == */
/* ============================== */


.ast-header-break-point .ast-icon.icon-arrow svg {
    margin-left: 98%;
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        top: 0;
        width: 100%;
    }
}


#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    margin-top: 1.1em;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item>.menu-link {
    background: transparent;
}

.ast-header-break-point .main-navigation ul .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow:first-of-type,
.ast-header-break-point .main-navigation ul .menu-item .menu-link .icon-arrow:first-of-type {
    display: none;
}

.ast-header-break-point .main-navigation .sub-menu .menu-item .menu-item .menu-link {
    padding-right: 55px;
}

@media(max-width:388px) {
    .mobile-menu {
        display: none;
    }

    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
        padding-right: calc(5px + 1em);
    }
}


/* ================ */
/* == Podstrony == */
/* =============== */

.ast-plain-container.ast-no-sidebar #primary {
    margin: 0 0 80px;
}

/* == Linki w tekście == */
a:hover,
a:hover span {
    text-decoration: underline;
}

/*.site-content .entry-content a {
    text-decoration: underline;
}*/

a.wp-block-button__link .uagb-button__link,
a.wp-block-button__link,
.blok_na_skroty ul.uagb-tabs__panel li.uagb-tab a,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
    text-decoration: none !important;
}


/* ============ */
/* == Tabela == */
/* ============ */

.wp-block-table thead,
.wp-block-table tfoot {
    background-color: #003571;
}

.wp-block-table thead th,
.wp-block-table tfoot td {
    color: #FFF;
    font-weight: 400;
}

.wp-block-table thead,
.wp-block-table tfoot,
.wp-block-table tr,
.wp-block-table td {
    border: 1px solid #003571;
}

.wp-block-table thead th,
.wp-block-table tfoot td {
    border: 1px solid #003571;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

.wp-block-table thead th:first-child,
.wp-block-table tfoot td:first-child {
    border: 1px solid #003571;
    border-right: 1px solid #FFF;
}

.wp-block-table thead th:last-child,
.wp-block-table tfoot td:last-child {
    border: 1px solid #003571;
    border-left: 1px solid #FFF;
}

.wp-block-table tbody tr td {
    color: #0D0D0D;
}


/* ===================================== */
/* === Blok wydarzeń - strona główna === */
/* ===================================== */

.main-site-events .mec-event-sharing-wrap li i {
    height: 12px;
}

.main-site-events h4.mec-event-title a {
    font-size: 1rem;
}

.main-site-events .mec-wrap {
    color: #38383C;
}

.main-site-events .mec-full-calendar-wrap {
    margin-top: 0;
}

.main-site-events .mec-search-form.mec-totalcal-box,
.main-site-events .mec-credit-url,
.main-site-events .mec-shortcode-organizers,
.main-site-events .mec-grid-event-location {
    display: none;
}

.main-site-events .row {
    display: flex;
    flex-direction: column;
}

.main-site-events .row .col-md-4 {
    width: 100%;
}

#page .main-site-events .mec-event-date {
    font-size: 38px;
    line-height: 38px;
    font-weight: 800;
}

#page .main-site-events .mec-event-month {
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    margin-bottom: 0;
    padding-top: 0;

}

.main-site-events .mec-event-grid-modern {
    margin-top: 1em;
}

.main-site-events .mec-event-grid-modern .event-grid-modern-head {
    padding: 0;
}

#page .mec-wrap .mec-skin-grid-events-container .mec-event-loc-place {
    display: none;
}

.main-site-events .mec-event-grid-modern .mec-event-article {
    padding: 0;
}

.main-site-events .mec-event-grid-modern .event-grid-modern-head {
    margin-bottom: 0;
    margin-top: 1em;
}

.main-site-events .mec-event-grid-modern .mec-event-article {
    border: none;
    border-bottom: 1px solid #D3D7DB;
    margin-bottom: 0;
}

.main-site-events .mec-event-grid-modern .mec-event-content {
    padding: 0;
}

.main-site-events .mec-wrap a {
    font-weight: 700;
    font-size: 1.2rem
}

.main-site-events .mec-event-sharing-wrap>li:first-of-type {
    border: none;
}

.main-site-events .colorskin-custom .mec-event-sharing-wrap:hover>li {
    background-color: transparent;
}

.main-site-events .mec-sl-share:before {
    color: #003571;
}

.main-site-events .mec-wrap :not(.elementor-widget-container)>p {
    margin: 0;
}

.main-site-events .mec-event-grid-modern .mec-event-footer {
    padding: 0;
}

.main-site-events .mec-booking-button {
    padding: 0px 15px 15px;
}

.main-site-events .mec-event-grid-modern .mec-event-footer {
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 23.5vw;
}

.main-site-events .mec-event-day,
.main-site-events .mec-booking-button {
    display: none;
}

.main-site-events .mec-sl-location-pin {
    display: none;
}

/* ================================= */
/* === Social media icon - MEC === */
.mec-event-social ul{
	gap:24px;
	margin-top:1em;
}

/*facebook*/

.mec-event-social-icon .facebook{
	border-radius:100%!important;
}

.mec-event-social-icon .mec-fa-facebook-f:before, .mec-event-social-icon .mec-fa-facebook:before{
    font-size: 24px;
		padding-top: 8px
}

.mec-single-event .mec-event-social li.mec-event-social-icon a{
	width:30px;
	height:30px;
	padding:0!important;
}

#page .mec-event-social .facebook:hover{
	background:#3b5996!important;
	color:white;
}

/*iks*/

.mec-event-social-icon .twitter, .mec-event-social-icon .email{
	background-color:transparent!important;
}

.mec-event-social-icon .twitter svg{
	fill: #0d0d0d!important;
}

.mec-event-social .twitter:hover path{
	fill:#0d0d0d!important;
}

#page .mec-single-event .mec-event-social .mec-event-social-icon a.twitter svg {
    height: 30px !important;
}

/*email*/

.mec-event-social-icon .email{
	color: #3a3a3a!important;
}

.mec-event-social-icon .email .mec-fa-envelope:before{
	color: #3a3a3a!important;
	font-size:30px;
}

/*linkedin*/

.mec-event-social-icon .linkedin{
	background:#0077b5!important;
	border-radius:4px!important;
}

#page .mec-event-social .linkedin:hover{
	color:white;
}

/* ================================= */
/* === Strona pojedynczego wpisu === */
/* ================================= */

/* == Poprawka po aktualizacji PHP == */

.entry-meta,
.read-more,
.ast-pagination .page-numbers,
.ast-pagination .page-navigation {
    font-size: initial;
}

/* == Typografia dla Lead'u == */

#page .lead {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600 !important;
    margin-bottom: 1em;
}

/* == Typografia dla Cytatów == */

#page .wp-block-quote {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: var(--ast-global-color-0)
}

#secondary-right {
    border-top: 4px solid var(--ast-global-color-2);
    margin-left: 5vw;
}

#secondary-right .posted-on,
#secondary-right .byline {
    display: block;
    margin: 1em 0;
}

#secondary-right .posted-on span {
    font-weight: bold;
    display: block;
}

#secondary-right .byline span:first-child {
    font-weight: bold;
}

/* == Ostylowanie ostatnich wpisów == */

#secondary-right .uagb-post-grid article {
    padding: 0;
    display: grid;
    grid-template-areas:
        'obraz tytul tytul tytul tytul'
        'obraz tytul tytul tytul tytul'
        'obraz tytul tytul tytul tytul'
        'obraz tytul tytul tytul tytul'
        'obraz data data data data';
    background: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

#secondary-right .uagb-post-grid article .uagb-post__image {
    margin: 0;
    padding: 0;
    grid-area: obraz;
    min-width: 80px;
    width: 5vw;
}

#secondary-right .uagb-post-grid article .uagb-post__image a {
    padding: 0;
    height: 100%;
    width: 100%;
}

#secondary-right .uagb-post-grid article .uagb-post__image a img {
    min-height: 80px;
    min-width: 80px;
    height: 5vw;
    width: 5vw;
    position: inherit;
    -o-object-fit: cover;
    object-fit: cover;
}

#secondary-right .uagb-post-grid article .uagb-post__title {
    grid-area: tytul;
    padding: 0 0 5px 10px;
}

#secondary-right .uagb-post-grid article .uagb-post__title a {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#secondary-right .uagb-post-grid article .uagb-post-grid-byline {
    grid-area: data;
    padding-bottom: 0;
    align-self: end;
    padding: 0 10px 0 10px;
}

.single-post .ast-container #primary,
.single .ast-container #primary {
    width: calc(75% - 5vw) !important;
}

.single .ast-container #primary {
    width: 100%;
}

.single-post .ast-container #secondary-right,
.single .ast-container #secondary-right {
    width: calc(25%);
    margin-bottom: 5vw;
}

.single-post #secondary-right .wp-block-uagb-post-grid article .uagb-post__text.uagb-post__excerpt,
.single #secondary-right .wp-block-uagb-post-grid article .uagb-post__text.uagb-post__excerpt {
    display: none;
}

.single-post .site-content>.ast-container,
.single .site-content>.ast-container {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1960px;
}

.single-post #page .site-content,
.single #page .site-content {
    margin: 0 10vw;
}

.single #primary .entry-content>* {
    max-width: 1960px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:1000px) {

    .single-post .site-content>.ast-container,
    .single .site-content>.ast-container {
        flex-wrap: wrap;
    }

    .single-post .site-content>.ast-container #primary,
    .single .site-content>.ast-container #primary {
        display: inline-block;
        width: 100% !important;
    }

    .single-post .site-content>.ast-container #secondary-right,
    .single .site-content>.ast-container #secondary-right {
        display: inline-block;
        width: 100%;
        margin-left: 0;
    }
}

@media(max-width:600px) {
    #secondary-right .uagb-post-grid article {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--ast-global-color-6);
    }

    #secondary-right .uagb-post-grid article .uagb-post__image {
        min-width: 100%;
        width: 100%;
        order: 1;
    }

    #secondary-right .uagb-post-grid article .uagb-post__image a img {
        min-height: 100%;
        min-width: 100%;
        height: 40vw;
        width: 100%;
        position: inherit;
        -o-object-fit: cover;
        object-fit: cover;
    }

    #secondary-right .uagb-post-grid article .uagb-post__title {
        padding: 15px 10px;
        order: 3;
    }

    #secondary-right .uagb-post-grid article .uagb-post-grid-byline {
        order: 2;
        align-self: start;
        padding: 15px 10px 0 10px;
    }

    #secondary-right .uagb-post-grid article .uagb-post__excerpt {
        order: 4;
        padding: 0px 10px 15px 10px;
        display: none;
    }

    #secondary-right .uagb-post__text.uagb-post__excerpt {
        display: flex;
    }
}



/* ==================== */
/* === Blog Archive === */
/* ==================== */

#page .blog-posts a {
    color: #000;
    text-decoration: none !important;
}

#page .ast-archive-description {
    padding: 0;
}

.post-content .entry-content.clear p {
    display: none;
}

#page .post-content img {
    height: 12vw;
    -o-object-fit: cover;
    object-fit: cover;
    width: 20vw;
}

#page .post-content h2 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

#page .blog-layout-1,
.ast-archive-description {
    border: none;
    padding-bottom: 1em;
}

#page .post-content h2.entry-title {
    font-size: 1rem;
}

#page .post-content .entry-meta {
    font-size: 0.9rem;
}

.archive #content>.ast-container #primary {
    max-width: 1960px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width:920px) {
    #page .post-content img {
        height: 50vw;
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
    }
}

/* == Archive: data post centering == */
.archive #page .ast-article-post .blog-layout-1 {
    position: relative;
}

.archive #page .ast-article-post .ast-grid-common-col {
    position: initial;
}

.archive #page .ast-article-post .entry-meta {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* == Gallery Archive == */
.archive-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

.archive-grid .featured-image {
    margin-bottom: 1.5em;
}

.post-type-archive-galeria #page .post-content,
.post-type-archive-lektorzy #page .post-content {
    border: none;
    padding: 0;
}

/* ============================= */
/* === Slider - home page === */
/* ============================= */

/* == Headers == */
#page .n2-section-smartslider *>h2,
#page .n2-section-smartslider *>h3,
#page .n2-section-smartslider *>h4 {
    font-family: Lato, sans-serif;
    line-height: 1.2;
    color: var(--ast-global-color-2);
    margin-bottom: 1.6rem;
}

#page .n2-section-smartslider h2 {
    font-size: 2rem;
    font-weight: 900;
}

#page .n2-section-smartslider h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

#page .n2-section-smartslider h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

/* == Next/Prev buttons controll == */
#page .n2-ss-slider-controls div {
    padding: 9px;
    --widget-offset: none !important;
    background: #fffc;
}

#page .n2-ss-slider-controls img {
    background: transparent;
}

#page .n2-ss-slider-controls .nextend-arrow-next,
#page .n2-ss-slider-controls .nextend-arrow-previous {
    position: absolute;
    bottom: 1rem;
}

#page .n2-ss-slider-controls .nextend-arrow-next {
    right: 10vw;
}

#page .n2-ss-slider-controls .nextend-arrow-previous {
    right: calc(10vw + 44px + 1rem);
}

#page .slider-text-area {
    margin: 0 10vw;
}

@media(max-width:786px) {
    #page .slider-text-area {
        margin: 0 auto;
    }
}




/* ====================== */
/* === Blok akordeonu === */
/* ====================== */

.wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion {
    border-left: 2px solid var(--ast-global-color-0) !important;
    border-color: var(--ast-global-color-0);
    position: relative;
    margin-bottom: 16px;
}

.wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion::after {
    content: "";
    display: block;
    width: calc(100% + 2px);
    margin-left: 0;
    height: 1px;
    background-color: var(--ast-global-color-7);
    position: absolute;
    bottom: -8px;
    left: -2px;
}

.wp-block-ub-content-toggle-accordion-content-wrap {
    background-color: var(--ast-global-color-8);
    padding: 24px;
}

.wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion .wp-block-ub-content-toggle-accordion-title-wrap {
    background-color: white !important;
}

/*Icon change in accordions */
.wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-state-indicator {
    transform: rotate(90deg);
}

.wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-state-indicator.open {
    transform: rotate(270deg);
}

@media(max-width:921px) {
    .wp-block-ub-content-toggle-accordion-content-wrap .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .wp-block-ub-content-toggle-accordion-content-wrap .wp-block-columns>.wp-block-column {
        flex-basis: 100%;
    }
}



/* =========================== */
/* === Blok Lista podstron === */
/* =========================== */
.wp-block-page-list li.has-child ul {
    display: none;
}

ul.wp-block-page-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2em !important;
}

.wp-block-page-list li {
    position: relative;
    color: #003571;
    border-bottom: 1px solid #001D46;
    z-index: 0;
}

.wp-block-page-list li a {
    display: block;
    padding: 1rem 0;
    text-decoration: none !important;
}

.wp-block-page-list li a span:first-child {
    width: 90%;
}

.wp-block-page-list li a span {
    display: block;
}

.wp-block-page-list li::after {
    content: url(/wp-content/themes/pkr-multiportal/assets/images/arrow-right.svg);
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    z-index: -1;
}


@media(max-width:921px) {
    .wp-block-page-list li a {
        padding-right: 10%;
    }
}

/* ============================================================== */
/* === .pk-custom-block-query customizer bloku: Pętla zapytań === */
/* ============================================================== */
.pk-custom-block-query.wp-block-query {
    margin-bottom: 1.5rem;
}

.pk-custom-block-query.wp-block-query li.has-child ul {
    display: none;
}

ul.pk-custom-block-query.wp-block-query {
    list-style-type: none;
    padding: 0;
}

.pk-custom-block-query.wp-block-query li {
    position: relative;
    color: #003571;
    border-bottom: 1px solid #001D46;
    z-index: 0;
    margin-bottom: 0;
}

.pk-custom-block-query.wp-block-query li a {
    display: block;
    padding: 1rem 0;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ast-global-color-0);
}

.pk-custom-block-query.wp-block-query li a {
    padding-right: 2.5rem;
}

.pk-custom-block-query.wp-block-query li a span {
    display: block;
}

.pk-custom-block-query.wp-block-query li::after {
    content: url(/wp-content/themes/pkr-multiportal/assets/images/arrow-right.svg);
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    z-index: -1;
}

.pk-custom-block-query.wp-block-query .wp-block-post-title {
    margin: 0;
}


/* ========================= */
/* === Blok Lista plików === */
/* ========================= */

.bst-filelist__list-title {
    display: none;
}

.bst-filelist__list {
    padding-left: 0;
}



/* ====================================================== */
/* == Mapa strony: .block-stie-map w bloku Lista stron == */
/* ====================================================== */

#page .block-site-map li {
    border-bottom: none;
}

#page .block-site-map li.has-child ul {
    display: block;
}

#page .block-site-map li.has-child::marker {
    display: none;
}

#page ul.block-site-map {
    padding: 1em 0;
}

#page .block-site-map li::after {
    display: none;
}

#page .block-site-map .wp-block-pages-list__item a {
    font-weight: 700;
    color: #0D0D0D;
    font-size: 1em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

#page .block-site-map .wp-block-pages-list__item.has-child ul a {
    font-weight: 400;
    color: #003571;
}

#page .block-site-map .wp-block-pages-list__item.has-child ul {
    border-left: solid 1px var(--ast-global-color-0);
}

#page .block-site-map .wp-block-pages-list__item.has-child ul ul {
    border-left: solid 1px var(--ast-global-color-0);
    margin-left: -20px;
    padding-left: 3.5em;
    position: relative;
}

#page .block-site-map .wp-block-pages-list__item.has-child ul ul::before {
    content: '';
    position: absolute;
    left: 8px;
    border-left: solid 1px var(--ast-global-color-0);
    height: 100%;
}

#page .block-site-map .wp-block-pages-list__item.has-child ul ul ul {
    border-left: solid 1px var(--ast-global-color-0);
    margin-left: -20px;
    padding-left: 3.5em;
    position: relative;
}

#page .block-site-map .wp-block-pages-list__item.has-child ul ul ul::before {
    content: '';
    position: absolute;
    left: 8px;
    border-left: solid 1px var(--ast-global-color-0);
    height: 100%;
}

#page .block-site-map .wp-block-pages-list__item.has-child ul ul ul::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    border-left: solid 1px var(--ast-global-color-0);
    height: 100%;
}

#page .block-site-map li.has-child ul {
    padding: revert;
}

/* ====================================================== */
/* == Wyniki wyszukiwania == */
/* ====================================================== */

h1.page-title.ast-archive-title {
    font-weight: 800;
}

/* ====================================================== */
/* == Mapa google == */
/* ====================================================== */
.uagb-google-map__wrap {
    display: block;
}

/* ====================================================== */
/* == Strona Nekrologi == */
/* ====================================================== */

.necrology>.wp-block-uagb-container {
    border: 1px solid black;
    outline: 4px solid black;
    outline-offset: 4px;
    max-width: calc(25% - 40px) !important;
}

.necrology h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    background-color: #F2F4F6;
    position: relative;
    padding: 8px 16px;
}

.necrology h2:after {
    content: '';
    position: absolute;
    top: 0;
    right: 1rem;
    width: 25px;
    height: 45px;
    background: url(/wp-content/themes/pkr-multiportal/assets/images/snitch.svg) no-repeat;
    background-size: 20px 100%;
}

@media(max-width:1600px) {
    .necrology>.wp-block-uagb-container {
        max-width: calc(33.33% - 40px) !important;
    }
}

@media(max-width:1200px) {
    .necrology>.wp-block-uagb-container {
        max-width: calc(50% - 40px) !important;
    }
}

@media(max-width:921px) {
    .necrology>.wp-block-uagb-container {
        max-width: 100% !important;
    }
}

/* ====================================================== */
/* == Strona Cookies == */
/* ====================================================== */

#cmplz-document,
.editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: 1960px;
}

#cmplz-cookies-overview .cookies-per-purpose {
    overflow: scroll;
}

/* ======================== */
/* == Show more - button == */
/* ======================== */
/* #page .button-show-more a {
	font-size: 1.1em;
    font-weight: 700;
    color: #003571;
	border:none;
	padding:0;
} */

/* #page .button-show-more a::after {
    content: "";
    background: url(/wp-content/uploads/2023/08/icon-wrapper.svg);
    background-color: #003571;
	border: solid 1px #003571;
    background-size: 20px;
    width: 25px;
    padding-right: 25px;
    background-repeat: no-repeat;
    background-position: center;
	margin-left: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 30px
} */

/* #page .button-show-more .wp-block-button a:hover{
	text-decoration: underline !important;
	text-underline-offset: 8px;
} */

/* #page .button-show-more .wp-block-button a:hover:after{
	background: url(/wp-content/uploads/2023/08/arrow-right.svg);
    background-color: white;
	border: solid 1px #003571; 
    background-size: 20px;
    width: 25px;
    padding-right: 25px;
    background-repeat: no-repeat;
    background-position: center;
	margin-left: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 30px;
	transition-duration: 0.2s;		
} */

#page .button-show-more a {
    color: var(--ast-global-color-0, #003571);
    background-color: transparent;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0;
    border: 0;
}

#page .button-show-more a::after {
    content: "";
    background: url(/wp-content/themes/pkr-multiportal-units/assets/images/readmorebtn/rmbtn-arrow-white.svg) no-repeat center;
    background-color: var(--ast-global-color-0, #003571);
    background-size: 16px;
    border: solid 1px var(--ast-global-color-0, #003571);
    padding: 10px 20px;
    margin-left: 12px;
    transition: .4s ease;
}

#page .button-show-more .wp-block-button a:hover::after {
    background: url(/wp-content/themes/pkr-multiportal-units/assets/images/readmorebtn/rmbtn-arrow-default.svg) no-repeat center;
    background-color: #fff;
    background-size: 16px;
}

/* ====================================================== */
/* == GTranslate== */
/* ====================================================== */

#page .gt_white_content {
    width: 330px;
}

#page .gt_white_content a:hover {
    color: var(--ast-global-color-0)
}

#page a.gt_switcher-popup.glink.nturl.notranslate span {
    color: #ffffff;
}

#page a.gt_switcher-popup.glink.nturl.notranslate span:last-child {
    color: #fff !important;
    text-decoration: none;
}

@media(max-width:922px) {
    #page a.gt_switcher-popup.glink.nturl.notranslate span {
        display: none
    }

    #page a.gt_switcher-popup.glink.nturl.notranslate {
        border: solid 1px black;
    }
}

/* ====================================================== */
/* == Paginacja== */
/* ====================================================== */

#page .ast-pagination .page-numbers.current,
#page .ast-pagination .page-numbers:hover,
.wp-block-query-pagination .page-numbers.current,
.wp-block-query-pagination .page-numbers:hover {
    background-color: var(--ast-global-color-0);
    color: #fff !important;
}

.wp-block-query-pagination .page-numbers {
    padding: 5px;
}

/* Spectra Post Grid pagination */
#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap {
    margin: 24px 0 0 0;
}

#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap span.current,
#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap a:hover {
    border: 1px solid var(--ast-global-color-0, 003571);
    background-color: #fff;
    color: var(--ast-global-color-0, 003571);
}

#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap a,
#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap span.current:hover {
    border: 1px solid var(--ast-global-color-0, 003571);
    background-color: var(--ast-global-color-0, 003571);
    color: #fff;
}

#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap a,
#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap span.current {
    padding: 8px 16px;
}

#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap a:hover,
#page .wp-block-uagb-post-grid .uagb-post-pagination-wrap span.current:hover {
    text-decoration: none;
    cursor: pointer;
}

#page .wp-block-uagb-post-grid .uagb-post__inner-wrap .uagb-post__image img {
    -o-object-fit: cover;
    object-fit: cover;
}

/* ====================================================== */
/* === WYSZUKIWARKA W NAGŁÓWKU ===*/
/* ====================================================== */

.single #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item>ul.mega-sub-menu {
    margin: -5px -10vw 0 -10vw !important;
    width: 100vw !important;
    padding: 2vw 10vw !important
}

.single #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item>ul.mega-sub-menu ul,
.single #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu li.mega-menu-item>ul.mega-sub-menu ul {
    padding-top: 0 !important;
}

#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator {
    display: none;
}

#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu li.mega-menu-item a.mega-menu-link:before {
    content: "";
    background: url(/wp-content/uploads/2023/09/search.svg);
    background-size: 14px;
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: center;
    height: 4vh;
}

#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item>a.mega-menu-link {
    text-underline-offset: 8px;
}

.site-above-header-wrap .mega-menu-wrap .max-mega-menu .mega-sub-menu .mega-menu-row .mega-sub-menu {
    top: 0 !important;
}


/* Search fixer */
#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu li.mega-menu-item a.mega-menu-link:before {
    height: 44px;
}

#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item>a.mega-menu-link {
    line-height: 44px;
    height: 44px;
}

.site-above-header-wrap .mega-menu-wrap .max-mega-menu .mega-sub-menu:first-of-type {
    top: 152px !important;
}

.site-above-header-wrap .mega-menu-wrap .max-mega-menu .mega-sub-menu .mega-menu-row .mega-sub-menu {
    top: 0 !important;
}

#page .header-section-search p:first-of-type {
    font-family: 'Lato', sans-serif;
    margin-bottom: 1em;
}

#page .header-section-search p {
    margin-top: 0;
    font-size: 1.15em;
}

#page .header-section-search .wp-block-search__inside-wrapper {
    padding: 0;
}

#page .header-section-search .wp-block-search__inside-wrapper .wp-block-search__input {
    border: none;
    padding: 0 0 0 15px;
}

#page .header-section-search .wp-block-search__inside-wrapper {
    border: none;
}

#page .header-section-search input {
    border: solid 1px #ADADAD;
}

#page .header-section-search .search-small-text {
    font-size: 1em;
    margin-top: 8px;
    padding-bottom: 20px;
    margin-bottom: 20px !important;
    border-bottom: solid 1px #001D46;
}

#page .header-section-search button,
#page .header-section-search .additional-search-button a {
    background-color: white;
    color: #003571;
    padding: 12px 16px 10px 16px;
    margin-left: 0;
}

#page .header-section-search button:hover,
#page .header-section-search .additional-search-button a:hover {
    background-color: #003571;
    color: white;
    padding: 12px 16px 10px 16px;
}

#page .header-section-search .close-button a:after {
    content: "";
    background: url(/wp-content/uploads/2023/09/icon-wrapper-1.svg);
    background-size: 16px;
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: 50% 85%;
    margin-left: 8px;
    margin-top: 3px;
}

#page .header-section-search .close-button a:hover:after {
    content: "";
    background: url(/wp-content/uploads/2023/09/icon-wrapper.svg);
    background-size: 16px;
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: 50% 85%;
    margin-left: 8px;
    margin-top: 3px;
}

.close-button.wp-block-button .wp-block-button__link:hover {
    color: var(--ast-global-color-0) !important;
    background-color: #fff !important;
    border: 1px solid #003571 !important;
}

/*WYSZUKIWARKA MOBILE*/
@media(max-width:922px) {

    .bst-menu__page-overlay.bst-menu__page-overlay--show {
        height: 100% !important;
    }

    #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-megamenu>ul.mega-sub-menu {
        top: 55px;
        box-shadow: 0px 8px 16px -14px rgba(0, 0, 0, 1);
    }

    #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item>a.mega-menu-link,
    #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
        color: var(--ast-global-color-0);
    }

    #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu li.mega-menu-item a.mega-menu-link:before {
        content: '';
        background: url(/wp-content/uploads/2023/10/search-1.svg);
        background-size: 14px;
        padding-right: 20px;
        background-repeat: no-repeat;
        background-position: center;
        padding-top: 36px;
    }

    #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item>a.mega-menu-link:hover,
    #mega-menu-wrap-secondary_menu #mega-menu-secondary_menu>li.mega-menu-item>a.mega-menu-link:focus {
        color: var(--ast-global-color-0) !important;
    }

    .wpml-ls-item-toggle {
        width: max-content;
    }

    .header-section-search .wp-block-columns {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
    }

    #page .header-section-search .wp-block-search__inside-wrapper {
        width: 100% !important;
    }

    #page .header-section-search button,
    #page .header-section-search .additional-search-button a {
        background: var(--ast-global-color-0);
        color: white;
    }
}

/*
@media(max-width:922px) {

    /* Custom scroll bar *//*
    ::-webkit-scrollbar {
        width: 12px;
        -webkit-transition: 0.5s ease;
        transition: 0.5s ease;
    }

    ::-webkit-scrollbar:hover {
        cursor: pointer !important;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--ast-global-color-0);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--ast-global-color-0);
    }

    ::-webkit-scrollbar-button {
        background-color: transparent;
    }

    ::-webkit-scrollbar-button:vertical:decrement {
        content: "";
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 8px solid var(--ast-global-color-0);
        -webkit-transition: .4s ease;
        transition: .4s ease;
    }

    ::-webkit-scrollbar-button:vertical:increment {
        content: "";
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid var(--ast-global-color-0);
        -webkit-transition: .4s ease;
        transition: .4s ease;
    }

    ::-webkit-scrollbar-button:vertical:decrement:hover,
    ::-webkit-scrollbar-button:vertical:increment:hover {
        background-color: #f4f5fb;
    }

}


/* ===================== */
/* === Max Mega Menu === */
/* ===================== */

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    top: 62px;
    margin-top: 0 !important;
}

.mega-sub-menu--height-control {
    margin-top: 0 !important;
    top: 74px !important;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    line-height: 1.4 !important;
    height: auto !important;
}

/* ========================= */
/* === Fix to file lists === */
/* ========================= */

.wp-block-page-list+.bst-linklist {
    margin-top: -2em;
}

.bst-linklist+.wp-block-page-list {
    margin-top: 0;
}

/* =================== */
/* === Fix to WCAG === */
/* =================== */

/* [data-bst-font-size='2'] a:not([data-bst-wcag-ignore]) {
    font-size: Min(200%, 3.125rem) !important;
}

[data-bst-font-size='1'] a:not([data-bst-wcag-ignore]) {
    font-size: Min(170%, 2.5rem) !important;
} */

/* =================== */
/* === Block: Plik === */
/* =================== */
.bst-filelist__item:last-child {
    margin-bottom: 1em;
}

/* =========================== */
/* === Header margin fixed === */
/* =========================== */
.header--mb-1rem .wp-block-heading {
    margin: 0 0 1rem 0 !important;
}


/* ============================================ */
/* === BonaSoft WCAG Plugin Temporary Fixes === */
/* ============================================ */
.bst-wcag__desktop .bst-wcag__desktop-header,
.bst-wcag__desktop .bst-wcag__desktop-action-button:hover,
.bst-wcag__fixed-button:not([data-wcag-bst-contrast='1'], [data-wcag-bst-contrast='2']),
.bst-wcag__desktop .bst-wcag__desktop-action-button[data-wcag-bst-action-active='true'] {
    background-color: #003571 !important;
    border: 1px solid #003571 !important;
}

.bst-wcag__desktop:not([data-wcag-bst-contrast='1'], [data-wcag-bst-contrast='2']) {
    border: 2px solid #003571 !important;
}

.ast-desktop .bst-wcag__fixed-button {
    padding: 3px !important;
}

.bst-wcag__desktop .bst-wcag__desktop-close-button {
    background-color: #003571 !important;
    border: 1px solid #FFF !important;
}

.bst-wcag__desktop-action-button:focus {
    color: #FFF;
}

.bst-wcag__desktop-action-button,
.bst-wcag__desktop .bst-wcag__desktop-close-button,
.ast-desktop .bst-wcag__fixed-button .bst-wcag__inner-button {
    transition: .2s ease;
}

/* == Hide non-working functionallity: hight contrast(1), hightlighting links(6), stop animation(7) == */
body>div.bst-wcag__desktop>div.bst-wcag__desktop-content>div:nth-child(1),
body>div.bst-wcag__desktop>div.bst-wcag__desktop-content>div:nth-child(6),
body>div.bst-wcag__desktop>div.bst-wcag__desktop-content>div:nth-child(7) {
    display: none !important;
}

/* == Hide btn on the mobile == */
@media only screen and (max-width: 921px) {

    .bst-wcag__fixed-button,
    .bst-wcag__fixed-button>* {
        display: none;
    }
}


/* ====================================================== */
/* == Make Tables Rensponsive== */
/* ====================================================== */
@media (max-width: 650px) {

    #page .mtr-table tr:nth-child(odd),
    #page .mtr-table tr:nth-child(odd) .mtr-td-tag,
    #page .mtr-table tr:nth-child(odd) .mtr-th-tag {
        background: var(--ast-global-color-8) !important;
    }
}


/* ================================ */
/* == Site name H1 for home page == */
/* ================================ */
h1.pk-site-name--hidden {
    font-size: 0 !important;
    height: 0 !important;
}


/* ============================ */
/* == Header centering fixed == */
/* ============================ */
@media(min-width:2300px) {
    #page .ast-above-header.ast-above-header-bar {
        display: block;
        padding: 0 10vw;
    }
}

/* ============================ */
/* == Search Results == */
/* ============================ */

.bst-search-wp .search-results article header .entry-meta {
    display: block !important;
}

.bst-search-wp .search_result_content .read-more {
    display: none;
}

.search-results .bst-search-wp {
    position: relative;
}

.bst-search-wp form {
    margin-bottom: 2.5em !important;
    position: fixed;
    right: 10vw;
    width: calc(30% - 10vw);
}

.bst-search-wp form label {
    width: 100%;
}

.bst-search-wp form label input.search-field {
    background: white;
    color: black;
    border: 1px solid;
    padding: 12px 16px 10px 16px;
    width: 100%;
}

.bst-search-wp form input.search-submit {
    line-height: 1.4em;
    background-color: var(--ast-global-color-0);
    color: white;
    border: 1px solid black;
    padding: 12px 16px 10px 16px;
    width: 100%;
}

.bst-search-wp .data_publikacji {
    margin-bottom: 0;
}

.bst-search-wp .data_publikacji,
.bst-search-wp .data_modyfikacji,
.bst-search-wp .search_result_content {
    font-size: 0.9em;
}

.bst-search-wp .entry-title {
    font-size: 1.1em;
}

.bst-search-wp .bst-search-wp__content {
    display: inline-block;
    vertical-align: middle;
}

.search-results .bst-search-wp article {
    display: flex !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    border-bottom: 1px solid black;
    width: 70%;
}

footer {
    z-index: 10000;
}

@media(max-width:921px) {
    .bst-search-wp form {
        position: initial !important;
        width: 100%;
    }
}

/* Poprawa wyników wyszukiwania */
.search-no-results .bst-search-wp {
    min-height: 125px;
}

/* Zaznaczanie miejsca w menu w którym się znajdujemy */

#mega-menu-wrap-primary .mega-current_page_item a {
    color: #003571 !important;
    text-decoration: underline !important;
}

/* Zmiana przycisku scroll to top */

#ast-scroll-top {
    font-size: 22px;
    width: 45px;
    height: 45px;
    z-index: 999999;
}

@media(max-width:768px) {
    #ast-scroll-top {
        display: none !important;
    }
}

/*Strona aktywacji konta*/

.wp-activate-container {
    padding: 100px 0;
    width: 100% !important;
}

.wp-activate-container h2 {
    padding-bottom: 20px;
}

.wp-activate-container span.h3 {
    padding: 0;
}

.activatepage #ast-desktop-header .ast-main-header-wrap .site-primary-header-wrap .ast-builder-grid-row .header-widget-area.widget-area.header-widget-area-inner>section:nth-child(2),
.activatepage #ast-desktop-header .ast-main-header-wrap .site-primary-header-wrap .ast-builder-grid-row .header-widget-area.widget-area.header-widget-area-inner>section:nth-child(3),
.activatepage #ast-desktop-header .ast-main-header-wrap .site-primary-header-wrap .ast-builder-grid-row .header-widget-area.widget-area.header-widget-area-inner>section:nth-child(4),
.activatepage #ast-desktop-header .ast-main-header-wrap .site-primary-header-wrap .ast-builder-grid-row .header-widget-area.widget-area.header-widget-area-inner>section:nth-child(5) {
    display: none;
}

.activatepage .header-widget-area[data-section="sidebar-widgets-header-widget-2"] {
    display: none;
}

/* Menu dostępności */
body>div.bst-wcag__desktop>div.bst-wcag__desktop-content>div:nth-child(2) {
    display: none !important;
}

/* Scroll menu mobilne */
#page .ast-builder-menu-mobile .main-header-menu,
.ast-header-break-point .ast-builder-menu-mobile .main-header-menu {
    overflow: scroll;
    max-height: 75vh;
}

/* Zmiany nagłowków mobile */
@media(max-width:544px) {

    header.entry-header h1.entry-title,
    h1,
    .entry-content h1 {
        font-size: 1.5em;
    }

    h2,
    .entry-content h2 {
        font-size: 1.3em;
    }

    h3,
    .entry-content h3 {
        font-size: 1.25em;
    }

    h4,
    .entry-content h4,
    h5,
    .entry-content h5,
    h6,
    .entry-content h6 {
        font-size: 1.1em;
    }
}

/* == Blog archive == */
.archive #page .ast-article-post .entry-meta {
    padding: 1rem;
}

.search-results #page .ast-grid-common-col {
    height: auto;
}

.aktualnosci_male_kafelki .wp-block-query .wp-block-post-title a {
    text-decoration: none !important;
}

/* Responsive homepage*/
@media(min-width:2300px) {
    .entry-content .block_post-carousel>.wp-block-column>* {
        max-width: 1960px;
        margin: auto !important;
    }

    .entry-content .block_post-carousel>.wp-block-column>h2 {
        padding-left: 10px;
    }

    .wp-block-group.aktualnosci_male_kafelki {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .n2-ss-slider .n2-ow,
    .n2-ss-slider .n2-ow-all * {
        max-height: 30vh;
    }

    #page .slider-text-area {
        margin-left: 0;
    }

    #page .entry-content .n2-ss-slider-4>.n2-ss-slide.n2-ow {
        margin-left: auto;
        margin-right: auto;
        max-width: 1960px !important;
        width: 1960px !important;
    }

    .aktualnosci_male_kafelki .wp-block-query img {
        height: 200px !important;
        width: 200px !important;
    }

    #mega-menu-primary>li>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu {
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        right: 0 !important;
        text-align: center !important;
        max-width: 1960px !important;
    }

    .entry-content .wp-block-media-text.has-background .wp-block-media-text__content {
        padding-right: calc(100% - 1960px / 2) !important;
    }

    .entry-content .wp-block-media-text.has-background.has-media-on-the-right .wp-block-media-text__content {
        padding-left: calc(100% - 1960px / 2) !important;
        padding-right: 8% !important;
    }

    .wp-block-columns.block_news-hub,
    #page .block_recent-events.wp-block-columns {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .wp-block-group:has(.bs-ctt-block_offer-services__card) {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .blockPR_shortcuts.wp-block-columns .wp-block-column {
        max-width: 1960px;
        margin-left: auto;
        margin-right: auto;
    }

    .blockAIP_news-slider.wp-block-columns .wp-block-column,
    .blockAIP_projects-cards.wp-block-columns .wp-block-column {
        max-width: 1960px;
        margin-left: auto;
        margin-right: auto;
    }
}

body .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1960px;
}

/* Menu fix for firefox */
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    display: flex;
    flex-wrap: nowrap;
    word-break: keep-all;
}

/*Poprawki do wyszukiwarki */

#page .header-section-search .main-column {
    display: flex;
    flex-direction: column-reverse;
}

#page .header-section-search .header-columns .uagb-buttons__wrap {
    justify-content: flex-end;
}

#page .header-section-search .header-columns .wp-block-column:nth-of-type(2) {
    display: flex;
    justify-content: flex-end;
}

#page .header-section-search .close-button a:after {
    display: none;
}

#page .header-section-search .close-button a {
    display: flex;
    color: white;
    fill: white;
    background-color: #003571;
}

#page .header-section-search .close-button a:hover {
    color: var(--ast-global-color-0);
    fill: var(--ast-global-color-0);
    background-color: white;
}

#page .header-section-search .close-button .uagb-button__icon {
    width: 1.2em;
    height: 1em;
    transition: none;
    padding-left: 8px;
}

#page .header-section-search .close-button .uagb-button__icon svg {
    transition: none;
}


#page .header-section-search .wp-block-search {
    margin: 0 0 1em 0;
}


@media(max-width:781px) {

    #page .header-section-search .header-columns .wp-block-column {
        flex-basis: auto !important;
    }

    #page .header-section-search .header-columns {
        gap: 1em;
    }

}

/* Archive Aktualnosci */

.archive.category #page article .post-content .ast-excerpt-container {
    margin-bottom: 2em;
}

/*SCROLL TO TOP*/

#ast-scroll-top:hover {
    background-color: white;
    border-color: #003571;
    border-width: 2px;
}

#ast-scroll-top:hover .ast-arrow-svg path {
    fill: #003571;
}


@media(min-width:921px) {

    #page .hide-element-menu {
        display: none !important;
    }

}


/* Social Icon Tooltip*/

.uagb-ss__source-icon {
    cursor: pointer;
    position: relative; /* Dodano do umiejscowienia tooltipa */
}

.uagb-ss__source-icon i {
    font-size: 20px;
}

.tooltip-text {
    visibility: hidden;
    width: auto; /* Zmieniono na auto, aby dostosować szerokość do tekstu */
    background-color: #424242;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 11px;
    position: absolute;
    z-index: 1;
    bottom: 155%; /* Pozycjonowanie powyżej przycisku */
    left: 50%;
    transform: translateX(-50%); /* Przesunięcie do środka */
    opacity: 0;
    white-space: nowrap; /* Zapobiega łamaniu się tekstu */
    transition: opacity 0.3s;
}

.uagb-ss__source-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.uagb-ss__source-icon {
	font-size:12px!important;
}


/* Cookies form */

.rcb-footer-container a {
    padding: 10px !important;
}

/********************************/
/**CSS only for Mozilla Firefox**/
/********************************/

@-moz-document url-prefix() {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link,
	.ast-main-header-wrap.main-header-bar-wrap #mega-menu-wrap-primary #mega-menu-primary>li>ul>li.mega-menu-row>ul.mega-sub-menu>li.mega-menu-column>ul>li a.mega-menu-link{
        font-family: 'Work-sans',sans-serif;
    }
}

/* Poprawki do paginacji */

/*Paginacja aktualności*/
.archive.category #primary .nav-links .prev.page-numbers{
	float: none;
    margin-right: 24px;
}

.archive.category #primary .nav-links .next.page-numbers{
	float: none;
  margin-left: 24px;
	display:inline-block;
}
.archive.category #primary .nav-links .page-numbers,
.wp-block-query.blog-posts .wp-block-query-pagination .page-numbers,
.wp-block-query.blog-posts .wp-block-query-pagination .wp-block-query-pagination-next-arrow, .wp-block-query.blog-posts .wp-block-query-pagination .wp-block-query-pagination-previous-arrow{
	width: auto;
  height: auto;
  padding: 13px 19px;
  line-height: 1;	
	border:1px solid var(--ast-global-color-0)
}

/* Graphic versions css */

.admin-bar .bst-informational-container{
	position: sticky;
    top: 32px;
    z-index: 1000;
}

.bst-informational-container{
	position: sticky;
    top: 0;
    z-index: 1000;
}

@media (max-width:600px){
    .admin-bar .bst-informational-container {
        top: 0;
    }
}

.bst_gv_patriotic_image,
.bst_gv_jubilee_image{
    max-height: 50px;
    z-index: 1000;
    top: 5px;
    border: 1px solid black;
    left: 1vw;
    position: fixed;
}

.admin-bar .bst_gv_patriotic_image,
.admin-bar .bst_gv_jubilee_image{
    top: 37px;
}

@media (max-width:600px){
    .admin-bar .bst_gv_patriotic_image,
    .admin-bar .bst_gv_jubilee_image{
        top: 5px;
    }
}

/* Hide shareing icon mec */

#page .block_recent-events.wp-block-columns .mec-event-sharing-wrap,
.mec-event-grid-modern .mec-event-sharing-wrap{
    display: none;
}
