﻿.headerSection {
    margin-top: 15px;
    position: relative;
}

    .headerSection .headerImageContainer {
        position: relative;
    }

    .headerSection .headerImage,
    .headerSection .headerBackground {
        width: 100%;
        object-fit: cover;
        background-repeat: no-repeat;
    }

    .headerSection .headerImageOverlay {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background-image: linear-gradient(to top, rgba(0, 0, 0, .5), transparent);
        mix-blend-mode: overlay;
    }

    .headerSection .headerImageOverlayText {
        position: absolute;
        left: 0;
        bottom: 0;
        color: #ffffff;
        padding-left: 36px;
        padding-right: 30px;
        margin-bottom: 30px;
        z-index: 2;
        height: fit-content;
    }

    .headerSection .overlayHeading,
    .headerSection .overlayHeading * {
        font-family: DM Sans, sans-serif;
        font-weight: 600;
        color: #fafafa;
        line-height: 42px;
        text-transform: uppercase;
        overflow: hidden;
        letter-spacing: 0px !important;
    }

    .headerSection .overlaySubheading {
        font-family: DM Sans, sans-serif;
        color: #fafafa;
        line-height: 20px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 500;
        margin-bottom: 10px;
    }

.anchorsSection {
    margin: 0px;
}

    .anchorsSection .anchorContainer {
        padding: 24px 36px 0px;
    }

        .anchorsSection .anchorContainer:hover {
            opacity: 0.7;
        }

    .anchorsSection .anchorHeading {
        font-family: Lora, sans-serif;
        font-size: 24px;
        color: #222222;
        letter-spacing: -0.5px;
        padding-bottom: 22px;
        margin-bottom: 12px;
        font-weight: 400;
        line-height: 30px;
    }

    .anchorsSection .anchorCTA {
        font-family: DM Sans, sans-serif;
        font-size: 16px;
        color: #007dba;
        position: absolute;
        bottom: 10px;
        line-height: 16px;
        border-bottom: 0px;
    }

        .anchorsSection .anchorCTA:hover {
            background-color: transparent;
        }

.ctaSection {
    text-align: center;
    background-color: #ffffff;
    right: 36px;
    z-index: 2;
    bottom: 56px;
}

    .ctaSection .headingCtaContainer {
        max-height: 100%;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .ctaSection .ctaHeading,
    .ctaSection .ctaHeading * {
        font-family: Lora, sans-serif;
        font-size: 24px;
        color: #244c5a;
        letter-spacing: -0.5px;
        line-height: 32px !important;
    }

    .ctaSection .ctaSubheading {
        font-family: DM Sans, sans-serif;
        font-size: 15px;
        color: #244c5a;
        text-transform: uppercase;
    }

    .ctaSection .ctaInnerElement {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .ctaSection .ctaButton {
        width: 100%;
        background-color: #244c5a;
        font-family: DM Sans, sans-serif;
        font-size: 16px;
        color: #fafafa;
        text-align: center;
        text-transform: uppercase;
        text-wrap: wrap;
        font-weight: 500;
        padding: 5px 25px;
        border: 2px solid #244c5a;
    }

        .ctaSection .ctaButton:hover {
            background-color: transparent !important;
            color: #244c5a;
            cursor: pointer;
        }

@media (max-width: 767px) {
    .headerSection .overlaySubheading {
        font-size: 12px;
    }

    .headerSection .overlayHeading,
    .headerSection .overlayHeading * {
        font-size: 20px;
        line-height: 24px;
    }

    .ctaSection .ctaHeading, .ctaSection .ctaHeading * {
        font-size: 12px;
    }

    .ctaSection .ctaButton {
        font-size: 14px;
    }

    .headerPlusCTAWithAnchors .headerContainer .ctaSection,
    .headerPlusCTAWithAnchorsAndMenu .headerContainer .ctaSection {
        background-color: transparent;
        display: block;
        padding-left: 0px;
        padding-right: 0px;
    }

    .headerPlusCTAWithAnchors .ctaContainer,
    .headerPlusCTAWithAnchorsAndMenu .ctaContainer {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .headerPlusCTAWithAnchors .ctaContainer > div,
    .headerPlusCTAWithAnchorsAndMenu .ctaContainer > div {
        padding-left: 15px;
        padding-right: 15px;
    }

    .headerPlusCTAWithAnchors .ctaSection,
    .headerPlusCTAWithAnchorsAndMenu .ctaSection {
        flex-wrap: wrap;
    }

        .headerPlusCTAWithAnchorsAndMenu .ctaSection .ctaSectionImage {
            margin-bottom: 15px;
        }
}

@media (min-width: 768px) {
    .anchorsSection {
        display: flex;
    }
}

@media (max-width: 991px) {
    .headerSection .overlayHeading,
    .headerSection .overlayHeading * {
        font-size: 26px;
    }

    .headerSection .overlaySubheading {
        font-size: 16px;
    }

    .anchorsSection .anchorContainer {
        border-bottom: 1px solid #cccccc;
    }
}

@media (min-width: 992px) {
    .headerSection .headerImageOverlayText {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 48px;
        margin-top: 48px;
    }
}

.headerSection .overlaySubheading {
    font-size: 20px;
}

.anchorsSection {
    border-right: 1px solid #cccccc;
}

    .anchorsSection .anchorContainer {
        padding: 24px 36px 0px;
        border-left: 1px solid #cccccc;
    }

.backgroundContainer {
    position: relative;
}

#backgroundMobile {
    display: none;
}

.ctaSection {
    max-width: 40%;
    position: absolute;
}

.headerSection .headerImageOverlayText, .ctaSection {
    top: 0;
    bottom: 0;
    margin-top: 48px;
    margin-bottom: 48px;
    overflow: hidden;
}
