
:root {
    --white: #ffffff;
    --black: #000000;
    --primary-green: #075958;
    --primary-grey: #3a3a3a;
    --secondary-grey: #767676;
    --extended-grey: #f1f1f1;
    --form-input-hover: #eaeaea;
    --form-border: #cacaca;
    --red: #f23e4d;

}

body {
    font-family: "Wix Madefor Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-grey);
    background: var(--extended-grey);
    scroll-behavior: smooth;

    &.editionsList {
        background-color: var(--primary-green);
    }

}

::-webkit-scrollbar {
    background: var(--white);
    border-radius: 5px;
    height: 2px;
    width: 4px;

}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    background-clip: content-box;
    border-radius: 5px;
}

::selection {
    background: var(--primary-green);
    color: var(--white);
}

.navbar-toggler {
    border: 0;
    outline: none;
    box-shadow: none;

    &:focus {
        outline: none;
        box-shadow: none;
    }

}

.headroom {
    will-change: transform;
    transition: transform 200ms linear;
    z-index: 100;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
}

.headroom--pinned {
    transform: translateY(0%);
}

.headroom--unpinned,
.headroom--pinned.headroom--not-top {
    transform: translateY(0px);

    .navbar {
        background: var(--extended-grey);
        transition: 200ms;

        .navbar-brand {
            background: var(--extended-grey);
            transition: 200ms;
            border-bottom: 1px solid var(--black);
            border-right: 1px solid var(--black);

            img {
                filter: invert(100%)
            }

        }

        .navbar-nav {
            border-color: var(--black);
            transition: 200ms;

            .nav-item {

                .nav-link {
                    background: var(--extended-grey);
                    color: var(--black);
                    border-color: var(--black);
                    transition: 200ms;

                    &:hover,
                    &.active {
                        background: var(--black);
                        color: var(--white);
                    }

                }

            }

        }

    }

}

.navbar {
    padding: 0;
    transition: 200ms;

    .container-fluid {
        padding-right: 0;
        padding-left: 0;

        .navbar-brand {
            height: 66px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 180px;
            border-bottom: 1px solid var(--white);
            border-right: 1px solid var(--white);
            margin: 0;
            padding: 0;
            border-top: 0;

        }

    }

}

.navbar-nav {
    border-bottom: 1px solid var(--white);
    width: 100%;

    .nav-item {
        width: 100%;

        &:last-child {

            .nav-link {
                border: 0;
            }
        }

        .nav-link {
            color: var(--white);
            width: 100%;
            text-align: center;
            height: 65px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-right: 1px solid var(--white);
            transition: none;
            font-weight: 600;
            font-size: 18px;

            &:hover,
            &.active {
                background: #ffffff;
                color: var(--primary-grey);
            }

        }

    }

}

.subPage {
    .navbar {
        background: var(--extended-grey);

        .navbar-nav {
            & .nav-item {
                & .nav-link {
                    color: var(--black);
                }
            }
        }

        .navbar-brand {

            min-width: 136px !important;
            border-color: var(--black) !important;

            img {
                filter: invert(100%);
            }
        }

    }

    .navbar {
        & .navbar-nav {
            border-color: var(--black) !important;

            & .nav-item {
                & .nav-link {
                    border-color: var(--black) !important;

                    &:hover, &.active {
                        background: var(--black) !important;
                        color: var(--white) !important;
                    }
                }
            }
        }
    }

}

.subPageImageWrapper {
    margin-top: 65px;
    margin-left: -12px;

    .imageWrapper {
        position: sticky;
        top: 65px;
    }

}

.subPageTextWrapper, .chapterTextWrapper {
    margin-top: 150px;
    margin-bottom: 60px;

    h1 {
        color: var(--primary-green);
        line-height: normal;
        font-family: "Oswald", sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        margin: 0 0 60px 0;
        letter-spacing: .2em;
        font-size: 36px;
    }

    h2 {
        font-weight: 500;
        font-size: 30px;
        margin: 0 0 30px 0;
    }

    p {
        line-height: 180%;
        font-size: 18px;
        margin: 0 0 50px 0;

        &.lead {
            font-weight: 700;
        }

    }

    .statuteList {
        margin: 0 0 60px 0;
        padding: 0 0 0 24px;

        .statuteListElement {
            list-style: decimal;
            margin: 0 0 10px 0;
            line-height: 180%;
            font-size: 18px;
        }

    }

    .statueUnorderedList {
        margin: 0 0 10px 0;
        padding: 0 0 0 12px;
    }

    .chapterList {
        display: flex;
        flex-wrap: wrap;
        gap: 120px;
        margin: 0 0 120px 0;
        align-items: baseline;

        .chapterListElement {
            width: calc(50% - 80px);
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 45px;

            .chapterListElementWrapper {
                margin: 0 0 30px 0;
                display: flex;
                gap: 30px;
                align-items: center;

                .imageWrapper {
                    width: 202px;
                    margin: 0;

                    img {
                        border-radius: 30px;
                        width: 202px;
                        box-shadow: 0 4px 20px 0 #00000020;
                    }
                }

                h3 {
                    color: var(--primary-grey);
                    font-size: 30px;
                    font-weight: 700;
                    width: 100%;
                }

                h4 {
                    color: var(--primary-green);
                    font-size: 18px;
                    font-weight: 700;
                    text-align: left;
                }

            }

            p {
                width: 100%;
                margin: 0;
            }

        }

    }

    a {
        color: var(--primary-grey);

        &:hover {
            color: var(--primary-green)
        }

    }

    article {padding: 0 30px;

        h2 {
            font-size: 30px;
            font-weight: 700;
            text-align: left;
            margin: 0 0 20px 0;
        }

        h3 {
            font-size: 18px;
            font-weight: 700;
            text-align: left;
            margin: 0 0 10px 0;
        }

        ul {
            margin: 0 0 50px 15px;
            padding: 0;

            li {
                font-size: 18px;
                font-weight: 400;
                line-height: 180%;
                text-align: left;

            }

        }

        .imageWrapper {
            width: 100%;
            margin: 0 0 60px 0;

            img {
                width: 100%;
                height: auto;
                margin: 0 0 5px 0;
            }

            .description {
                font-size: 16px;
                font-weight: 400;
                line-height: 21px;
                text-align: left;
            }

        }

    }

}

.chapterTextWrapper {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;

    p {
        line-height: 130%;
    }

}

.baner_hp {
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    position: relative;
    background-image: url("../images/baner_hp.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;

    &.chapter {
        height: 410px;
        background-image: url("../images/kapitula.png");
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        margin-bottom: 30px;
    }

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

    .hpLogoWrapper {
        position: absolute;
        top: 50%;
        left: 130px;
        transform: translate(0, -50%);
        display: flex;
        flex-direction: column;
        color: #ffffff;

        h2 {
            font-size: 50px;
            font-weight: 700;
            line-height: 0;

            br {
                display: none;
            }

            span {
                font-size: 30px;
                font-weight: 500;
                display: inline-block;
            }

        }

    }

    .logo {
        width: 623px;
        height: auto;
        margin: 0 0 55px 0;
    }

}

.content {
    position: relative;
    width: 100%;
    padding: 30px 0;

    .editList {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: -30px 0;
        height: 100vh;
        background-image: url("../images/edycje.png");
        background-size: cover;
        background-position: top right;
        background-repeat: no-repeat;
        padding-top: 30px;
        min-height: 950px;

        .editListElement {
            margin: 0 0 36px 0;

            &:last-child {
                margin: 0;
            }

            .editListLink {
                color: var(--white);
                text-decoration: none;
                height: 90px;
                font-size: 54px;
                font-weight: 400;
                display: flex;
                align-items: center;
                justify-content: center;
                font-family: "Oswald", sans-serif;

                &:hover {
                    font-weight: 800;
                    font-size: 70px;

                }

            }

        }

    }

}

.imageWrapper {
    width: 100%;

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

}

.textWrapper {

    a {
        color: var(--primary-green);
    }

    &.aboutCompetition {
        padding: 0 130px;
        margin-top: 170px;

        p {
            margin: 0;
        }

        &.hp {
            margin-top: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
        }

        blockquote {
            text-align: center;

            img {
                margin: 0 0 60px 0;
            }

            .blockquote-content {
                color: var(--primary-green);
                font-weight: 500;
                margin: 0 0 60px 0;
            }

            .blockquote-caption {
            }

        }

    }

    &.competitionDescription {
        padding: 0 250px;
        margin-top: 110px;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }

    &.competitionCategory {
        padding: 0 250px;
        margin-top: 110px;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;

        h2 {
            margin-bottom: 30px;
        }

    }

    h2 {
        color: var(--primary-green);
        font-family: "Oswald", sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 36px;
        letter-spacing: 0.2em;
        text-align: left;
        margin: 0 0 60px 0;
        line-height: normal;
    }

    h3 {
        font-size: 27px;
        font-weight: 500;
        margin: 0 0 30px 0;
        line-height: normal;

    }

    h4 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 30px 0;
    }

    p {
        line-height: 180%;
        font-size: 18px;
        margin: 0 0 30px 0;
    }

    .categoryList {
        display: flex;
        width: 100%;
        margin: 0 0 110px 0;

        .categoryListElement {
            text-align: center;
            width: 100%;

            img {
                margin: 0 0 20px 0;
                width: 80%;
                max-width: 200px;
            }

            h5 {
                font-family: "Oswald", sans-serif;
                font-weight: 500;
                font-size: 30px;
                letter-spacing: 0.1em;
                color: var(--primary-green);
                text-transform: uppercase;
            }

        }

    }

}

.button {
    background: #075958 radial-gradient(134.68% 226.53% at 91.36% -65.31%, rgba(199, 201, 176, 0.3) 38.3%, rgba(199, 201, 176, 0) 85.02%);
    color: var(--white) !important;
    border-radius: 50px;
    width: 100%;
    margin: 0 auto 130px auto;
    font-size: 30px;
    text-align: center;
    height: 98px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    box-shadow: 0 4px 20px 0 #00000020;
    letter-spacing: 0.05em;
    border: 1px solid transparent;

    &:hover {
        background: var(--white);
        color: var(--primary-green) !important;
        border: 1px solid var(--primary-green);
    }

}

.fromButtonStep {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    font-weight: 700;
    margin-top: 60px;
    height: 44px;

    &:disabled {
        opacity: .3;

        &:hover {
            color: var(--primary-green);
            border: 2px solid var(--primary-green);
            background: none;

        }

    }

    &:hover {
        background: var(--primary-green);
        color: var(--white)
    }

}

.fromButtonSend {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 0;
    font-weight: 700;
    margin-top: 30px;
    height: 44px;
    background: #075958 radial-gradient(134.68% 226.53% at 91.36% -65.31%, rgba(199, 201, 176, 0.3) 38.3%, rgba(199, 201, 176, 0) 85.02%);
    color: var(--white);

    &:disabled {
        opacity: .3;

        &:hover {
            background: #075958 radial-gradient(134.68% 226.53% at 91.36% -65.31%, rgba(199, 201, 176, 0.3) 38.3%, rgba(199, 201, 176, 0) 85.02%);
            color: var(--white);

        }

    }

    &:hover {
        background: var(--white);
        color: var(--primary-green);
        border: 2px solid var(--primary-green);
    }

}

.tabs {
    display: flex;
    width: 100%;
    margin: 0 0 60px 0;

    li {
        width: 50%;
        text-align: center;

        a, span {
            border: 1px solid var(--primary-green);
            width: 100%;
            display: flex;
            color: var(--primary-green);
            text-decoration: none;
            font-size: 18px;
            font-weight: 600;
            justify-content: center;
            align-items: center;
            height: 65px;

            &.active {
                background: var(--primary-green);
                color: var(--white);
            }
        }

        a:hover {
            background: var(--primary-green);
            color: var(--white);
        }

    }

}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;

    .separator {
        width: 200px;
        margin: 0 10px;
        background: var(--primary-grey);
        height: 1px;
        display: flex;
    }

    .step {
        width: 65px;
        height: 65px;
        border: 1px solid var(--primary-grey);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;

        &:not(.disabled):hover {
            background: var(--primary-green);
            color: var(--white);
        }

        &.active {
            background: var(--primary-green);
            color: var(--white)
        }
    }

}

#footer {
    background: var(--primary-grey);
    padding: 80px 0 0 0;

    h2 {
        color: var(--white);
        font-family: "Oswald", sans-serif;
        font-weight: 500;
        letter-spacing: 0.2em;
        font-size: 36px;
        text-transform: uppercase;
        margin: 0 0 30px 0;
        line-height: normal;

    }

    p {
        color: var(--white);
        font-size: 18px;
        font-weight: 400;
        line-height: 33px;
        text-align: left;
        margin: 0;
    }

    h3 {
        font-family: "Oswald", sans-serif;
        font-weight: 400;
        letter-spacing: 0.05em;
        color: var(--secondary-grey);
        font-size: 18px;
        text-transform: uppercase;
        line-height: normal;
        margin: 0 0 30px 0;

    }

    .contactWrapper {
        margin-bottom: 60px;
    }

    .logoPAPWrapper {
        margin-top: 50px;
        align-items: center;
        display: flex;

        .logoPAP {
            width: 200px;
            height: auto
        }

    }

    .logoWrapper {
        margin-top: 50px;
        align-items: center;
        display: flex;

        .logo {
            width: 262px;
            height: auto;
        }

    }

    .phone, .mail {
        color: var(--white);
        font-size: 18px;
        font-weight: 600;

        a {
            color: var(--white);
            text-decoration: none;

            &:hover {
                border-bottom: 1px solid var(--white);
            }

        }

    }

}

.applicationForm {

    .form-check-input {
        box-shadow: none;
        background-color: var(--extended-grey);
        border-color: var(--form-border);
        width: 20px;
        height: 20px;
        margin-top: 2px;

        &:checked {
            background-color: var(--extended-grey);
            border-color: var(--form-border);
        }
    }

    .form-check-input:checked[type=checkbox] {
        --bs-form-check-bg-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNSAxMEw4LjUgMTNMMTQuNSA3IiBzdHJva2U9IiMwNzU5NTgiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=")
    }

    .form-check-label {
        font-size: 13px;
        margin-left: 8px;
    }

    .form-check-input:checked[type=radio] {
        --bs-form-check-bg-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNCA2QzUuMTA0NTcgNiA2IDUuMTA0NTcgNiA0QzYgMi44OTU0MyA1LjEwNDU3IDIgNCAyQzIuODk1NDMgMiAyIDIuODk1NDMgMiA0QzIgNS4xMDQ1NyAyLjg5NTQzIDYgNCA2WiIgZmlsbD0iIzA3NTk1OCIvPgo8L3N2Zz4K");

    }

    h2 {
        font-size: 30px;
        font-weight: 700;
        line-height: normal;
        text-align: left;
        margin: 50px 0 30px 0;
    }

    h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 10px 0;

    }

    h4 {
        font-size: 16px;
        font-weight: 400;

    }

    .form-label {
        color: var(--primary-grey);
        font-size: 16px;
        margin: 0 0 5px 0;
    }

    textarea.form-control {
        min-height: 200px;
    }

    .form-control {
        border: 1px solid var(--form-border);
        background: var(--extended-grey);
        height: 44px;
        font-size: 16px;

        &:disabled {
            opacity: 1;
            pointer-events: none;
            background: var(--form-border)
        }

        &:hover {
            background: var(--form-input-hover);

            &:disabled {
                opacity: 1;
                pointer-events: none;
                background: var(--form-border);
            }

        }

        &:focus {
            border: 1px solid var(--primary-green);
            box-shadow: none;
            background: var(--extended-grey);
        }

    }
}

.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: 1;
    background: var(--form-border)

}

.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
    cursor: default;
    opacity: .3;
}

.error {

    .form-label {
        color: var(--red)
    }

    .form-control {
        border: 1px solid var(--red);

    }

    .errorInfo {
        font-size: 13px;
        color: var(--red);
    }

}

.downloadReg {

    h4 {
        font-size: 18px;
        font-weight: 700;
        text-align: left;
        margin: 0 0 20px 0;
    }

    .file {
        display: flex;
        gap: 12px;
        align-items: center;
        text-decoration: none;

        &:hover {

            .downloadTextWrapper {

                .fileName {
                    color: var(--primary-green);
                }

            }

        }

        .downloadIcon {
        }

        .downloadTextWrapper {
            display: flex;
            flex-direction: column;
            gap: 5px;

            .fileSize {
                font-size: 16px;
                font-weight: 400;
                text-align: left;
                color: var(--secondary-grey);
            }

            .fileName {
                font-size: 16px;
                font-weight: 700;
                text-align: left;
            }

        }

    }

}

.thanks {

    h3 {
        font-size: 18px;
        font-weight: 700;
        line-height: normal;
        text-align: left;
        margin: 0 0 30px 0;

    }

    .number {
        border: 1px solid #000000;
        max-width: 550px;
        text-transform: uppercase;
        font-size: 18px;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #3a3a3a;

    }

}

.fullHeight {
    display: flex;
}

.banerLeftWrapper {
    height: 100vh;
    overflow: hidden;

}

.textRightWrapper {
}

.audioWrapper {
    background: #075958;
    padding: 5px;
    border-radius: 10px;
    display: inline-flex;
    margin: 0 0 30px 0;
}

@media (max-width: 1500px) {

    .banerLeftWrapper {

        img {
            height: 100vh;
            width: auto;
        }

    }

}

@media (max-width: 1199px) {

    body {

        &.editionsList {
            background-size: auto;
        }

    }

    .navbar-nav {
        border-top: 1px solid #000000;

        & .nav-item {
            & .nav-link {
                font-size: 16px;
            }
        }
    }

    .baner_hp {

        .hpLogoWrapper {
            left: 65px;

            h2 {
                font-size: 40px;

                span {
                    font-size: 26px;
                }
            }

        }

        .logo {
            width: 450px;

        }

    }

    #footer {
        .phone, .mail {
            color: var(--white);
            font-size: 22px;
        }
    }

    .textWrapper {
        &.aboutCompetition {
            padding: 0 60px;
            margin-top: 90px;
        }
    }

    .textWrapper {
        &.competitionDescription, &.competitionCategory {
            padding: 0 150px;
            margin-top: 60px;
        }
    }

    .applicationForm {
        .form-label {
            font-size: 12px;
        }
    }

    .tabs {
        & li {
            a {
                font-size: 16px;
            }
        }
    }

}

@media (max-width: 991px) {

    .headroom {
        position: relative;
    }

    .baner_hp {
        margin-bottom: 30px;

        .hpLogoWrapper {
            left: 65px;

            h2 {
                font-size: 40px;

                span {
                    font-size: 26px;
                }
            }

        }

        .logo {
            width: 450px;

        }

        &.edycje {
            height: calc(100vh - 65px) !important;
        }

    }

    .navbar {
        background: var(--extended-grey);
        border-bottom: 1px solid var(--black);
        border-top: 1px solid var(--black);

        .navbar-nav {
            border-bottom: 0;
            border-top: 1px solid var(--black);

            & .nav-item {
                & .nav-link {
                    color: var(--black);
                }
            }
        }

        .navbar-brand {

            min-width: 136px !important;
            border: 0 !important;

            img {
                filter: invert(100%);
            }
        }

    }

    .navbar {
        & .navbar-nav {
            & .nav-item {
                & .nav-link {
                    &:hover, &.active {
                        background: var(--black) !important;
                        color: var(--white) !important;
                    }
                }
            }
        }
    }

    #footer {
        padding: 30px 0;

        p {
            font-size: 16px;
            line-height: 150%;
        }

        h2 {
            font-size: 28px;
        }

        .addressWrapper {
            margin-bottom: 30px;
        }
    }

    .button {
        font-size: 25px;
    }

    .subPageTextWrapper {
        margin-top: 30px;

        article {

            ul {
                margin: 0 0 30px 15px;
                padding: 0;

                li {
                    font-size: 16px;
                    line-height: 150%;

                }

            }

            .imageWrapper {

                margin: 0 0 30px 0;

                .description {
                    font-size: 12px;
                }

            }

        }

    }

    .subPageImageWrapper {
        display: none;
    }

    .textWrapper {
        h2 {
            font-size: 28px;
            margin: 0 0 30px 0;
        }

        &.competitionDescription, &.competitionCategory {
            padding: 0 50px;
            margin-top: 30px;
        }

        &.partners {
            padding: 0 24px;
        }

    }

    .subPageTextWrapper, .chapterTextWrapper {
        padding: 0 24px;

        p {

            margin: 0 0 30px 0;
        }

        .statuteList {
            .statuteListElement {
                margin: 0 0 10px 0;

            }
        }

        .chapterList {
            margin: 0;
            flex-direction: column;
            flex-wrap: nowrap;
            gap: 50px;

            .chapterListElement {
                width: 100%;

                .chapterListElementWrapper {
                    width: 100%;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    margin: 0 0 10px 0;
                    gap: 15px;

                    h3 {
                        text-align: center;

                    }

                }

            }

        }

    }

    .content {
        .editList {
            height: auto;
            padding-bottom: 30px;

            & .editListElement {
                .editListLink {
                    height: 60px;
                    font-size: 44px;

                    &:hover {
                        font-size: 60px;
                    }
                }
            }
        }
    }

    .banerLeftWrapper {
        display: none;
    }

}

@media (max-width: 767px) {

    .baner_hp {
        height: 500px;
        margin-bottom: 30px;

        .hpLogoWrapper {

            h2 {
                font-size: 30px;

                span {
                    font-size: 18px;
                }
            }

        }

        .logo {
            margin-bottom: 30px;
        }

        &.edycje {
            height: 100vh;
        }

        &.chapter {
            height: 220px;
        }

    }

    .subPageTextWrapper, .chapterTextWrapper {

        h1 {

            font-size: 25px;
            margin-bottom: 30px;
        }

        h2 {
            font-size: 20px;

        }

        .chapterList {
            .chapterListElement {
                .chapterListElementWrapper {
                    h3 {
                        font-size: 20px;
                    }
                }
            }
        }

        article {

            h2 {
                font-size: 20px;

            }

            h3 {
                font-size: 18px;

            }

        }

    }

    .textWrapper {

        &.aboutCompetition {
            margin-top: 30px;
        }

        &.competitionDescription, &.competitionCategory {
            padding: 0 50px;
        }

        & .categoryList {
            flex-wrap: wrap;

            .categoryListElement {

                width: 50%;
            }
        }

    }

    .applicationForm {
        h2 {
            margin: 10px 0 20px 0;
        }

        h3 {
            font-size: 18px;

        }

    }

    .fromButtonStep, .fromButtonSend {
        margin-top: 30px;

    }

    .chapterTextWrapper {
        margin: 0;
        padding: 0 12px;
    }

    .textWrapper {
        &.partners {
            & .partnersList {
                .partnersListElement {
                    &.orlen {
                        margin-bottom: 30px;
                    }

                }
            }
        }
    }

}

@media (max-width: 575px) {

    .baner_hp {
        height: 300px;

        .hpLogoWrapper {
            width: 256px;

            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            h2, .to {
                font-size: 22px;
                line-height: normal;

                br {
                    display: block;
                }

                span {
                    font-size: 16px;

                    &.to {
                        font-size: 22px;
                        line-height: normal;
                        font-weight: 700;
                    }

                }
            }

        }

        .logo {
            width: 100%;
            margin-bottom: 0;
        }

        &.chapter {
            height: 120px;
        }

    }

    .button {
        margin: 0 0 30px 0;
        font-size: 16px;
        height: 50px;
    }

    .textWrapper {

        &.aboutCompetition {
            padding: 0 12px;
        }

        &.competitionDescription, &.competitionCategory {
            padding: 0 12px;
        }

        & .categoryList {
            display: none;

            .categoryListElement {

                width: 100%;
            }
        }
    }

    .content {
        .editList {
            height: auto;

            & .editListElement {
                .editListLink {
                    height: auto;
                    font-size: 34px;

                    &:hover {
                        font-size: 34px;
                        font-weight: 400;
                    }
                }
            }
        }
    }

    #footer {
        .phone, .mail {
            color: var(--white);
            font-size: 16px;
        }
    }

}

.picker-content {
    width: 100%;
    height: 400px;
}

.hide {
    display: none;
}

@media (min-width: 1500px) {

    .textWrapper {
        h2 {
            font-size: 40px;
        }

        p {
            font-size: 24px;
        }

        &.competitionDescription, &.competitionCategory {
            max-width: 1500px;
        }

    }

    .subPageTextWrapper, .chapterTextWrapper {
        h1 {
            font-size: 32px;
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & article {
            h2 {
                font-size: 32px;
            }
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        p {
            font-size: 24px;
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & .statuteList {
            .statuteListElement {
                font-size: 24px;
            }
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & article {
            & ul {
                li {
                    font-size: 24px;

                }
            }
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & .chapterList {
            & .chapterListElement {
                & .chapterListElementWrapper {
                    h3 {

                        font-size: 32px;

                    }

                    h4 {

                        font-size: 26px;

                    }

                }
            }
        }
    }

}


@media (min-width: 2220px) {

    .textWrapper {
        h2 {
            font-size: 50px;
        }

        p {
            font-size: 30px;
        }

        &.competitionDescription, &.competitionCategory {
            max-width: 2000px;
        }

    }

    .subPageTextWrapper, .chapterTextWrapper {
        h1 {
            font-size: 50px;
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & article {
            h2 {
                font-size: 40px;
            }
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        p {
            font-size: 30px;
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & .statuteList {
            .statuteListElement {
                font-size: 30px;
            }
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & article {
            & ul {
                li {
                    font-size: 30px;

                }
            }
        }
    }

    .subPageTextWrapper, .chapterTextWrapper {
        & .chapterList {
            & .chapterListElement {
                & .chapterListElementWrapper {
                    h3 {

                        font-size: 40px;

                    }

                    h4 {

                        font-size: 30px;

                    }

                }
            }
        }
    }

}

.picker-content {
    position: relative;
    z-index: 1;
}

#alert-placeholder {
    position: fixed;
    right: 30px;
    top: 100px;
    width: 350px;
    z-index: 9999;
}

span.extension {
    color: var(--primary-green);
}

.extensions > p {
    font-size: 16px;

    line-height: 180%;
    margin: 0 0 20px 0;
}

#cookie {
    &.hideCookie {
        display: none;
    }

    &.showCookie {
        display: block;
    }
}

#cookie {
    position: fixed;
    bottom: 40px;
    z-index: 120;
    background: var(--white);
    left: 40px;
    width: calc(100% - 80px);
    padding: 30px 20px;
    font-size: 13px;
    line-height: 17px;
    color: var(--primary-grey);

    .content {
        padding: 0;
    }

    a {
        color: var(--primary-green);
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }

    }

    .buttonWrapper {
        display: flex;
        justify-content: flex-end;

        a {
            background: #075958 radial-gradient(134.68% 226.53% at 91.36% -65.31%, rgba(199, 201, 176, 0.3) 38.3%, rgba(199, 201, 176, 0) 85.02%);
            color: var(--white);
            border-radius: 50px;
            width: 200px;
            margin: 30px 0 0 0;
            font-size: 16px;
            text-align: center;
            height: 44px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            font-weight: 700;
            line-height: normal;
            text-decoration: none;
            box-shadow: 0 4px 20px 0 #00000020;
            letter-spacing: 0.05em;
            border: 1px solid transparent;

            &:hover {
                background: var(--white);
                color: var(--primary-green);
                border: 1px solid var(--primary-green);
            }

        }

    }

}

.copyrights {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px 0;
    display: flex;
    color: var(--white);
    margin: 75px 0 0 0;
    font-size: 16px;

    a {
        color: var(--white);
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }

    }

    span {
        margin: 0 0 0 auto;
    }

}

#uploadedFiles a {
    color: var(--red);
    text-decoration: none;
}

#uploadedFiles a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {

    #cookie {
        padding: 20px;

        .buttonWrapper {
            justify-content: center;
        }

    }

    .scrollWrapper {
        max-height: 200px;
        overflow-y: scroll;
        padding-right: 20px;
    }
}

ol.custom-counter {
    list-style-type: none;
    padding-left: 0;
}

ol.custom-counter li {
    counter-increment: list-counter;
    margin-bottom: 5px;
}

ol.custom-counter li::before {
    content: counter(list-counter, lower-alpha) ") ";
}


/* Partnerzy */

.textWrapper {

    &.partners {
        margin-bottom: 130px;
        padding: 0 180px;
    }

    .subHeader {
        color: #767676;
        font-size: 18px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-family: "Oswald", sans-serif;
        font-weight: 400;
        margin: 0 0 20px 0;
    }

    .partnersList {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 0 0 40px 0;

        a {
            margin: 0 175px 0 0;
        }

    }

}

@media (max-width: 1199px) {

    .textWrapper {

        &.partners {
            padding: 0 150px;

            .partnersList {

                .partnersListElement {
                    min-width: 33%;
                }

            }

        }

    }

}

@media (max-width: 991px) {

    .textWrapper {

        &.partners {
            padding: 0 60px;

            .partnersList {

                .partnersListElement {
                    min-width: 33%;
                }

            }

        }

    }

}

@media (max-width: 767px) {

    .textWrapper {

        &.partners {

            .partnersList {

                .partnersListElement {
                    min-width: 50%;
                }

            }

        }

    }

}

@media (max-width: 575px) {

    .textWrapper {
        &.aboutCompetition {
            & blockquote {
                img {
                    margin: 0 0 30px 0;
                }

                .blockquote-content {
                    padding: 0 9px;
                    margin-bottom: 20px;
                }
            }
        }
    }

    .subHeader {
        display: flex;
        justify-content: center;

    }

    .textWrapper {

        &.partners {
            padding: 0 12px;

            .partnersList {
                justify-content: center;
                display: flex;
                flex-direction: column;

                a {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                }

                img {
                    max-width: 100%;
                }

            }

        }

    }

}

.iframeWrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    margin: 0 0 40px 0;

    iframe {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

}

/*

.imageGalleryWrapper {
    cursor: grab;
}

.imageGalleryWrapper.active {
    cursor: grabbing;
}

*/


.imageGalleryWrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;


    &.small{

        a{width: calc(50% - 8px);}

    }




    a {
        width: calc((100% / 6) - 10px);

        flex-shrink: 0;

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

    }

}


@media (max-width: 991px) {

    .imageGalleryWrapper {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;

        &.small{

            a{width: calc(50% - 8px);}

        }

        a {
            width: calc((100% / 2) - 7px);


        }


    }

}


@media (max-width: 575px) {

    .imageGalleryWrapper {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;

        a {
            width: 100%;


        }


    }


}