:root {
    --content-check-primary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='33' viewBox='0 0 32 33' fill='none'%3E%3Cpath d='M8 16.5002L13.6569 22.157L24.9694 10.8433' stroke='%23B9190E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
}

#all {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
 .sticky-header {
     position: fixed;
     z-index: 1052;
     width: 100%;
 }
body.modal-open .sticky-header {
    padding-right: 15px;
}

body.admin-bar #all {
    min-height: calc(100vh - 46px);
}
#all>main {
    padding-top: 88px;
    flex-grow: 1;
}
#burger-menu {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    z-index: 1;
}
a,
a.btn.btn-link {
    text-decoration: none;
    color: inherit;
}
#all>header {
    background: var(--White, #FFF);
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.12);
}
#all>header #header-first-line {
    overflow: hidden;
    height: 0;
    transition: height .3s ease-in-out;
    position: relative;
    font-size: 16px;
    border-bottom: 1px solid var(--Grey-light, #F7F7F7);
    background: var(--White, #FFF);
}
#all>header #header-first-line.active {
    height: 38px;
}
#all>header #header-second-line {
    min-height: 50px;
}

#all>header .d-mobile #burger-menu-trigger svg path{
    transition: opacity .3s ease-in-out, transform .3s ease-in-out;
    transform-origin: center;
    opacity: 1;
}

#all>header .d-mobile #burger-menu-trigger svg path#cross-1 {
    opacity: 0;
}
#all>header .d-mobile #burger-menu-trigger.active svg path{
    opacity: 0;
}
#all>header .d-mobile #burger-menu-trigger.active svg path#cross-1 {
    opacity: 1;
    transform: rotate(225deg);
}
#all>header .d-mobile #burger-menu-trigger.active svg path#cross-2 {
    opacity: 1;
    transform: rotate(315deg);
}

/* menu */
#all>header .d-desktop ul.menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 1em;
    justify-content: space-around;
}
#all>header .d-desktop ul.menu li a {
    text-decoration: none;
    color: inherit;
    font-size: .95rem;
    font-weight: 500;
}
#all>header .d-desktop ul.menu ul.sub-menu {
    list-style: none;
    margin-left: 0;
    position: absolute;
    padding: .4em 1em .5em;
    background: #fff;
    border-radius: 8px;
    transform: translate(0,  -200%);
    transition: transform 1s ease-in-out .3s, opacity .6s ease-in-out;
    opacity: 0;
}
#all>header .d-desktop ul.menu li:hover ul.sub-menu {
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
    transform: translate(0, 0);
    opacity: 1;
}
/* menu current */
#all>header .d-desktop ul.menu li.current-menu-item>a,
#all>header .d-desktop ul.menu li.current-menu-parent>a {
    color:#B9190E;
}

#all>header .btn.btn-link img {
    margin-bottom: .3em;
}
#all>header .logo {
    max-width: 188px
}
h2 {
    font-size: 2.8em;
    line-height: 1.3em;
    font-weight: 700;
}




/* FOOTER */

footer {
    background: #333;
    color: #fff;
    padding: 0 0 1em;
}
footer .main-footer {
    padding: 1.2em 0 1.2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
footer .main-footer .title {
    display: flex;
    gap: 2.2em;
    align-items: top;
    justify-content: space-start;
}
footer .sub-footer {
    padding: 1em 0 1em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
footer .container {
    /* background-color: rgba(255, 255, 255, .05); */
    min-height: 1em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
footer .logo svg {
    max-width: 179px;
}
footer p {
    font-size: .74em;
    margin-bottom: .4em;
}


footer .d-desktop ul.menu {
    padding: 0;
    margin: 0 0 2em;
    list-style: none;
    display: flex;
    gap: 1em;
}
footer .d-desktop ul.menu li a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 1.25em;
    line-height: 1em;
    padding-bottom: 1em;
    display: block;
}
footer .d-desktop ul.menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4em;
}
footer .d-desktop ul.menu ul li a {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: .3em;
    text-decoration: none;
    color: inherit;
    font-size: .95rem;
    line-height: 1.3em;
    font-weight: 400;
    padding-bottom: .4em;
}
footer .d-desktop ul.menu ul li a img {
    position: relative;
    top: 2px;
}
footer .sub-footer {
    font-size: .85em;
    color: #C4C4C4
}



ul.dmk-accordion,
ul.dmk-accordion ul {
    list-style: none;
    padding: 0 0 .5em;
    margin: 0;
}
.dmk-accordion li a {
    font-size: 1.25em;
    line-height: 1.3em;
    font-weight: 600;
    padding: .3em 0 .6em;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
.dmk-accordion li ul {
    padding-bottom: .4em;
}
.dmk-accordion li ul li a {
    font-size: .95rem;
    line-height: 1.3em;
    font-weight: 400;
    padding-bottom: .4em;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
.dmk-accordion li span.toggler {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' %3E%3Cg stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' clip-path='url(%23a)' %3E%3Cpath d='m7 10 5 5M12 15l5-5' /%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a' %3E%3Cpath fill='%23fff' d='M0 0h24v24H0z' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: .3em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: -.3em;
}
footer .dmk-accordion li span.toggler {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' %3E%3Cg stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' clip-path='url(%23a)' %3E%3Cpath d='m7 10 5 5M12 15l5-5' /%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a' %3E%3Cpath fill='%23fff' d='M0 0h24v24H0z' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}
.dmk-accordion li span.toggler.active {
    transform: rotate(180deg);
}

ul.content-accordion {
    list-style: none;
    padding: 0 0 .5em;
    margin: 0;
}
ul.content-accordion li span.toggler {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' %3E%3Cg stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' clip-path='url(%23a)' %3E%3Cpath d='m7 10 5 5M12 15l5-5' /%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a' %3E%3Cpath fill='%23fff' d='M0 0h24v24H0z' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    width: 32px;
    height: 32px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: .3em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: -.3em;
    min-width: 32px;
}
ul.content-accordion li span.toggler.active {
    transform: rotate(180deg);
}


/* Yoast Breadcrumbs */
#breadcrumbs {
    display: block;
    padding: 3em 0 3em;
    font-size: 1rem;
    color: #666;
}
#breadcrumbs span.delim {
    font-size: .8rem;
}
#breadcrumbs a {
    text-decoration: none;
    color: inherit;
    line-height: 1em;
    font-weight: 400;
}
#breadcrumbs .breadcrumb_last strong {
    color: #333;
    font-weight: 400;
}

section {
    overflow-x: clip;
    overflow-y: visible;
}


.videoframe {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 80 60'%3E%3Cg filter='url(%23a)'%3E%3Crect width='50' height='30' x='13' y='13' fill='%23E61616' rx='5'/%3E%3C/g%3E%3Cpath fill='%23fff' d='M44.233 27.107a1 1 0 0 1 0 1.786l-8.782 4.436A1 1 0 0 1 34 32.437v-8.874a1 1 0 0 1 1.45-.892l8.783 4.436Z'/%3E%3Cdefs%3E%3Cfilter id='a' width='80' height='60' x='0' y='0' color-interpolation-filters='sRGB' filterUnits='userSpaceOnUse'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' result='hardAlpha' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0'/%3E%3CfeOffset dx='2' dy='2'/%3E%3CfeGaussianBlur stdDeviation='7.5'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3CfeBlend in2='BackgroundImageFix' result='effect1_dropShadow_840_1153'/%3E%3CfeBlend in='SourceGraphic' in2='effect1_dropShadow_840_1153' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E")center no-repeat transparent; */
    background-size: 100px;
    aspect-ratio: 16/9;
}

#all .owl-nav {
    display: flex;
    margin: 0;
    justify-content: space-between;
    position: absolute;
    top: calc(50% - 1.5em);
    width: 100%;
    height: 0;
}
#all .owl-nav.disabled {
    display: none;
}

#all .owl-nav .owl-prev,
#all .owl-nav .owl-next {
    display: flex;
    width: 2.5em;
    height: 2.5em;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin-left: -1.25em;
    border-radius: 8px;
    border: 1px solid var(--Grey-main, #DFDFDF);
    transition: color .3s ease, background .3s ease;
}

#all .owl-nav .owl-next {
    margin-right: -1.25em;
    margin-left: auto;
}

#all .owl-nav .owl-prev:hover,
#all .owl-nav .owl-next:hover {
    background: var(--Red-main, #B9190E);
    border-color: 1px solid var(--Red-main, #B9190E);
}

/* + lazyload */
#all .post-image {
    display: block;
    aspect-ratio: 1.6;
    overflow: hidden;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    border-radius: .5em;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}
#all .post-image.rocket-lazyload.lazyloaded {
    opacity: 1;
}

#all img {
    opacity: 0;
    transition: opacity .5s ease-in-out;
}
#all img.lazyloaded,
#all .lightbox-image-container img,
#all .wp-lightbox-container:not(.hide) img {
    opacity: 1;
}

#post .wp-lightbox-container {
    flex-direction: row;
    width: initial;
    height: 100%;
    object-fit: cover;
}
.cky-title {
    display: none;
}


/* for CF7 */
.floating-label-group {
    position: relative;
    margin-bottom: 1em;
}
.floating-label-group p {
    margin: 0;
}
.floating-label-group .wpcf7-form-control-wrap {
    position: initial;
}

.floating-label-group input {
    padding: .5em .75em;
    border: 1px solid var(--Gray-dark, #C4C4C4);
    border-radius: .5em;
    transition: border-color 0.25s ease-in-out;
    width: 100%;
    background-color: #fff;
}

.floating-label-group.active input,
.floating-label-group:hover input {
    border: 1px solid var(--Text-primary, #333);
}
 .floating-label-group input.wpcf7-not-valid,
 .floating-label-group.active input.wpcf7-not-valid{
    border: 1px solid var(--Red-main, #B9190E);
}
.floating-label-group.not-valid label,
.floating-label-group.not-valid.active label {
    color: var(--Red-main, #B9190E);
}

.floating-label-group label {
    display: block;
    padding: .2em .5em 0;
    top: .35em;
    left: .5em;
    position: absolute;
    pointer-events: none;
    cursor: text;
    transform-origin: top left;
    transition: all 0.1s ease-in-out;
    color: var(--Text-secondary, #666);
    z-index: 2;
    background: rgba(255, 255, 255, 0);
    transition: top 0.25s ease-in-out, color 0.25s ease-in-out, background 0.25s ease-in-out, left 0.25s ease-in-out, font-size 0.25s ease-in-out;
}


.floating-label-group.active label {
    font-size: .8em;
    top: -1em;
    left: 1em;
    color: var(--color-text);
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 43%, transparent 45%, transparent 100%);
}

.floating-label-group.disabled {
    opacity: .5;
    cursor: not-allowed;
}
.wpcf7-acceptance .wpcf7-list-item {
    margin: .5em 0;
}
::file-selector-button {
    padding: .3em .75em;
    border: 1px solid var(--Gray-dark, #C4C4C4);
    border-radius: .4em;
    transition: border-color 0.25s ease-in-out, opacity 0.25s ease-in-out;
    background-color: #fff;
    opacity: .4;
    cursor: pointer;
}

::file-selector-button:hover {
    border: 1px solid var(--Text-primary, #333);
    opacity: 1;
}


:focus-visible {
    outline: none;
}

.wpcf7-not-valid-tip {
    color: var(--Red-main, #B9190E);
    font-size: .7em;
    font-weight: normal;
    display: block;
    position: absolute;
    right: .5em;
    bottom: .2em;
}
.wpcf7 form.invalid .wpcf7-response-output:empty,
.wpcf7 form.unaccepted .wpcf7-response-output:empty {
    height: 0;
    overflow-y: hidden;
    transition: height 0.25s ease-in-out;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    height: auto;
    border-color: #ffe39a;
    background: #ffe39a;
    margin: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
    height: auto;
    border-color: #d1e7dd;
    background: #d1e7dd;
    margin: 0;
}



.wpcf7 form .wpcf7-spinner {
    display: flex;
    position: absolute;
    top: 1.2em;
    right: -.3em;
}
.wpcf7 a {
    color: var(--Red-dark)
}

.wpcf7 span.redstar {
    color: var(--Red-main, #B9190E);
}




#news {
    padding-bottom: 0;
}

#posts {
    padding: 40px 0;
    background: var(--Grey-light, #F7F7F7);
}

.container .item>.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    transition: box-shadow .25s ease-in-out;
    overflow: hidden;
    padding: 0px;
    padding: 12px;
}

.container .item>.card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.blog .container .badge,
.container .item>.card .badge {
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #DFDFDF;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
    font-weight: 500;
}

.container .item>.card .card-img-top {
    position: relative;
    aspect-ratio: 1.6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px
}

.container .item>.card .card-img-top .badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.container .item>.card .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    z-index: 2;
}

.container .item>.card .content h3 {
    font-size: 1.25rem;
    margin-bottom: 1em;
    margin-top: 1em;
    font-weight: 700;
    transition: color .25s ease-in-out;
}

.container .item>.card:hover .content h3 {
    color: var(--Red-main);
}


.date {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

@media screen and (min-width: 992px) {
    #posts {
        padding: 60px 0;
    }

    .container .item>.card {
        padding: 40px;
    }

    .container .item.item-first>.card {
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 40px;
    }

    .container .item.item-first>.card .card-img-top {
        width: calc(50% - 20px);
    }

    .container .item.item-first>.card .content {
        flex-grow: 1;
    }

    .container .item.item-first .date {
        font-size: 0.85rem;
    }

    .container .item>.card .badge {
        font-size: 16px;
    }

    .container .item>.card .card-img-top .badge {
        top: 24px;
        left: 24px;
    }
}





#category-changer {
    padding: 40px 0;
}

#category-changer nav {
    overflow: auto;
}

#category-changer .categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: max-content;
    overflow: auto;
}

#category-changer .card {
    height: 100%;
    padding: 0;
    border: none;
}

#category-changer .card:hover {

    box-shadow: none;
}

#category-changer .card .card-img-top:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    opacity: 0;
    transition: opacity .25s ease-in-out;
}

#category-changer .card:hover .card-img-top:after {
    opacity: .2;

}

@media screen and (min-width: 992px) {
    #category-changer {
        padding: 60px 0;
    }

    #category-changer .categories {
        flex-wrap: wrap;
        width: auto;
    }

}

.collapse-items .item {
    padding: 12px 16px;
    width: 100%;
    border: 1px solid var(--Grey-main, #DFDFDF);
    position: relative;
    margin-top: -1px;
    box-shadow: none;
    transition: box-shadow .25s ease-in-out, border .25s ease-in-out;
}
.collapse-items .item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
}

.collapse-items .item h3.title {
    font-size: .9rem;
    font-weight: 600;
    transition: color .25s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;

}
.collapse-items .item h3.title .pay {
    display: flex;
    align-items: center;
    line-height: initial;
    gap: 8px;
}
.collapse-items .item h3.title .pay span {
    white-space: nowrap;
}
.collapse-items .item h3.title .name {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.collapse-items .item h3.title .name .city {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
}
.collapse-items .item h3.title i svg path {
    transition: stroke .25s ease-in-out;
}
.collapse-items .item h3.title:hover i svg path {
    stroke: var(--Red-main);
}

.collapse-items .item h3.title i svg {
    transition: transform .25s ease-in-out;
    margin-bottom: .1em;
}
.collapse-items .item h3.title.collapsed i svg {
    transform: rotate(0);
}
.collapse-items .item h3.title:not(.collapsed) i svg {
    transform: rotate(225deg);
}
@media screen and (min-width: 1200px) {
    .collapse-items .item {
        padding: 34px 40px;
    }
    .collapse-items .item h3.title {
        gap: 40px;
        font-size: 1.5rem;
    }
    .collapse-items .item h3.title .pay {
        gap: 40px;
    }
    .collapse-items .item h3.title i svg {
        zoom: 1.35;
    }
    .collapse-items .item h3.title:not(.collapsed) i svg {
        transform: rotate(225deg);
    }
}

article.dokumenty a {
    text-decoration: underline;
}