/** HIGHLIGHT **/

.fundacao-highlight {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: #fff;
    position: relative;
    background-size: cover;
    /*padding: 40% 9% 40% 9%;*/
    padding: 0;
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

    .fundacao-highlight::before {
        content: " ";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

.fundacao-highlight-text-wrapper {
    text-align: center;
    text-transform: uppercase;
    /* margin-top: 20px; */
}

.fundacao-highlight h1 {
    font-size: 12px;
    margin: 0;
    margin-bottom: 11px;
}

.fundacao-highlight h2 {
    font-size: 26px;
    margin: 0;
    margin-bottom: 20px;
    padding: 0 10px;
}

.fundacao-highlight .fundacao-highlight-text-area {
    position: absolute;
    top: 80px;
}

.fundacao-highlight .how-to-help-wrapper {
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    left: 0px;
    cursor: pointer;
}

    .fundacao-highlight .how-to-help-wrapper p {
        font-size: 12px;
        text-align: center;
        color: #fff;
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .fundacao-highlight .how-to-help-wrapper .arrow {
        max-width: 15px;
        height: 8px;
        stroke: #fff;
        fill: none;
        stroke-width: 6px;
        display: block;
        margin: 0 auto;
    }

.fundacao-highlight #fundacao-video {
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}


/* ------- SECOND SECTION ---------- */
.second-section {
    padding: 25px 3%;
    font-family: Roboto, sans-serif;
    font-size: 24px;
    line-height: 32px;
}

    .second-section .title {
        font-size: 40px;
        color: #242424;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 40px;
        text-transform: uppercase;
        text-align: center;
        font-weight: 400;
    }

.title.true {
    font-size: 40px !important;
    color: #242424;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
    text-transform: uppercase !important;
    text-align: center;
    font-weight: 400 !important;
}

.intro-irs .title {
    font-size: 40px;
    line-height: 52px;
    color: #242424;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    padding-top: 20px;
    padding-bottom: 40px;
}

.fundacao-parag-2 {
    padding-top: 10px;
}

.second-section .first-row-wrapper img {
    padding-bottom: 25px;
}

.second-section .first-row-wrapper h3 {
    font-size: 28px;
    color: #242424;
}


.second-section .second-row-wrapper {
    padding-top: 50px;
    position: relative;
    padding-bottom: 180px;
}

    .second-section .second-row-wrapper .red-rectangle {
        background-color: #c30000;
        width: 90%;
        padding-bottom: 20px;
        position: absolute;
        top: 50%;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: 440px;
    }

        .second-section .second-row-wrapper .red-rectangle h3 {
            color: #fff;
            font-size: 22px;
            text-align: center;
            padding: 30px 3% 0;
            text-transform: none;
            font-style: italic;
            font-weight: 400;
            font-family: "Roboto",sans-serif;
        }

        .second-section .second-row-wrapper .red-rectangle p {
            text-align: center;
            color: #fff;
            font-size: 14px;
        }

            .second-section .second-row-wrapper .red-rectangle p:first-of-type {
                text-transform: uppercase;
            }

.first-banner {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-image: url('/-/media/benficadp/Business/Fundacao/2021/Img_Parallax.jpg');
    color: #fff;
    position: relative;
    background-size: cover;
    padding: 25% 9% 25% 9%;
    background-attachment: fixed;
}

    /* ------- BANNER SECTION ---------- */
    .first-banner h3 {
        color: #fff;
        text-align: center;
        font-family: "Roboto", sans-serif;
    }

        .first-banner h3 .percentage {
            font-weight: bold;
            font-size: 55px;
            display: inline-block;
            white-space: nowrap;
        }

        .first-banner h3 .text-paragraph {
            display: inline-block;
            width: 100%;
            /*text-align: left; */
            text-align: center;
            font-size: 24px;
            line-height: 40px;
            text-transform: none;
            font-family: "Roboto", sans-serif;
        }

/* ------- INTRO FOR IRS SECTION ---------- */

.intro-irs {
    padding: 20px 0% 30px;
    border-bottom: 1px solid #E8E8E8;
}

    .intro-irs .intro-section-title {
        text-align: center;
        font-size: 18px;
        color: #242424;
        padding: 25px 5%;
    }

    .intro-irs .step-info-row {
        width: 100%;
        margin: 0 auto;
        padding: 40px 4%;
        padding-top: 0px;
    }


.intro-irs-image-wrapper img {
    width: 100%;
    min-width: 200%;
}

.intro-irs-image-wrapper {
    overflow: hidden;
}

.intro-irs .step-info-row .step-title {
    color: #242424;
    font-size: 32px;
    line-height: 40px;
    padding-right: 15px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    text-transform: none;
}

.intro-irs .step-info-row .step-text-wrapper {
    display: inline-block;
}

    .intro-irs .step-info-row .step-text-wrapper .info-row {
        float: left;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .intro-irs .step-info-row .step-text-wrapper p {
        margin-left: 70px;
    }

.intro-irs .header-row {
    font-size: 18px;
    line-height: 24px;
    color: #c30000;
}

/*.intro-irs .irs-table-wrapper {
    margin: 15px 0px;
    border: 1px solid #ddd;
}

.intro-irs .irs-table-wrapper .table-header p {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 10px;
    border-bottom: 1px solid #ddd;
}

.intro-irs .irs-table-wrapper .table-content {
    padding: 15px 15px;
}

.intro-irs .irs-table-wrapper .table-content .table-title {
    font-size: 18px;
    text-align: left;
    padding-bottom: 15px;
}

.intro-irs .table-content input[type="radio"] + label {
    font-weight: normal;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.intro-irs .table-content input[type="radio"] + label span.outer {
    position:relative;
    width:25px;
    height:20px;
    margin: 0px 0px 0px 15px;
    cursor:pointer;
    border: solid 1px rgb(137,137,137);
    background-color: white;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 0px;
}

.intro-irs .table-content input[type="radio"] + label span.outer.bigger-1 {
    width: 45px;
} 

.intro-irs .table-content input[type="radio"] + label span.outer.bigger-2 {
    width: 35px;
} 

.intro-irs .table-content input[type="radio"] + label span.inner {
    width: 10px;
    height: 10px;
    background-color: white;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
    border-radius: 50%;
}

.intro-irs .table-content input[type="radio"]:checked + label span.inner {
    background-color: #c30000;
} */

/* nif */
/*.nif-box {
    padding: 15px 15px;
}

.nif-box .nif-number {
    color: #c30000;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 26px;
    text-align: center;
    font-weight: bold;
    margin-top: 8px;
}*/

/* end nif */

/*.intro-irs .table-content input[type="radio"] + label span.outer.square {
    border-radius: unset;
    border: 1px solid #ccc;
}

.intro-irs .table-content input[type="radio"] + label span.inner.square {
    border-radius: unset;
}

.intro-irs .table-content .table-row.square {
    padding: 15px;
    display: inline-block;
    width: 50%;
}*/

.intro-irs .step-info-row.second {
    width: 100%;
    padding-top: 30px;
    /*padding: 30px 0px 5px*/;
}

.intro-irs .step-info-row .step-text-wrapper .info-row.second::before {
    content: " ";
    background-image: url('/-/media/benficadp/Business/Fundacao/2021/number2.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
    width: 105px;
    height: 50px;
    display: inline-block;
    margin: 0;
    min-width: 60px;
}

/* ------- DISCLAIMER SECTION ---------- */

.fundacao-disclaimer {
    padding: 25px 15px;
    background-color: #eee;
}

    .fundacao-disclaimer .disclaimer-wrapper {
        width: 90%;
        margin: 0 auto;
    }

        .fundacao-disclaimer .disclaimer-wrapper img {
            display: inline-block;
            width: 35px;
            vertical-align: top;
        }

        .fundacao-disclaimer .disclaimer-wrapper .disclaimer-text-wrapper {
            display: inline-block;
            width: calc(100% - 55px);
            text-align: left;
            margin-left: 10px;
            max-width: 645px;
        }

/* ------- PROJECTS SECTION ---------- */
.project-section {
    padding: 55px 3% 25px;
    font-family: Roboto, sans-serif;
}

    .project-section .title {
        font-size: 28px;
        color: #242424;
        text-align: center;
        padding-bottom: 25px;
        text-transform: uppercase;
    }

    .project-section .projects-text-wrapper {
        padding: 20px 5% 0px;
        text-align: center;
    }

        .project-section .projects-text-wrapper h3 {
            color: #c30000;
        }

        .project-section .projects-text-wrapper p {
            padding-bottom: 25px;
        }

        .project-section .projects-text-wrapper .button-wrapper {
            width: 85%;
            margin: 0 auto;
            max-width: 220px;
        }

        .project-section .projects-text-wrapper .button {
            background-color: #fff;
        }

    .project-section .projects-image-wrapper {
        position: relative;
        overflow: hidden;
    }

    .project-section .image-text {
        font-size: 30px;
        color: #fff;
        position: absolute;
        bottom: -55px;
        right: 4%;
        transition: bottom 2s ease-in-out;
    }

    .project-section.secondProject .image-text {
        left: 4%;
    }

    .project-section .image-text span {
        font-size: 55px;
        font-weight: bold;
    }

    /* text position when scroll */

    .project-section .image-text.show-with-scroll {
        bottom: 10px;
        transition: all 0.5s ease-out;
    }

.more-projects-section {
    padding: 10px 0px 45px;
}

    .more-projects-section .button-wrapper.more-projects {
        width: 220px;
        margin: 0 auto;
    }

.project-section .projects-image-wrapper img {
    width: 100%;
}


/* ------- BANNER SECTION ---------- */
.last-banner {
    background-repeat: no-repeat;
    background-position: 20% 50%;
    background-image: url('/-/media/benficadp/Business/Fundacao/2021/banner-bottom-onlyMap.jpg');
    color: #fff;
    position: relative;
    background-size: cover;
    padding: 30% 9% 30% 9%;
    background-attachment: fixed;
}

    .last-banner h3 {
        color: #242424;
        text-align: center;
    }

        .last-banner h3 .percentage {
            font-weight: bold;
            font-size: 80px;
            display: inline-block;
        }

        .last-banner h3 .text-paragraph {
            font-family: Roboto;
            display: inline-block;
            width: 58%;
            text-align: left;
            font-size: 50px;
            font-weight: 500;
            text-transform: none;
        }

.text-wrapper-bottom {
    padding: 25px 5%;
}

    .text-wrapper-bottom h3 {
        color: #242424;
        font-family: Roboto;
        text-align: left;
        font-weight: 500;
        text-transform: none;
    }

    .text-wrapper-bottom p {
        padding-top: 10px;
        font-size: 14px;
    }

.last-banner img {
    position: absolute;
    top: 0;
    z-index: 2;
}

.last-banner .number {
    color: #fff;
    font-size: 80px;
    font-weight: bold;
    display: inline-block;
}

.last-banner .number-mobile {
    position: absolute;
    color: #c30000;
    font-size: 2.4em !important;
    font-weight: bold;
    left: 26% !important;
    top: 34% !important;
    height: 35% !important;
    width: 45% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .last-banner .number-mobile div {
        color: #fff !important;
        background-color: #c30000;
        line-height: 55px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        border-radius: 50%;
        height: 100% !important;
        width: 50% !important;
        justify-content: center;
    }

    .last-banner .number-mobile span {
        line-height: normal !important;
        height: auto !important;
        padding: 0px !important;
        margin: 0px !important;
        width: auto !important;
    }

@media(min-width: 515px) {

    .last-banner .number-mobile {
        width: 40% !important;
        font-size: 3em !important;
    }

        .last-banner .number-mobile div {
            width: 60% !important;
        }
}

@media(min-width: 768px) {

    .intro-irs-image-wrapper img {
        min-width: 0px;
    }

    .last-banner .number-mobile {
        left: 19.5% !important;
        top: 34% !important;
        height: 35% !important;
        width: 25% !important;
        font-size: 2.8em !important;
    }

        .last-banner .number-mobile div {
            width: 56% !important;
        }
}

@media(min-width: 1200px) {

    .last-banner .number-mobile {
        font-size: 4em !important;
        height: 40% !important;
    }
}

@media(min-width: 1430px) {

    .last-banner .number-mobile {
        font-size: 4em !important;
        height: 40% !important;
        top: 34% !important;
        left: 18% !important;
    }
}

@media(min-width: 1500px) {

    .last-banner .number-mobile {
        font-size: 4em !important;
        height: 35% !important;
        top: 37% !important;
        width: 22% !important;
        left: 18% !important;
    }
}

@media(min-width: 1540px) {

    .last-banner .number-mobile {
        font-size: 4em !important;
        left: 17.5% !important;
    }
}

@media(min-width: 1600px) {

    .last-banner .number-mobile {
        font-size: 4em !important;
        left: 17% !important;
    }
}

.title h2 {
    padding-bottom: 15px !important;
}


.news-main-section .title {
    padding-top: 0px;
}

@media screen and (min-width: 768px) {
    /** HIGHLIGHT **/

    .intro-irs {
        padding: 50px 0% 90px;
    }

    .fundacao-highlight .fundacao-highlight-text-area {
        float: none;
        top: 38%;
    }

    .fundacao-highlight .fundacao-highlight-text-wrapper {
        margin-top: 0;
        vertical-align: middle;
        float: none;
    }

    .fundacao-highlight h1 {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .fundacao-highlight h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .fundacao-highlight .how-to-help-wrapper p {
        font-size: 14px;
    }

    /* ------- SECOND SECTION ---------- */

    .second-section {
        padding: 25px 5% 60px;
    }

        .second-section .first-row-wrapper {
            text-align: center;
        }

            .second-section .first-row-wrapper img {
                display: inline-block;
                width: 48%;
                padding-bottom: 0px;
            }

        .second-section .first-row-text-wrapper {
            display: inline-block;
            width: 48%;
            padding: 0px;
            text-align: left;
            vertical-align: middle;
            padding-left: 135px;
        }

        /* ---------- second row -----------*/
        .second-section .second-row-wrapper {
            padding-bottom: 10px;
        }

            .second-section .second-row-wrapper img {
                float: right;
                width: 48%;
            }

            .second-section .second-row-wrapper .red-rectangle {
                width: 488px;
                height: 322px;
                margin-top: auto;
                margin-bottom: auto;
                margin-right: 0px;
                top: 0;
                bottom: 0;
                right: 44%;
                padding: 0px;
                display: flex;
                align-items: center;
                /*
        padding-top: 20px;
        padding-right: 20px;
        */
            }

                .second-section .second-row-wrapper .red-rectangle h3 {
                    text-align: right;
                    padding-top: 40px;
                    padding-right: 40px;
                    padding-bottom: 40px;
                    padding-left: 25px;
                    /*
       padding: 20px 6% 20px 7%;
        */
                    font-size: 32px;
                }

                .second-section .second-row-wrapper .red-rectangle p {
                    text-align: right;
                    padding-right: 6%;
                }

    /* ------- BANNER SECTION ---------- */
    .first-banner {
        padding: 13% 9% 13% 9%;
    }

        .first-banner h3 .text-paragraph {
            font-size: 40px;
            line-height: 46px;
        }

    /* ------- IRS SECTION ---------- */
    .intro-irs .intro-section-title {
        font-size: 24px;
    }

    .intro-irs .intro-section-title {
        margin: 0 auto;
    }


    .intro-irs .step-info-row.second {
        padding: 30px 5% 5px 135px;
    }

    .intro-irs .irs-table-wrapper .table-header p {
        text-align: left;
    }

    .nif-box {
        width: 50%;
    }

    .table-square-wrapper {
        width: 50%;
        padding-top: 18px;
    }

    .intro-irs .table-content .table-row.square {
        width: 100%;
    }

    .intro-irs .step-info-row .step-text-wrapper .info-row::before {
        width: 75px;
    }

    .intro-irs .step-info-row .step-text-wrapper .info-row.second::before {
        width: 75px;
    }

    /* ------- DISCLAIMER SECTION ---------- */
    .fundacao-disclaimer .disclaimer-wrapper {
        width: 70%;
    }

    /* ------- PROJECTS SECTION ---------- */
    .project-section {
        padding: 55px 0% 25px;
    }

        .project-section .projects-image-wrapper {
            width: 55%;
            display: inline-block;
        }

        .project-section .projects-text-wrapper {
            width: 38%;
            display: inline-block;
            text-align: left;
            padding: 0px;
            padding-left: 20px;
            vertical-align: text-bottom;
            position: absolute;
            bottom: 30px;
            max-width: 350px;
        }

            .project-section .projects-text-wrapper .button-wrapper {
                margin: 0px;
            }

        .project-section.secondProject .projects-image-wrapper {
            float: right;
        }

        .project-section.secondProject .projects-text-wrapper {
            text-align: right;
        }

            .project-section.secondProject .projects-text-wrapper .button-wrapper {
                float: right;
            }

        .project-section .image-text {
            font-size: 32px;
            bottom: -75px;
        }

            .project-section .image-text span {
                font-size: 72px;
            }

    /* ------- BANNER SECTION ---------- */
    .last-banner {
        padding: 18% 9% 18% 9%;
    }

        .last-banner h3 .text-paragraph {
            position: absolute;
            width: 48%;
            margin-left: 10px;
            font-size: 32px;
            right: 0;
            top: 36%;
            margin-top: 25px;
        }

        .last-banner h3 {
            margin-bottom: 10px;
        }

        .last-banner p {
            font-size: 14px;
            color: #242424;
            position: absolute;
            bottom: 10px;
            left: 35%;
        }


    .intro-irs .step-info-row {
        width: 75%;
    }

    /* ------- MORE PROJECTS BUTTON ---------- */
    .more-projects-section {
        padding: 45px 0px;
    }

    .last-banner .number-mobile {
        font-size: 78px;
        left: 22%;
        top: 36%;
    }

        .last-banner .number-mobile span {
            line-height: 78px;
        }
}

@media screen and (max-width: 350px) {
    .second-section .second-row-wrapper .red-rectangle {
        top: 50%;
    }

    /* .second-section .second-row-wrapper {
        padding-bottom: 205px;
    }*/

    .project-section .image-text {
        font-size: 20px;
    }

    .last-banner .number-mobile {
        top: 32%;
        left: 30%;
    }

    .last-banner .number-mobile {
        font-size: 52px;
    }
}

@media screen and (max-width: 400px) {

    .last-banner .number-mobile span {
        line-height: 48px;
        height: 68px;
        width: 78px;
        padding-left: 10px;
        margin-right: 7px;
    }


    .fundacao-highlight .fundacao-highlight-text-area {
        top: 20px;
    }


    .first-banner {
        padding: 25% 3% 25% 3%;
    }

        .first-banner h3 .text-paragraph {
            font-size: 26px;
            width: 100%;
        }



    .intro-irs .step-info-row .step-text-wrapper .info-row::before {
        width: 105px;
    }

    .intro-irs .step-info-row .step-text-wrapper .info-row.second::before {
        width: 105px;
    }
}


@media screen and (max-width: 411px) and (min-width: 351px) {

    .last-banner .number-mobile {
        font-size: 35px;
        top: 36%;
        left: 27%;
    }

    .project-section .image-text {
        font-size: 26px;
    }
}

@media screen and (max-width: 548px) and (min-width: 400px) {
    .second-section .second-row-wrapper .red-rectangle {
        top: 65%;
    }
}


@media screen and (max-width: 549px) and (min-width: 460px) {
    .last-banner .number-mobile {
        font-size: 78px;
        top: 35%;
    }

        .last-banner .number-mobile span {
            line-height: 76px;
        }

    .second-section .second-row-wrapper .red-rectangle {
        top: 70%;
    }
}


@media screen and (max-width: 767px) and (min-width: 550px) {
    .last-banner .number-mobile {
        top: 38%;
        left: 30%;
        font-size: 85px;
    }

        .last-banner .number-mobile span {
            line-height: 95px;
            padding: 0px 10px;
        }

    .second-section .second-row-wrapper .red-rectangle {
        top: 70%;
    }
}

@media screen and (max-width: 991px) and (min-width: 850px) {
    .last-banner .number-mobile {
        font-size: 81px;
        top: 37%;
    }

        .last-banner .number-mobile span {
            line-height: 85px;
            padding: 0px 5px;
        }
}

@media screen and (min-width: 992px) {
    /* fix elements position in business header */
    .Fundacao .menu-section .movable-menu.fixed .content .icons {
        padding: 0;
    }

    .last-banner .number-mobile {
        font-size: 60px;
        left: 20%;
        top: 41%;
    }

        .last-banner .number-mobile span {
            line-height: 71px;
            padding: 2px 29px 10px 18px;
            margin-right: 20px;
            width: 138px;
        }

    .last-banner h3 .text-paragraph {
        top: 39%;
        font-size: 35px;
    }

    .intro-irs .step-info-row .step-title {
        font-size: 32px;
        line-height: 40px;
        padding-right: 125px;
    }
}

@media screen and (min-width: 1200px) {
    .fundacao-highlight .fundacao-highlight-text-area {
        left: 2%;
        top: 45%;
        padding: 0 9%;
    }

    .project-section .projects-text-wrapper {
        position: absolute;
        bottom: 100px;
    }

    .project-section.secondProject .projects-text-wrapper {
        bottom: 70px;
        right: 57%;
    }

    .last-banner {
        padding: 18% 9% 18% 9%;
    }

    .intro-irs .step-info-row {
        width: 100%;
        padding: 0px 0% 30px 135px;
    }

        .intro-irs .step-info-row.second {
            padding: 30px 0% 5px 135px;
        }

    .project-section .image-text {
        font-size: 45px;
        bottom: -100px;
    }

        .project-section .image-text span {
            font-size: 100px;
        }

    .last-banner .number-mobile {
        font-size: 95px;
        left: 22%;
        top: 40%;
    }

        .last-banner .number-mobile span {
            line-height: 120px;
            padding: 0px 6%;
        }

    .last-banner h3 .text-paragraph {
        top: 42%;
        font-size: 45px;
        line-height: 45px;
        width: 52%;
    }

    .fundacao-highlight .how-to-help-wrapper {
        bottom: 35px;
        margin-top: 0px;
    }

    .first-banner {
        padding: 12% 9% 12% 9%;
    }

        .first-banner h3 .text-paragraph {
            font-size: 36px;
            line-height: 40px;
        }

        .first-banner h3 .percentage {
            font-size: 80px;
            line-height: 90px;
        }

    .second-section {
        padding: 25px 9% 100px;
    }
}

@media screen and (max-width: 360px) and (min-width: 320px) {
    .intro-irs .step-info-row .step-text-wrapper .info-row.second::before {
        width: 126px;
    }
}

@media screen and (min-width: 1430px) {
    .last-banner {
        padding: 250px 125px;
    }

        .last-banner .number-mobile {
            font-size: 79px;
            left: 285px;
            top: 217px;
        }

            .last-banner .number-mobile span {
                line-height: 90px;
                padding: 9px 18px;
                width: 169px;
            }
}
