header,
#header {
    background-color: #ffffff;
}
header nav,
header nav#topNav,
#header nav,
#header nav#topNav {
    margin: 0 auto;
    width: 100%;
    background-color: #0091da;
}
.rightMenu #navMenu .glyphicon {
    top: 3px;
}
.headerCoBrand p.poweredByText {
    font-size: .9em;
}
#mobileNav {
    background-color: #0091da !important;
}
nav#topNav ul li:hover {
    background-color: #006fa7 !important;
}
nav#topNav ul li.noHover:hover {
    background-color: transparent !important;
    cursor: default !important;
}
#loginLeft h1 {
    color: #464646 !important;
    margin-bottom: 20px;
}
a {
    color: #003e74 !important;
}
footer a {
    color: #003e74 !important;
}

/* ==========================================================================
   Leave Request flow redesign (matches the fmlaNg principal.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-blue nav fill. */
    .headerCoBrand {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: unset !important;
        background-color: #0091da !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 asset (amc-principal.png/principal.png) is already the same
       up-to-date, correctly-colored asset — just size it consistently
       with the Angular header, no recolor filter needed. */
    header #banner {
        height: 85px;
    }
    header #banner img, .fmlaLogo img {
        max-width: 450px !important;
        max-height: 70px !important;
        margin-top: 10px;
    }

    .icon-size, .icon-size-side-nav {
        filter: brightness(0) saturate(100%) invert(38%) sepia(60%) saturate(2000%) hue-rotate(175deg) brightness(100%) contrast(105%) !important;
    }

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