:root {
    --black: #000000;
    --white: #ffffff;
    --gold: #C49675;
    --brown: #9B6742;
    --dark-blue: #082D47;
    --navy-blue: #103A58;
    --blue: #174669;
    --light-blue: #1D4E71;
    --gray: #EEEEEE;
    --max-width: 1380px;
}

html {
    font-size: 20px;
}

body {
    font-family: "Cormorant Infant", sans-serif;
}

.home,
.blog {
    .site-grid {
        grid-template-areas:
            ".banner banner banner banner."
            ".top-a top-a top-a top-a."
            ".side-l comp comp side-r."
            ".top-b top-b top-b top-b."
            ".bot-a bot-a bot-a bot-a."
            ".bot-b bot-b bot-b bot-b.";
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", serif;
}

a {
    text-decoration: none !important;
    color: var(--black);
}

.site-grid>[class*=" container-"] {
    max-width: var(--max-width);
}

/* FULL WIDTH CONTAINERS */
.container-top-b {
    grid-column: full-start/full-end;
    max-width: unset !important;
}

/* PAGE MOD TITLE */
.page-mod-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 192%;
    text-align: center;
    color: var(--black);
}

.page-mod-title span {
    font-size: .9rem;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 9px;
    text-transform: uppercase;
}

/* CUSTOM BTN */
.custom-btn {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    color: var(--black);
    padding: 0 1rem;
    border-right: 1px solid var(--black);
    border-left: 1px solid var(--black);
    transition: all .3s ease-in-out;
}

.custom-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* NR TEL */
.nr-tel,
.e-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.nr-tel::before {
    content: url("../images/Phone_fill.svg");
    display: flex;
    height: 24px;
    width: 24px;
}

.e-mail::before {
    content: url("../images/Message_fill.svg");
    display: flex;
    height: 24px;
    width: 24px;
}


/* HEADER */
.header {
    background: transparent;
    position: absolute !important;
    width: 100%;
    top: 0;
}

.header .grid-child {
    max-width: 100%;
    justify-content: center;
    padding: .5rem 1rem;
    border-bottom: 1px solid var(--gold);
    position: relative;
}

.header .grid-child:not(.container-nav) {
    padding: 0;
    border-bottom: unset;
}

.container-header .navbar-brand {
    display: none;
}

.container-header h1 {
    position: absolute;
    left: -9999px;
}

/* MENU */
.header-menu .navbar {
    margin: 0;
}

.header .mod-menu {
    align-items: center;
    gap: 2.25rem;
}

.header .mod-menu .metismenu-item {
    padding: 0;
}

.header .mod-menu a {
    font-size: 1rem;
    font-weight: 400;
    line-height: normal;
    color: var(--white);
    transition: all .3s ease-in-out;
}

.header .mod-menu a:hover {
    color: var(--gold);
}

.metismenu.mod-menu .metismenu-item>a:focus,
.metismenu.mod-menu .metismenu-item {
    outline: unset;
}

.container-header .metismenu>li>a::after,
.container-header .metismenu>li>button::before {
    display: none;
}

.metismenu.mod-menu .mm-toggler::after {
    content: url("../images/page_down.svg");
    display: flex;
    width: unset;
    height: unset;
    border: unset;
}

.metismenu.mod-menu .metismenu-item>ul {
    background: #103A58;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    top: 135%;
}

.mobilemenuck-togglericon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: .5rem;
    bottom: 0;
}

[data-id="mobilemenuck-1"] .mobilemenuck-togglericon::after {
    content: url("../images/page_down.svg") !important;
    background: transparent !important;
    position: static !important;
    width: 24px !important;
    height: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transform: rotateX(0deg);
    transition: all .2s ease-in;
}

.mobilemenuck .open .mobilemenuck-togglericon::after {
    transform: rotateX(-180deg);
}

/* NUMER TELEFONU - HEADER */
.numer-telefonu-header {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-left: 1px solid var(--gold);
}

.numer-telefonu-header .mod-custom {
    width: 100%;
    height: 100%;
    display: flex;
}

.numer-telefonu-header .mod-custom a {
    display: flex;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: normal;
    color: var(--white);
    transition: all .3s ease-in-out;
}

.numer-telefonu-header .mod-custom a:hover {
    color: var(--gold);
}

/* SLIDESHOW */
.home .container-banner {
    margin-bottom: 0;
}

.slideshowck {
    display: flex !important;
    align-items: center;
    margin-bottom: 0 !important;
}

.camera_pag {
    position: absolute;
    right: 3rem;
}

.camera_pag_ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.camera_wrap .camera_pag .camera_pag_ul li {
    background: transparent !important;
    width: unset !important;
    height: unset !important;
    text-indent: 0 !important;
    margin: 0 !important;
}

.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent>span,
.camera_wrap .camera_pag .camera_pag_ul li>span {
    background: transparent !important;
    width: unset !important;
    height: unset !important;
    color: var(--white);
    text-indent: 0 !important;
    position: static !important;
    transition: all .2s ease-in-out;
}

.camera_wrap .camera_pag .camera_pag_ul li>span {
    font-size: 1.2rem;
}

.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent>span {
    font-size: 3.2rem;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #fff, 0 0 50px #fff, 0 0 60px #fff, 0 0 70px #fff;
}

/* KAFELKI NASZE ZALETY - STRONA GŁÓWNA */
.kafelki-zalety-home {
    margin-top: -7rem;
}

.kafelki-zalety-home .mod-custom {
    display: flex;
    gap: 1rem;
}

.kzh-kafelek {
    background: var(--white);
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    padding: 1rem 0;
    border: 1px solid var(--gray);
}

.kzh-title {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 6.72px;
    color: var(--black);
    text-transform: uppercase;
}

.kzh-kafelek h4 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
    color: var(--black);
}

.kzh-kafelek hr {
    background: var(--brown);
    color: var(--brown);
    width: 100px;
    height: 2px;
    margin: 0;
    opacity: 1;
}

/* KRÓTKO O HISTORII KANCELARII - STRONA GŁÓWNA */
.home .com-content-article__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nasza-historia-content-wrapper {
    display: flex;
    justify-content: center;
    gap: .5rem;
}

.nhc-el1,
.nhc-el3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 0 1.5rem;
}

.nhc-element p {
    max-width: 350px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    color: var(--black);
    margin-bottom: 0;
}

.nhc-element p i {
    font-weight: 700;
}

.nhc-element hr {
    background: var(--dark-blue);
    width: 5rem;
    height: 2px;
    color: var(--dark-blue);
    opacity: 1;
}

.nhc-icons-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: auto;
}

/* ZAKRES MOICH USLUG */
.zakres-moich-uslug .mod-custom {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 2.5rem 0 5rem;
    margin-top: 3rem;
}

.zakres-moich-uslug .mod-custom>* {
    max-width: var(--max-width);
}

.zakres-moich-uslug .mod-custom .page-mod-title {
    margin-bottom: 4rem;
}

.zakres-uslug-wrapper {
    display: flex;
}

.zuw-box {
    flex: 1 1 25%;
    padding: .9rem;
}

.zuw-box-01 {
    background: var(--dark-blue);
}

.zuw-box-02 {
    background: var(--navy-blue);
}

.zuw-box-03 {
    background: var(--blue);
}

.zuw-box-04 {
    background: var(--light-blue);
}

.zuw-box>div {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1rem;
    padding: 1rem .9rem;
    border: 1px solid var(--gold);
}

.zuw-box h6 {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 110%;
    color: var(--gold);
}

.zuw-box p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 120%;
    color: var(--white);
}

.zuw-box .custom-btn {
    color: var(--gold);
    border-color: var(--gold);
}

.zakres-uslug-btn {
    background: var(--dark-blue);
    font-size: 1rem;
    font-weight: 400;
    line-height: 96px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
    padding: 0 2.5rem;
    transition: all .3s ease-in-out;
}

.zakres-uslug-btn:hover {
    color: var(--gold);
}

/* FORMULARZ KONTAKTOWY */
.ba-form-page {
    padding: 1.25rem 0 !important;
}

.com-baforms-wrapper :focus-visible {
    outline: unset !important;
}

/* WIDOK ARTYKUŁU */
.article-header {
    background: url("../../../../../images/szablon/blog-mini-banner.webp") no-repeat center center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 3rem 15rem 1rem 4rem;
    margin-bottom: 2rem;
    position: relative;
}

.article-header .page-header>* {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 120%;
    color: var(--white);
}

.icon-folder-open {
    display: none;
}

.category-name {
    background: var(--gold);
    padding: .25rem 1rem !important;
}

.category-name a {
    transition: all .25s ease-in-out;
}

.category-name a:hover {
    color: var(--dark-blue);
}

.view-article .category-name {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.published {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.view-article .published {
    color: var(--white);
}


.icon-calendar-alt::before,
.icon-calendar::before {
    content: url("../images/Calendar_duotone.svg");
    display: flex;
}

.view-article .pagination {
    margin-top: 2rem;
}

.pagination .btn {
    color: var(--black);
    padding: .25rem 1rem;
    border-radius: 0;
    border: unset;
    border-right: 1px solid var(--black);
    border-left: 1px solid var(--black);
}

.icon-chevron-left,
.icon-chevron-right {
    display: none;
}

/* KONTAKT */
.kontakt .com-content-article__body>.page-mod-title {
    margin-bottom: 2rem;
}

.kontakt-mini-banner {
    width: 100%;
    display: grid;
    grid-template-areas: "banner";
    place-items: center;
    margin-bottom: 2.5rem;
}

.kontakt-mini-banner>* {
    grid-area: banner;
}

.kontakt-mini-banner .page-mod-title {
    line-height: 120%;
    color: var(--white);
}

.kontakt-nasze-dane {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.knd-row-01 {
    background: var(--light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
}

.knd-row-01>* {
    color: var(--white);
    margin-bottom: 0;
}

.knd-row-01>*:not(:last-child) {
    display: flex;
    align-items: center;
}

.knd-row-01>*:not(:last-child)::after {
    content: "";
    background: var(--white);
    width: 1px;
    height: 2rem;
    margin-left: 1.5rem;
}

.knd-row-01 .e-mail {
    color: var(--white);
}

.knd-row-01 .e-mail::before {
    filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(462%) hue-rotate(214deg) brightness(115%) contrast(100%);
}

.knd-row-01 p {
    line-height: 110%;
}

.knd-row-02 {
    background: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 0;
}

.knd-row-02 p {
    font-weight: 600;
    line-height: 110%;
    color: var(--black);
    margin-bottom: 0;
}

/* FOOTER */
.footer {
    background: var(--dark-blue);
}

.footer .grid-child {
    max-width: var(--max-width);
}

.footer .moduletable {
    width: 100%;
}

.footer .mod-custom {
    display: flex;
    flex-direction: column;
}

.f1-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-footer {
    display: none;
}

.f1-row .page-mod-title {
    font-weight: 500;
    line-height: 140%;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.f1-row .page-mod-title span {
    font-size: 1.1rem;
    letter-spacing: 0;
    text-transform: unset;
}

.f-dane-kontaktowe {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.f-dane-kontaktowe .nr-tel::before {
    filter: brightness(0) saturate(100%) invert(64%) sepia(42%) saturate(347%) hue-rotate(342deg) brightness(92%) contrast(83%);
}

.copyright {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #124366;
    margin-top: 1.5rem;
}

.copyright a {
    color: var(--gold) !important;
}

/* RWD */
@media screen and (max-width: 1440px) {

    .site-grid>[class*=" container-"],
    .container-top-b .mod-custom>*,
    .footer .grid-child {
        max-width: 90%;
    }

    /* HEADER */
    .header .grid-child {
        justify-content: end;
        gap: clamp(1rem, -7.0000rem + 12.5000vw, 2rem);
        padding: 0;
    }

    .header-menu {
        padding: 1rem 0;
    }

    .header .mod-menu {
        gap: clamp(1.8rem, -0.9000rem + 4.3750vw, 2.25rem);
    }

    .metismenu-item>a>img {
        max-width: 100px;
    }

    .numer-telefonu-header {
        position: static;
    }

    .numer-telefonu-header .mod-custom a {
        padding: 0 1.5rem 0 1.25rem;
    }

    /* KAFELKI NASZE ZALETY - STRONA GŁÓWNA */
    .kafelki-zalety-home {
        margin-top: -4rem;
    }

    /* KRÓTKO O HISTORII KANCELARII - STRONA GŁÓWNA */
    .nhc-icons-wrapper img[alt="fb icon"] {
        max-width: 27px;
    }

    .nhc-icons-wrapper img[alt="linkedin icon"] {
        max-width: 23px;
    }

    .nhc-icons-wrapper img[alt="twitter icon"] {
        max-width: 22px;
    }

    /* WIDOK ARTYKUŁU */
    .article-header {
        padding: 3.5rem 4rem 1rem 2rem;
    }

    .article-header .page-header>* {
        font-size: 2rem;
    }
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 18px;
    }

    /* KAFELKI NASZE ZALETY - STRONA GŁÓWNA */
    .kafelki-zalety-home {
        margin-top: -2rem;
    }
}

@media screen and (max-width: 1024px) {

    /* HEADER */
    .header {
        display: flex;
        padding: 1rem 1.5rem;
    }

    .container-header .navbar-brand {
        display: flex;
    }

    .brand-logo img {
        max-width: 100px;
    }

    .header .grid-child {
        border-bottom: unset;
    }

    .header-menu {
        display: flex;
        align-items: center;
        order: 2;
    }

    .mobilemenuck-bar {
        display: flex !important;
        align-items: center;
    }


    .mobilemenuck-bar-button {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0.3rem;
        top: unset !important;
    }

    .numer-telefonu-header {
        border-left: unset;
        order: 1;
    }

    /* BANNER - PODSTRONY */
    .banner-podstrony img {
        min-height: 300px;
        object-fit: cover;
    }

    /* KAFELKI NASZE ZALETY - STRONA GŁÓWNA */
    .kafelki-zalety-home {
        padding-top: 2rem;
        margin-top: 0;
    }

    .kafelki-zalety-home .mod-custom {
        flex-wrap: wrap;
    }

    .kzh-kafelek {
        flex: 1 1 auto;
    }

    /* KRÓTKO O HISTORII KANCELARII - STRONA GŁÓWNA */
    .nasza-historia-content-wrapper {
        flex-direction: column;
    }

    .nhc-element p {
        max-width: unset;
    }

    .nhc-element hr {
        display: none;
    }

    .nhc-el1 {
        padding-top: 0;
    }

    .nhc-icons-wrapper img[alt="fb icon"] {
        max-width: 25px;
    }

    .nhc-icons-wrapper img[alt="linkedin icon"] {
        max-width: 22px;
    }

    .nhc-icons-wrapper img[alt="twitter icon"] {
        max-width: 21px;
    }

    .nhc-el2 {
        display: flex;
        justify-content: center;
    }

    /* ZAKRES MOICH USLUG */
    .zakres-uslug-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .zakres-moich-uslug .mod-custom .page-mod-title {
        margin-bottom: 1rem;
    }

    /* BLOG */
    .blog {
        .site-grid {
            grid-template-areas:
                ".banner banner banner banner."
                ".top-a top-a top-a top-a."
                ".side-r side-r side-r side-r."
                ".comp comp comp comp."
                ".side-l side-l side-l side-l."
                ".top-b top-b top-b top-b."
                ".bot-a bot-a bot-a bot-a."
                ".bot-b bot-b bot-b bot-b.";
        }
    }


    /* WIDOK ARTYKUŁU */
    .article-header {
        padding: 3.5rem 2rem 1rem;
    }

    /* KONTAKT */
    .kontakt-mini-banner .page-mod-title {
        padding: 2rem 0;
    }

    .kontakt-mini-banner>img {
        height: 100%;
        object-fit: cover;
    }

    .knd-row-01 {
        flex-wrap: wrap;
        column-gap: 0;
        row-gap: 1rem;
    }

    .knd-row-01>* {
        flex: 1 1 35%;
    }

    .knd-row-01>*:nth-child(odd) {
        justify-content: end;
        text-align: right;
    }

    .knd-row-01>*:nth-child(even) {
        padding-left: 1.5rem;
    }

    .knd-row-01>*:nth-child(odd)::after {
        content: "";
        background: var(--white);
        display: block !important;
        width: 1px;
        height: 2rem;
        margin-left: 1.5rem;
    }

    .knd-row-01> :not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 834px) {

    /* MENU */
    .container-header .container-nav .container-search,
    .container-header .container-nav nav {
        margin-top: 0;
    }

    /* ZAKRES MOICH USLUG */
    .zakres-moich-uslug .mod-custom {
        gap: 2rem;
    }

    .zakres-uslug-btn {
        width: 100%;
    }

    /* WIDOK ARTYKUŁU */
    .article-header .page-header>* {
        font-size: 1.8rem;
    }

    /* KONTAKT */
    .kontakt-mini-banner .page-mod-title {
        font-size: 2rem;
    }

    /* FOOTER */
    .f1-row {
        gap: 1.5rem;
    }

    .logo-footer {
        max-width: 92px;
        display: block;
    }

    .f1-row .page-mod-title {
        font-size: 1.7rem;
        line-height: 120%;
        gap: 1.5rem;
        margin-bottom: 0;
    }

    .copyright {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .p-copyrights {
        width: 100%;
        text-align: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #124366;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 16px;
    }

    .site-grid>[class*=" container-"],
    .container-top-b .mod-custom>*,
    .footer .grid-child {
        max-width: 95%;
    }

    /* HEADER */
    .header {
        justify-content: space-between;
        padding: 1rem;
    }

    .header .grid-child {
        width: unset;
        gap: unset;
        margin: 0;
    }

    .brand-logo img {
        max-width: 85px;
    }

    /* SLIDESHOW */
    .camera_pag {
        right: 1.5rem;
    }

    .camera_wrap .camera_pag .camera_pag_ul li>span {
        font-size: 1.75rem;
    }

    /* KAFELKI NASZE ZALETY - STRONA GŁÓWNA */
    .kzh-kafelek>img {
        max-width: 50px;
    }

    .kzh-title {
        font-size: 1rem;
    }

    /* ZAKRES MOICH USLUG */
    .zakres-uslug-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    /* WIDOK ARTYKUŁU */
    .article-header {
        padding: 2rem;
    }

    .article-header .page-header>* {
        font-size: 1.5rem;
    }

    /* KONTAKT */
    .knd-row-01>* {
        flex: 1 1 55%;
        justify-content: center !important;
        text-align: center !important;
    }

    .knd-row-01> :nth-child(2n+1)::after {
        display: none !important;
    }
}