/* ===================================================================
 * ACCESSIBILITY STYLESHEET - v5.4 FOR PCCOE PUNE (AGGRESSIVE FIXES)
 * ===================================================================
 * Includes hardcoded z-index for dropdowns and complete footer styling.
 * ===================================================================
 */

/* ===================================================================
 * SITE-SPECIFIC CONTRAST MODES - ADAPTED FOR PCCOEPUNE.COM
 * ===================================================================
 */

/* === LIGHT CONTRAST MODE === */
body.contrast-light {
    background-color: #fff !important;
    color: #000 !important;
    background: #fff !important;
}

/* Site-specific containers - PCCOE SELECTORS (including Footer) */
body.contrast-light .wmh-top-strip,
body.contrast-light .container_new,
body.contrast-light .row_new,
body.contrast-light div[style*="#f7f7f7"],
body.contrast-light #cssmenu,
body.contrast-light .innews,
body.contrast-light .explore,
body.contrast-light .achievements,
body.contrast-light .padd48,
body.contrast-light .bg_testimonial,
body.contrast-light .testimonials,
body.contrast-light .testm-box,
body.contrast-light .testm-details,
body.contrast-light .footer-strip,
body.contrast-light footer,
body.contrast-light .footer_btm,
body.contrast-light .wmh-footer {
    background-color: #fff !important;
    background: #fff !important; /* Double-ensure background is white */
}

/* Site-specific text elements - PCCOE SELECTORS (including Footer) */
body.contrast-light h1, body.contrast-light h2, body.contrast-light h3, body.contrast-light h4, body.contrast-light h5,
body.contrast-light p, body.contrast-light span, body.contrast-light strong, body.contrast-light em,
body.contrast-light li, body.contrast-light dt, body.contrast-light dd, body.contrast-light label, body.contrast-light address,
body.contrast-light .wmh_header1, body.contrast-light .wmh_header2, body.contrast-light .wmh_para,
body.contrast-light .heading2, body.contrast-light .para1, body.contrast-light .heading_h3h, body.contrast-light .gallerycon p,
body.contrast-light .spotlight-title, body.contrast-light .testm-para, body.contrast-light .useful-links p,
body.contrast-light footer p, body.contrast-light footer li, body.contrast-light footer h3.heading_h3h, body.contrast-light .footer_btm span {
    color: #000 !important;
    background: white !important;
}

body.contrast-light footer,
body.contrast-light .top-menu-bg {
    border-bottom:2px solid #000 !important;
    border-top:2px solid #000 !important;
    background: #fff !important;
}
body.contrast-light .innews,
body.contrast-light .wmh-top-strip {
    border-bottom: 2px solid #000 !important;
}

/* === DARK CONTRAST MODE === */
body.contrast-dark {
    background-color: #000 !important;
    color: #fff !important;
}

/* Site-specific containers - PCCOE SELECTORS (including Footer) */
body.contrast-dark .wmh-top-strip,
body.contrast-dark .container_new,
body.contrast-dark .row_new,
body.contrast-dark div[style*="#f7f7f7"],
body.contrast-dark #cssmenu,    
body.contrast-dark .innews,
body.contrast-dark .explore,
body.contrast-dark .achievements,
body.contrast-dark .padd48,
body.contrast-dark .bg_testimonial,
body.contrast-dark .testimonials,
body.contrast-dark .testm-box,
body.contrast-dark .testm-details,
body.contrast-dark .footer-strip,
body.contrast-dark footer,
body.contrast-dark .footer_btm,
body.contrast-dark .wmh-footer {
    background-color: #000 !important;
    background: #000 !important; /* Double-ensure background is black */
    color: #fff !important;
    border-color: #fff !important;
}
body.contrast-dark .testimonials img {
    filter: none !important; 
}
body.contrast-dark #cssmenu ul li:hover:after > a {
    background: #444 !important;
}
body.contrast-dark #cssmenu ul li:hover:after > a span {
    color: #fff !important;
}
/* Site-specific text elements - PCCOE SELECTORS (including Footer) */
body.contrast-dark h1, body.contrast-dark h2, body.contrast-dark h3, body.contrast-dark h4, body.contrast-dark h5,
body.contrast-dark p, body.contrast-dark span, body.contrast-dark strong, body.contrast-dark em,
body.contrast-dark li, body.contrast-dark dt, body.contrast-dark dd, body.contrast-dark label, body.contrast-dark address,
body.contrast-dark .wmh_header1, body.contrast-dark .wmh_header2, body.contrast-dark .wmh_para,
body.contrast-dark .heading2, body.contrast-dark .para1, body.contrast-dark .heading_h3h, body.contrast-dark .gallerycon p,
body.contrast-dark .spotlight-title, body.contrast-dark .testm-para, body.contrast-dark .useful-links p,
body.contrast-dark footer p, body.contrast-dark footer li, body.contrast-dark footer h3.heading_h3h, body.contrast-dark .footer_btm span {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
}

body.contrast-dark footer,
body.contrast-dark .top-menu-bg {
    border-bottom: 2px solid #fff !important;
    border-top: 2px solid #fff !important;
    background: #000 !important;
}
body.contrast-dark .innews,
body.contrast-dark .wmh-top-strip {
    border-bottom: 2px solid #fff !important;
}

/* Universal dark mode link color */
body.contrast-dark a:not(.accessibility-widget a):not(.accessibility-widget * a):not(.nav_tabs *):not(.nav-pills *) {
    color: #fff !important;
    text-decoration: underline !important;
}
body.contrast-dark .wmh-logo img,
body.contrast-dark img.wmh-img-rsp,
body.contrast-dark .rslides img,
body.contrast-dark .gallery img {
    filter: none !important;
}

/* Invert ONLY simple, single-color icons */
body.contrast-dark .eticon,
body.contrast-dark .pccoe-sm-bar img {
    filter: brightness(0) invert(1) !important;
}

/* ===================================================================
 * FINAL DROPDOWN FIX v8 - STYLING (REVISED FOR FILTER MODES)
 * =================================================================== */

/* --- STEP A: DESIGNED DARK THEME FOR DARK CONTRAST MODE --- */
/* This style applies ONLY to the manual Dark Contrast mode. */
body.contrast-dark #cssmenu ul ul {
    background-color: #1a1a1a !important;
    border: 2px solid #444 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
    filter: none !important;
}
body.contrast-dark #cssmenu ul li ul li,
body.contrast-dark #cssmenu ul li ul li a,
body.contrast-dark #cssmenu ul li ul li a span {
    background: transparent !important;
    color: #ffffff !important;
}
body.contrast-dark #cssmenu ul ul li:hover > a,
body.contrast-dark #cssmenu ul ul li:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* --- STEP B: FILTER MODES (Invert, Saturate, Monochrome) --- */

/* Invert Colors Mode - Maintain original styling with proper contrast */
body.invert-colors #cssmenu ul ul {
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    filter: none !important;
}
body.invert-colors .wmh_para i {
    color:#000 !important;
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    filter: none !important;
}
body.invert-colors #cssmenu ul li ul li,
body.invert-colors #cssmenu ul li ul li a,
body.invert-colors #cssmenu ul li ul li a span {
    background: transparent !important;
    color: #000000 !important;
}
body.invert-colors #cssmenu ul ul li:hover > a,
body.invert-colors #cssmenu ul ul li:hover {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
}

/* Saturate Mode - Maintain original styling with proper contrast */
body.saturate-colors #cssmenu ul ul {
    background-color: #f7f7f7 !important;
    border: 1px solid #ddd !important;
    filter: none !important;
}
body.saturate-colors #cssmenu ul li ul li,
body.saturate-colors #cssmenu ul li ul li a,
body.saturate-colors #cssmenu ul li ul li a span {
    background: transparent !important;
    color: #000000 !important;
}
body.saturate-colors #cssmenu ul ul li:hover > a,
body.saturate-colors #cssmenu ul ul li:hover {
    background-color: #e0e0e0 !important;
    color: #000000 !important;
}

/* Monochrome Mode - Maintain original styling with proper contrast */
body.monochrome #cssmenu ul ul {
    background-color: #ffffff !important;
    border: 1px solid #cccccc !important;
    filter: none !important;
}
body.monochrome #cssmenu ul li ul li,
body.monochrome #cssmenu ul li ul li a,
body.monochrome #cssmenu ul li ul li a span {
    background: transparent !important;
    color: #000000 !important;
}
body.monochrome #cssmenu ul ul li:hover > a,
body.monochrome #cssmenu ul ul li:hover {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
}

/* --- STEP C: UNIVERSAL FIX FOR ALL MODES --- */
/* Neutralize the original site's white hover background that hides the dropdown */
body.contrast-dark #cssmenu > ul > li.has-sub:after,
body.invert-colors #cssmenu > ul > li.has-sub:after,
body.saturate-colors #cssmenu > ul > li.has-sub:after,
body.monochrome #cssmenu > ul > li.has-sub:after {
    background: transparent !important;
}

/* --- STEP 5: Maintain main nav bar background colors --- */
body.contrast-light #cssmenu { background: #fff !important; }
body.contrast-dark #cssmenu { background: #000 !important; }
body.invert-colors #cssmenu,
body.saturate-colors #cssmenu,
body.monochrome #cssmenu {
    background: #000 !important;
}
/* ===================================================================
 * UNIVERSAL ACCESSIBILITY FEATURES - (REMAINDER OF STYLESHEET)
 * ===================================================================
 */

/* === GENERIC LIGHT CONTRAST RULES === */
body.contrast-light a:not(.accessibility-widget a):not(.accessibility-widget * a):not(.nav_tabs *):not(.nav-pills *) { color: #000 !important; text-decoration: underline !important; background: transparent !important; }
body.contrast-light .btn, body.contrast-light .btn-primary, body.contrast-light .button { background-color: #eee !important; color: #000 !important; border: 1.5px solid #000 !important; }
body.contrast-light a:focus:not(.accessibility-widget a), body.contrast-light button:focus:not(.accessibility-widget button), body.contrast-light input:focus, body.contrast-light select:focus, body.contrast-light textarea:focus { outline: 3px solid #000 !important; outline-offset: 2px !important; }
body.contrast-light img { filter: none !important; }

/* === GENERIC DARK CONTRAST RULES === */
body.contrast-dark .btn, body.contrast-dark .btn-primary, body.contrast-dark .button { background-color: #222 !important; color: #fff !important; border: 1.5px solid #fff !important; }
body.contrast-dark a:focus:not(.accessibility-widget a), body.contrast-dark button:focus:not(.accessibility-widget button), body.contrast-dark input:focus, body.contrast-dark select:focus, body.contrast-dark textarea:focus { outline: 3px solid #fff !important; outline-offset: 2px !important; }
body.contrast-dark .eticon, body.contrast-dark .wmh-img-rsp, body.contrast-dark .pccoe-sm-bar img, body.contrast-dark .myclientslider div img { filter: brightness(0) invert(1) !important; }

/* === MODALS === */
body.contrast-light .modal-content { background: #fff !important; color: #000 !important; border: 1.5px solid #000 !important; }
body.contrast-dark .modal-content { background: #111 !important; color: #fff !important; border: 1.5px solid #fff !important; }

/* === ACCESSIBILITY WIDGET (Universal) === */
.accessibility-widget { position: fixed; bottom: 20px; left: 20px; z-index: 2147483649; font-size: 15px !important; }
.accessibility-widget, .accessibility-widget *, .accessibility-widget .accessibility-menu, .accessibility-widget .accessibility-toggle, .accessibility-widget .ac-btn, #accessibilityMenu, #accessibilityDropdown, #keyboard-info-toast-overlay, #keyboard-info-toast, #keyboard-info-toast * { font-size: 15px !important; line-height: normal !important; letter-spacing: normal !important; z-index: 2147483651 !important; transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease !important; }
*:not(.accessibility-widget):not(.accessibility-widget *) { transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease !important; }
.accessibility-widget .accessibility-menu { position: absolute; bottom: calc(100% + 15px); left: 0; min-width: 280px; padding: 15px 20px; font-size: 15px; z-index: 999999 !important; background: #40c4ec !important; color: #fff !important; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); max-height: 85vh; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s; }
.accessibility-widget .accessibility-menu.show { opacity: 1; transform: translateY(0); visibility: visible; }
.accessibility-widget .accessibility-menu::-webkit-scrollbar { width: 8px; } .accessibility-widget .accessibility-menu::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); } .accessibility-widget .accessibility-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.6); border-radius: 4px; }
.accessibility-widget .accessibility-toggle { padding: 10px !important; border: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: #007bff !important; border-radius: 50% !important; width: 50px !important; height: 50px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease !important; cursor: pointer !important; position: relative !important; }
.accessibility-widget .accessibility-toggle:hover { background: #0056b3 !important; }
.accessibility-widget .accessibility-toggle img { width: 24px !important; height: 24px !important; filter: brightness(0) invert(1) !important; object-fit: contain !important; }
.accessibility-widget .ac-btn { display: flex; align-items: center; width: 100%; background: transparent; border: none; color: #fff; font-size: 15px; padding: 6px 5px; margin: 1px 0; text-align: left; transition: background 0.2s ease; border-radius: 4px; position: relative; cursor: pointer; }
.accessibility-widget .ac-btn img, .accessibility-widget .section-group strong img { margin-right: 12px; min-width: 18px; --bs-carousel-control-icon-filter: none !important; filter: invert(1) !important; }
.accessibility-widget .ac-btn:hover, .accessibility-widget .ac-btn:focus { background: #0ea7c7; outline: none; }
.accessibility-widget .ac-btn.active { background: #0ea7c7; font-weight: bold; }
.accessibility-widget .section-group { margin-bottom: 6px; } .accessibility-widget .section-group:last-child { margin-bottom: 0; }
.accessibility-widget .menu-divider { border-top: 1px solid rgba(255,255,255,0.3); margin: 8px 0; }
.accessibility-widget .section-group strong { display: flex !important; align-items: center !important; font-size: 14px !important; margin: 6px 0 4px 0 !important; padding: 4px 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important; }
.accessibility-widget .category-controls { display: flex !important; flex-direction: column !important; gap: 0px; }
.accessibility-widget .level-indicator, .accessibility-widget .status-indicator { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); background: #ffb300; color: #222; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; font-weight: bold; display: none; align-items: center; justify-content: center; }
.accessibility-widget .status-indicator { background: #28a745; color: #fff; width: 16px; height: 16px; }
.accessibility-widget .ac-btn.active .level-indicator, .accessibility-widget .ac-btn.active .status-indicator { display: flex; }
.accessibility-widget .status-indicator::after { content: '✓'; }

/* === COLOR FILTER MODES (Universal) === */
body.invert-colors > *:not(.accessibility-widget):not(#keyboard-info-toast-overlay):not([data-no-filter]):not(.para1):not(.colorgrey) {
    filter: invert(1) hue-rotate(180deg) !important;
}
body.invert-colors .para1 {
    filter: invert(1) hue-rotate(180deg) !important;
}
body.saturate-colors > *:not(.accessibility-widget):not(#keyboard-info-toast-overlay):not([data-no-filter]) {
    filter: saturate(2.5) !important;
}
body.monochrome > *:not(.accessibility-widget):not(#keyboard-info-toast-overlay):not([data-no-filter]) {
    filter: grayscale(100%) !important;
}
/* Exclude the menu and widget from any potential nested filters as a fallback */
#cssmenu, #cssmenu *,
.accessibility-widget, .accessibility-widget * {
    filter: none !important;
}
/* === OTHER ACCESSIBILITY EFFECTS (Universal) === */
body.highlight-links a:not(.accessibility-widget a) { background: yellow !important; color: #222 !important; text-decoration: underline !important; }
body.text-spacing { letter-spacing: 0.15em !important; }
body.line-height { line-height: 2.2 !important; }
body.hide-images img:not(.accessibility-widget img):not(.accessibility-widget * img) { visibility: hidden !important; }

/* === KEYBOARD INFO TOAST (Universal) === */
/* === KEYBOARD INFO TOAST (Universal) === */
#keyboard-info-toast-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9999998; display: none; align-items: center; justify-content: center; }
#keyboard-info-toast { background: #fff; color: #333; padding: 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); max-width: 600px; width: 90%; position: relative; }
#keyboard-info-toast h3 { margin-top: 0; color: #007bff; text-align: center; font-size: 20px; margin-bottom: 15px; }
#keyboard-info-toast h4 { margin: 15px 0 10px 0; color: #333; font-size: 16px; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
#keyboard-info-toast ul { list-style: none; padding: 0; margin: 0 0 10px 0; }
#keyboard-info-toast li { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid #f0f0f0; }
#keyboard-info-toast li:last-child { border-bottom: none; }
#keyboard-info-toast code { background: #007bff; color: white; padding: 4px 8px; border-radius: 4px; font-family: monospace; min-width: 60px; text-align: center; }
#keyboard-info-toast-close { position: absolute; top: 10px; right: 15px; background: #dc3545; color: white; border: none; width: 24px; height: 24px; border-radius: 50%; font-size: 14px; cursor: pointer; }
#keyboard-info-toast-close:hover { background: #c82333; }

/* === MOBILE RESPONSIVE (Universal) === */
@media (max-width: 991.98px) {
    .accessibility-widget { bottom: 15px; left: 15px; }
    .accessibility-widget .accessibility-menu { width: calc(100vw - 30px); max-width: 320px; }
}

/* ===================================================================
 * TESTIMONIALS SECTION CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .testimonials,
body.contrast-light .testm-box,
body.contrast-light .testm-details {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

body.contrast-light .testm-box h5,
body.contrast-light .testm-box p,
body.contrast-light .testm-para {
    color: #000 !important;
}

body.contrast-light .testm-box .fa-star {
    color: #000 !important;
}

/* Dark contrast mode */
body.contrast-dark .testimonials,
body.contrast-dark .testm-box,
body.contrast-dark .testm-details {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.contrast-dark .testm-box h5,
body.contrast-dark .testm-box p,
body.contrast-dark .testm-para {
    color: #fff !important;
}

body.contrast-dark .testm-box .fa-star {
    color: #fff !important;
}

/* Image handling in dark mode */
body.contrast-dark .testm-box img {
    filter: brightness(0) invert(1) !important;
}

/* ===================================================================
 * USEFUL LINKS SECTION CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .useful-links,
body.contrast-light .useful-links p {
    background-color: #fff !important;
    color: #000 !important;
}

body.contrast-light .useful-links strong {
    color: #000 !important;
}

body.contrast-light .useful-links a {
    color: #000 !important;
    text-decoration: underline !important;
}

/* Dark contrast mode */
body.contrast-dark .useful-links,
body.contrast-dark .useful-links p {
    background-color: #000 !important;
    color: #fff !important;
}

body.contrast-dark .useful-links strong {
    color: #fff !important;
}

body.contrast-dark .useful-links a {
    color: #fff !important;
    text-decoration: underline !important;
}

/* ===================================================================
 * DROPDOWN STRIP FIX FOR DARK CONTRAST MODE
 * =================================================================== */
/* Fix for the dropdown strip that remains white in dark mode */
body.contrast-dark div[style*="background:#f7f7f7"] {
    background-color: #000 !important;
    background: #000 !important;
}

/* Ensure all child elements inherit the dark background */
body.contrast-dark div[style*="background:#f7f7f7"] .container_new,
body.contrast-dark div[style*="background:#f7f7f7"] .row_new,
body.contrast-dark div[style*="background:#f7f7f7"] .paddmenu {
    background-color: #000 !important;
    background: #000 !important;
}

/* Ensure text in the dropdown strip is visible in dark mode */
body.contrast-dark div[style*="background:#f7f7f7"] * {
    color: #fff !important;
}

/* Specifically target the menu items in the dropdown strip */
body.contrast-dark #cssmenu > ul > li > a,
body.contrast-dark #cssmenu > ul > li > a span {
    color: #fff !important;
}

/* ===================================================================
 * IMAGE VISIBILITY FIX FOR DARK CONTRAST MODE
 * =================================================================== */
/* Override the problematic testimonial image rule */
body.contrast-dark .testimonials img,
body.contrast-dark .pccoe-sm-bar img {
    filter: brightness(1.2) contrast(1.1) !important;
    visibility: visible !important;
}

/* Fix recruiter images with proper visibility */
body.contrast-dark .myclientslider div img {
    filter: brightness(1.3) contrast(1.2) !important;
    visibility: visible !important;
    background: transparent !important;
}

/* Ensure testimonial containers don't hide images */
body.contrast-dark .testm-color-3,
body.contrast-dark .testm-color-3 figure,
body.contrast-dark .testm-color-2,
body.contrast-dark .testm-color-2 figure,
body.contrast-dark .testm-color-4,
body.contrast-dark .testm-color-4 figure,
body.contrast-dark .testm-color-1,
body.contrast-dark .testm-color-1 figure {
    background: transparent !important;
}

/* Ensure recruiter section background doesn't interfere */
body.contrast-dark .bg_testimonial {
    background-color: #000 !important;
}

/* Additional safety for all images in dark mode */
body.contrast-dark img {
    visibility: visible !important;
}

/* ===================================================================
 * PANEL DETAILS (ACCORDION) CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .panel-details,
body.contrast-light .panel,
body.contrast-light .panel-default,
body.contrast-light .panel-heading,
body.contrast-light .panel-body {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

body.contrast-light .panel-title a,
body.contrast-light .panel-title a strong,
body.contrast-light .panel-body p,
body.contrast-light .panel-body strong {
    color: #000 !important;
}

body.contrast-light .panel-title a i {
    color: #000 !important;
}

/* Dark contrast mode */
body.contrast-dark .panel-details,
body.contrast-dark .panel,
body.contrast-dark .panel-default,
body.contrast-dark .panel-heading,
body.contrast-dark .panel-body {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.contrast-dark .panel-title a,
body.contrast-dark .panel-title a strong,
body.contrast-dark .panel-body p,
body.contrast-dark .panel-body strong {
    color: #fff !important;
}

body.contrast-dark .panel-title a i {
    color: #fff !important;
}

/* Image handling in accordion */
body.contrast-light .panel-body img {
    filter: none !important;
}

body.contrast-dark .panel-body img {
    filter: brightness(1.2) contrast(1.1) !important;
    visibility: visible !important;
}

/* ===================================================================
 * SIDEBAR CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .sidebar {
    background: #f0f0f0 !important;
    border-left: 5px solid #000 !important;
}

body.contrast-light .sidebar h4 {
    background: #e0e0e0 !important;
    color: #000 !important;
}

body.contrast-light .sidelist li a,
body.contrast-light .sidelist li .active {
    color: #000 !important;
    border-bottom: 1px dotted #000 !important;
}

body.contrast-light .sidelist li a:hover,
body.contrast-light .sidelist li .active {
    background: #d0d0d0 !important;
    color: #000 !important;
}

body.contrast-light .sidelist li a i {
    color: #000 !important;
}

/* Dark contrast mode */
body.contrast-dark .sidebar {
    background: #f0f0f0 !important;
    border-left: 5px solid #fff !important;
}

body.contrast-dark .sidebar h4 {
    background: #000 !important;
    color: #fff !important;
}

body.contrast-dark .sidelist li a,
body.contrast-dark .sidelist li .active {
    color: #fff !important;
    border-bottom: 1px dotted #fff !important;
}

body.contrast-dark .sidelist li a:hover,
body.contrast-dark .sidelist li .active {
    background: #010101 !important;
    color: #fff !important;
}

body.contrast-dark .sidelist li a i {
    color: #fff !important;
}

/* ===================================================================
 * INTERNAL COMPLAINT COMMITTEE PAGE CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .heading_h1 {
    color: #000 !important;
    background: transparent !important;
}

body.contrast-light .border1,
body.contrast-light .border2 {
    background-color: #000 !important;
}

body.contrast-light .para1,
body.contrast-light .para1.colorgrey {
    color: #000 !important;
    background: transparent !important;
}

body.contrast-light .margintop15.para1,
body.contrast-light .listformat {
    color: #000 !important;
    background: transparent !important;
}

body.contrast-light .image-responsive {
    filter: none !important;
    visibility: visible !important;
}

body.contrast-light .table,
body.contrast-light .table-bordered,
body.contrast-light .table-responsive {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

body.contrast-light .table td,
body.contrast-light .table th,
body.contrast-light .table p {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #000 !important;
}

body.contrast-light .table-row {
    background-color: #fff !important;
    color: #000 !important;
}

/* Dark contrast mode */
body.contrast-dark .heading_h1 {
    color: #fff !important;
    background: transparent !important;
}

body.contrast-dark .border1,
body.contrast-dark .border2 {
    background-color: #fff !important;
}

body.contrast-dark .para1,
body.contrast-dark .para1.colorgrey {
    color: #fff !important;
    background: transparent !important;
}

body.contrast-dark .margintop15.para1,
body.contrast-dark .listformat {
    color: #fff !important;
    background: transparent !important;
}

body.contrast-dark .image-responsive {
    filter: brightness(1.2) contrast(1.1) !important;
    visibility: visible !important;
}

body.contrast-dark .table,
body.contrast-dark .table-bordered,
body.contrast-dark .table-responsive {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.contrast-dark .table td,
body.contrast-dark .table th,
body.contrast-dark .table p {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #fff !important;
}

body.contrast-dark .table-row {
    background-color: #000 !important;
    color: #fff !important;
}

/* ===================================================================
 * NON-STATUTORY COMMITTEES SIDEBAR CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .sidebar-menu,
body.contrast-light .sidebar-menu2 {
    background-color: #fff !important;
    border: 1px solid #000 !important;
}

body.contrast-light .sidebar-menu li,
body.contrast-light .sidebar-menu2 li {
    border-bottom: 1px solid #000 !important;
}

body.contrast-light .sidebar-menu li:last-child,
body.contrast-light .sidebar-menu2 li:last-child {
    border-bottom: none !important;
}

body.contrast-light .sidebar-menu li a,
body.contrast-light .sidebar-menu2 li a {
    color: #000 !important;
    background-color: #fff !important;
    border: none !important;
}

body.contrast-light .sidebar-menu li.active,
body.contrast-light .sidebar-menu2 li.active {
    background-color: #f0f0f0 !important;
    border-left: 4px solid #000 !important;
}

body.contrast-light .sidebar-menu li.active a,
body.contrast-light .sidebar-menu2 li.active a {
    color: #000 !important;
    font-weight: bold !important;
}

body.contrast-light .sidebar-menu li:hover,
body.contrast-light .sidebar-menu2 li:hover {
    background-color: #f0f0f0 !important;
}

body.contrast-light .sidebar-menu li:hover a,
body.contrast-light .sidebar-menu2 li:hover a {
    color: #000 !important;
}

/* Dark contrast mode */
body.contrast-dark .sidebar-menu,
body.contrast-dark .sidebar-menu2 {
    background-color: #000 !important;
    border: 1px solid #fff !important;
}

body.contrast-dark .sidebar-menu li,
body.contrast-dark .sidebar-menu2 li {
    border-bottom: 1px solid #fff !important;
}

body.contrast-dark .sidebar-menu li:last-child,
body.contrast-dark .sidebar-menu2 li:last-child {
    border-bottom: none !important;
}

body.contrast-dark .sidebar-menu li a,
body.contrast-dark .sidebar-menu2 li a {
    color: #fff !important;
    background-color: #000 !important;
    border: none !important;
}

body.contrast-dark .sidebar-menu li.active,
body.contrast-dark .sidebar-menu2 li.active {
    background-color: #333 !important;
    border-left: 4px solid #fff !important;
}

body.contrast-dark .sidebar-menu li.active a,
body.contrast-dark .sidebar-menu2 li.active a {
    color: #fff !important;
    font-weight: bold !important;
}

body.contrast-dark .sidebar-menu li:hover,
body.contrast-dark .sidebar-menu2 li:hover {
    background-color: #333 !important;
}

body.contrast-dark .sidebar-menu li:hover a,
body.contrast-dark .sidebar-menu2 li:hover a {
    color: #fff !important;
}

body.invert-colors .col-md-9.paddright50 * { color: #000 !important; background-color: #fff !important; }
body.invert-colors .table td:not(.table-row td) { color: #000 !important; background-color: #fff !important; }

/* ===================================================================
 * SPOTLIGHT TICKER CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .spotlight-title {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

body.contrast-light .tickercontainer,
body.contrast-light .marquee {
    background-color: #fff !important;
}

body.contrast-light .marquee span a,
body.contrast-light .marquee span a strong {
    color: #000 !important;
    background: transparent !important;
}

/* Dark contrast mode */
body.contrast-dark .spotlight-title {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

body.contrast-dark .tickercontainer,
body.contrast-dark .marquee {
    background-color: #000 !important;
}

body.contrast-dark .marquee span a,
body.contrast-dark .marquee span a strong {
    color: #fff !important;
    background: transparent !important;
}

/* ===================================================================
 * RESEARCH SIDEBAR CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .sidebar_top {
    background-color: #f0f0f0 !important;
    border: 1px solid #000 !important;
}

body.contrast-light .sidebar_top h4,
body.contrast-light .sidebar_top h4 strong {
    color: #000 !important;
    background: transparent !important;
}

body.contrast-light .sidemenu {
    background-color: #fff !important;
    border: 1px solid #000 !important;
    background: #fff !important;
}

body.contrast-light .sidemenu li {
    border-bottom: 1px solid #000 !important;
}

body.contrast-light .sidemenu li a {
    color: #000 !important;
    background: transparent !important;
}

body.contrast-light .sidemenu li a i {
    color: #000 !important;
}

body.contrast-light .sidemenu li:hover,
body.contrast-light .sidemenu li a:hover {
    background-color: #f0f0f0 !important;
}

/* Dark contrast mode */
body.contrast-dark .sidebar_top {
    background-color: #333 !important;
    border: 1px solid #fff !important;
}

body.contrast-dark .sidebar_top h4,
body.contrast-dark .sidebar_top h4 strong {
    color: #fff !important;
    background: transparent !important;
}

body.contrast-dark .sidemenu {
    background-color: #000 !important;
    border: 1px solid #fff !important;
    background: fixed #000 !important

}

body.contrast-dark .sidemenu li {
    border-bottom: 1px solid #fff !important;
}

body.contrast-dark .sidemenu li a {
    color: #fff !important;
    background: transparent !important;
}

body.contrast-dark .sidemenu li a i {
    color: #fff !important;
}

body.contrast-dark .sidemenu li:hover,
body.contrast-dark .sidemenu li a:hover {
    background-color: #333 !important;
}

/* ===================================================================
 * TAB NAVIGATION CONTRAST FIXES
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .nav-tabs,
body.contrast-light .nav-pills {
    background-color: #fff !important;
    border: 1px solid #000 !important;
}

body.contrast-light .nav-tabs > li > a,
body.contrast-light .nav-pills > li > a {
    color: #000 !important;
    background-color: #fff;
    border: 1px solid #000 !important;
}

body.contrast-light .nav-tabs > li.active > a,
body.contrast-light .nav-pills > li.active > a {
    color: #000 !important;
    background-color: #f0f0f0 !important;
    border: 1px solid #000 !important;
}

body.contrast-light .nav-tabs > li > a:hover,
body.contrast-light .nav-pills > li > a:hover {
    color: #000 !important;
    background-color: #f0f0f0 !important;
}

/* Dark contrast mode */
body.contrast-dark .nav-tabs,
body.contrast-dark .nav-pills {
    background-color: #000 !important;
    border: 1px solid #fff !important;
}

body.contrast-dark .nav-tabs > li > a,
body.contrast-dark .nav-pills > li > a {
    color: #fff !important;
    background-color: #000 !important;
    border: 1px solid #fff !important;
}

body.contrast-dark .nav-tabs > li.active > a,
body.contrast-dark .nav-pills > li.active > a {
    color: #fff !important;
    background-color: #333 !important;
    border: 1px solid #fff !important;
}

body.contrast-dark .nav-tabs > li > a:hover,
body.contrast-dark .nav-pills > li > a:hover {
    color: #fff !important;
    background-color: #333 !important;
}

/* Tab content */
body.contrast-light .tab-content {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

body.contrast-dark .tab-content {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

body.contrast-light .border1,
body.contrast-light .border2 {
    font-size: 14px !important;
    border-bottom: 1px solid #000 !important;
}

body.contrast-dark .border1,
body.contrast-dark .border2 {
    font-size: 14px !important;
    border-bottom: 1px solid #fff !important;
}

/* ===================================================================
 * ACTIVE TAB HIGHLIGHT FIX
 * =================================================================== */
/* Light contrast mode */
body.contrast-light .nav_tabs > li.active > a {
    background-color: #000 !important;
    color: #fff !important;
    background: black !important;
    font-weight: bold !important;
}
body.contrast-light .nav_tabs li a {
    color: black !important;
    background: white !important;
}
body.contrast-light .nav-pills > li.active > a:hover {
    background-color: #000 !important;
    color: #fff !important;
}
body.contrast-light .nav-pills > li.active > a {
    background-color: #f0f0f0 !important;
    color: #000 !important;
    font-weight: bold !important;
}

body.contrast-light .bg-gray {
    background: white !important;
}

/* Dark contrast mode */
body.contrast-dark .nav-pills > li.active > a {
    background-color: #f0f0f0 !important;
    color: #000 !important;
    font-weight: bold !important;
}

body.contrast-dark .nav-pills > li.active > a:hover {
    background-color: #fff !important;
    color: #000 !important;
}

body.contrast-dark .bg-gray {
    background: black !important;
}

body.contrast-light .announcements-title {
    background: white !important;
    color: black !important;
}
body.contrast-dark .announcements-title {
    background: black !important;
    color: white !important;
}

body.contrast-light .nav-pills > li.active > a {
    background: black !important;
    color: #fff !important;
    font-weight: bold !important;
}

body.contrast-light .nav-pills > li.active > a:hover {
    background: #fff !important;
    color: #000 !important;
}

/* === LIGHT CONTRAST MODE - Program Box === */
body.contrast-light .program-box {
    background-color: #fff !important;
    color: #000 !important;
    border: 1.5px solid #000 !important;
    border-radius: 8px;
}

body.contrast-light .program-box .course {
    color: #000 !important;
}

/* Change icon appearance for light mode: assuming icons are black by default, keep as is or adjust if needed */
body.contrast-light .program-box img {
    filter: none !important;
    /* If icons are SVG or have a color, no filter needed; if black icons are fine, this works */
}

/* === DARK CONTRAST MODE - Program Box === */
body.contrast-dark .program-box {
    background-color: #000 !important;
    color: #fff !important;
    border: 1.5px solid #fff !important;
    border-radius: 8px;
}

body.contrast-dark .program-box .course {
    color: #fff !important;
}

/* Change icon appearance to white in dark mode for contrast */
body.contrast-dark .program-box img {
    filter: brightness(0) invert(1) !important;
}

body.contrast-light .panel-list {
    background: white !important;
    color: black !important;
    border: 1px solid black !important;
}

body.contrast-dark .panel-list {
    background: black !important;
    color: white !important;
    border: 1px solid white !important;
}