﻿/* --- Modern Kendo UI Buttons & Command Cells --- */
.k-command-cell .k-grid-cancel, 
.k-grid .k-button,
.k-grid .k-table-th .k-button {
    color: #333 !important;
}

/* --- Base Widgets, Layout Containers & Inputs --- */
.k-block, 
.k-draghandle, 
.k-grid-header, 
.k-table-header,                     /* Modern 2026 Grid Header Wrapper */
.k-grouping-header, 
.k-header, 
.k-pager-wrap, 
.k-pager,                            /* Modern 2026 Pager Wrapper */
.k-toolbar, 
.k-treemap-tile, 
html .km-pane-wrapper .k-header,
.k-autocomplete,                     /* Stripped out legacy .k-state-default */
.k-dropdownlist,                     /* Replaces .k-dropdown-wrap.k-state-default */
.k-numerictextbox,                   /* Replaces .k-numeric-wrap.k-state-default */
.k-datepicker,                       /* Replaces .k-picker-wrap.k-state-default */
.k-timepicker,
.k-datetimepicker {
    background-color: black;
}

/* --- Grid Structure / Table Overrides --- */
.k-header,
.k-grid-header,
.k-table-header,                     /* Modern 2026 SASS header wrapper */
.k-grid .k-grouping-row td,
.k-grid .k-table-group-row .k-table-td, /* Modern 2026 Grouping Row Cells */
.k-grid .k-hierarchy-cell,
.k-grid .k-table-hierarchy-cell,     /* Modern 2026 Hierarchy Cell */
.k-grid .k-grid-footer td,
.k-grid .k-table-footer .k-table-td, /* Modern 2026 Footer Cells */
.k-footer-template td,
.table {
    color: white;
    background-image: none !important;
    border: none !important;
    border-width: 0 !important;
    border-top-width: 0px !important;
    border-collapse: collapse !important;
    border-spacing: 1px !important;
}

.k-grid,
.k-table {                            /* Modern 2026 Grid structural root element */
    background-color: #1F1F1F;
}

/* --- Alternating Grid Rows (k-alt is now k-table-alt-row) --- */
.k-alt, 
.k-table-alt-row {                   /* Modern 2026 Target selector for alternating rows */
    background-color: black !important;
}

.k-grid tr:hover,
.k-grid .k-table-row:hover {         /* Modern 2026 Row hover compatibility layer */
    background-color: initial !important;
}

.k-grid-norecords-template,
.k-grid-norecords {                  /* Modern 2026 Frame No Records wrapper */
    background-color: initial;
}

.k-detail-row,
.k-table-detail-row {                /* Modern 2026 Detail layout wrapper */
    background-image: none !important;
}

/* --- Component Typography Rules --- */
.k-calendar .k-link.k-nav-fast,
.k-calendar .k-nav-fast,             
.k-grid-header .k-header > .k-link,
.k-table-header .k-table-th > .k-link { /* Maps inside modern table-header link elements */
    color: white !important;
}

/* --- Window Specific Grid Intersections --- */
.k-window .k-calendar .k-link.k-nav-fast,
.k-window .k-grid-header .k-header > .k-link,
.k-window .k-table-header .k-table-th > .k-link,
.k-dialog .k-table-header .k-table-th > .k-link { /* Matches modern Dialogue overlays */
    color: #313131 !important;
}

.k-window,
.k-dialog {                           /* Modern Kendo structural popup elements */
    border-color: white !important;
}

.k-window .k-grid tbody td,
.k-window .k-table-tbody .k-table-td,
.k-dialog .k-table-tbody .k-table-td {
    background-color: initial !important;
}

/* --- TabStrips, Popups, and State Management --- */
.k-tabstrip .k-content.k-active,     /* Changed .k-state-active to modern .k-active */
.k-tabstrip-items .k-active,         
.k-tabstrip-items .k-item, 
.form-control[readonly], 
.form-control[disabled],
.k-block, 
.k-content, 
.k-dropdownlist .k-input-inner,      /* Modern interior text inputs render inside k-input-inner */
.k-popup, 
.k-toolbar, 
.k-widget,
.k-floating-label-container {        /* Modern SASS form input container wrapper */
    color: white !important;
    background-color: #313131 !important;
}

.k-tabstrip-items .k-link,
.k-panelbar > li.k-active > .k-link, /* Updated to catch active states cleanly */
.k-tabstrip-items .k-item .k-link, 
.k-grouping-header {
    color: white;
}

.k-content {
    background-color: #1F1F1F;
}

.k-edit-buttons,
.k-actions-end {                     /* Replaced the legacy edit button layout container name */
    background: initial;
}

/* --- Overlays, Lists & Tooltips --- */
.k-list-item.k-hover,                /* Modern list item selectors */
.k-list-optionlabel.k-hover,
.k-list > .k-hover {                 /* Changed .k-state-hover to modern .k-hover */
    color: #ebebeb !important;
}

.k-tooltip {
    background: #313131 !important;
}

.k-pdf-export {
    background-color: #161616;
}

.k-grid-header .k-link, 
.k-grid-header .k-link:link, 
.k-grid-header .k-link:visited, 
.k-table-header .k-link,
.k-grouping-header .k-link {
    color: var(--bs-link-color);
    text-decoration: underline;
}

/* --- Core Custom Utility Classes & Custom Modules --- */
.level0Night { color: white !important; }
.level1Night { color: magenta; }
.level2Night { color: aqua; }
.level3Night { color: green; }
.level4Night { color: yellow; }
.level5Night { color: red; }

#headerNight {
    color: white !important;
    text-align: center;
    padding: 5px;
}

.level0NightEmpty {
    background-color: black !important;
    color: black !important;
}

#dnn_dnnLOGO_imgLogo {
    background-color: darkgrey;
}

.eds_news_Ozone.eds_subCollection_news {
    color: #ebebeb !important;
}

.lightDarkBg {
    background-color: #17232d;
}

.jspContainer {
    color: #666 !important;
}

.dnnModuledigitalAssetsTreeView.RadTreeView .rtIn, 
#dnnModuleDigitalAssetsBreadcrumb li, 
.k-widget {
    color: #ebebeb !important;
}

/* --- Theme Minimal Extropy Rules --- */
.ThemeMinimalExtropy .EventDayScroll, 
.ThemeMinimalExtropy .EventDay, 
.ThemeMinimalExtropy .EventDayEvents, 
.ThemeMinimalExtropy .EventWeekendDayEvents {
    background-color: initial !important;
}

.ThemeMinimalExtropy .EventWeekendDay {
    background-color: #2b3e50 !important;
}

.ThemeMinimalExtropy .EventDay, 
.ThemeMinimalExtropy .EventDayEvents, 
.ThemeMinimalExtropy .EventWeekendDayEvents {
    color: #ebebeb !important;
}

.ThemeMinimalExtropy .EventOtherMonthDay {
    background-color: dimgrey !important;
}

/* --- Bootstrap Helpers --- */
.panel-info > .panel-heading, 
.btn-info {
    background-color: #333333;
}

.bg-danger.text-danger {
    color: darkblue !important;
}

.bootstrap-datetimepicker-widget table td.day:hover, 
.bootstrap-datetimepicker-widget table td.hour:hover, 
.bootstrap-datetimepicker-widget table td.minute:hover, 
.bootstrap-datetimepicker-widget table td.second:hover,
.bootstrap-datetimepicker-widget table td span:hover {
    color: #313131 !important;
}

.rundownStale {
    color: initial;
}

.bgYellow {
    background-color: Yellow;
}

.bgOrange {
    background-color: orange;
}

.assignedPilot {
    color: #e9e9e9 !important;
}

.intro-container {
    background-color: initial !important;
    background-image: initial !important;
}

.intro-container .main h2 {
    color: #fff !important;
}

.eds_GravityGallery_Graviton .edsgg_mainTitle {
    color: #ebebeb !important;
}

/* Cursor Changes 2026-10 */
