/*
Theme Name: Netido
Theme URI: https://www.netido.pl/
Author: Netido
Author URI: https://www.netido.pl/
Description: Lightweight, SEO-optimized full site editing theme for businesses and professionals.
Version: 1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netido
Tags: full-site-editing, block-patterns, custom-style, accessibility-ready, responsive-layout

Fonts used:
– Open Sans
  © Google
  License: SIL Open Font License 1.1

– New Zen Font
  © New Zen Fonts
  License: provided by the client (used as secondary / accent font)
*/



h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p { text-wrap: pretty; }

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) { margin-bottom: 4px;	line-height: 1.5; }

.more-link { display: block; }

a:focus, button, li, #modal-1 { outline: none; }
.main-navigation a { text-decoration: none; }

.breadcrumb_last { color: var(--wp--preset--color--accent-1); }


@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


a, .wp-block-navigation__submenu-container, .wp-block-navigation__responsive-container-open svg, #back-to-top, #back-to-top span, .wp-block-button a, .tmi a::before, .wp-block-button a::after, footer .wp-block-navigation a::before, input, .wp-element-button, .has-modal-open header, .is-style-tha .wp-block-column, summary, img, .wp-block-gallery figure a img, .wp-block-gallery figure a::after, .post-category .wp-block-post::before, .wp-block-post-excerpt__more-link::before, main .icon-container svg, .hover-scale svg, .is-style-sha > .wp-block-column, button, input:not([type=submit]), textarea { transition: all 200ms ease-in-out!important; }

html { scroll-behavior: smooth; }
.has-modal-open { scroll-behavior: auto; }

.mt { margin-top: 0!important; }
.mb { margin-bottom: 0!important; }

.dn { display: none!important; }

.wp-block-column.is-position-sticky { position: sticky; top: 125px; padding-bottom: 1.5rem; height: fit-content; z-index: 2; overflow: visible; }

header.is-position-sticky { top: 0; position: fixed; width: 70px; z-index: 10; background: rgba(255,255,255,.8); box-shadow: 0 3px 9px rgba(0,0,0,.04); }
header .custom-logo { max-height: 2.5rem; }

.wp-block-site-logo a { padding: 5px 0; }

strong, b { font-weight: 600; }
header .wp-block-navigation a { color: var(--wp--preset--color--contrast)!important; }
.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg { stroke: var(--wp--preset--color--contrast); }
header .wp-block-navigation a:hover, header .wp-block-navigation .current-menu-item > a, .category-blog header .wp-block-navigation .current-menu-item > a, .is-arrow-arrow, footer .wp-block-navigation .current-menu-item a, .page-numbers.current, h1 span, h2 span, h3 span { color: var(--wp--preset--color--accent-1)!important; }
header .wp-block-navigation .current-menu-item > a { font-weight: bold; }
header .wp-block-navigation li li { font-size: .8rem; }
.is-arrow-arrow { font-weight: 100; }

.fs { font-size: 1.2em; }
.has-xx-large-font-size { line-height: 1.4; }

#back-to-top, .mib a { border-radius: 3px; }


.custom-footer-block { position: relative; display: table; margin: 0 auto; padding: 30px 0; max-width: var(--wp--style--global--wide-size); width: 100%; border-top: 1px solid rgba(180,180,180,.4); }
.custom-footer-block p { margin-top: 10px; margin-bottom: 10px; }
.custom-footer-block a { font-weight: 600; text-decoration: none; }
.custom-footer-block a:hover { color: var(--wp--preset--color--accent-1); }
.custom-footer-block .pp a { font-weight: inherit; }


#back-to-top { position: absolute; right: 0; bottom: 105px; padding: 0px 16px 5px; color: var(--wp--preset--color--base); font-size: 1.5rem; color: var(--wp--preset--color--base); background: var(--wp--preset--color--accent-1); border: 2px solid var(--wp--preset--color--accent-1); }
#back-to-top span { position: relative; display: block; border: solid var(--wp--preset--color--base); border-width: 0 3px 3px 0; display: inline-block; padding: 3px; transform: rotate(-135deg); -webkit-transform: rotate(-135deg); }
#back-to-top:hover, #back-to-top:focus { background: var(--wp--preset--color--base); }
#back-to-top:hover span, #back-to-top:focus span { border-color: var(--wp--preset--color--accent-1)!important; }


#back-to-top:hover span { animation: ver2 1.5s ease-out infinite; }

@keyframes ver2 {
	0% {
      top: 0;
    }
	25% {
	  top: -3px;
    }
	75% {
	  top: 3px;
    }
	100% {
      top: 0;
	}
}


.ra { position: relative; }
.ra:before, .ra2, .ha { position: absolute; content: ''; bottom: 15px; left: 15px; height: 130px; width: 130px; background: url(/../netido/wp-content/uploads/2024/11/image2.webp) top center no-repeat; background-size: cover; animation: roll 7s linear infinite; z-index: 1; }
.ra2, .ha { position: relative; display: inline-block; bottom: auto; left: auto; height: auto; width: auto; background: none; }

@keyframes roll {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ha { animation: hor 3s ease-in-out infinite; }

@keyframes hor {
  0% {
    left: 0;
  }
  50% { 
    left: calc(10% - 50px);
  }
  100% {
    left: 0;
  }
}

.vt { animation: ver 2s ease-in-out infinite; }

@keyframes ver {
	0% {
      transform: translate3d(0, 0, 0);
    }
    50% {
      transform: translate3d(0, -15%, 0);
    }
	100% {
      transform: translate3d(0, 0, 0);
	}
}

.scl { animation: scl 3s ease-in-out infinite; }

@keyframes scl {
  0% {
    transform: scale(1);
  }
  50% { 
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}



.is-style-delay1, .banner-img, .wpb_category_n_menu_accordion, .content-top img { animation: delay 1s linear; }
.is-style-delay2, .content-bottom > .wp-block-column:nth-child(2) { animation: delay2 1.5s linear; }

@keyframes delay {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@keyframes delay2 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.sentence-block { font-size: 3.3rem; text-align: center; }
.sentence { display: flex; justify-content: center; height: 5rem; overflow: hidden; }
.s-words { display: flex; flex-direction: column; text-align: center; animation: move 4s infinite; }

.string span { position: relative; top: 0; animation: white-out 5s infinite; }


@keyframes move {
  25% {
    transform: translatey(-4rem);
    opacity: 1;
  }
  50% {
    transform: translatey(-8rem);
  }
  75% {
    transform: translatey(-12rem);
  }
}


.wp-block-button a { position: relative; padding-left: 1.5rem!important; padding-right: 2.75rem!important; box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.wp-block-button.is-style-outline a:hover { color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--accent-1); border-color: var(--wp--preset--color--accent-1); }
.wp-block-button a::after, .wp-block-button.is-style-outline a:hover::after { content: ''; position: absolute; top: 14px; right: 19px; width: 18px; height: 18px; background-color: var(--wp--preset--color--base); mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; }
.wp-block-button a:hover::after { right: 16px; background-color: var(--wp--preset--color--accent-1); }
.wp-block-button.is-style-outline a::after { right: 19px; background-color: var(--wp--preset--color--accent-1); }
.wp-block-button.is-style-outline a:hover::after { right: 16px; }

.cookie-notice-container { padding: 10px 20px!important; }
#cookie-notice, #cookie-notice .cn-button:not(.cn-button-custom) { font-family: "Open Sans", sans-serif!important; }
#cn-notice-buttons button { font-weight: 500!important; border: 2px solid var(--wp--preset--color--accent-1)!important; border-radius: 2px!important; }
#cn-more-info:hover, #cn-accept-cookie:hover { background: none!important; }

footer a, footer a:hover { text-decoration: none; }
footer a:hover { color: var(--wp--preset--color--accent-1)!important; }

footer .wp-block-navigation a { position: relative; padding-left: 26px; font-weight: bold; }
.wp-block-post-excerpt__more-link { position: relative; padding-right: 26px; }
footer .wp-block-navigation a::before, .wp-block-post-excerpt__more-link::before { content: ''; position: absolute; top: 5px; bottom: auto; left: 0; right: auto; width: 15px; height: 15px; mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; background-color: var(--wp--preset--color--accent-1); }
footer .wp-block-navigation a:hover::before { left: 5px; }
.wp-block-post-excerpt__more-link::before { left: auto; right: 5px; }
.wp-block-post-excerpt__more-link:hover::before { right: 0; }

.fb-icon a:hover svg, .hover-scale svg:hover { transform: scale(1.15); }



/*ul.wp-block-list, .entry-content ul.wp-block-list ul { list-style: none; }*/
ul.wp-block-list, ol.wp-block-list { padding-left: 1.6rem; }
ul.wp-block-list li, ol.wp-block-list li { padding-left: .2em; }
ul.wp-block-list li { position: relative; margin-top: 0.5rem; }
/*ul.wp-block-list li::before { position: absolute; display: inline-block; content: ''; top: 7px; margin-left: -1.6em; height: 12px; width: 12px; mask: url('../../themes/netido/assets/icons/dashicons/marker.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/marker.svg') no-repeat center; background-color: var(--wp--preset--color--accent-1); }
ul.wp-block-list.is-style-checkmark-list li::before { top: 3px; margin-left: -1.8em; height: 20px; width: 20px; mask: url('../../themes/netido/assets/icons/dashicons/yes-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/yes-alt.svg') no-repeat center;  }
ol li::marker { color: var(--wp--preset--color--accent-1); font-size: 1.25em; font-weight: bold; }*/

.hie, .hies { overflow: hidden; }
.hie img:hover { transform: matrix(1.15,0.12,-0.12,1.15,0,0); }
.hies img:hover { transform: scale(1.05,1.05); }

.wp-block-gallery figure { overflow: hidden; }
.wp-block-gallery figure a { position: relative; background: var(--wp--preset--color--accent-1); }
.wp-block-gallery figure a img:hover { transform: scale(1,1); opacity: 1; }
.wp-block-gallery figure a:hover img { transform: scale(1.05,1.05); opacity: .5; }
/*.wp-block-gallery figure a::after { opacity: 0; content: ""; position: absolute; left: 50%; right: 50%; top: 50%; transform: translate(-50%, -50%) scale(0,0); width: 50px; height: 50px; mask: url('../../themes/netido/assets/icons/dashicons/fullscreen-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/fullscreen-alt.svg') no-repeat center; background-color: var(--wp--preset--color--base); z-index: 1; }*/
.wp-block-gallery figure a:hover::after { transform: translate(-50%, -50%) scale(1,1); opacity: 1; }

.is-style-text-subtitle, .is-style-text-subtitle-sec { position: relative; padding-left: 60px; }
.is-style-text-subtitle::before, .is-style-text-subtitle-sec::before { content: ''; position: absolute; top: 48%; left: 0; width: 47px; height: 2px; background: var(--wp--preset--color--accent-1); }
.is-style-text-subtitle-sec::before { background: var(--wp--preset--color--base); }

.is-style-pe { position: relative; z-index: 2; }

input:focus, textarea:focus { border-color: var(--wp--preset--color--accent-1)!important; outline: none; }

.is-style-tha > .wp-block-column { position: relative; z-index: 2; }
.is-style-tha > .wp-block-column:hover { transform: translateY(-10px); box-shadow: 0 10px 20px -10px rgba(0,0,0,.1); }

.is-style-sha > .wp-block-column { position: relative; z-index: 2; }
.is-style-sha > .wp-block-column:hover { transform: scale(1.03, 1.03); box-shadow: 0 10px 20px -10px rgba(0,0,0,.1); }

.has-drop-cap:not(:focus)::first-letter { font-weight: 500; font-size: 3.8em; }

/*.icon-container:before { content: ''; position: absolute; width: 100%; height: 100%; background: var(--wp--preset--color--accent-2); border-radius: 100%; }*/


.wp-block-latest-posts a.wp-block-latest-posts__post-title { font-weight: 600; font-size: 1.2em; }
.wp-block-latest-posts__featured-image { margin-bottom: 1.25rem; }
.wp-block-latest-posts .wp-block-latest-posts__featured-image a, .blog main .featured-media-inner, .archive.category main .featured-media-inner, .post-category .wp-block-post figure, .wp-block-query figure { line-height: 0; overflow: hidden; }
.wp-block-latest-posts .wp-block-latest-posts__featured-image:hover a img, .blog main .featured-media-inner img:hover, .archive.category main .featured-media-inner img:hover, .wp-block-query img:hover { transform: scale(1.05, 1.05); }
.wp-block-latest-posts .wp-block-latest-posts__post-date { margin-top: 1rem; font-size: .95em; }
.wp-block-latest-posts__post-excerpt { display: grid; margin-top: 1.25rem; white-space: initial; }

.post-category .pb .wp-block-post { position: relative; }
.post-category .pb .wp-block-post::before { position: absolute; content: ''; bottom: 0; width: 100%; height: 80%; background: var(--wp--preset--color--accent-3); }
.post-category .pb .wp-block-post:hover::before { height: 100%; }

.sc { display: flex; position: relative; height: 175px; margin: auto; overflow: hidden; z-index: 1; }
.sct { position: absolute; top: 0; left: 0; width: 100%; height: 100%; white-space: nowrap; transition: all 1s ease; }
.sci { display: flex;  align-items: center; justify-content: flex-start; width: max-content; height: 100%; animation: scrollText 25s infinite linear; }
.sci p { margin: 0; max-width: 100%!important; }

@keyframes scrollText {
  from   { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

.wp-block-query-pagination-numbers { letter-spacing: 3px; }

.wp-block-comment-template ol { border-left: 2px solid var(--wp--preset--color--accent-4); }


.swiper-button-prev .swiper-navigation-icon { transform: rotate(180deg)!important; }


.wp-block-columns.content-bottom > .wp-block-column:nth-child(1) {
    position: sticky;
    top: 100px;
    height: fit-content;
	overflow: auto;
	font-size: var(--wp--preset--font-size--medium);
	overflow: visible;
}

.pbr { position: absolute; bottom: 0; right: 0; max-width: 900px; font-family: var(--wp--preset--font-family--new-zen-italic); font-style: italic; text-align: left; }

.footer-bottom, .footer-bottom a { color: #999; }
.footer-bottom a:hover { color: #777; }
footer.wp-block-template-part { margin-top: 0; }
.home .footer-bottom, .page-id-5036 .footer-bottom, .page-id-5050 .footer-bottom, .page-id-5052 .footer-bottom, .page-id-5054 .footer-bottom, .page-id-5056 .footer-bottom { display: none; }
.footer-bottom { margin-top: 3rem; }
.banner-img .wp-block-cover__inner-container > .wp-block-group { height: 85vh; }


.arrow-triangle {
    width: 50px;
    height: 50px;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
	float: right;
	top: 25%;
    transform: translateY(-25%);
	position: relative;
}
.arrow-triangle svg:hover { transform: translateX(7px); }


.banner-link {
    position: relative;
}

.banner-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* kliknięcie w pseudo-element przenosi */
.banner-link {
    cursor: pointer;
}

.banner-link > * {
    position: relative;
    z-index: 2;
}

/* Podstawowe ustawienia submenu */
.wpb_category_n_menu_accordion .sub-menu {
    max-height: 300px;        /* maksymalna wysokość */
    overflow-x: hidden;        /* poziomy scroll zawsze ukryty */
}

/* Ukryj scroll podczas animacji (domyślnie) */
.wpb_category_n_menu_accordion .sub-menu {
    overflow-y: hidden;
}

/* Gdy submenu ma klasę "active" lub style display:block, włącz scroll */
.wpb_category_n_menu_accordion .sub-menu[style*="display: block"] {
    overflow-y: auto;
}


/* 1 Podstawowe ustawienia submenu */
.wpb_category_n_menu_accordion .sub-menu {
    max-height: 300px;       /* maksymalna wysokość submenu */
    overflow-x: hidden;       /* poziomy scroll ukryty */
    overflow-y: auto;         /* scroll pionowy tylko jeśli potrzebny */
    -webkit-overflow-scrolling: touch; /* płynny scroll na mobile */
}

/* 2 Minimalistyczny scroll dla WebKit (Chrome, Safari, Edge) */
.wpb_category_n_menu_accordion .sub-menu::-webkit-scrollbar {
    width: 4px;
}

.wpb_category_n_menu_accordion .sub-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,1);
    border-radius: 3px;
}

.wpb_category_n_menu_accordion .sub-menu::-webkit-scrollbar-track {
    background: #fff;
	border-radius: 3px;  
}

/* 3 Minimalistyczny scroll dla Firefox */
.wpb_category_n_menu_accordion .sub-menu {
    scrollbar-width: thin;           /* cienki pasek */
    scrollbar-color: rgba(0,0,0,0.15) transparent; /* thumb i track */
}





@media all and (min-width:1800px){

.content-top img, .content-top.aos-logo img { position: relative; right: -30px; }
.arrow-triangle, .pbr { margin-right: -30px!important; }

}


@media all and (min-width:1000px){


header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container:not(.has-modal-open ul) { background-color: var(--wp--preset--color--accent-4); border: none; border-radius: 3px; box-shadow: 0 8px 18px rgba(0,0,0,.04); transition: all 200ms ease-in-out!important; }
header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li:not(:first-child) ul { margin-top: -11px; }
header .wp-block-navigation .wp-block-navigation-item { background: none!important; }

header .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__container > li > a { padding-top: 14px!important; padding-bottom: 14px!important; }
header .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__container > li.mib > a { margin-top: 1px!important; margin-bottom: 1px!important; padding: 8px 18px!important; }

header .wp-block-navigation__submenu-container:not(.has-modal-open ul) { transform: translateY(-10px); }
header .has-child:hover > .wp-block-navigation__submenu-container { transform: translateY(0); }

header .wp-block-navigation__container > li { position: relative; z-index: 1; }
header .wp-block-navigation__container > li::before { content: " "; display: block; position: absolute; top: auto; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--wp--preset--color--accent-1); z-index: -1; transform: scaleX(0); transform-origin: bottom right; transition: transform .3s ease; }
header .wp-block-navigation__container > li:hover::before { transform: scaleX(1); transform-origin: bottom left; }
.has-modal-open .wp-block-navigation__container > li::before, .tmi::before, .mib::before { display: none!important; }

header .wp-block-navigation > .wp-block-navigation-item { margin-left: 1.1rem; }
.has-modal-open header .wp-block-navigation > .wp-block-navigation-item { margin-left: 0; }

html:not(.has-modal-open) header .wp-block-navigation .wp-block-navigation__submenu-container li a { padding: .25em 1.25em!important; }
html:not(.has-modal-open) header .wp-block-navigation .wp-block-navigation__submenu-container li:first-child { padding-top: .75em; }
html:not(.has-modal-open) header .wp-block-navigation .wp-block-navigation__submenu-container li:last-child { padding-bottom: .85em; }

html:not(.has-modal-open) header .wp-block-navigation__container > li > .wp-block-navigation__submenu-container { margin-top: 10px; }
html:not(.has-modal-open) header .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::before, html:not(.has-modal-open) header .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::after { content: ""; display: block; position: absolute; bottom: 100%; }
html:not(.has-modal-open) header .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::before { height: 2rem; left: 0; right: 0; }
html:not(.has-modal-open) header .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::after { border: .6rem solid transparent; border-bottom-color: transparent; border-bottom-color: var(--wp--preset--color--accent-4); left: 1.25rem; }

.post-category .wp-block-post > .wp-block-group { padding-left: 2.5rem; padding-right: 2.5rem; }

header .wp-block-navigation .wp-block-navigation__submenu-icon { margin-top: -2px; margin-left: .4em; font-size: 1.25em; }

header.wp-block-template-part { display: none; }

.wpb_wmca_accordion_wrapper_theme_transparent ul li a { color: inherit!important; }
.wpb_category_n_menu_accordion li a { display: inline-block; font-weight: 400; border-bottom: 1px solid transparent!important; border-radius: 0!important; }
.wpb_category_n_menu_accordion li a:hover { background: none!important; border-bottom-color: var(--wp--preset--color--contrast)!important; }
.page-id-5050 .wpb_category_n_menu_accordion li a:hover, .page-id-5052 .wpb_category_n_menu_accordion li a:hover, .page-id-5056 .wpb_category_n_menu_accordion li a:hover, .page-id-5054 .wpb_category_n_menu_accordion li a:hover { border-bottom-color: #fff!important; }
.wpb_category_n_menu_accordion > ul > li > a { font-size: 15px; font-weight: 500; line-height: 20px; padding: 14px 0 5px 0; }
.wpb_category_n_menu_accordion li a { font-size: 14px; }
.wpb_wmca_accordion_wrapper_theme_transparent > ul > li > a { background: none!important; }
.wpb_wmca_accordion_wrapper_theme_transparent ul ul { margin: 0!important; padding-left: 0; }
.wpb_wmca_accordion_wrapper_theme_transparent > ul > li li > a, .wpb_wmca_accordion_wrapper_theme_transparent li > a { margin-right: 10px; padding:10px 0 5px 0; border-left: none!important; }
.wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-menu-item > a, .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item > a { font-weight: 600; border-bottom: 1px solid var(--wp--preset--color--contrast)!important; }
.page-id-5050 .wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-menu-item > a, .page-id-5050 .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item > a,
.page-id-5052 .wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-menu-item > a, .page-id-5052 .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item > a,
.page-id-5054 .wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-menu-item > a, .page-id-5054 .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item > a,
.page-id-5056 .wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-menu-item > a, .page-id-5056 .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item > a { border-bottom-color: #fff!important; }
.wpb_wmca_accordion_wrapper_theme_transparent ul ul li:nth-child(1) { padding-top: 15px!important; }
.wpb_wmca_accordion_wrapper_theme_transparent ul ul li:last-child { padding-bottom: 15px!important; }
.wpb_category_n_menu_accordion ul li > a > span.wpb-submenu-indicator { right: -40px; top: 5px; }

.page-id-5036 #menu-sidebar-menu li a { color: var(--wp--preset--color--contrast)!important; }

}




.wp-block-navigation__responsive-container-open:is(.always-shown, .button-open) { display: block; }


/*html.has-modal-open { overflow: auto!important; }*/


header nav > button { z-index: 200000; }
.has-modal-open #modal-1 { top: 0px; padding-top: 60px!important; padding-bottom: 60px!important; }

.has-modal-open .wp-block-navigation__responsive-close { max-width: 1755px; }

header:before { content: ''; position: absolute; top: 0; width: 100%; height: 100vh; background: var(--wp--preset--color--base); display: none; }
.has-modal-open header:before { display: none; }

.has-modal-open .wp-block-navigation__responsive-container.modal-menu { animation: overlay-menu__fade-out-animation .2s ease-out; animation-fill-mode: forwards!important; }

@keyframes overlay-menu__fade-out-animation {
	0%{opacity:1;transform:translateY(0)}
	to{opacity:0;transform:translateY(-1.5em)}
}


.has-modal-open .wp-block-navigation__responsive-container { animation: overlay-menu__fade-in-animation .2s ease-out; animation-fill-mode: forwards!important; }

@keyframes overlay-menu__fade-in-animation {
	0%{opacity:0;transform:translateY(1.5em)}
	to{opacity:1;transform:translateY(0)}
}


.has-modal-open .main-navigation, .has-modal-open .wp-block-navigation-item { width: 100%; }

.has-modal-open .main-navigation .wp-block-navigation__submenu-container { position: relative; max-height: 0; overflow: hidden!important; transition: all 500ms ease!important; padding: 0!important; min-width: auto!important; width: 100%!important; opacity: 0!important; }

.has-modal-open .main-navigation .wp-block-navigation__submenu-container.open { max-height: 800px; opacity: 1!important; }


.has-modal-open .wp-block-navigation__submenu-container li:nth-child(1) { margin-top: 1.5rem; }
.has-modal-open .wp-block-navigation__submenu-container li a { padding: 0 30px 0 15px!important; }
.has-modal-open .wp-block-navigation__submenu-container li li { margin-bottom: 1.5rem; }
.has-modal-open .wp-block-navigation__submenu-container li li a { padding: 0 30px!important; }
.has-modal-open .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) { margin-bottom: 7px; }

.has-modal-open .wp-block-navigation__submenu-icon { transform: rotate(0deg); transition: transform 0.3s ease; display: block!important; position: absolute; top: 2px; right: 0; z-index: 11; }

.has-modal-open .wp-block-navigation__submenu-icon.open { transform: rotate(180deg); }

.has-modal-open .wp-block-navigation .wp-block-navigation__submenu-icon { font-size: 1.75em; }
.has-modal-open .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { margin-right: 0; }
.has-modal-open .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg { transform: rotate(0); }


.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { width: 30px; height: 30px; }
/*.wp-block-navigation__responsive-container-open svg, */.wp-block-navigation__responsive-container-close { display: none; }
.wp-block-navigation__responsive-container-open svg { background: var(--wp--preset--color--contrast); width: 100%; height: 3px; opacity: 1; }
.wp-block-navigation__responsive-container-open.button-open svg { opacity: 0; }
.wp-block-navigation__responsive-container-open { position: relative; }
.has-modal-open .wp-block-navigation__responsive-container-content { padding-top: 20px!important; }


.wp-block-navigation__responsive-container-open::before,
.wp-block-navigation__responsive-container-open::after,
.wp-block-navigation__responsive-container-open span { position: relative; content: ''; display: block; height: 3px; width: 100%; background-color: var(--wp--preset--color--contrast); border-radius: 2px; transition: all 0.3s ease; }

.wp-block-navigation__responsive-container-open::before { top: -6px; }
.wp-block-navigation__responsive-container-open::after { bottom: -6px; }

/* Środkowa linia (span) */
.wp-block-navigation__responsive-container-open span { background-color: #333; transition: opacity 0.3s ease; }

/* Stan po otwarciu (button-open) */
.wp-block-navigation__responsive-container-open.button-open::before { transform: rotate(45deg) translate(6px, 6px); }

.wp-block-navigation__responsive-container-open.button-open::after { transform: rotate(-45deg) translate(7px, -6px); }

.wp-block-navigation__responsive-container-open.button-open span { opacity: 0; }






@media only screen and (min-width: 1000px) and (max-width: 1200px) {

header .wp-block-navigation > .wp-block-navigation-item { margin-left: .1rem; }

}



@media all and (max-width:1500px){
	
.content-top img { max-width: 260px; }
.content-top.aos-logo img { max-width: 190px; }
.wpb_category_n_menu_accordion > ul > li > a { font-size: 14px; }
.wpb_category_n_menu_accordion li a { font-size: 13px; }

}


@media all and (max-width:1200px){ .content-top a { text-align: right; } .content-top img { max-width: 230px; } .content-top.aos-logo img { max-width: 170px; } }


@media only screen and (min-width: 1000px) and (max-width: 1500px) { .content-bottom .wp-block-column:nth-child(1) { font-size: 12px; } }



@media only screen and (min-width: 1000px) and (max-width: 1200px) { 

.wpb_category_n_menu_accordion > ul > li > a { font-size: 13px; }
.wpb_category_n_menu_accordion li a { font-size: 12px; }
.pbr { font-size: 15px!important; }

}



@media all and (max-width:999px){

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none!important; }
.wp-block-navigation__responsive-container-open:not(.always-shown) { display: block; }

header .wp-block-navigation li { font-weight: 500; font-size: .95rem; }

.tmi { margin-top: 5px; margin-left: -3px; }

.wp-block-button a::after { top: 13px; }

footer .wp-block-column:nth-child(2) .fs a:before { top: 0; }
footer .wp-block-column:nth-child(2) .fs a:nth-child(2):before { top: 3px; }
footer .wp-block-navigation a { padding: 1px 0 1px 26px; }

.cookie-notice-container { padding-right: 40px !important; text-align: left!important; }
.cookie-notice-container #cn-accept-cookie { margin-left: 0!important; }

.wp-block-columns.content-bottom > .wp-block-column:nth-child(1), .wp-block-columns.content-bottom .ec { display: none; }

/*.content-top { margin-top: 0!important; }*/


}



@media all and (max-width:781px){ html { scroll-behavior: auto; } .mdn { display: none; } .content-top .wp-block-columns .wp-block-column:nth-child(1),.content-top .wp-block-columns .wp-block-column:nth-child(2) { display: none; } }

@media all and (min-width:782px){ .ddn { display: none; } }



@media ( min-width: 700px ) {
	
.footer-copyright, .pp { float: left; }
.pp { margin-left: 10px; padding-left: 10px; border-left: 1px solid #ddd; }
.realization { float: right; }
	
}



@media ( max-width: 699px ) {

.content-top img { max-width: 200px; }
.content-top.aos-logo img { max-width: 150px; }
.custom-footer-block { text-align: center; }
#back-to-top { bottom: 171px }

}



@media ( max-width: 599px ) {

.horizontal-scroll { display: flex!important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; gap: 3rem; margin: 0; padding: 0 0 1rem; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.horizontal-scroll > li { flex: 0 0 250px; scroll-snap-align: start; list-style: none; }
.horizontal-scroll a { display: block; width: 100%; white-space: normal; }

.content-top .wp-block-columns .wp-block-column:nth-child(3) { margin-top: 1rem; margin-bottom: 1rem; }

}
