/* ==================================================================
   Name:    css/ess-brand.css
   Author:  Dennis Ramos
   Purpose: PCS brand look (Branding & Style Guide, Sept 2025) for the
            legacy Employee Self Service. Linked last from every master
            page and stand-alone page so it wins over the legacy styles.
            Colors, shading, corners, banner and font only; layout and
            wording stay as they were. See README.md in the app root.
   Create date: 10/09/2026

   Brand colors
     Navy #0C173C, Gold #E4B123, Light Navy tint #EEF3FA (page),
     Light Gray #F3F4F6 (panels), #E1E5EB (hover / selected rows),
     #D5DAE1 (light gray edge), #4A5578 (muted Navy labels).
     Red stays only for error messages.

   MODS:
   10/09/2026	D Ramos					Created for the approved ESS rebrand mockups
   10/14/2026	D Ramos					.ess-announce: login announcement box, styled like Important Notices
   11/04/2026	D Ramos					Navy grid header/pager rows: thin Gold frame, white lines inside, instead of thick black
   11/04/2026	D Ramos					.ess-pw: login Password row pinned under Username
   11/04/2026	D Ramos					.ess-login-act: login button and error under the Password box
   11/06/2026	D Ramos					.cse-version-link: Contracted Services Version links (Amending / Amendment) blue and bold
   11/11/2026	D Ramos					Text size: every font size 7/6 bigger on screen (12px -> 14px); see the Text size section
   11/12/2026	D Ramos					body.ess-login-page: login frame scrolls when the page is taller than the window
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Carlito:wght@400;700&family=Oswald:wght@600&family=Prompt:wght@800&display=swap');

/* ---------- Font (guide p.8): Calibri Light, bold text in Calibri Bold ----------
   !important lets it beat the inline Font-Names="Arial" on legacy controls.
   Calibri Light has no bold, so bold text switches to Calibri.
   Carlito (metric-compatible) covers devices without Office fonts. */
body, body * {
    font-family: "Calibri Light", Calibri, Carlito, "Segoe UI", Arial, sans-serif !important;
}
body b, body strong, body th, body h1, body h2, body h3, body h4,
body [style*="font-weight:bold" i], body [style*="font-weight: bold" i],
body [style*="font-weight:700"], body [style*="font-weight: 700"],
.btn, .btn_wide, .btn_xtra_wide, .btn_medium, .btn_small_wide, .btn_small_wide_125,
.ess-cat, .ess-title, .pageheading_inside, .pageheading_inside2, .pageheading_inside3,
.pageheading_inside_dark, .pageheading_inside_dark_left, .pageheading_insideSm,
.grid_header, .grid_header_Tan, .grid_header_Tan2, .grid_header_Gold {
    font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif !important;
}

/* Exceptions to the brand font: signatures keep their script font, code views stay monospace.
   Placed after the bold rule; same or higher specificity, so these win. */
body [style*="Segoe Script" i], body [style*="Segoe Script" i] * {
    font-family: "Segoe Script", "Brush Script MT", cursive !important;
}
body .pd-signature, body .pd-signature * {
    font-family: "Mrs Saint Delafield", "Segoe Script", cursive !important;
}
body code, body pre, body kbd, body samp, body .ta_src, body [style*="Consolas" i] {
    font-family: Consolas, "Courier New", monospace !important;
}

/* ---------- Page ---------- */
body { background-color: #EEF3FA !important; }
a:link, a:visited { color: #0C173C; }

/* Contracted Services admin grids: the Version link ("Amending (17272)", "Amendment ...")
   is blue and bold so it stands out from the Navy text, as it did before the rebrand.
   Calibri (not Light) because Calibri Light has no bold. */
a.cse-version-link, a.cse-version-link:link, a.cse-version-link:visited {
    color: #0000EE !important;
    font-weight: bold !important;
    font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif !important;
}

/* ---------- Banner (UserControls/EssBanner.ascx), same on every page ----------
   White as on pcsb.org: torch emblem, "Pinellas County Schools" in Prompt
   ExtraBold (guide heading face), app name in Oswald SemiBold caps. */
.ess-banner-cell {
    background-color: #FFFFFF !important;
    border-bottom: 4px solid #E4B123 !important;
    border-radius: 10px 10px 0 0;
    padding: 10px 18px !important;
    height: 83px;
    vertical-align: middle;
    text-align: left;
}
.ess-banner { display: flex; align-items: center; gap: 16px; width: 100%; }
.ess-banner .ess-mark { width: 78px; height: 78px; display: block; flex: none; }
body .ess-banner .ess-name {
    font-family: "Prompt", "Arial Black", Arial, sans-serif !important;
    font-weight: 800; font-size: 34px; line-height: 1; color: #0C173C;
    white-space: nowrap; letter-spacing: -.005em;
}
body .ess-banner .ess-app {
    margin-left: auto;
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif !important;
    font-weight: 600; font-size: 19px; line-height: 1; text-transform: uppercase;
    letter-spacing: .07em; color: #0C173C; white-space: nowrap;
}

/* Gold bands under the banner (Log Out row, employee info row) */
.ess-band, .ess-band span, .ess-band td { background-color: #E4B123 !important; border-color: #E4B123 !important; color: #0C173C !important; }
.ess-band-last { border-radius: 0 0 10px 10px; }
.ess-band a, .ess-band a:link, .ess-band a:visited { color: #0C173C !important; }

/* Title row under the banner: category of the current page */
.ess-title, .ess-title * { color: #0C173C !important; }

/* ---------- Left menu panel (MasterPage.master) ----------
   Light Gray with a faint watermark of the current torch emblem. */
.ess-nav {
    border: 5px solid #E4B123 !important;
    border-radius: 12px;
    background-color: #F3F4F6 !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyIiBoZWlnaHQ9IjEwMyIgdmlld0JveD0iMCAwIDEwMiAxMDMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMC44NzUxODMgNTEuNTAzMkMwLjg3NTE4MyAyMy41NDY2IDIzLjUwOTkgMC44Nzg4MyA1MS40MzU1IDAuODc4ODNDNzkuMzYxMiAwLjg3ODgzIDEwMiAyMy41NDQ1IDEwMiA1MS41MDMyQzEwMiA3OS40NjE5IDc5LjM2MTIgMTAyLjEzMiA1MS40MzU1IDEwMi4xMzJDMjMuNTA5OSAxMDIuMTMyIDAuODc1MTgzIDc5LjQ2NiAwLjg3NTE4MyA1MS41MDMyWiIgZmlsbD0iI0U5RUNFRiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYzLjcyOTYgMzcuMjg4Nkw2My43Mzk1IDM3LjQ4MjNDNjQuMjA2NCAzOS4wMjAyIDY0LjQ1NDcgNDAuNjI2MSA2NC40NTQ3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ZD0iTTQyLjQ3NDYgODIuNTExOEg2Mi40MDE5QzYzLjUwMTEgODIuNTExOCA2NC4zOTUxIDgzLjQwNDIgNjQuMzk1MSA4NC41MDY3QzY0LjM5NTEgODUuNjA5MyA2My41MDI4IDg2LjUwMTYgNjIuNDAxOSA4Ni41MDE2SDQyLjQ3NDZDNDEuMzc1NCA4Ni41MDE2IDQwLjQ4MzEgODUuNjA5MyA0MC40ODMxIDg0LjUwNjdDNDAuNDgzMSA4My40MDQyIDQxLjM3NTQgODIuNTExOCA0Mi40NzQ2IDgyLjUxMThaIiBmaWxsPSIjRkNGQ0ZEIi8+Cjwvc3ZnPgo=") !important;
    background-repeat: no-repeat !important;
    background-position: left -236px top -54px !important;
    background-size: 753px 761px !important;
}
.ess-menu a, .ess-menu a:link, .ess-menu a:visited { color: #0C173C !important; text-decoration: none; border-radius: 4px; }
.ess-menu a:hover { background-color: #E1E5EB !important; }
.ess-cat {
    display: block; font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: .04em;
    color: #0C173C !important; padding: 0 4px 3px; margin-top: 10px;
    border-bottom: 1px solid #E4B123; cursor: default;
}
.ess-menu a:hover .ess-cat { background-color: transparent; }

/* ---------- Panels and boxes ---------- */
.ess-panel { background-color: #FFFFFF !important; border: 2px solid #E4B123 !important; border-radius: 10px; padding: 6px 8px; }
.ess-panel-gray { background-color: #F3F4F6 !important; border: 2px solid #E4B123 !important; border-radius: 10px; padding: 6px 8px; }

/* Section bars (Leave Details and similar): Navy, rounded, Gold left edge */
.ess-bar { background-color: #0C173C !important; color: #FFFFFF !important; border-radius: 6px; border-left: 6px solid #E4B123; padding: 4px 10px !important; }

/* ---------- Buttons: Navy, white text, Gold edge ----------
   Legacy buttons were green images. Bootstrap buttons (btn-*) keep their look. */
.btn:not([class*="btn-"]), .btn_wide, .btn_xtra_wide, .btn_medium, .btn_small_wide, .btn_small_wide_125,
.printsave, .enrollOption {
    background-image: none !important;
    background-color: #0C173C !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 6px;
    box-shadow: inset 0 -2px 0 #E4B123;
    cursor: pointer;
}
.btn:not([class*="btn-"]):hover, .btn_wide:hover, .btn_xtra_wide:hover, .btn_medium:hover,
.btn_small_wide:hover, .btn_small_wide_125:hover, .printsave:hover, .enrollOption:hover { background-color: #22376B !important; }

/* ---------- Grid header classes from the sub-app stylesheets ---------- */
.grid_header, .grid_header_Tan, .grid_header_Tan2 { background-color: #E4B123 !important; color: #0C173C !important; }
.grid_header_Gold { background-color: #F3F4F6 !important; color: #0C173C !important; }

/* Navy GridView header, pager and footer rows (HeaderStyle/PagerStyle BackColor="#0C173C"):
   thin Gold frame (brand Gold, as on the bands and buttons) with thin white lines
   inside it (between header cells, and between a pager row and the header under it),
   in place of the legacy BorderColor="Black" BorderStyle="Solid" thick black frame.
   Matches only the style ASP.NET renders on the row (no space after the colon),
   so hand-written Navy cells such as .ess-bar are not affected.
   In the collapsed grid border a cell's border wins over its row's, and the upper
   cell wins over the lower one, so the colors are set per cell edge. */
tr[style*="background-color:#0C173C" i] { border: 1px solid #E4B123 !important; }
tr[style*="background-color:#0C173C" i] > th,
tr[style*="background-color:#0C173C" i] > td {
    border-style: solid !important; border-width: 1px !important;
    border-color: #E4B123 #FFFFFF !important;   /* top/bottom Gold, sides white */
}
tr[style*="background-color:#0C173C" i] > :first-child { border-left-color: #E4B123 !important; }
tr[style*="background-color:#0C173C" i] > :last-child { border-right-color: #E4B123 !important; }
/* Two Navy rows together (top pager over header, header over a footer): white line between them */
tr[style*="background-color:#0C173C" i]:has(+ tr[style*="background-color:#0C173C" i]) > * { border-bottom-color: #FFFFFF !important; }
tr[style*="background-color:#0C173C" i] + tr[style*="background-color:#0C173C" i] > * { border-top-color: #FFFFFF !important; }
/* Last data row over the bottom pager: its gray bottom edge would win, so make it the Gold frame line */
tr:not([style*="background-color:#0C173C" i]):has(+ tr[style*="background-color:#0C173C" i]) > td { border-bottom: 1px solid #E4B123 !important; }

/* ---------- Headings in the legacy stylesheets (olive/green) ---------- */
.pageheading_inside, .pageheading_inside2, .pageheading_inside3, .pageheading_inside_dark,
.pageheading_inside_dark_left, .pageheading_insideSm, .subtitle, .top_heading, .login_top_heading { color: #0C173C !important; }

/* ---------- Text boxes ---------- */
input[type=text], input[type=password] { border: 1px solid #9AA6BF; border-radius: 5px; color: #0C173C; }
input[type=text]:focus, input[type=password]:focus, select:focus, textarea:focus { outline: 2px solid #E4B123; outline-offset: 1px; }
/* Browser autofill paints its own color; keep the field white with Navy text */
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #FFFFFF inset; -webkit-text-fill-color: #0C173C; caret-color: #0C173C; }

/* ==================================================================
   Login page (MasterPage3.master + login.aspx)
   ================================================================== */
/* StyleSheet.css turns the page scroll bar off (body overflow:hidden, height:50%) for the
   sub-app masters that scroll inside #maincontent. The login frame has no #maincontent,
   so a page taller than the window could not be scrolled: give it the scroll bar back. */
body.ess-login-page { overflow: auto !important; height: auto !important; max-height: none !important; }
.ess-login .midtable { border: 2px solid #0C173C; border-radius: 10px; overflow: hidden; background-color: #FFFFFF; }
.ess-login.content, .ess-login .body_top_inside, .ess-login .dark_shadow_inside, .ess-login .content,
.ess-login .content_sides, .ess-login .footer { background: none !important; background-color: transparent !important; }
.ess-login .content_sides { height: auto; }
.ess-login .footer { height: 14px; }
.ess-login .txt_top {
    width: auto; padding: 0 24px 14px;
    background: linear-gradient(#E6E9EE, #F3F4F6 180px, #F3F4F6) !important;
    border-radius: 10px; box-shadow: inset 0 0 0 1px #D5DAE1;
}
.ess-login .box-title { display: block; padding: 12px 0 4px; font-size: 20pt; font-weight: bold; color: #0C173C; }
.ess-login .pageheading_inside { text-align: left; padding-bottom: 12px; font-size: 15px; }
.ess-login .loginbox_blank { background-color: #E4B123; border-radius: 10px 10px 0 0; }
.ess-login .loginbox_blank_bottom { background-color: #E4B123; border-radius: 10px; }
.ess-login .loginbox_bg { background-image: none; margin-top: 4px; }
.ess-login .ess-actinner { border-radius: 0 0 8px 8px; background-color: #FFFFFF; }
.ess-login .ess-notices { width: 100% !important; border: 1px solid #0C173C !important; border-radius: 10px; background-color: #EEF3FA; }
.ess-login .ess-notices td { background-color: #EEF3FA !important; border-radius: 6px; }
/* Announcement under the welcome title: same box as Important Notices,
   506px wide to line up with the activities box (.loginbox_blank_bottom) */
.ess-login .ess-announce { box-sizing: border-box; width: 506px; border: 1px solid #0C173C; border-radius: 10px; background-color: #EEF3FA; color: #0C173C; padding: 10px 14px; margin-bottom: 8px; }
.ess-login .ess-notice-title, .ess-login .style17, .ess-login .style13 { color: #0C173C !important; font-weight: bold; }
.ess-login .ess-lbl { white-space: nowrap; width: 1% !important; padding-left: 24px; }
.ess-login .ess-fld { white-space: nowrap; width: 1% !important; }
/* Password shares its row with the tall announcement box; pin it to the top so it sits
   right under Username instead of centered halfway down the box */
.ess-login .ess-pw { vertical-align: top; padding-top: 6px; }
/* Login button and "Invalid User Id or Password" under the Password box, lined up with it.
   The error wraps inside the field width instead of widening the column. */
.ess-login .ess-login-act { margin-top: 10px; white-space: normal; }
.ess-login .btn_medium { width: 53px; height: 21px; font-size: 11px; }
.ess-login input[type=text], .ess-login input[type=password] { padding: 3px 6px; background-color: #FFFFFF; }

/* Gold band that replaced the dark-blue bar on the Admin login (Admin/MasterPage3.master) */
.ess-band table, .ess-band .marquee_orange { background: none !important; }
.ess-band .greetings { font-size: 13px; }

/* ---------- Benefits enrollment tabs (OE_Benefits/Benefits_menu.ascx) ----------
   Were green tab images; now Navy tabs, lighter Navy on hover. */
#cdnavheader a {
    background-image: none !important; background-color: #0C173C !important;
    color: #FFFFFF !important; border-radius: 6px 6px 0 0; margin-right: 3px; padding-left: 10px !important;
}
#cdnavheader a span { background-image: none !important; color: #FFFFFF !important; padding-right: 10px !important; }
#cdnavheader a:hover { background-color: #22376B !important; }
#cdnavheader #current a { background-color: #E4B123 !important; }
#cdnavheader #current a span { color: #0C173C !important; }
.submenu_bg { background-image: none !important; background-color: #0C173C; }
/* Tabs sit on a Gold baseline that runs the width of the page. The "Confirm" link carries a
   hardcoded CssClass="active" that never meant "current tab", so it is not styled. */
#cdnavcont { border-bottom: 4px solid #E4B123; overflow: hidden; padding-top: 6px !important; }
#cdnavheader { float: none !important; height: auto !important; overflow: hidden; padding-left: 0 !important; }
#cdnavheader a { margin-bottom: 0 !important; }
.ess-tabs td { padding: 0 !important; }

/* ==================================================================
   Text size (11/11/2026): every size on screen is 7/6 of what the page asks for,
   so the usual 12px / 9pt text shows at 14px and headings grow by the same ratio.
   Screen only: printed letters, contracts and applications keep their sizes.
   - Inline sizes (style="font-size:9pt", Font-Size="Small", Font.Size in code-behind)
     are matched below by their exact text and replaced; !important is what beats an
     inline style. Bigger sizes come later, so they win if an element has two.
   - Sizes set in a stylesheet or a page <style> block are scaled by a matching
     "@media screen" block at the end of that stylesheet or <style> block.
   - em, % and smaller/larger are relative and grow with their parent on their own.
   - The banner (Pinellas County Schools / EMPLOYEE SELF SERVICE) is not scaled.
   A new inline size needs a line here. See README.md "Text size".
   ================================================================== */
@media screen {
    [style*="font-size:5pt" i], [style*="font-size: 5pt" i] { font-size: 8px !important; }
    [style*="font-size:7pt" i], [style*="font-size: 7pt" i], [style*="font-size:xx-small" i], [style*="font-size: xx-small" i] { font-size: 11px !important; }
    [style*="font-size:10px" i], [style*="font-size: 10px" i], [style*="font-size:8pt" i], [style*="font-size: 8pt" i], [style*="font-size:x-small" i], [style*="font-size: x-small" i] { font-size: 12px !important; }
    [style*="font-size:11px" i], [style*="font-size: 11px" i], [style*="font-size:8.5pt" i], [style*="font-size: 8.5pt" i] { font-size: 13px !important; }
    [style*="font-size:09pt" i], [style*="font-size: 09pt" i], [style*="font-size:12px" i], [style*="font-size: 12px" i], [style*="font-size:9pt" i], [style*="font-size: 9pt" i] { font-size: 14px !important; }
    [style*="font-size:13px" i], [style*="font-size: 13px" i], [style*="font-size:9.5pt" i], [style*="font-size: 9.5pt" i], [style*="font-size:small" i], [style*="font-size: small" i] { font-size: 15px !important; }
    [style*="font-size:10pt" i], [style*="font-size: 10pt" i], [style*="font-size:14px" i], [style*="font-size: 14px" i] { font-size: 16px !important; }
    [style*="font-size:11.0pt" i], [style*="font-size: 11.0pt" i], [style*="font-size:11pt" i], [style*="font-size: 11pt" i] { font-size: 17px !important; }
    [style*="font-size:15px" i], [style*="font-size: 15px" i] { font-size: 18px !important; }
    [style*="font-size:12.0pt" i], [style*="font-size: 12.0pt" i], [style*="font-size:12pt" i], [style*="font-size: 12pt" i], [style*="font-size:16px" i], [style*="font-size: 16px" i], [style*="font-size:medium" i], [style*="font-size: medium" i] { font-size: 19px !important; }
    [style*="font-size:13pt" i], [style*="font-size: 13pt" i] { font-size: 20px !important; }
    [style*="font-size:18px" i], [style*="font-size: 18px" i], [style*="font-size:large" i], [style*="font-size: large" i] { font-size: 21px !important; }
    [style*="font-size:14pt" i], [style*="font-size: 14pt" i] { font-size: 22px !important; }
    [style*="font-size:15pt" i], [style*="font-size: 15pt" i], [style*="font-size:20px" i], [style*="font-size: 20px" i] { font-size: 23px !important; }
    [style*="font-size:16pt" i], [style*="font-size: 16pt" i] { font-size: 25px !important; }
    [style*="font-size:24px" i], [style*="font-size: 24px" i], [style*="font-size:x-large" i], [style*="font-size: x-large" i] { font-size: 28px !important; }
    [style*="font-size:20pt" i], [style*="font-size: 20pt" i] { font-size: 31px !important; }
    [style*="font-size:28px" i], [style*="font-size: 28px" i] { font-size: 33px !important; }
    [style*="font-size:xx-large" i], [style*="font-size: xx-large" i] { font-size: 37px !important; }
    [style*="font-size:34px" i], [style*="font-size: 34px" i] { font-size: 40px !important; }
    /* "small"/"large" are prefixes of "smaller"/"larger": put the relative sizes back. */
    [style*="font-size:smaller" i], [style*="font-size: smaller" i] { font-size: smaller !important; }
    [style*="font-size:larger" i], [style*="font-size: larger" i] { font-size: larger !important; }

    /* Left menu (MasterPage.master). Its links get 14px from the class the asp:Menu writes
       into the page head, so they are scaled here (16px). At the bigger size the menu no
       longer fits its 200px panel: it fills the panel with 4px side padding instead of two
       10px paddings, the long links ("Personal/Emergency Contact Info", "Contracted Services
       Employee") wrap to two lines, and category headings lose their letter spacing so
       "EMPLOYMENT & CONTRACTS" stays on one line. */
    .ess-menu a { font-size: 16px; }
    .ess-menu td, .ess-menu a { white-space: normal !important; }
    table.ess-menu { width: 100% !important; box-sizing: border-box; padding-left: 4px !important; padding-right: 4px !important; }
    .ess-menu table { padding-left: 0 !important; padding-right: 0 !important; }

    /* Buttons, text boxes and lists with no size of their own use the browser's 13.33px;
       :where() keeps this below any size a page or stylesheet gives them. */
    :where(input, select, textarea, button) { font-size: 15px; }

    /* Sizes this stylesheet sets itself */
    .ess-cat { font-size: 15px; letter-spacing: 0; padding-left: 0; padding-right: 0; }
    .ess-login .box-title { font-size: 31px; }
    .ess-login .pageheading_inside { font-size: 18px; }
    .ess-login .btn_medium { width: 62px; height: 25px; font-size: 13px; }
    .ess-band .greetings { font-size: 15px; }
}