/*
Theme Name: Fundacja Dzięki Tobie
Author: Maciej Noworyta
Author URI:
*/

a, abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, time, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: inherit;
    font-style: inherit;
}

article, aside, canvas, details, figcaption, figure, footer, header, menu, nav, section, summary {
    display: block;
}

a, ins, del {
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

strong {
    font-weight: 700;
}

caption, th {
    text-align: left;
}

* {
    outline: none;
    margin: 0;
    padding: 0;
}

a {
    color: #212529;
    text-decoration: none;
    transition: all 300ms ease-out 0s;
}

a:hover, a:focus {
    color: #212529;
    text-decoration: underline;
    outline: none;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}

*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dc-font-color);
    background: var(--dc-background-color);
    padding: 0;
    margin: 0;
}

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

.transition {
    opacity: 0.85;
    -webkit-transition: all 300ms ease-out 0s;
    -moz-transition: all 300ms ease-out 0s;
    -o-transition: all 300ms ease-out 0s;
    transition: all 300ms ease-out 0s;
}

.transition:hover {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

p {
    padding: 5px 0;
    margin: 0 0 10px;
    line-height: 1.55;
}

p:last-of-type {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    line-height: 1.2;
    margin: 15px 0;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 12px;
}

.btn {
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 16px;
    background: var(--dc-primary-color);
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-decoration: none;
}

.btn img {
    max-height: 24px;
    width: auto;
    opacity: 0.5;
}

.btn:first-child:hover,
.btn:focus-visible,
.btn:hover {
    color: #fff;
    background: #212529;
    box-shadow: 0 8px 9px -4px rgba(0, 0, 0, .15), 0 4px 18px 0 rgba(0, 0, 0, .1);
    text-decoration: none;
}

.hide-on-mobile {
    display: none !important;
}

/* Sections */
.section {
    padding: 75px 0;
    overflow: hidden;
}

.section.is-light {
    background: #f2f2f2;
}

.section-heading {
    text-align: center;
    padding-bottom: 60px;
}

.section-heading .title:before {
    content: "";
    width: 91px;
    height: 55px;
    background: url(assets/images/icons/heart-ico.png) no-repeat;
    display: block;
    margin: 0 auto 15px auto;
}

.section-heading .title {
    font-family: "Jost", serif;
    font-size: 42px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.section-heading .description {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

/* Header */
.logged-in.admin-bar #header,
.logged-in.admin-bar #header.sticky {
    top: 32px;
}

.slicknav_menu {
    display: none;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    background: #ffffff;
    transition: all 500ms ease-out 0s;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,0.05);
}

#header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,0.15);
}

.header__top {
    color: #fff;
    background-color: var(--dc-primary-color);
    background-image: url(assets/images/dots-render.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.header__top-wrapper {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    gap: 60px;
}

.header__top-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header__top-count .stats {
    background: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 5px;
    display: inline-block;
    padding: 0 5px;
    color: var(--dc-primary-color);
}

.header__bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 20px 0;
}

.header__bottom-wrapper .mobile-account {
    display: none;
}

.header__bottom-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__bottom-logos img {
    max-height: 65px;
    width: auto;
}

.header__bottom-logos--partners p {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.header__bottom-logos--partner img {
    max-height: 40px;
}

.header__bottom-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__bottom-navigation * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.header__bottom-navigation li {
    display: inline-block;
    margin: 0 15px;
    padding: 0;
    position: relative;
}

.header__bottom-navigation li:after {
    content: "";
    width: 18px;
    height: 1px;
    background: #8e8e8e;
    position: absolute;
    top: 50%;
    left: -25px;
}

.header__bottom-navigation li:first-child:after {
    display: none;
}

.header__bottom-navigation a {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    display: block;
    position: relative;
    text-decoration: none;
}

.header__bottom-navigation a:before,
.header__bottom-navigation a:after {
    height: 14px;
    width: 14px;
    position: absolute;
    content: '';
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    opacity: 0;
}


.header__bottom-navigation a:before {
    left: 0;
    top: 0;
    border-left: 3px solid var(--dc-primary-color);
    border-top: 3px solid var(--dc-primary-color);
    -webkit-transform: translate(100%, 50%);
    transform: translate(100%, 50%);
}

.header__bottom-navigation a:after {
    right: 0;
    bottom: 0;
    border-right: 3px solid var(--dc-primary-color);
    border-bottom: 3px solid var(--dc-primary-color);
    -webkit-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
}

.header__bottom-navigation a:hover,
.header__bottom-navigation .current-menu-item a {
    color: var(--dc-primary-color);
}

.header__bottom-navigation a:hover:before,
.header__bottom-navigation .current-menu-item a:before,
.header__bottom-navigation a:hover:after,
.header__bottom-navigation .current-menu-item a:after {
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    opacity: 1;
}

.header__bottom-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__bottom-buttons a {
    background: var(--dc-button-color);
    padding: 8px 20px;
}

.header__bottom-navigation .header__bottom-buttons a:after,
.header__bottom-navigation .header__bottom-buttons a:before{
    display: none;
}

.header__bottom-buttons .btn-black {
    background: #000;
}

.header__bottom-buttons .btn-black:hover {
    color: #fff;
    background: var(--dc-button-color);
}

#main {
    padding-top: 150px;
    overflow-x: hidden;
}

/* Footer */
#footer {
    background: #1c1c1c;
}

.footer__top {
    padding: 30px 0;
    display: flex;
    align-content: center;
    gap: 30px;
}
.footer__top > * {
    flex: 1 1 0;
}

.footer__top ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer__top a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    color: #fff;
}

.footer__bottom {
    font-size: 12px;
    display: flex;
    align-content: center;
    justify-content: space-between;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    padding: 0;
}

.footer__bottom ul {
    display: flex;
    gap: 15px;
    align-content: center;
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.75);
}

/* Pomocniczne */
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 0px 25px 0px 25px;
}

.alignleft {
    float: left;
    margin: 0px 25px 0px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 25px 25px;
}

a img.alignnone {
    margin: 5px 25px 25px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 25px 25px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

@media (max-width: 1280px) {
    .header__bottom-navigation li:after {
        width: 9px;
        left: -11px;
    }

    .header__bottom-navigation li {
        margin: 0 5px;
    }
}

@media (max-width: 992px) {
    .logged-in #header,
    .logged-in #header.sticky {
        top: 0;
    }

    .logged-in .menu-item-753,
    .logged-in .menu-item-741 {
        display: none;
    }

    .header__bottom-wrapper {
        position: relative;
    }

    .header__bottom-wrapper .mobile-account {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 44px;
        border-radius: 50%;
        background: var(--dc-primary-color);
        width: 34px;
        height: 34px;
    }

    .header__bottom-wrapper .mobile-account svg {
        fill: #fff;
    }

    .hide-on-mobile {
        display: block !important;
    }

    .header__bottom-navigation {
        display: none;
    }

    .header__bottom-logos img {
        max-height: 40px;
        width: auto;
    }

    .header__bottom-logos--partners img {
        max-height: 20px;
    }

    .header__bottom-logos--partners p {
        font-size: 10px;
        color: rgba(0, 0, 0, 0.5);
    }

    .header__bottom-wrapper {
        padding: 10px 0;
    }

    .slicknav_menu {
        display: block;
    }

    .slicknav_btn {
        position: absolute;
        top: 60px;
        right: 20px;
        z-index: 99;
    }

    .slicknav_icon {
        width: 40px;
        height: 30px;
         position: relative;
    top: -67px; /* Dostosuj według potrzeby */
            -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        display: block;
    }

    .slicknav_icon span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: var(--dc-primary-color);
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .slicknav_icon span:nth-child(1) {
        top: 1px;
    }

    .slicknav_icon span:nth-child(2) {
        top: 12px;
    }

    .slicknav_icon span:nth-child(3) {
        top: 24px;
    }

    .slicknav_open .slicknav_icon span:nth-child(1) {
        top: 12px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .slicknav_open .slicknav_icon span:nth-child(2) {
        opacity: 0;
        left: -30px;
    }

    .slicknav_open .slicknav_icon span:nth-child(3) {
        top: 12px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .slicknav_nav {
        position: absolute;
        background: rgb(255, 255, 255);
        width: 100%;
        left: 0;
        top: 110px;
        padding-top: 15px;
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    }

    .slicknav_nav a {
        color: #6b6b6b;
        font-weight: 700;
        display: block;
        padding: 10px 15px;
        text-align: center;
        border-top: 1px solid #eaeaea;
    }

    .slicknav_nav .current-menu-item a,
    .slicknav_nav a:hover {
        color: #fff;
        background: var(--dc-primary-color);
    }

    .slicknav_item {
        margin: 0;
        padding: 0;
        position: relative;
    }

    .slicknav_arrow {
        position: absolute;
        top: 0;
        right: 15px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    #main {
        padding-top: 115px;
    }

    .header__wrapper {
        height: 64px;
    }

    .section {
        padding: 30px 0;
    }

    .section-heading {
        text-align: center;
        padding-bottom: 30px;
    }

}

@media (max-width: 768px) {
    .section-heading .title {
        font-size: 32px;
    }

    .section-heading .title:before {
        width: 52px;
        height: 32px;
        background-size: 52px 32px;
    }

    .header__top-social {
        display: none;
    }

    .header__top-wrapper {
        font-size: 12px;
        min-height: auto;
        gap: 5px;
        flex-direction: column;
        padding: 10px 0;
    }

    .header__top-count {
        text-align: center;
    }

    .header__top-count .stats {
        font-size: 12px;
    }

    .slicknav_btn {
        top: 54px;
    }

    .slicknav_nav {
        top: 95px;
    }

    .footer__top {
        flex-direction: column;
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer__bottom ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .header__top-count .stats {
        font-size: 14px;
        display: block;
        text-align: center;
        margin: 5px 0;
    }

    .slicknav_btn {
        top: 100px;
    }

    .slicknav_nav {
        top: 145px;
    }

    #main {
        padding-top: 145px;
    }

    .section-heading .title {
        font-size: 24px;
    }

}