.site-logo {
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    padding: 15px;
    background: #f6f6f6;
    width: 163px;
}
.wp-custom-logo .site-header {
    border-bottom: 2px solid #000;
    position: relative;
}
.primary-navigation {
    padding-left: 30px;
    padding-bottom: 20px;
}
.top-menu ul {
    font-size: 15px;
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}
.top-menu {
    position: absolute;
    right:0;
    top:20px;
}
.baj-s {
    display: block;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.1s, height 0.3s, padding 0.5s;
    padding: 0px 0px;
    width: 100%;
    text-align: center;
    position: relative;
}

.baj-s input {
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    border-left: none;
    border-top: none;
    padding: 10px 15px;
    background: none;
    color: white;
    width: 100%;
    font-size: 16px;
    height: 50px;
    margin: 0;
}
.wyszukiwarka .active {
    opacity: 1;
    height: 50px;
    padding: 0px 0px;
}
.baj-s input::placeholder {
    color: #000;
}
.sbtn {
    background-color: transparent !important;
    color: #000 !important;
    position: absolute;
    right: 0px;
    border: none !important;
    top: 0px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    transition: 500ms all ease;
    height:50px
}
.sbtn:hover{
    background-color: #000 !important;
    color:#fff !important;
}

.mobile-top-menu {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    right: 0;
    top: 10px;
    color: #757575;
    font-size: 20px;
    font-weight: 700;
    z-index:9999;
}
.mobile-top-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding-left: 0;
}
.primary-navigation-open .primary-navigation > .mobile-top-menu {
    position: absolute;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    z-index: 500;
    left:15px;
    top:80px;
    border-top:1px solid #ddd;
}
.mobile-top-menu li {
    padding: 0px 10px;
}

.fa-sr-only, .fa-sr-only-focusable:not(:focus), .sr-only, .sr-only-focusable:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}
.dark-toggle input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}
.contrast-btn {
    background-image: url(/assets/img/contrast-off.svg);
    height: 18px;
    background-repeat: no-repeat;
    width: 18px;
    position: relative;
    cursor:pointer;
}

.top-menu a{
    text-decoration: none;
    font-weight: 500;
    position: relative;
}
.widget a{
    position: relative;
}
.top-menu a::after, .contrast-btn::after, .widget a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #444;
    opacity: 1;
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition:300ms all ease;
}
.top-menu a:hover::after, .contrast-btn:hover::after, .widget a:hover::after {
    width: 100%;
}
.lupka {
    background-image: url(/assets/img/lupka-off.svg);
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
    transition: 500ms all ease;
}

.sbtn:hover .lupka{
    background-image: url(/assets/img/lupka-white.svg);
}
.search-btn {
    position: absolute;
    right: 0;
    bottom: 35px;
    padding: 0;
    width: 20px;
    background-color: transparent !important;
    border: none;
}
.ss {
    background-image: url(/assets/img/lupka-off.svg);
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}
a {
    text-decoration: none !important;
}
.wyszukiwarka {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    border: 0px solid #000;
    transition: 300ms all ease;
}
.below-header .yellow-btn {
    background: #f8f400;
    border-left: 2px solid #000;
    border-top: none;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    width: 163px;
    padding: 8px;
    text-align: center;
    height: 50px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
    transition: 500ms all ease;
    color: #000;
}
.below-header .yellow-btn:hover {
    background: #000;
    color: #f8f400;
}
.below-header {
    width: var(--responsive--alignwide-width);
    margin: 0 auto;
    display: flex;
}
.sb:focus{
    outline:0;
}
.baj-footer {
    background: #ededed;
    margin-top: 60px;
}
.baj-footer h2{
    border-bottom:1px solid #000;
    padding-bottom:30px
}
.footer-social li img {
    width: 30px;
    height: 30px;
}
.fb-on, .fr-on, .yt-on, .bip-on, .in-on, .li-on {
    position: absolute;
    left: 0;
    opacity:0;
}
.footer-social li {
    position: relative;
}
.footer-social li a {
    display: flex;
    gap: 10px;
    width:fit-content;
}
.footer-social li .fr, .footer-social li .fb, .footer-social li .yt, .footer-social li .bip {
    position: relative;
    z-index: 1;
}
.bip-li {
    margin-top: 20px;
}
img.bip {
    width: 70px !important;
}
.footer-social li {
    margin-bottom: 10px;
}
.baj-bottom {
    background: #ededed;
    border-top: 1px solid #000;
    text-align: center;
    padding: 20px;
}
.bb-img {
    position: relative;
    width: 320px;
    margin: 0 auto 20px auto;
}
.copyright ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 70px;
    font-size: 15px;
    color: #444;
    padding: 0;
}
.main-home {
    max-width:var(--responsive--alignwide-width);
    margin:0 auto;
}
.owl-carousel-spektakle-home .owl-stage, .owl-carousel-aktualnosci-home .owl-stage {
    display: flex;
    box-sizing: border-box;
}
.baj-item-img {
    height: 460px;
    overflow: hidden;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    position: relative;
    z-index: 1;
}
.baj-item-img img {
    object-fit: cover;
    height: 460px;
    width: 100%;
    transition: 300ms all ease;
    transform: scale(1);
}
.baj-item:hover .baj-item-img img{
    transform: scale(1.05);
}
.baj-item-data {
    border: 2px solid #000;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    background: #fff;
}
.title a {
    font-size: 20px;
    font-weight: 700;
    position: relative;
    transition: 300ms all ease;
}


.baj-item:hover .title a{
    background:#000;
    color:#fff;
}
.title {
    /*height: 57px;*/
    overflow: hidden;
    line-height: 28px;
}
.baj-item-meta {
    height: 34px;
    overflow: hidden;
    font-size: 18px;
    font-weight: 500;
    color: #777777;
}
.m-title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height:1.1;
}
.mb-0{
    margin-bottom:0px
}
.mb-10{
    margin-bottom:10px
}
.mb-20{
    margin-bottom:20px
}
.mb-60{
    margin-bottom:60px;
}
.baj-carousel {
    position: relative;
}
.link-right {
    position: absolute;
    right: 0;
    bottom: 16px;
    font-weight: 700;
    font-size: 20px;
}
.link-right-rel {
    position: relative;
    font-weight: 700;
    font-size: 20px;
    text-align:right;
}
.baj-events-container {
    max-width: var(--responsive--alignwide-width);
    margin: 0 auto;
    display: flex;
    gap:60px;
    box-sizing:border-box;
    flex-direction: row;
}
.baj-left-side {
    width: 60%;
}
.baj-right-side {
    width: 40%;
    box-sizing: border-box;
}
.baj-event-image img {
    width: 100%;
}
.baj-events-element {
    margin-top: 50px;
}
.baj-events-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
}
.terminy-list, .repertuar-list {
    list-style: none;
    padding: 0;
}
.terminy-list li, .repertuar-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #000;
    margin-bottom: 30px;
    align-items: flex-end;
    background:#fff;
    transition:500ms all ease;
}

.terminy p {
    font-size: 25px;
    font-weight: 700;
    line-height:25px;
    margin-bottom:5px !important;
}
.terminy p:first-child {
    flex-shrink: 0;
}
.terminy p span{
   font-weight:400;
    margin:0px 10px;
}
.termin-wrap a {
    font-size: 25px;
    font-weight: 700;
    margin-left:10px;
    line-height:25px;
}

.termin-wrap {
    display: flex;
    align-items: flex-start;
    padding-right: 10px;
}
.p-xs {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #777 !important;
    margin-bottom: 5px;
}
li.weekend p {
    color: #f00;
}
.terminy-list a, .repertuar-list .ticket-link {
    background: #f8f400;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    padding: 14px 30px;
    transition: 500ms all ease;
    width: 150px;
    text-align: center;
}
.terminy-list a {
    border-left: 2px solid #000;
}

.repertuar-list .btn-outline-white {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    padding: 14px 30px;
    transition: 500ms all ease;
    width: 150px;
    text-align: center;
}
a.btn-outline-white {
    background: #fff;
    border-left: 2px solid #000;
    transition: 500ms all ease;
}
a.btn-outline-white:hover {
    background: #f8f400;
}
.terminy-list li:hover a , .repertuar-list li:hover .ticket-link{
    background:#000;
    color:#fff;
}
.g-autor {
    font-size: 15px;
    margin-top: 10px;
    text-align: right;
    color: #777;
}

.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
}
.tab input:checked ~ .tab__content {
    max-height: 1000px;  /* Duża wartość, aby pomieścić treść */
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Visual styles */
.accordion {
    overflow: hidden;
    margin-top: 40px;
}
.tab__label,
.tab__close {
    display: flex;
    color: white;
    background: var(--theme);
    cursor: pointer;
}
.tab__label {
    justify-content: space-between;
    padding: 1rem;
}
.tab__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.3s;
    position: absolute;
    right: 10px;
    top: 25px;
}
.tab input:checked + .tab__label::after {
    transform: rotate(270deg);
}
.tab input:checked ~ .tab__label{
    background:#000;
    color:#fff;
}
.tab__content p {
    margin: 0;
    padding: 0 10px;
    font-size: 18px;
    line-height: 30px;
}
.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}
.accordion--radio {
    --theme: var(--secondary);
}
.accordion label {
    font-size: 18px !important;
    color: #000;
    font-weight: 700;
    width: 100%;
    padding: 20px 0px 20px 0px;
    position: relative;
    padding-left: 10px !important;
    transition: 300ms all ease;
    background: #fff;
    margin: 0;
}
.accordion label:hover {
    background:#000;
    color:#fff;
}
.accordion .tab {
    border-bottom: 2px solid #000;
}
.premiera {
    color: #fff !important;
    background: #000;
    width: fit-content;
    padding: 0px 10px;
    font-size:20px !important;
}
.full-page {
    max-width: var(--responsive--alignwide-width);
    margin: 0 auto;
}
.full-page figure img {
    margin: 0px 0px;
}
.full-page p{
    margin-bottom:20px;
}
.baj-grid-4{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    grid-gap:10px;
}
.owl-carousel-spektakle-home, .owl-carousel-aktualnosci-home {
    overflow: hidden;
}
.unavail {
    font-weight: 700;
    color: #777;
    padding: 0px 17px;
    font-size: 18px;
    display: flex;
    align-items: center;
}
.repertuar-btns {
    display: flex;
    align-items: center;
}
.calendar-navigation {
    font-size: 35px;
    font-weight: 700;
    display: flex;
    gap: 15px;
}
.calendar-navigation a {
    color: #000;
    background: #fff;
    border: 2px solid #000;
    width: 50px;
    display: flex;
    text-align: center;
    height: 50px;
    padding: 26px 30px 30px 30px;
    align-items: center;
    transition: 500ms all ease;
    justify-content: center;
}
.calendar-navigation a:hover {
    color: #fff;
    background: #000;
}
.dprzyciski {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.dbottom p {
    background: #000;
    color: #fff;
    width: fit-content;
    padding: 0px 10px;
    margin-bottom: 8px;
    line-height: 50px;
    font-size: 35px;
    font-weight: 700;
}

p.sub-sub {
    font-size: 18px;
}
.dbottom {
    position: absolute;
    bottom: 30px;
}
li.dynamic {
    border: 2px solid #000;
    flex: 1;
    overflow: hidden;
}
.dynamic-link img {
    width: 100%;
    object-fit: cover;
    height: 430px;
    flex-shrink: 0;
    transform: scale(1);
    transition: 500ms all ease;
}
.dynamic:hover img{
    transform: scale(1.05);
}
.dynamic-link {
    position: relative;
}
h1.entry-title.cpt-baj-header {
    margin-bottom: 30px;
}
.baj-item {
    height: 540px;
    position: relative;
}
.baj-full-container {
    flex-direction: column-reverse;
}
.fullwidth {
    width: 100%;
}
.styled-btns a {
    border: 2px solid #000;
    width: 100%;
    display: inline-block;
    padding: 11px;
    background: #fff;
    color:#000;
    transition: 500ms all ease;
    text-align: center;
}
.styled-btns a:hover {
    background: #000;
    color:#fff;
}
.flex {
    display: flex;
    gap: 30px;
}
.repertuar-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}
.filter-button {
    padding: 0 30px;
    line-height: 0;
    background: #fff !important;
    height: 60px;
    color: #000 !important;
    border: 2px solid #000;
    box-sizing: border-box;
    transition: 500ms all ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-button:hover {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000;
}
.filtr-svg {
    background-image: url("/assets/img/filtr.svg");
    width: 20px;
    height: 13px;
    background-repeat: no-repeat;
    transition: 500ms all ease;
}
.page-id-30 .accordion{
    margin-bottom:30px;
    margin-top:10px !important;
}

.filter-button:hover .filtr-svg{
    background-image: url("/assets/img/filtr-hover.svg");
}
select {
    border: 2px solid #000;
}
.filtration-box {
    border: 0 solid #000;
    margin-bottom: 0;
    padding: 0px 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.filtration-box.active {
    border: 2px solid #000;
    margin-bottom: 30px;
    padding: 20px;
    max-height: 400px;
}

.filtration-box form {
    display: flex;
    gap: 20px;
}
.is-dark, .is-dark .event-home-item:first-child, .is-dark .event-home-item:nth-child(2), .is-dark .event-header::before{
    background-color: #000 !important;
    background:#000 !important;
}
.is-dark .primary-navigation a{
    color:#fff300;
}
.is-dark .site-logo {
    border-left: 2px solid #fff300;
    border-right: 2px solid #fff300;
    background: #fff;
}
.is-dark .site-header {
    border-bottom: 2px solid #fff300;
}
.is-dark .wp-custom-logo .site-header {
    border-bottom: 2px solid #fff300;
}
.is-dark .ss{
    background-image: url(/assets/img/lupka-on.svg);
}
.is-dark .below-header .yellow-btn {
    border-left: 2px solid #fff300;
    border-right: 2px solid #fff300;
    border-bottom: 2px solid #fff300;
}
.is-dark #primary-menu-list li a:hover {
    background: #fff;
    color: #000;
}
.is-dark .sub-menu a, .is-dark .top-menu a{
    color:#fff300;
}
.is-dark .contrast-btn {
    background-image: url(/assets/img/contrast-on.svg);
}
.is-dark .primary-navigation .sub-menu {
    border: 1px solid #fff300;
}
.is-dark .primary-navigation > div > .menu-wrapper > li > .sub-menu li {
    background: #000;
}
.is-dark .primary-navigation > div > .menu-wrapper > li > .sub-menu:before, .is-dark .primary-navigation > div > .menu-wrapper > li > .sub-menu:after {
    border-color: #fff302 transparent;
}
.is-dark .primary-navigation > div > .menu-wrapper > li > .sub-menu:after {
    border-color: #000000 transparent;
}
.is-dark .top-menu a::after, .is-dark .contrast-btn::after, .is-dark .widget a::after {
    background: #fff300;
}
.is-dark .baj-s input {
    border-bottom: 2px solid #fff300;
    border-right: 2px solid #fff300;
    color: #fff300;
}
.is-dark .lupka {
    background-image: url(/assets/img/lupka-on.svg);
}
.is-dark .sbtn {
    background-color: transparent !important;
    color: #fff300 !important;
}
.is-dark .sbtn:hover {
    background-color: #fff300 !important;
    color: #000 !important;
}
.is-dark .sbtn:hover .lupka {
    background-image: url(/assets/img/lupka-off.svg);
}
.is-dark .baj-s input::placeholder{
    color: #fff300;
}
.is-dark .baj-item-img {
    border-left: 2px solid #fff300;
    border-right: 2px solid #fff300;
    border-top: 2px solid #fff300;
}
.is-dark .baj-item-data {
    border: 2px solid #fff300;
    background: #000;
}
.is-dark .title a, .is-dark .baj-item-meta {
    color:#fff300
}
.is-dark .baj-item:hover .title a {
    background: #fff300;
    color: #000;
}
button{
    transition:500ms all ease
}
.is-dark button:not(:hover):not(:active):not(.has-background){
    background-color:#000;
    color:#fff300;
}
.is-dark button:hover{
    background-color:#fff300;
    color:#000;
}
.is-dark button{
    color:#fff300;
}
.is-dark .baj-footer {
    background: #000000;
    border-top: 1px solid #fff300;
}
.is-dark .baj-footer p, .is-dark .baj-footer a, .is-dark .baj-footer .wp-block-heading{
    color:#fff300;
}
.is-dark .baj-footer h2 {
    border-bottom: 1px solid #fff300;
}
.is-dark .fb-on, .is-dark  .fr-on, .is-dark  .yt-on, .is-dark  .bip-on, .is-dark  .in-on, .is-dark .li-on {
    opacity: 1;
}
.is-dark .fb, .is-dark  .fr, .is-dark  .yt, .is-dark  .bip {
    opacity: 0;
}
.is-dark .baj-bottom {
    background: #000000;
    border-top: 1px solid #fff300;
}
.is-dark .copyright ul {
    color: #fff300;
}
.logo-footer-on {
    position: absolute;
    left: 0;
    opacity:0;
}
.is-dark .logo-footer-on{
    opacity: 1;
}
.is-dark .logo-footer-off{
    opacity:0;
}
.is-dark a{
    color:#fff300;
}
.is-dark .owl-nav button {
    border: 1px solid #fff300;
}
.is-dark .m-title, .is-dark  {
 color:#fff300;
}
.is-dark .calendar-navigation a {
    color: #fff300;
    background: #000;
    border: 2px solid #fff300;
}
.is-dark .calendar-navigation a:hover {
    color: #000;
    background: #fff300;
}
.is-dark .terminy-list li, .is-dark .repertuar-list li {
    border-bottom: 2px solid #fff300;
    background: #000;
}
.is-dark .repertuar-list .btn-outline-white {
    color: #fff300;
    border-top: 2px solid  #fff300;
    border-right: 2px solid  #fff300;
}
.is-dark .repertuar-list .btn-outline-white:hover {
    color: #000;
    border-top: 2px solid  #fff300;
    border-right: 2px solid  #fff300;
}
.is-dark a.btn-outline-white {
    background: #000;
    border-left: 2px solid #fff300;
}
.is-dark a.btn-outline-white:hover {
    background: #fff300;
}
.is-dark .filter-button {
    background: #000 !important;
    color: #fff300 !important;
    border: 2px solid #fff300;
}
.is-dark .filter-button:hover {
    background: #fff300 !important;
    color: #000 !important;
}
.is-dark .filter-button:hover .filtr-svg {
    background-image: url("/assets/img/filtr.svg");
}
.is-dark .filtr-svg {
    background-image: url("/assets/img/filtr-on.svg");
}
.is-dark .premiera {
    color: #000 !important;
    background: #fff300;
}
.is-dark .p-xs {
    color: #fff300 !important;
}
.is-dark .accordion label {
    color: #fff300;
    border:1px solid #fff300;
    background: #000;
}
.is-dark .tab input:checked ~ .tab__label {
    color: #fff300;
}
.is-dark li.dynamic {
    border: 2px solid #fff300;
}
.is-dark .dbottom p {
    background: #fff300;
    color: #000;
    border: 2px solid #fff302;
    margin-left: 0px;
}
.is-dark .entry-title {
    color: #fff300;
}
.is-dark .menu-button-container #primary-mobile-menu {
    color: #fff300;
}
.font-size-on .wyszukiwarka .active {
    height: auto !important;
}
.font-size-on .sbtn{
    height:auto;
    font-size:42px;
}
.font-size-on .termin-wrap a, .font-size-on .terminy p, .font-size-on .terminy p span, .font-size-on .p-xs  {
    font-size: 42px !important;
    line-height: 50px;
}
.font-size-on .repertuar-list .btn-outline-white {
    font-size: 42px;
}
.owl-nav {
    margin-top: 10px;
}
#resetButton {
    height: 60px;
    padding: 5px;
}
.baj-left-side .dodatkowe-dane{
    display:none;
}
.partners-item img {
    width: 100%;
}
.partners-carousel {
    overflow: hidden;
}
.partners-carousel .owl-stage {
    display: flex;
}
.owl-nav.disabled {
    display: none;
}
.home .site-main{
    padding-bottom:0px;
}
.btn-outline {
    padding: 20px 30px;
    border: 2px solid #000;
    transition: 500ms all ease;
    background: #fff;
}
.btn-outline:hover {
    padding: 20px 30px;
    border: 2px solid #000;
    transition: 500ms all ease;
    background: #000;
    color:#fff;
}
.is-dark .btn-outline{
    background:#000;
    border:2px solid #fff300;
    color:#fff300;
    transition: 500ms all ease;
}
.is-dark .btn-outline:hover{
    background:#fff300;
    border:2px solid #fff300;
    color:#000;
}
.pagination-container {
    margin: 0 auto;
    width: fit-content;
}
.next, .prev {
    padding: 10px;
    border: 2px solid #000;
    transition: 500ms all ease;
    background:#fff;
    color:#000;
}
.next:hover, .prev:hover {
    background:#000;
    color:#fff;
}

.is-dark .next, .is-dark .prev {
    padding: 10px;
    border: 2px solid #fff300;
    transition: 500ms all ease;
    background:#000;
    color:#fff300;
}

.is-dark .next:hover, .is-dark .prev:hover {
    border: 2px solid #fff300;
    transition: 500ms all ease;
    background:#fff300;
    color:#000;
}

.page-numbers {
    margin: 0 5px;
}
.current {
    background: #000;
    color: #fff;
    padding: 10px;
}

.is-dark .current{
    background:#fff300;
    color:#000;
}
a.page-numbers {
    padding: 10px;
    transition: 500ms all ease;
}
a.page-numbers:hover {
    background: #000;
    color: #fff;
}

.is-dark a.page-numbers:hover {
    background: #fff300;
    color: #000;
}
.autors-grid .baj-item {
    height: 480px;
}
.autors-grid .title {
    font-weight: 700;
}
#baj-galeria a img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
#baj-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}
#baj-galeria a {
    transition: 500ms all ease;
    opacity: 1;
}
#baj-galeria a:hover {
    opacity: 0.8;
}
.gallery-container {
    margin-top: 40px;
}
.gal-desktop{
    display:block
}
.gal-mobile{
    display:none
}
.single .baj-events-container p {
    margin-bottom: 20px;
}
.single .baj-events-container p a {
    text-decoration: underline !important;
}
.top-menu-socials a img {
    width: 20px;
}
.mb-0{
    margin-bottom:0 !important;
}

.pswp__dynamic-caption {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%) !important;
    color: #fff;
    padding: 0px 20px;
    background: rgba(0,0,0, 0.5);
}

/*
/////////////////
/////////////////
///////////////// mobile /////////////////
 */

@media (max-width:1250px){
    .primary-navigation {
        padding-left: 20px;
        padding-bottom: 0px;
        border-left: 2px solid #000;
        border-top: 2px solid #000;
        padding-right:30px;
        width: 100%;
    }
    .search-btn {
        bottom: 17px;
    }
}
@media (max-width:1140px){
    .primary-navigation {
        padding-left: 20px;
        padding-bottom: 0px;
        border-left: 2px solid #000;
        border-top: 2px solid #000;
        padding-right:30px;
    }
    .autors-grid .baj-item {
        height: 390px;
    }
    #baj-galeria {
        grid-template-columns: repeat(2, 1fr);
    }
    .baj-events-container {
        max-width: 90%;
    }
    .terminy-list li, .repertuar-list li {
        align-items: flex-start;
        flex-direction: column;
    }
    .repertuar-btns {
        margin-top: 10px;
    }
    .termin-wrap {
        padding-right: 0px;
        flex-direction: column;
        gap:10px;
    }
    .dates span:last-child {
        display: none;
    }
    .termin-wrap a {
        font-size: 25px;
        font-weight: 700;
        margin-left: 0px;
        line-height: 35px;
    }
    .widget-area {
        max-width: 90%;
    }
    .site-header {
        display: block;
        max-width:90%;
    }

    .search-btn {
        bottom: 17px;
    }
    .below-header {
        width: 90%;
    }
    .main-home, .alignwide, .full-page {
        max-width: 90%;
    }
    .top-menu {
        top: 53px;
    }
    .baj-item-img img {
        height: 350px;
    }
    .baj-item-img {
        height: 350px;
    }
    .baj-item {
        height: 430px;
    }
}

@media (max-width:920px){
    #baj-galeria a img {
        height: auto;
    }
    #baj-galeria {
        grid-template-columns: repeat(1, 1fr);
    }
    .filtration-box form {
        flex-direction: column;
    }
    .baj-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .dbottom p {
        line-height: 40px;
        font-size: 25px;
    }
    .dynamic-link img {
        height: 300px;
    }
    p.sub-sub {
        font-size: 16px !important;
    }
}

@media (max-width:720px){
    .gal-desktop{
        display:none
    }
    .gal-mobile{
        display:block
    }
    #baj-galeria a img {
        height: 150px;
    }
    #baj-galeria {
        grid-template-columns: repeat(3, 1fr);
    }
    .autors-grid .baj-item {
        height: 330px;
    }
    .singular .entry-title {
        line-height: 45px;
    }
    .baj-left-side .dodatkowe-dane{
        display:block;
    }
    .baj-right-side .dodatkowe-dane {
        display: none;
    }
    .baj-events-container {
        flex-direction: column-reverse;
    }
    .repertuar-top {
        flex-direction: column;
        gap: 30px;
    }
    .baj-left-side {
        width: 100%;
    }
    .baj-right-side {
        width: 100%;
    }
    .calendar-navigation {
        font-size: 25px;
        text-align: center;
        font-weight: 700;
        line-height: 30px;
        display: flex;
        gap: 15px;
        justify-content: space-between;
        align-items: center;
    }
    .calendar-navigation {
        font-size: 25px;
    }
    .baj-item-img img {
        height: 300px;
    }
    .baj-item-img {
        height: 300px;
    }
    .baj-item {
        height: 380px;
    }
    .owl-nav button{
        padding:0px 10px;
    }
    .link-right {
        bottom: 0px;
        font-size:18px;
    }
}

@media (max-width:690px){
    .top-menu-socials{display:none}
}

@media (max-width:651px){
    .baj-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    *[class*=inner-container] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator){
        max-width: 100%;
    }
    .widget-area section {
        margin-bottom: 80px;
    }
    .widget-area section:last-child {
        margin-bottom: 40px;
    }
    .baj-bottom {
        padding: 40px 20px 20px 20px;
    }
}

@media (max-width:639px){
    .autors-grid .baj-item {
        height: 410px;
    }
    .repertuar-btns {
        width: 100%;
    }
    .terminy-list a, .repertuar-list .ticket-link {
        width: 50%;
    }
    .repertuar-list .btn-outline-white {
        width: 50%;
    }
    .baj-item-img img {
        height: 380px;
    }
    .baj-item-img {
        height: 380px;
    }
    .baj-item {
        height: 460px;
    }
    .copyright ul {
        gap: 10px;
        flex-direction: column;
    }

}


@media (max-width:540px){
    .autors-grid .baj-item {
        height: 360px;
    }
    .top-menu {
        width: 250px;
        top:40px;
    }
    .baj-item {
        height: 400px;
    }
    .baj-item-img {
        height: 320px;
    }
    .baj-item-img img {
        height: 320px;
    }
}

@media (max-width:450px){
    .autors-grid .baj-item {
        height: 300px;
    }
    .baj-item-img img {
        height: 280px;
    }
    .baj-item-img {
         height: 280px;
     }
    .baj-item {
        height: 360px;
    }
}

@media (max-width:481px){
    .premiera {
        width: 100%;
        margin: 20px 0px 0px 0px !important;
        display: inline-block;
    }
    .dates span:nth-child(3) {
        display: none;
    }
    .dates {
        width: 100%;
    }
    .termin-wrap {
         width: 100%;
     }
    .terminy {
        width: 100%;
    }
    .dprzyciski {
        flex-direction: column;
    }
     .site-main{
        padding-bottom: 0;
    }
    .widget-area {
        margin-top: 0;
    }
    .is-dark .baj-s input {
        border-top: 2px solid #fff300;
    }
    .is-dark .mobile-top-menu {
        border-bottom: 1px solid #fff300 !important;
    }
    .primary-navigation-open .menu-button-container {
        z-index: 510;
        width: 130px;
    }
    .is-dark .primary-navigation > .primary-menu-container {
        background-color: #000;
    }
    .primary-navigation-open .primary-navigation .sub-menu {
        margin-left: 0;
        border: 0;
    }
    .primary-navigation .sub-menu .menu-item > a {
        padding: calc(1.25 * var(--primary-nav--padding)) var(--primary-nav--padding);
        display: block;
        font-size: 16px;
        font-weight:400;
    }
    .primary-navigation-open .primary-navigation > .mobile-top-menu {
        top: 14px;
        border-bottom: 1px solid #ddd;
        border-top:0;
    }
    .top-menu{
        display:none;
    }
    .primary-navigation {
        padding-left: 20px;
        padding-bottom: 0px;
        border-left: 0;
        border-top: 0;
        padding-right: 30px;
        top:15px;
        right:0;
    }
    .wp-custom-logo .site-header {
        border-bottom: 0
    }
    .site-logo {
        border-left: 2px solid #000;
        border-right: 2px solid #000;
        border-bottom: 2px solid #000;
        padding: 15px;
        background: #fff;
        width: 130px;
    }
    .site-header {
        max-width: 100%;
        padding: 0px 20px;
    }
    .below-header {
        width: 100%;
        padding: 0px 20px;
    }
    .below-header .yellow-btn {
        width: 130px;
        padding: 12px 5px;
        font-size: 15px;
    }
    .search-btn {
        bottom: 45px;
        right:120px;
    }
    .baj-s input {
        border-top: 2px solid #000;
        height:52px;
    }
    .wyszukiwarka .active {
        height: 52px;
        margin-top: -2px;
    }
    .wyszukiwarka .baj-s button span{display:none}
    .m-title {
        font-size: 25px;
        line-height: 1.1;
    }
}

@media (max-width: 420px){
    #baj-galeria a img {
        height: 150px;
    }
    #baj-galeria {
        grid-template-columns: repeat(2, 1fr);
    }
    .autors-grid .baj-item {
        height: auto;
    }
    .baj-grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }
    .baj-item-img img {
        height: auto;
    }
    .baj-item-img {
        height: auto;
    }
    .baj-item {
        height: auto;
    }
    .baj-item-data {
        position: relative;
    }
}

@media (max-width:380px){
    .link-right {
        width: 200px;
        text-align: right;
        line-height: 18px;
    }
    .search-btn {
        right: 100px;
    }
    .below-header {
        flex-direction: column;
    }
    .baj-s input {
        border-left: 2px solid #000;
    }
    .below-header .yellow-btn {
        width: 100%;
        border-top:2px solid #000;
    }
    .site-logo {
        border-bottom: 0;
    }
}

@media (max-width:320px){
    .repertuar-btns {
        flex-direction: column;
    }
    .repertuar-list .btn-outline-white {
        width: 100%;
    }
    .terminy-list a, .repertuar-list .ticket-link {
        width: 100%;
    }
}

