/* ILUM LIMS seasonal theme: Christmas ("Julepalett", ClickUp 12487v2g6ma, Kevin's mock-up).
   Loaded after site.css by _Layout.cshtml only while the theme is on (SeasonalTheme setting,
   or 1 Dec - 6 Jan by default). Overrides colours only; no layout changes.

   Brand                                   Surfaces and text
   Granskog   #1F4D3A  top bar, primary    Snø       #F7F4EE  page/panel fill
   Grantre    #4E7564  panel headers       Lys guld  #FBF3DC  current sample column
   Tyttebær   #A3222F  badges, top line    Sølvgrå   #E3DCCD  lines and borders
   Juleguld   #C9A227  selected row        Kull      #1C1C1A  body text on light
   Kveldsgran #20302A  background behind panels

   Status colours (OK / Warning / Alert) are deliberately NOT touched here: they come from
   the OverallConditions table and also print on customer reports, and the mock-up keeps
   them separate so Christmas red is never mistaken for an alarm. */

body {
    background-color: #20302A;
}

/* Top bar: pine green, lingonberry line above, gold rule below */
.navbar-inverse {
    background-color: #1F4D3A;
    border-top: 4px solid #A3222F;
    border-bottom: 2px solid #C9A227;
}

/* Menu bar */
#subnav {
    background-color: #FFFFFF;
    border-color: #E3DCCD;
}

    #subnav .navbar-nav > li > a {
        color: #3B3A36;
    }

        #subnav .navbar-nav > li > a:hover,
        #subnav .navbar-nav > li > a:focus {
            color: #A3222F;
        }

/* Counter badges on the menu (urgent samples). The customer-comment badge stays blue and
   the What's New badge stays purple: they mean "to do", not "urgent". */
.urgent-badge {
    background-color: #A3222F;
}

.urgent-badge.comment-badge {
    background-color: rgb(30, 115, 185);
}

/* Quick Find */
#LIMSSubNav input[type=number] {
    border: 1px solid #D8D0BF;
    border-right: none;
}

#LIMSSubNav .search-container button {
    background-color: #1F4D3A;
    color: #FFFFFF;
}

    #LIMSSubNav .search-container button:hover {
        background-color: #20302A;
    }

/* Panels */
.whitepanel {
    background-color: #FFFFFF;
}

.panelheader {
    background-color: #4E7564;
}

.fullHeightPanel .fullHeightPanelFooter {
    background-color: #F7F4EE;
    border-top-color: #E3DCCD;
}

.whitepanel a:not(.btn):not(.k-button) {
    color: #1F4D3A;
}

    .whitepanel a:not(.btn):not(.k-button):hover {
        color: #A3222F;
    }

/* Selected rows (batches, samples, grids): gold with dark text */
.k-state-selected,
.k-in .k-state-selected,
.k-treeview > .k-state-selected {
    background-color: #C9A227 !important;
    color: #1C1C1A !important;
}

body #diagnosegrid table tr.k-state-selected {
    background: #C9A227;
}

.k-tabstrip-top > .k-tabstrip-items .k-state-active,
.k-tabstrip-top > .k-tabstrip-items .k-tab-on-top {
    background-color: #1F4D3A !important;
}

/* Diagnose: the sample being diagnosed gets a light-gold column; Lab # in lingonberry */
#diagnosegrid td.CurrentResult,
#diagnosegrid td.SampleInfo {
    background-color: #FBF3DC;
}

.lab-no {
    color: #A3222F;
    font-size: 15px;
}

/* Grid rows: Kendo paints the selected row's CELLS (and again on hover/tap, which sticks on
   phones and tablets) in blue with dark-blue borders, so the row rule alone left it blue. */
.k-grid tr.k-state-selected,
.k-grid tr.k-state-selected > td,
.k-grid tr.k-alt.k-state-selected > td,
.k-grid td.k-state-selected,
.k-grid td.k-state-selected.k-state-focused,
.k-grid tr.k-state-selected:hover,
.k-grid tr.k-state-selected:hover > td,
.k-grid td.k-state-selected:hover,
.k-treelist tr.k-state-selected,
.k-treelist tr.k-state-selected > td,
.k-master-row.k-state-selected .k-grid-content-sticky,
.k-dropdowngrid-popup .k-item.k-state-selected {
    background-color: #C9A227 !important;
    background-image: none !important;
    border-color: #B08B1E !important;
    color: #1C1C1A !important;
}

.k-grid td.k-state-focused,
.k-grid td.k-state-focused.k-state-selected {
    box-shadow: inset 0 0 0 1px #B08B1E;
}

/* Borders: Kendo's grey grid lines and outlines in the palette's warm silver */
.k-grid,
.k-grid td,
.k-grid th,
.k-grid-header,
.k-grid-header-wrap,
.k-grid-header th.k-header,
.k-grid-content-locked,
.k-grid-header-locked,
.k-grid-footer,
.k-pager-wrap {
    border-color: #E3DCCD;
}

#subnav {
    border-width: 0 0 1px 0;
    border-bottom-color: #E3DCCD;
}

/* Primary buttons (Scan Samples, Add Batch, Analyse on phone): pine green like Quick Find */
.k-button.k-primary,
.k-primary.k-state-default,
.btn-primary {
    background-color: #1F4D3A;
    background-image: none;
    border-color: #1F4D3A;
    color: #FFFFFF;
}

    .k-button.k-primary:hover,
    .k-primary.k-state-hover,
    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: #20302A;
        border-color: #20302A;
        color: #FFFFFF;
    }
