body,html, p, h1, h2, h3, h4, h5, *.rf-cp-b, .rf-cp-hdr {
    color: #313131 !important;
}
header,
#header {
    background-color: #003A70;
}
header nav,
header nav#topNav,
#header nav,
#header nav#topNav {
    margin: 0 auto;
    width: 100%;
    /*background-color: #F58000;
    border: 0 !important;*/
}
*.rf-dt-shdr-c {
    background-color: #003e74 !important;
}

#mobileNav {
    background-color: #003A70 !important;
}
nav#topNav ul li:hover {
    background-color: #004b91 !important;
}

nav#topNav ul li.noHover:hover {
    background-color: transparent !important;
    cursor: default !important;
}
.headerCoBrand, .headerCoBrand p.poweredByText {
    color: #fff !important;
}

.headerCoBrand {
    font-size: 2em !important;
    p.poweredByText {
        font-size: 0.5em !important;
    }
    a {
        height: 100%
    }
}

#companyFooterText {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.partnerRow {
    height: 90px !important;
}

.fmlaLogo {
    height: 100% !important;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Leave Request flow redesign (matches the fmlaNg moo.css treatment).
   Scoped to body.redesign25, which is only added by baseTemplate.xhtml when
   view.viewId starts with /leaveRequest/ or /step/ — does not affect any
   other JSF page for this partner (dashboard, profile, etc. keep the
   legacy look).
   ========================================================================== */
body.redesign25 {
    background: #F4F4F4 !important;

    header, #header {
        background-color: transparent !important;
        padding-top: 44px;
    }

    #mobileNav {
        background-color: transparent !important;
    }

    /* Full-width co-brand band pinned to the very top of the header,
       replacing the full-navy header fill. */
    .headerCoBrand {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: unset !important;
        background-color: #003a70 !important;
        color: #ffffff !important;
        text-align: center !important;
        padding: 8px 0 !important;
        font-size: 1em !important;
        font-weight: normal !important;
        float: none !important;
        z-index: 1 !important;

        .poweredByText, .clearFix {
            display: none !important;
        }
    }

    /* logo.png/moo.png are already the same up-to-date asset — no image
       swap needed. But the asset itself isn't navy-colored on its own;
       Angular's #logoImg applies this exact filter to recolor it against
       the new white/grey background (the old header relied on a navy
       header fill behind it instead) — mirror that here. */
    header #banner {
        height: 85px;
    }
    header #banner img, .fmlaLogo img {
        max-width: 450px !important;
        max-height: 70px !important;
        margin-top: 10px;
        filter: brightness(0) saturate(100%) invert(13%) sepia(56%) saturate(2476%) hue-rotate(193deg) brightness(94%) contrast(101%) !important;
    }

    .icon-size, .icon-size-side-nav {
        filter: brightness(0) saturate(100%) invert(13%) sepia(56%) saturate(2476%) hue-rotate(193deg) brightness(94%) contrast(101%) !important;
    }

    .restartBtn {
        background-color: #070f36 !important;
    }

    @media (max-width: 850px) {
        header #banner {
            height: 45px;
        }
        .sidemenu-toggle-black-redesign {
            top: 72px;
        }
    }
}
