body {
-webkit-font-smoothing: antialiased;
}
.comming-soon .djacc.djacc-container,
.comming-soon a.cc-trigger.cc-trigger-icon{display:none}
.sticky-header-opened .ba-sticky-header-parent ~ .ba-item-in-positioning.spot {z-index: 0 !important;}
i.ba-icons.ba-icon-close.ba-overlay-section-close {font-size: 120px;}
.ba-lightbox-backdrop[data-id="item-1765484056408"] {transition: opacity 0.5s ease-out;}
/*Running Text Line*/
.marquee-text-effect {display: inline-flex !important;overflow: hidden;}
@keyframes marquee-text-effect {
	0% {transform: translateX(0%);}
	100% {transform: translateX(-100%);}
}
.marquee-text-effect .content-text {display: inline-flex; justify-content: space-around;}
.marquee-text-effect .ba-countdown > span {display: flex; flex-direction: row; align-items: center;}
.marquee-text-effect .ba-countdown > span .countdown-label {margin-left: 20px;}
.marquee-text-effect .content-text > * {display: inline-block; padding: 0 40px; white-space: nowrap;margin-top:0!important}
.ba-live-search-product-row:hover .ba-live-search-product-category a {color: var(--primary);}
.com_gridbox:not(.modal) p + p {margin-top:1rem}
.ba-lightbox .ba-video-background video{height: auto; left:0; top:0; width: 100%;}
i.ba-icons.ba-icon-close.ba-overlay-section-close:hover {rotate: 90deg;}
.ba-gallery-content .ba-image img{border-radius:100%}
.ba-gallery-grid .ba-caption,
.zyczenia .ba-gallery-grid .ba-image .ba-caption,
.zyczenia .ba-gallery-grid.css-style-14 .ba-image .ba-caption{position:relative!important;background:none!important;color:var(--title);opacity:1!important;bottom:0!important;padding-top:25px!important;padding-bottom:25px!important}
.zyczenia .ba-item-gallery .ba-gallery-grid .ba-caption h3,
.zyczenia .ba-gallery-grid.css-style-14 .ba-caption h3{color:var(--title)!important;width:100%;margin:0}
.zyczenia .ba-video-thumbnail .ba-image:before{color:var(--primary);top:30%}
.zyczenia .ba-video-thumbnail .ba-image:hover:before{opacity:1}
.zyczenia .ba-video-thumbnail .ba-image:hover{cursor:pointer}
.zyczenia .ba-gallery-grid .ba-gallery-items:nth-child(4){display:none!important}
.zyczenia .ba-gallery-grid{height:450px!important}
/*.zyczenia .ba-gallery-content .ba-pagination{display:none!important}*/
.ba-gallery-content .ba-gallery-items{overflow:initial!important}
#item-1762971641047 .ba-blog-post-field-title{display:none}
#item-1762971641047 .ba-blog-post-fields .ba-blog-post-field-value{text-align:left}
.gridbox-event-title a{color:inherit}
.gridbox-event-title a:hover,
.gridbox-event-card:hover a{color:var(--primary)}
.com_gridbox.editor .ba-item-in-positioning.spot,
.spot{z-index:0!important}
.spot-czas{z-index:0!important}
.com_gridbox.editor .ba-item-in-positioning .title,
.title,
.pokaz-ukryte{z-index:2!important}
.ba-section.linia {position: relative;}
.ba-section.linia .ba-section-items::before {content: "";position: absolute;top: 0;bottom: 0;left: 50%;width: 2px;background-color: var(--title);transform: translateX(-50%);pointer-events: none;z-index: 0;}
.os-czas {position: relative;background-color: #fff;}
/*.os-czas::after {content: "";position: absolute;top: calc(50% - 60px);left: 50%;width: 120px;height: 120px;background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><circle cx="60" cy="60" r="60" fill="%23d0ebfa"/></svg>');background-repeat: no-repeat;
background-size: contain;background-position: center;transform: translateX(-50%);z-index: 1; pointer-events: none;}*/
.os-czas .column-wrapper{z-index:3!important}
.ba-item-recent-posts .ba-grid-layout .ba-blog-post-content,
.ba-item-blog-posts .ba-blog-post-content,
.ba-item-recent-posts .ba-blog-post-content {padding:0!important}
.ba-hamburger-menu > .main-menu {min-height: 60%; height: auto !important; transition: top .8s ease, right .8s ease, box-shadow .5s ease;}
/* Menu ukryte */
.ba-hamburger-menu > .main-menu.hide-menu {top: -100vh;transition: top 1.8s ease, right 1.8s ease, box-shadow 1.5s ease !important;}

.ba-hamburger-menu > .main-menu {
    min-height: 60%; 
    height: auto !important; 
    transition: top .8s ease, right .8s ease, box-shadow .5s ease;
}

/* Menu ukryte - jedzie do prawego górnego rogu */
.ba-hamburger-menu > .main-menu.hide-menu {
    top: -100vh !important;
    right: -100% !important;
    transition: top 1.8s ease, right 1.8s ease, box-shadow 1.5s ease !important;
}
/* Menu widoczne */
.ba-hamburger-menu > .main-menu.visible-menu {top: 0;}
.ba-hamburger-menu > .main-menu >.close-menu{left:auto!important; right:20px; width:auto!important}
.vertical-menu li.deeper > a i.ba-icon-caret-right{float: none;display:inline-block}
.nav li.deeper.parent,
.ba-hamburger-menu > .main-menu .nav > li.active,
.ba-hamburger-menu > .main-menu .nav > li:hover{width:auto!important;display:block}
.nav li.deeper.parent i.ba-icon-caret-right:before {content: "\eaf1"; font-family: bootstrap-icons;font-weight: normal;font-style: normal;-webkit-font-smoothing: antialiased;}
[id^="item-"] > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > .item-120 > a,
[id^="item-"] > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > .item-125 > a,
[id^="item-"] > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > .item-126 > a,
[id^="item-"] > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > .item-127 > a {font-size: 16px !important;text-transform: uppercase!important}
footer [id^="item-"] > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > .item-120 > a{text-transform: none!important}
footer{position:relative}
footer:before {
    content: '';
    position: absolute;
    left: 0;
    top: -24px;
    background-image: url('../../../../images/theme/sznurek-new4.svg');
    width: 100%;
    height: 34px;
    background-repeat: repeat-x;
/*    background-size: 350px 34px;*/
}
footer ul li.item-119,
footer ul li.item-120,
footer ul li.item-125,
footer ul li.item-126,
footer ul li.item-127 {display: none !important;}
body.ba-opened-menu .main-menu.visible-menu{top:0}}

body.menu-open {overflow: hidden; /* blokuje scroll gdy menu otwarte */}
#item-1761490676331 > .ba-hamburger-menu > .main-menu{height:60%}
div.mod-languages li{margin-left:-0.5rem;margin-right:0}
div.mod-languages ul li.lang-active{background-color:transparent;font-weight:700}
div.mod-languages li + li {margin-left: 0;margin-right:0}
div.mod-languages ul li a{color:var(--title)}
div.mod-languages ul li.lang-active a{color:var(--primary)}
.ba-item-language-switcher .ba-dropdown-layout .ba-language-switcher-list {left: auto; margin-left: 0; width: auto; right: auto;}
.ba-item-language-switcher .ba-dropdown-layout .ba-language-switcher-list img {
  margin-right: 0;display:none}
.mod-gdynia-events-gridbox .gridbox-events-grid{display:grid;grid-template-columns:repeat(3, 1fr);column-gap:20px}
.mod-gdynia-events article.event-item .event-image{margin-bottom:20px}
.ba-blog-post.ba-masonry-image-loaded{overflow:visible}
.ba-blog-post-image
.mod-gdynia-events .gridbox-event-image img,
.ba-blog-post-image img{object-fit:cover;aspect-ratio:1/1}
#item-1762971641047 .ba-blog-post-image{padding-bottom:100%}
.ba-item-recent-posts#item-1762971641047 .ba-blog-post.ba-masonry-image-loadedm
#item-17615037779716,
.ba-item-recent-posts#item-1762971641047{min-height:500px}
#item-1762971641047 .ba-blog-post-image img{max-width:300px!important}
.ba-grid-layout {gap:20px;margin-left:0!important;margin-right:0!important}
/*#item-1762450726771 .ba-grid-layout .ba-blog-post:nth-child(n){width:calc((100% / 3) - 40px)}*/
.ba-grid-layout .ba-blog-post{margin-left:0!important;margin-right:0!important}
.ba-blog-post-image {
    position: relative;
    width: 100%;
    /*padding-bottom: 100%; */
    overflow: hidden;
    margin-bottom: 15px; /* opcjonalnie - odstęp od treści poniżej */
}

.ba-blog-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-blog-post-content {
    position: relative; /* upewnij się że content nie jest absolute */
}
.mod-gdynia-events .gridbox-event-body  h3.gridbox-event-title{font-size:20px;text-align:left;margin-top:10px}
.mod-gdynia-events .gridbox-event-body .gridbox-event-date{margin-top:20px;font-size:16px;color:#000}
.row.gridbox-events-grid:before,
.row.gridbox-events-grid:after{display:none}
.mod-gdynia-events article.event-item{}
.mod-gdynia-events article.event-item .event-categories{display:none}
.wiecej-historii .ba-image-wrapper {width:100%}
.wiecej-historii .ba-image-wrapper img{object-fit:cover;height:300px!important}

/* Zmienia kolor przy hover na dowolnej kolumnie która ma link */
 .ba-grid-column:hover  .link .content-text * ,
.pokaz-ukryte:hover p{
  color: var(--primary) !important;
  transition: color 0.3s ease;
}

/* Podstawowe style dla ukrytych elementów - wolniejsza animacja - TYLKO FRONT */
body:not(.editor) .ba-row.ukryte {
    opacity: 0;
    max-height: 0; 
    overflow: hidden; 
    transition: opacity 1.2s ease, max-height 1.5s ease; 
    pointer-events: none; 
    position: relative;
}

body:not(.editor) .ba-row.ukryte.pokazane {
    opacity: 1; 
    max-height: 5000px !important; 
    pointer-events: auto; 
    transition: opacity 1.2s ease, max-height 1.5s ease;
    overflow: visible;
}

/* Style dla edytora GridBox - BEZ body.editor, użyj innych selektorów */
.ba-wrapper.active-context-item .ba-row.ukryte,
.ba-section.active-context-item .ba-row.ukryte,
.ba-wrapper .ba-edit-item ~ .ba-section-items .ba-row.ukryte {
    opacity: 1 !important; 
    max-height: none !important; 
    min-height: 50px !important;
    height: auto !important; 
    overflow: visible !important; 
    pointer-events: auto !important; 
    background: rgba(128, 128, 128, 0.1) !important; 
    padding: 20px !important;
    transition: none !important;
    display: block !important;
}

.ba-wrapper.active-context-item .ba-row.ukryte *,
.ba-section.active-context-item .ba-row.ukryte *,
.ba-wrapper .ba-edit-item ~ .ba-section-items .ba-row.ukryte * {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
}

.ba-wrapper.active-context-item .ba-row.ukryte::before,
.ba-section.active-context-item .ba-row.ukryte::before,
.ba-wrapper .ba-edit-item ~ .ba-section-items .ba-row.ukryte::before {
    content: 'UKRYTY CONTENT (widoczny tylko w edytorze)' !important; 
    display: block !important; 
    background: rgba(255, 193, 7, 0.8) !important; 
    color: #000 !important; 
    padding: 5px 10px !important; 
    margin: -20px -20px 15px -20px !important; 
    font-weight: bold !important; 
    font-size: 12px !important; 
  line-height:20px;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

/* Najbardziej agresywny selektor - jeśli jest .ba-edit-item w DOM, pokaż ukryte */
.ba-edit-item:first-child ~ * .ba-row.ukryte,
.ba-wrapper:has(.ba-edit-item) .ba-row.ukryte {
    opacity: 1 !important; 
    max-height: none !important; 
    overflow: visible !important; 
    background: rgba(128, 128, 128, 0.1) !important; 
    padding: 20px !important;
}

/* Style dla triggera - TYLKO FRONT */
body:not(.editor) .pokaz-ukryte {cursor: pointer !important; transition: opacity 0.3s ease;}
body:not(.editor) .pokaz-ukryte:hover {opacity: 0.7;}
/* Style dla przycisku zamykania - "Ukryj więcej" - TYLKO FRONT */
body:not(.editor) .zamknij-ukryte {
    cursor: pointer !important; 
    transition: opacity 0.3s ease; 
    position: absolute; 
    top: -40px;
    left: calc(50% + 50px); 
    z-index: 10;
}

body:not(.editor) .zamknij-ukryte:hover {opacity: 0.7;}
body:not(.editor) .zamknij-ukryte .content-text p {margin: 0 0 0 10px!important; padding: 0 0 10px; text-transform: uppercase; font-weight: 700;}
/* Ukryj przycisk w edytorze */
.ba-wrapper.active-context-item .zamknij-ukryte,
.ba-section.active-context-item .zamknij-ukryte,
.ba-wrapper:has(.ba-edit-item) .zamknij-ukryte {display: none !important;}
body.gridbox #item-1762971641047 .ba-blog-post.ba-masonry-image-loaded,
body.gridbox  .ba-item-recent-posts#item-1762971641047 {max-height:600px}
/* Front-end only - max 400px kwadratowe video */
body:not(.gridbox) .ikona-video .ba-video-background {width: 400px; max-width: 100%; aspect-ratio: 1/1; position: relative; margin: 0 auto;}
body.gridbox .ikona-video{height:400px}
/*body.gridbox .ikona-video.small{height:350px}*/
body.gridbox .ikona-video .ba-video-background{height:400px;width:400px}
/*body.gridbox .ikona-video.small .ba-video-background{height:350px;width:350px}*/
.ikona-video .ba-video-background video {width: 100% !important; height: 100% !important; position: relative; left: auto;top: auto;object-fit: cover; max-width: 400px; transform:initial!important;object-fit: cover; max-width: 4000px; outline: none; border: none; box-shadow: none; -webkit-tap-highlight-color: transparent;}
body:not(.gridbox) .ikona-video .ba-video-background video:focus,
body:not(.gridbox) .ikona-video .ba-video-background video:focus-visible,
body:not(.gridbox) .ikona-video .ba-video-background video:active {outline: none; border: none; box-shadow: none;}
/* Na wszelki wypadek też kontener */
body:not(.gridbox) .ikona-video .ba-video-background {outline: none; border: none;}
.ikona-video .ba-video-background > div {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Ten div z ID */
.ikona-video .ba-video-background div[id] {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden;
}
@media (max-width: 4096px) {
.ba-hamburger-menu.ba-collapse-submenu .deeper.parent:not(.visible-nav-child) > ul.mod-menu__sub {max-height: 0 !important;}
}
@media (max-width: 1280px) {
	.body {overflow: hidden;}
}
@media (max-width: 1024px) {
.ba-gallery-grid.css-style-14 .ba-image .ba-caption{display:block!important}
}
@media (max-width: 956px) {
.zyczenia .ba-gallery-grid {height: 320px!important;}
.slideshow-title-wrapper {max-width: 440px; margin: 120px auto 0;}
}
@media (max-width: 440px) {
.zyczenia .ba-gallery-grid {height: 1300px!important;}
  #item-1762450726771 .ba-grid-layout .ba-blog-post:nth-child(n) {
    width: 100%;}
  .ba-grid-layout{gap:initial}
 #item-1762971641047 .ba-masonry-layout {grid-template-columns: 1fr;display: block !important;}
#item-1762971641047 .ba-blog-post {grid-row-end: auto !important;}
  
body.gridbox  .ba-item-recent-posts#item-1762971641047 {max-height:100%}
.ba-lightbox-backdrop.lightbox-center {min-height: auto;}
  .visible-lightbox .ba-lightbox{position:absolute;bottom:auto;top:5%}
}