/* Z3 palette N2 for the BT (MantisBT 2.28, skin-3), the same colours as the support site (chosen by Sales 2026-11-06):
   Vest #FA593B (top bar, marks), Cloud #F0F0F0 (page), Space #080808 (text, headings, buttons), grey #808080 (borders).
   Loaded by $g_css_include_file = 'z3-n2.css' in config/config_inc.php; it loads default.css first (the setting used to
   point there), so nothing of Mantis's or our earlier default.css change is lost. Mantis loads this file BEFORE its theme
   (ace), so the rules start with "html body" and use !important where ace does.
   Status colours (new, assigned, resolved ...) and the logo are left alone: the new logo comes on one date in January 2027.
   To undo: remove the config line. Keep this file when Mantis is upgraded (css/ comes from the new release). */
@import url('default.css');

/* page */
html body, html body .main-container, html body .main-content { background-color: #F0F0F0 !important; }
html body .page-content { background-color: #ffffff !important; }
html body { color: #080808; }
html body a, html body a:focus, html body .btn-link { color: #B83A21; }
html body a:hover, html body .btn-link:hover { color: #FA593B; }

/* top bar */
html body .navbar, html body #navbar, html body #navbar .navbar-container { background: #FA593B !important; }
html body .navbar .navbar-brand, html body .navbar .navbar-brand:hover, html body .navbar .navbar-brand small { color: #ffffff !important; }
html body .ace-nav > li { border-left-color: rgba(255, 255, 255, 0.35) !important; }
html body .ace-nav > li > a { background-color: #E04A2E !important; color: #ffffff !important; }
html body .ace-nav > li > a:hover, html body .ace-nav > li.open > a { background-color: #080808 !important; }
html body .navbar .navbar-toggle { background-color: #E04A2E !important; }
html body .navbar .btn, html body .navbar .btn:focus { background-color: #080808 !important; border-color: #080808 !important; color: #ffffff !important; }
html body .navbar .btn:hover { background-color: #333333 !important; border-color: #333333 !important; }

/* sections (blue boxes) */
html body .widget-box, html body .widget-color-blue2 { border-color: #080808 !important; }
html body .widget-header { background: #080808 !important; border-color: #080808 !important; color: #ffffff !important; }
html body .widget-header .widget-title, html body .widget-header .widget-toolbar > a, html body .widget-header .ace-icon,
html body .widget-header > .widget-title > a { color: #ffffff !important; }
html body .widget-header .widget-toolbar:before { border-color: rgba(255, 255, 255, 0.35) !important; }
/* the count bubble next to a section title ("1 - 10 / 34"): black on white like the View Issues button (Charles 2026-11-17) */
html body .widget-header .widget-title .badge { background-color: #ffffff !important; color: #080808 !important; }
html body .widget-toolbox, html body .widget-toolbox.padding-8 { background-color: #F0F0F0 !important; border-color: #dddddd !important; }

/* buttons */
html body .btn.btn-primary, html body .btn.btn-info { background-color: #080808 !important; border-color: #080808 !important; color: #ffffff !important; }
html body .btn.btn-primary:hover, html body .btn.btn-info:hover, html body .open > .btn.btn-primary.dropdown-toggle { background-color: #333333 !important; border-color: #FA593B !important; }
html body .btn.btn-white, html body .btn.btn-white.btn-primary, html body .btn.btn-white.btn-default, html body .btn.btn-white.btn-info {
    color: #080808 !important; border-color: #808080 !important; background-color: #ffffff !important; }
html body .btn.btn-white:hover, html body .btn.btn-white.btn-primary:hover, html body .btn.btn-white.btn-default:hover {
    border-color: #FA593B !important; color: #E04A2E !important; background-color: #ffffff !important; }
html body .btn-group > .btn.btn-white + .btn.btn-white { border-left-color: #808080 !important; }

/* sidebar */
html body .sidebar, html body .sidebar:before, html body .nav-list > li > a { background-color: #F0F0F0 !important; }
html body .nav-list > li > a, html body .nav-list > li > a > .menu-icon { color: #080808 !important; }
html body .nav-list > li:hover > a, html body .nav-list > li > a:hover { background-color: #ffffff !important; color: #E04A2E !important; }
html body .nav-list > li:hover > a > .menu-icon { color: #E04A2E !important; }
html body .nav-list > li.active > a, html body .nav-list > li.active > a > .menu-icon { color: #E04A2E !important; background-color: #ffffff !important; font-weight: bold; }
html body .nav-list > li.active:after { border-color: #FA593B !important; }
html body .nav-list > li.active.highlight > a:after, html body .nav-list > li.active > a:after { border-right-color: #FA593B !important; }

/* the theme's own skin rules carry .skin-3: the same weight plus one */
html body.skin-3 .sidebar, html body.skin-3 .sidebar .nav-list > li > a { background-color: #F0F0F0 !important; border-color: #dddddd !important; }
html body.skin-3 .sidebar { border-right-color: #dddddd !important; }
html body.skin-3 .sidebar .nav-list > li > a, html body.skin-3 .sidebar .nav-list > li > a > .menu-icon { color: #080808 !important; }
html body.skin-3 .sidebar .nav-list > li.active > a, html body.skin-3 .sidebar .nav-list > li.active > a > .menu-icon,
html body.skin-3 .sidebar .nav-list > li.active > a > .menu-text { color: #E04A2E !important; background-color: #ffffff !important; }
html body.skin-3 .sidebar .nav-list > li.active:after { border-color: #FA593B !important; }
html body.skin-3 .sidebar .nav-list > li.active > a:after { border-right-color: #FA593B !important; }
html body.skin-3 .sidebar .nav-list > li:hover > a, html body.skin-3 .sidebar .nav-list > li:hover > a > .menu-icon { color: #E04A2E !important; background-color: #ffffff !important; }
html body.skin-3 .sidebar .sidebar-toggle { background-color: #e4e4e4 !important; border-color: #dddddd !important; }
html body.skin-3 .thumbicon.btn-primary, html body.skin-3 .thumbicon.btn-primary.no-hover:hover {   /* timeline icons (no avatar) */
    background-color: #080808 !important; border-color: #080808 !important; color: #ffffff !important; }
html body.skin-3 .btn.btn-white.btn-primary.btn-sm, html body.skin-3 .widget-toolbox .btn.btn-white { color: #080808 !important; border-color: #808080 !important; }
html body.skin-3 .nav-search .nav-search-input, html body.skin-3 .form-control { border-color: #cccccc; }

/* the line under the top bar (user, administrator, recently visited) */
html body .breadcrumbs { background-color: #F0F0F0 !important; border-bottom-color: #dddddd !important; }

/* links that are labels: table headings (sort) and filter field names in Space, the info line in dark Vest */
html body .table > thead a, html body .table > thead th a, html body #filter a, html body .filter-box a, html body .table-condensed td.small-caption a,
html body .widget-body .table td.category a { color: #080808 !important; }
html body .table > thead a:hover, html body #filter a:hover, html body .filter-box a:hover { color: #E04A2E !important; }
html body .breadcrumbs a, html body .breadcrumbs .ace-icon { color: #B83A21 !important; }
html body .pagination > li > a, html body .pagination > li > span { color: #080808 !important; }

/* tabs (Manage pages, Account) */
html body .nav-tabs > li.active > a, html body .nav-tabs > li.active > a:hover, html body .nav-tabs > li.active > a:focus { border-top-color: #FA593B !important; color: #080808 !important; }
html body .nav-tabs > li > a { color: #555555 !important; }
html body .nav-tabs > li > a:hover { color: #E04A2E !important; }

/* labels, tables */
html body .label-grey, html body .badge-grey { background-color: #555555 !important; }
html body .table > thead > tr > th, html body .table > thead > tr { background: #e4e4e4 !important; color: #080808 !important; }
html body .table-hover > tbody > tr:hover > td { background-color: #fff2ee !important; }
html body .pagination > .active > a, html body .pagination > .active > span { background-color: #080808 !important; border-color: #080808 !important; color: #ffffff !important; }
html body .form-control:focus, html body input[type=text]:focus, html body select:focus, html body textarea:focus { border-color: #FA593B !important; box-shadow: none !important; }

/* login, lost password and signup pages */
html body.login-layout, html body.login-layout .main-container { background: #F0F0F0 !important; }
html body .login-box .widget-body { background-color: #ffffff !important; }
html body .login-box .toolbar { background: #080808 !important; border-top-color: #080808 !important; }
html body .login-box .toolbar > div > a { color: #ffffff !important; }
