﻿/* Ecreo Overwrites */

.fs-4858,
.fs-4858 p,
.fs-4858 span
{
    color: #003255;
    font-size: 48px;
    line-height: 58px;

    @media (max-width: 831px) {
        font-size: 36px;
        line-height: 46px;
    }
}

.fs-2432,
.fs-2432 p,
.fs-2432 span{
    font-size: 24px;
    line-height: 32px;
}

.fs-1828,
.fs-1828 p,
.fs-1828 span {
    font-weight: bold;
    color: #003255;
    font-size: 24px;
    line-height: 32px;
}

@media (max-width: 991px) {
    .npp-col-width-default {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.news-post-page {

    @media (min-width: 992px) {
        .col-width-4 {
            margin-left: 16.66667%;
            margin-right: 16.66667%;
        }

        .col-width-1 {
            margin-left: 10%;
            margin-right: 10%;
        }

        .col-width-2 {
            margin-left: 7%;
            margin-right: 7%;
        }

        .col-width-3 {
            margin-left: 0;
            margin-right: 0;
        }
    }
}

[data-component="TextAndHeadline"] p:last-child{
    margin-bottom:0;
}



/*Default Parallax */
.parallax {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*Sticky Parallax */
.parallax-section {
    position: relative;
    margin-bottom: 25px;
}

/* sticky background */
.parallax-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.parallax-content {
    padding-bottom: 30px;
    position: relative;
    z-index: 1;
    margin-top: -100vh;
    padding-top: 100vh; /* ensure enough space to scroll text inside bg area */
}
