﻿/* Styles/eqr-banner.css
   Purpose: unify banner typography across EQR sites, make text bold (not italic),
   keep hyperlinks the same color as surrounding text, and normalize font-family/size. */

/* Banner container: choose the authoritative font and size */
.eqr-banner,
#pnlEqrBanner {
    /* Match ReportViewer’s UI labels */
    font-family: Verdana, Arial, Helvetica, sans-serif;
    /* Normalize size to remove cross-site variation */
    font-size: 0.875rem; /* ≈14px; adjust if you want larger/smaller */
    line-height: 1.25;
    /* Enforce bold and remove italics on the banner */
    font-weight: 700 !important; /* bold */
    font-style: normal !important; /* not italic */
    /* If you ever need to hard-enforce the red via CSS (instead of provider/inline),
     uncomment the next line and set the exact hex used by ReportViewer.
     color: #c00000; */
}

    /* Ensure everything inside the banner inherits the container’s font and weight */
    .eqr-banner *,
    #pnlEqrBanner * {
        font-family: inherit !important;
        font-style: inherit !important;
        font-weight: inherit !important;
    }

/* Optional helper if the provider wraps text with a specific span */
.eqr-banner__text {
    font: inherit !important;
}

/* Normalize headings if the provider emits <h1>/<h2>/<h3> to avoid oversized text */
#pnlEqrBanner h1,
#pnlEqrBanner h2,
#pnlEqrBanner h3,
.eqr-banner h1,
.eqr-banner h2,
.eqr-banner h3 {
    font-size: inherit !important;
    font-weight: inherit !important;
    margin: 0;
}

/* Links: same color and same font as surrounding text in all states */
#pnlEqrBanner a:link,
#pnlEqrBanner a:visited,
#pnlEqrBanner a:hover,
#pnlEqrBanner a:focus,
#pnlEqrBanner a:active,
.eqr-banner a:link,
.eqr-banner a:visited,
.eqr-banner a:hover,
.eqr-banner a:focus,
.eqr-banner a:active {
    color: currentColor !important; /* use the surrounding text color */
    font-family: inherit !important; /* use the surrounding font */
    text-decoration: underline; /* keep underline for accessibility */
}

/* If you prefer no underline in the banner, uncomment this block:
#pnlEqrBanner a,
.eqr-banner a {
  text-decoration: none;
}
*/
