﻿* {
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--background);
    height: 100vh;
    display: grid;
    width: 100%;
    grid-template-rows: 73px 1fr 317px 88px;
    grid-auto-columns: auto;
    grid-template-areas: "navbar" "hero" "footer" "footer-add";
}

.main-background {
    width: 100%;
}


/*main banner*/
/*---------------------------------------------Banner*/
.banner-box {
    width: 100%;
    height: 295px;
    background: transparent url('../img/MainPageIMG/1920px/Baner-SMZ.png') 0% 0% no-repeat padding-box;
    display: grid;
    grid-template-columns: 172px 172px repeat(10, 1fr);
    background-size: 1920px 295px;
}



.banner-content {
    grid-column-start: 3;
    grid-column-end: span 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    /* padding:40px 0px;*/
}

    .banner-content h1 {
        color: var(--white);
        font-size: 44px;
        line-height: 53px;
        margin: 0 !important;
    }

    .banner-content p {
        color: var(--white);
        line-height: 29px;
        font-size: 18px;
        font-weight: 400;
    }

/* media queries */
.main-container {
    width: 64.5%;
    height: 100%;
    margin: 0 344px;
    background-color: var(--background);
    padding: 70px 0 50px 0;
    font-family: 'Fira Sans', sans-serif;
}

.btn-main {
    background: #0061A3 0% 0% no-repeat padding-box;
    opacity: 1;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
}

    .btn-main a {
        color: #FFFFFF;
    }

.main-container .top-main-container h1 {
    margin: 0;
    color: #000000;
    font-weight: 500;
    font-size: 44px;
}

.main-container .top-main-container h4 {
    margin: 34px 0;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}


.main-container .top-main-container .btn-main {
    margin: 0;
    padding: 14px 132px;
    border: none;
}

.main-container .top-main-container p {
    font-weight: 400;
    font-size: 16px;
    margin-top: 27px;
}

    .main-container .top-main-container p a {
        margin: 0 0 0 18px;
        font-weight: 500;
        color: #0064A3;
        border-bottom: 1px solid #0064A3;
    }

/*-----------------------------------------------top container content*/
.white-background {
    background-color: white !important;
}

/* Notice on main page (Komunikat w sprawie zgłoszeń)  START */

.statement-container {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 344px auto 344px;
    background-color: var(--background);
    margin: 32px 0 80px 0;
}

.middle-statement-box {
    background-color: #FFFFFF;
    border-left: 4px solid #044D8C;
    box-shadow: 0px 2px 3px #0000001A;
}

.statement-box-header {
    padding-top: 19px;
    padding-left: 23px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 11px;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
}

.statement-box-icon {
    left: 23px;
    top: 19px;
    width: 18px;
}

    .statement-box-icon svg {
        fill: #0064A3;
    }

.statement-box-content {
    padding: 8px 48px 24px 52px;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
}

    .statement-box-content ul {
        font-size: 14px;
        line-height: 18px;
        padding-left: 16px;
    }

        .statement-box-content ul li {
            padding-top: 8px;
        }

    .statement-box-content a {
        border-bottom: 1px solid #0064A3;
        color: #0064A3;
    }

        .statement-box-content a:hover {
            border-bottom: none;
            color: #17345D;
        }

/* Notice on main page (Komunikat w sprawie zgłoszeń)  END */

.main-container .container-check-demand {
    padding: 0;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 2px 2px 3px #0000001A;
}

    .main-container .container-check-demand h1 {
        padding: 29px 0 1px 32px;
        margin: 0;
    }

    .main-container .container-check-demand .content-check-demand {
        box-shadow: none;
    }

/* LEGAL BASIS */
.bottom-all-main-container {
    padding: 0 !important;
    width: 100% !important;
}

.bottom-main-container {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    margin: 80px 0 0 0;
    width: 100%;
    height: auto;
    padding: 24px 344px 24px 344px;
}

    .bottom-main-container ul {
        padding: 0 !important;
    }

    .bottom-main-container h2 {
        margin: 36.5px 0 31.5px 0;
        font-size: 34px;
        font-weight: 500;
        color: #000000;
    }

    .bottom-main-container p {
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #000000;
        width: 90%;
        margin-bottom: 25px;
    }

    .bottom-main-container .about-soid-container {
        width: 80%;
        height: auto;
        margin-top: 24px;
        margin-bottom: 32px;
    }

.about-soid-container h3 {
    font-size: 22px;
    font-family: 'Fira Sans', sans-serif;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.bottom-main-container ul {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    padding-left: 32px !important;
    width: 100%;
}

    .bottom-main-container ul li::marker {
        color: #000000;
        font-size: 16px;
    }


.bottom-main-container .legal-basis-container {
    height: auto;
    margin-top: 24px;
    margin-bottom: 80px;
}

    .bottom-main-container .legal-basis-container ul {
        margin-left: 48px;
    }

.legal-basis-container h3 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.legal-basis-container ul li a {
    border-bottom: 1px solid #0064A3;
    /*font-family: 'Open Sans', sans-serif;*/
    font-size: 14px;
    color: var(--blue-500) !important;
    font-weight: 500 !important;
}

    .legal-basis-container ul li a:hover {
        border-bottom: none;
        color: #17345D;
    }

    .legal-basis-container ul li a img {
        margin-bottom: 3px;
    }

.faq-container .faq-collapse-item {
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 2px 3px #0000001A;
    font-weight: 500;
    margin-bottom: 10px;
}

    .faq-container .faq-collapse-item .ant-collapse-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px !important;
    }

        .faq-container .faq-collapse-item .ant-collapse-header .title {
            font-size: 16px;
            color: #000000;
            letter-spacing: 0px;
            width: 90%;
        }

    .faq-container .faq-collapse-item .ant-collapse-content {
        border-top: 2px solid #d9d9d9 !important;
    }

        .faq-container .faq-collapse-item .ant-collapse-content .ant-collapse-content-box {
            padding: 20px;
        }

            .faq-container .faq-collapse-item .ant-collapse-content .ant-collapse-content-box p {
                width: 100%;
                margin-bottom: 0;
                padding-left: 20px;
                width: 90%;
            }

/* RESPONSE */
.response-container {
    width: 64.5%;
    margin: 0 auto;
    padding: 40px 0;
}

/* NAVBAR AUTHORIZED MODIFY */

.pull-right img {
    width: 12px;
    height: 12px;
    margin-left: 8px;
}

.show-main-dropdown {
    cursor: pointer;
}

.navbar-links-toggle {
    background-color: #0064A3;
    margin: 0 20px 0 0;
    height: 73px;
    width: 165px;
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
}

    .navbar-links-toggle li a.toggle {
        color: white;
    }

/*account menu*/
.account-menu-dropdown {
    position: absolute;
    display: grid;
    right: 30px;
    margin-top: 20px;
    background-color: white;
}

    .account-menu-dropdown > li {
        width: auto;
    }

.page-container {
    padding: 10px 20px;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

.validation-message {
    color: rgb(209, 49, 1);
}

.messages {
    position: absolute;
    z-index: 5;
    width: 100%;
    margin-top: 73px;
}

.roll-up-menu-button {
    display: none !important;
}

@media only screen and (max-width: 1300px) {
    .roll-up-menu-button {
        display: block !important;
        position: fixed;
        z-index: 10;
    }

    .container-body-rolledUpMenu {
        width: calc(100% - 70px) !important;
    }
}

.footer-add {
    background-color: var(--white);
}

@media screen and (min-width: 1921px) {

    .navbar-logo {
        background: unset;
    }

    .container-navbar::before {
        content: "";
        width: calc((100vw - 1920px)/2 + 320px);
        height: 53px;
        background: #CE001F;
        position: absolute;
        top: 10px;
        right: 1600px;
        z-index: -1;
    }

    .container-navbar::after {
        content: "";
        width: 100vw;
        height: 68px;
        background: var(--white);
        position: absolute;
        top: 0px;
        left: calc((100vw - 1920px)/-2);
        z-index: -2;
    }

    .banner-content {
        z-index: 1;
    }

    .banner-box::after {
        content: "";
        max-width: 3840px;
        width: 100vw;
        height: 295px;
        background: transparent url('../img/MainPageIMG/3840px/Baner-SMZ.png') 0% 0% no-repeat padding-box;
        background-size: 3840px 295px;
        background-position-x: right;
        top: 0px;
        right: calc((100vw - 1920px)/-2);
        position: absolute;
    }

    .footer-container {
        position: relative;
    }

        .footer-container::after {
            content: "";
            width: 100vw;
            height: 317px;
            background: var(--blue-700);
            position: absolute;
            top: 0px;
            left: calc((100vw - 1920px)/-2);
            z-index: -1;
        }

    .footer-add::after {
        content: "";
        width: 100vw;
        height: 60px;
        background: var(--white);
        position: absolute;
        top: 0px;
        left: calc((100vw - 1920px)/-2);
        z-index: -1;
    }

    .bottom-main-container::after {
        content: "";
        width: 100vw;
        height: 329px;
        background: #FFFFFF 0% 0% no-repeat padding-box;
        background-size: 3840px 329px;
        background-position-x: right;
        bottom: 0;
        position: absolute;
        left: calc((100vw - 1920px) / -2);
        z-index: -1;
    }
}

@media screen and (min-width: 3841px) {

    .banner-box::after {
        right: -960px;
    }
}

.logo-mobile {
    margin: 4px 20px 0 20px;
}

.main-page-content {
    margin-top: 32px;
    margin-left: 344px;
    margin-right: 344px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.main-page-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.main-page-card {
    background: var(--white);
    max-width: 864px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--white);
    background-size: 864px 188px;
    background-position: top;
    background-repeat: no-repeat;
    padding: 212px 24px 24px 24px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 3px;
}

    .main-page-card a:is(.cez-button) {
        color: var(--white) !important;
    }

.main-page-card-1 {
    background-image: url('../img/MainPageIMG/Formularz-dla-pacjenta.png');
}

.main-page-card-2 {
    background-image: url('../img/MainPageIMG/Formularz-dla-osoby-wykonującej-zawód-medyczny.png');
}

.main-page-card-3 {
    background-image: url('../img/MainPageIMG/Formularz-dla-produktów-weterynaryjnych.png');
}

@media screen and (max-width: 1600px) {

    .main-page-content {
        margin-left: 84px;
        margin-right: 84px;
    }
}

@media screen and (max-width: 1200px) {

    .main-page-content {
        margin-left: 84px;
        margin-right: 84px;
    }
}

@media screen and (max-width: 992px) {

    .main-page-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 576px) {

    .main-page-content {
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media screen and (max-width: 320px) {

    .main-page-content {
        margin-left: 0;
        margin-right: 0;
    }
}