@charset "UTF-8";
/* pointer-events / fill / text-rendering / mask-* declarations of this file live in the sibling .css3-ext.css (tools/css3-split, GIGW_COMPLIANCE.md section 7). New ones added here are moved there by re-running the script. */
/* Consolidated from inline <style> in _AccesibilityBarPartial.cshtml -> W3C-valid + CSP-clean. Order/cascade preserved. */

    .screen-reader-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* background-color: #a61b3c; same dark red shade */ color: #fff; /* white icon */
        width: 30px; /* same as uploaded image */
        height: 30px;
        border-radius: 50%;
        text-decoration: none;
        font-size: 20px; /* icon size */
        transition: all 0.3s ease;
    }

        .screen-reader-btn:hover {
            background-color: #8e1734; /* slightly darker on hover */
            color: #fff;
            transform: scale(1.05);
        }

    .btn-gradient {
        background-color: var(--primary-color) !important; /* solid theme color */
        color: #fff !important;
    }

        .btn-gradient:hover {
            background-color: var(--primary-color) !important; /* solid theme color */
            color: #fff !important;
        }

    /* Header consistency: the theme-palette button used a gradient (--button-primary
       -> --primary-color) and Sign In used --primary-color, so in some themes they
       differed from the screen-reader / cart icons (solid --nav-bg). Make the theme
       button (and its hover) solid --nav-bg too, so all top-bar controls share the
       exact same theme colour. */
    .theme-menu-btn,
    .theme-menu-btn:hover {
        background: var(--nav-bg) !important;
        color: #ffffff !important;
    }

    /* Wrapper */
    .dropdown-hover {
        position: relative;
        display: inline-block;
    }

    /* Dropdown box */
    .dropdown-hover-content {
        display: none;
        position: absolute;
        top: 110%;
        right: 0;
        background: #ffffff;
        min-width: 210px;
        border-radius: 4px;
        border: 1px solid #d8d8d8;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        padding: 6px 0;
        z-index: 999;
    }

    /* Show on hover / focus */
    .dropdown-hover:hover .dropdown-hover-content,
    .dropdown-hover:focus-within .dropdown-hover-content {
        display: block;
    }

    /* Header inside dropdown */
    .dropdown-header {
        background: #005A8C; /* NIC blue */
        color: #fff;
        padding: 10px;
        text-align: center;
        font-weight: 600;
        border-radius: 4px 4px 0 0;
    }

    /* Menu Item */
    .dropdown-item,
    .dropdown-card {
        display: block;
        width: 100%;
        padding: 8px 14px;
        font-size: 14px;
        color: #1b1b1b !important;
        text-decoration: none;
        /* border-bottom: 1px solid #f0f0f0; */
    }

        /* Remove last line */
        .dropdown-item:last-child {
            border-bottom: none;
        }

        /* Hover effect - professional */
        .dropdown-item:hover,
        .dropdown-card:hover {
            background: #e7f1ff;
            color: #003d66 !important;
        }

    /* Button styling */
    .dropdown-hover button {
        background: #005A8C; /* Primary Govt Blue */
        border: none;
        padding: 4px 12px;
        font-size: 14px;
        border-radius: 4px;
        color: #fff;
        height: 26px;
    }

        .dropdown-hover button:hover {
            background: #00446a;
        }



    .dropdown-hover-content {
        display: none;
        position: absolute;
        top: 110%;
        right: 0;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 8px;
        min-width: 180px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        animation: fadeIn 0.25s ease-in-out;
        border: 1px solid rgba(255,255,255,0.3);
        z-index: 999;
    }

    .dropdown-hover:hover .dropdown-hover-content,
    .dropdown-hover:focus-within .dropdown-hover-content {
        display: block;
    }

    .dropdown-item, .dropdown-card {
        border-radius: 8px;
        /* color: #fff !important; */
        transition: 0.25s;
        font-size: 14px;
    }

        .dropdown-item:hover,
        .dropdown-card:hover {
            background: rgba(255,255,255,0.25);
            transform: translateX(4px);
        }

    .bg-new-color {
        background: #0d6efd;
        color: #fff;
        padding: 6px 0;
        border-radius: 10px 10px 0 0;
    }

    .dropdown-hover button {
        background: var(--button-primary, #007bff);
        border: none;
        transition: 0.3s;
    }

        .dropdown-hover button:hover {
            opacity: 0.9;
            transform: scale(1.05);
        }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

                        /* Render UserWay widget inline (after Sign In), not fixed over theme */
                        body .uwy.userway_p1 .userway_buttons_wrapper {
                            position: static !important;
                            display: inline-flex !important;
                            top: auto !important;
                            left: auto !important;
                            transform: none !important;
                        }
                        body .uwy.userway_p1 {
                            position: static !important;
                            display: inline-block !important;
                        }

                        /* Signed-in user initial avatar — replaces the "Login" text button
                           with just the FIRST LETTER of the user's Name. */
                        /* Scoped under .dropdown-hover (02-Dec-2026): the generic ".dropdown-hover button"
                           rules above (0,1,1) out-ranked a bare ".user-initial-btn" (0,1,0), so the
                           avatar took --button-primary (rust #933406 in "government"), a 4px corner and
                           12px side padding - the red square the department saw. */
                        .dropdown-hover .user-initial-btn {
                            width: 28px;
                            height: 28px;
                            padding: 0;
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            font-weight: 700;
                            font-size: 13px;
                            line-height: 1;
                            color: #ffffff;
                            /* Same fill as the sound / cart / theme icons beside it (02-Dec-2026):
                               --primary-color is a different shade in most themes (rust #933406
                               next to the #6b3d14 icons in "government"), so the avatar stood out. */
                            background-color: var(--nav-bg, #095a6f);
                            border: 1px solid rgba(255, 255, 255, 0.6);
                            border-radius: 50%;
                            margin-right: -10px;
                            text-transform: uppercase;
                            cursor: pointer;
                        }

                        .dropdown-hover .user-initial-btn:hover,
                        .dropdown-hover .user-initial-btn:focus-visible {
                            color: #ffffff;
                            background-color: var(--nav-bg, #095a6f);
                            filter: brightness(1.1);
                            outline: none;
                        }

                        #userwayAccessibilityIcon,
                        #userwayLstIcon {
                            color: #ffffff !important;
                        }

/* GIGW 5.1.16: the phone copy of the top bar carries the HTML `hidden` attribute so it
   does not repeat the desktop bar when style sheets are off (_AccesibilityBarPartial).
   Below 768px it is the visible bar, so it is shown again here; from 768px up
   Bootstrap's .d-md-none keeps it hidden. The dropdowns marked `hidden` need nothing:
   every rule that opens them (.show, :hover, :focus-within) already sets display. */
@media (max-width: 767.98px) {
    .a11y-mobile-row[hidden] {
        display: block !important;
    }
}
/* The theme and sign-in dropdowns also carry `hidden` (same reason). Some of the rules
   that open them only change opacity/visibility and never set display, so `hidden`
   would keep them shut; these put display back for every open state. */
.theme-dropdown.show[hidden],
.dropdown-hover:hover > .dropdown-hover-content[hidden],
.dropdown-hover:focus-within > .dropdown-hover-content[hidden] {
    display: block !important;
}
/* GIGW 5.2.29 - our UserWay trigger (#userwayTrigger / #userwayTriggerMobile) must look
   exactly like UserWay's own launcher it replaces (meeting 23-Oct-2026: the colour was not
   to change). rgb(0, 72, 255) is UserWay's launcher colour, used deliberately - it is the
   third-party widget's identity, not a theme or contrast colour. White on it is 6.2:1.
   03-11-2026: darkened to rgb(0, 66, 235) / #0042EB - the same hue scaled to 7.05:1 so the
   icon also meets AAA. Department confirmation pending (GIGW_COMPLIANCE.md §7, O-12). */
.uw-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;                     /* UserWay's launcher measures 27 x 31 on live */
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 50% !important;   /* a site-wide button rule squares it otherwise */
    background-color: rgb(0, 66, 235);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.uw-trigger:hover {
    background-color: rgb(0, 60, 214);
}
/* Same place as UserWay's own launcher on live: measured 29px after Sign In (ours sat 14px
   after it, i.e. 15px further left). The container keeps the inline 30px box from the
   partial; only its left margin and width are adjusted. */
#userway-accessibility-container {
    margin-left: 15px;
    margin-right: -12px;            /* sit on the bar's right padding, like the floating launcher */
    position: relative;
    top: 2px;                       /* live launcher top is 13px; ours was 11px */
    width: 27px !important;
    height: 31px !important;
}
/* Department, 26-Oct-2026: the icon must look exactly as it did. So the button shows
   UserWay's own launcher image (body_wh.svg, the same file their launcher loads) drawn the
   way live draws it - measured: 27x44 image centred on the 27x31 blue oval, overflowing it
   slightly above and below. alt="" because the button's aria-label names it. */
.uw-trigger {
    overflow: visible;
}

/* !important on display/width/height: styles.css has a blanket `header img` rule that is
   itself !important - display:none below 768px ("Hide both logos") and height:70px from 768
   to 991px - and this button is inside <header>, so on phones the icon vanished and left an
   empty blue oval. UserWay's own launcher never hit that rule because it lived outside the
   header. (0,2,0) beats `header img` (0,0,2) once both are !important. */
.uw-trigger .uw-trigger-img {
    display: block !important;
    width: 27px !important;
    height: 44px !important;
    max-width: none;
    flex-shrink: 0;
}

/* With data-trigger set, UserWay hides its own icon but still adds its launcher box: an
   empty, invisible, position:fixed 30x30 .userway_buttons_wrapper. The older rules that
   placed UserWay's floating launcher (styles.css "body .uwy.userway_p1 ...", mobile-reflow.css
   section 10) still park that box at the top right - exactly over #userwayTrigger and
   #userwayTriggerMobile - so it caught every mouse click and tap and the menu never opened.
   Keyboard was unaffected, since Enter goes to the focused button, not to what is on top.

   Measured on localhost: elementFromPoint at the button's centre returned the wrapper at
   1280px and 375px. Letting clicks pass through the empty box fixes both; it is not hidden,
   because UserWay keeps its dictionary tooltip inside it, so that child takes clicks again. */
html body .uwy[class*="userway_p"] .userway_buttons_wrapper {
}

html body .uwy[class*="userway_p"] .userway_buttons_wrapper .uwaw-dictionary-tooltip {
}
/* Site-wide (this file loads on every layout via _AccesibilityBarPartial): the
   "(PDF · Marathi · 1.2 MB)" line that DocumentMeta adds next to every downloadable
   document - GIGW 5.1.6 / 5.1.7. AAA: #40464d (was #495057, 6.70:1 on the blue
   theme's #dbeafe panel) is 7.8:1+ on every theme's tinted card colour. */
.doc-meta {
    color: #40464d;
    font-size: 0.9em;
    font-weight: 400;
    white-space: nowrap;   /* keep "(PDF · Marathi · 1.06 MB)" on one line */
}
/* Tender list: the eye icon's size, moved out of an inline style (CSP). */
.tender-view-icon { font-size: 1.5rem; }
