/*
 * MantisBT's own pages in the ror-classic colours. Mantis draws them with
 * Bootstrap 3 and the Ace admin template (css/ace.min.css, ace-skins.min.css
 * "skin-3", ace-mantis.css, default.css); the rules below restyle that markup
 * with the theme's tokens (assets/css/tokens.css). The shared top bar, header
 * and footer are styled by assets/css/chrome.css, scoped to .ror-shared-chrome.
 * Ace and default.css use !important in places; so must the rules that answer them.
 */

/* Page ------------------------------------------------------------------- */
html {
    background: var(--ror-bg);
}

body,
body.skin-3,
body.login-layout {
    color: var(--ror-text);
    background: var(--ror-bg) var(--ror-bg-image) no-repeat top center fixed;
    font-family: var(--ror-font);
    font-size: var(--ror-font-size);
    padding-top: calc(var(--ror-topbar-height) + 1px); /* the fixed top bar */
}

a,
a:focus {
    color: var(--ror-link);
}

a:hover {
    color: var(--ror-link-hover);
}

a:active {
    color: var(--ror-link-active);
}

h1, h2, h3, h4, h5, h6,
.lead {
    color: var(--ror-heading);
}

hr {
    border-color: var(--ror-rule);
}

.ror-skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.ror-skip:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    padding: 12px;
    background: #000;
}

/* Font Awesome 6 glyphs the shared links use that the 4.7 font (the theme's and
   Mantis's) lacks: Discord (brands) and the killboard's ranking star (solid).
   The Laravel sites get them from Font Awesome 6 itself. One-glyph subsets of
   Font Awesome Free 6.7.2, SIL OFL 1.1: fonts/LICENSE-fontawesome.txt. */
@font-face {
    font-family: 'FontAwesome';
    src: url('plugin_file.php?file=RoRTheme/fonts/fa6-brands-subset.woff') format('woff');
    unicode-range: U+F392;
    font-display: block;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('plugin_file.php?file=RoRTheme/fonts/fa6-solid-subset.woff') format('woff');
    unicode-range: U+E561;
    font-display: block;
}

/* The shared chrome, placed in Mantis's page --------------------------------- */
/* ace-mantis.css empties every link's :after (a:link:after { content: normal !important }),
   which takes the carets off the top bar's groups; chrome.css's carets again. */
#top-bar.ror-shared-chrome .ror-nav-group > .ror-nav-trigger:after {
    content: '\f0d7' !important;
}

#top-bar.ror-shared-chrome .ror-nav-flyout > .ror-nav-trigger:after {
    content: '\f0da' !important;
}

#top-bar.ror-shared-chrome .ror-nav-flyout.ror-flyout-left > .ror-nav-trigger:after {
    content: '\f0d9' !important;
}

#top-bar.ror-shared-chrome .responsive-menu .ror-nav-flyout > .ror-nav-trigger:after {
    content: '\f0d7' !important;
}

/* The top bar stays at the top as on the forum and the wiki (body.topbar-fixed there). */
#top-bar.ror-shared-chrome {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040; /* above Mantis's sidebar (1027) and dropdowns (1000), below its modals (1050) */
}

#top-bar.ror-shared-chrome .responsive-menu > .dropdown {
    left: auto;
    right: 0;
    margin: 0;
    max-width: calc(100vw - 24px);
}

.headerbar.ror-shared-chrome,
#navbar,
#main-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Mantis's own pages at Ace's 13px, the tracker's size before this theme, and
   in white rather than the theme's beige: dense tables of small text read
   better brighter. The shared top bar, header and footer keep 12px and beige. */
#navbar,
#main-container {
    --ror-text: var(--ror-text-strong);
    color: var(--ror-text);
    font-size: 13px;
}

.headerbar.ror-shared-chrome {
    min-height: 165px;
    padding: 0 24px;
}

.headerbar.ror-shared-chrome #logo img {
    max-width: 100%;
}

/* DaWar's footer type, not Mantis's body text. */
#page-footer.ror-shared-chrome {
    clear: both;
    margin-top: 30px;
    background-color: var(--ror-topbar-bg);
    font: 12px/normal var(--ror-font);
}

#page-footer.ror-shared-chrome #sitemap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#page-footer.ror-shared-chrome #sitemap .column {
    float: none;
    width: auto;
}

#page-footer.ror-shared-chrome #sitemap .clear {
    display: none;
}

#page-footer.ror-shared-chrome li {
    margin: 0;
    padding: 0;
}

#page-footer.ror-shared-chrome h3 {
    padding: 0 0 2px;
    line-height: normal;
}

#page-footer.ror-shared-chrome img {
    vertical-align: baseline;
}

#page-footer.ror-shared-chrome #final_footer {
    display: flow-root;
}

#page-footer.ror-shared-chrome .ror-footer-legal {
    clear: both;
    padding-bottom: 14px;
}

/* Mantis's navbar: the bug tracker's own bar under the logo, as the wiki's bar */
#navbar.navbar {
    position: relative; /* Mantis fixes it to the top of the window, where the top bar is */
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid var(--ror-panel-border);
    border-radius: var(--ror-panel-radius) var(--ror-panel-radius) 0 0;
    box-shadow: var(--ror-panel-shadow);
    z-index: 1029;
}

.navbar-fixed-top + .main-container {
    padding-top: 0;
}

#navbar .navbar-brand,
#navbar .navbar-brand:hover {
    color: var(--ror-heading);
    font-family: var(--ror-font-display);
    font-weight: bold;
    text-shadow: 1px 1px #000;
}

#navbar .ace-nav > li {
    border-left: 1px solid var(--ror-rule);
}

#navbar .ace-nav > li > a,
#navbar .ace-nav > li.grey > a,
#navbar .ace-nav > li > a > .ace-icon {
    background-color: transparent;
    color: var(--ror-text);
}

#navbar .ace-nav > li > a:hover,
#navbar .ace-nav > li.open > a,
#navbar .ace-nav > li.grey > a:hover,
#navbar .ace-nav > li.grey.open > a {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--ror-text-strong);
}

#navbar .navbar-toggle {
    background-color: #472008;
}

/* Main container, sidebar, breadcrumbs */
.main-container,
.skin-3 .main-container:before,
.main-content,
.page-content {
    background: transparent;
}

.skin-3 .main-container:before {
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid var(--ror-panel-border);
    border-top: 0;
    box-shadow: var(--ror-panel-shadow);
}

/* On a wide window the sidebar sits in the page instead of being fixed to the
   window. It floats, as Ace's plain sidebar does, so the clearfix before
   Mantis's footer keeps the footer below it on short pages (API Tokens).
   flow-root stops the clears inside the content from dropping below it. */
@media (min-width: 992px) {
    .sidebar.sidebar-fixed {
        position: relative;
        top: auto;
        float: left !important; /* Ace: float: none !important */
    }

    .sidebar.sidebar-fixed + .main-content {
        display: flow-root;
    }
}

.skin-3 .sidebar,
.skin-3 .sidebar.responsive {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: var(--ror-panel-border);
}

/* Ace draws the sidebar's column as a 5000px tall :before; in the page it would run past the footer. */
.sidebar:before {
    display: none;
}

.skin-3 .nav-list > li,
.skin-3 .nav-list > li.active + li,
.skin-3 .nav-list > li.active + li:last-child {
    border-color: var(--ror-rule) !important;
}

.skin-3 .nav-list > li > a,
.skin-3 .nav-list > li > a:focus {
    background-color: transparent;
    color: var(--ror-text);
}

.skin-3 .nav-list > li:hover > a,
.skin-3 .nav-list > li.open > a,
.skin-3 .nav-list > li.open:hover > a {
    background-color: var(--ror-row-hover);
    color: var(--ror-text-strong);
}

.skin-3 .nav-list > li.open,
.skin-3 .nav-list > li:hover,
.skin-3 .nav-list > li.open + li,
.skin-3 .nav-list > li:hover + li {
    border-color: var(--ror-rule) !important;
}

.skin-3 .nav-list > li.active > a,
.skin-3 .nav-list > li.active.highlight > a {
    background-color: rgba(71, 32, 8, 0.6) !important;
    color: var(--ror-accent) !important;
    font-weight: normal; /* ace-skins: bold */
}

.skin-3 .nav-list > li.active:before,
.skin-3 .nav-list > li.open:before,
.skin-3 .nav-list > li:hover:before {
    background-color: var(--ror-link-active) !important;
}

.nav-list > li .menu-icon {
    color: inherit;
}

.skin-3 .sidebar.menu-min .nav-list > li > a > .menu-text,
.skin-3 .sidebar.responsive-min .nav-list > li > a > .menu-text,
.skin-3 .sidebar.menu-min .nav-list > li.active > a > .menu-text {
    background-color: var(--ror-panel-bg-solid);
    border-color: var(--ror-panel-border);
    color: var(--ror-text-strong);
}

.skin-3 .sidebar.menu-min .nav-list > li > .arrow:after,
.skin-3 .sidebar.responsive-min .nav-list > li > .arrow:after {
    border-right-color: var(--ror-panel-bg-solid);
}

.sidebar-toggle,
.skin-3 .sidebar-toggle {
    background-color: transparent;
    border-color: var(--ror-rule);
}

.sidebar-toggle > .ace-icon,
.skin-3 .sidebar-toggle > .ace-icon {
    background-color: var(--ror-panel-bg-solid);
    border-color: var(--ror-panel-border);
    color: var(--ror-muted);
}

.breadcrumbs,
.skin-3 .breadcrumbs {
    background-color: transparent;
    border-bottom: 1px solid var(--ror-rule);
}

.breadcrumb > li,
.breadcrumb > li.active {
    color: var(--ror-text);
}

.breadcrumb > li + li:before {
    color: var(--ror-muted);
}

.nav-recent,
.breadcrumbs .nav-recent {
    color: var(--ror-muted);
}

/* Panels: Ace widget boxes -------------------------------------------------- */
.widget-box,
.widget-box.transparent {
    background: var(--ror-panel-bg);
    border: 1px solid var(--ror-panel-border);
    border-radius: var(--ror-panel-radius);
    box-shadow: var(--ror-panel-shadow);
}

.widget-box.transparent > .widget-header,
.widget-header,
.widget-color-blue2 > .widget-header,
[class*="widget-color-"] > .widget-header {
    background: #302c27;
    border: 0;
    border-bottom: 1px solid var(--ror-panel-border-strong);
    color: var(--ror-heading);
}

.widget-header > .widget-title,
.widget-header .white,
.widget-header .widget-title a {
    color: var(--ror-heading);
    font-family: var(--ror-font-display);
    text-shadow: 1px 1px #000;
}

.widget-header .widget-title a:hover,
.widget-header a.white:hover {
    color: var(--ror-link);
}

.widget-toolbar > a,
.widget-toolbar > a > .ace-icon,
.widget-header .ace-icon {
    color: var(--ror-text);
}

.widget-toolbar:before {
    border-color: var(--ror-rule);
}

.widget-body,
.widget-main,
.widget-box > .widget-main {
    background-color: transparent;
    color: var(--ror-text);
}

.widget-toolbox,
.widget-toolbox.toolbar,
.widget-toolbox.padding-8 {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: var(--ror-rule);
}

.well {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: var(--ror-panel-border);
    color: var(--ror-text);
    box-shadow: none;
}

.page-header h1,
.page-header {
    color: var(--ror-heading);
    border-color: var(--ror-rule);
}

/* Tables ------------------------------------------------------------------- */
table,
.table,
.table-responsive {
    background-color: transparent !important; /* ace-mantis.css: table { background-color: #fff !important } */
    color: var(--ror-text);
}

.table-responsive {
    border-color: var(--ror-rule);
}

.table > thead > tr,
.widget-body .table thead:first-child tr,
[class*="widget-color-"] > .widget-body .table thead:first-child tr,
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td {
    background: #302c27;
    color: var(--ror-text);
}

.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border-color: var(--ror-rule);
}

/* Room around the text: Mantis's tables are .table-condensed (5px). The issue
   list is in the box's .widget-main, the other tables in its .widget-body. */
.widget-box .table > thead > tr > th,
.widget-box .table > thead > tr > td,
.widget-box .table > tbody > tr > th,
.widget-box .table > tbody > tr > td,
.widget-box .table > tfoot > tr > th,
.widget-box .table > tfoot > tr > td {
    padding: 8px 12px;
}

/* Column headings that sort the list are links, and look it */
.table > thead > tr > th a,
.table > thead > tr > th a:focus {
    color: var(--ror-link);
}

.table > thead > tr > th a:hover {
    color: var(--ror-link-hover);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--ror-row-alt);
}

.table-hover > tbody > tr:hover,
.table-hover > tbody > tr:hover > td {
    background-color: var(--ror-row-hover);
}

tr.spacer {
    background-color: transparent !important;
    color: inherit;
}

.table-hover > tbody > tr.spacer:hover {
    background-color: transparent !important;
}

/* The issue view's labels, and the labels of the report and update forms */
td.category,
th.category,
td.category label,
th.category label {
    background-color: #24201c !important;
    color: var(--ror-text);
}

table.filters td.category,
table.filters td.category a {
    color: var(--ror-link);
}

.sticky-separator {
    background-color: var(--ror-panel-border) !important;
}

/* The issue list */
#buglist > tbody > tr > td {
    border-color: var(--ror-rule);
}

/* Links in the boxes' tables (issue IDs and summaries, people) in bold, as the
   tracker's old theme had them: they are what the lists are read by. */
.widget-box .table a {
    font-weight: bold;
}

.issue-status {
    border-bottom-color: var(--ror-muted);
}

td.due-0, td.overdue { background-color: var(--ror-danger); }
td.due-1 { background-color: var(--ror-warning); }
td.due-2 { background-color: var(--ror-success); }

/* Notes */
tr.bugnote .bugnote-note {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--ror-text);
}

tr.bugnote > td,
tr.bugnote > th {
    border-color: var(--ror-rule);
}

.bugnote-private,
tr.bugnote .bugnote-private {
    background-color: rgba(71, 32, 8, 0.45) !important;
}

.bugnote-note pre,
pre {
    background-color: #252525;
    border-color: var(--ror-rule);
    color: var(--ror-text);
}

code {
    background-color: #2b1d14;
    color: var(--ror-accent);
}

/* My View's activity lists */
.profile-activity {
    border-color: var(--ror-rule);
}

.profile-activity:hover {
    background-color: var(--ror-row-hover);
}

.profile-activity .time {
    color: var(--ror-muted);
}

/* Forms -------------------------------------------------------------------- */
.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="file"],
select,
textarea,
.input-sm,
.input-xs,
.dropzone,
input.typeahead,
input.tt-query,
input.tt-hint {
    background-color: #222;
    border: 1px solid var(--ror-panel-border);
    color: var(--ror-text);
}

/* ace.css: .form-group input[type="text"] etc. { background: #FFF } (the
   settings and manage forms) outranks the rule above. */
.form-group select,
.form-group textarea,
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]) {
    background-color: #222;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input:focus {
    background-color: #262626;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--ror-link-active);
    background-color: #262626;
    box-shadow: none;
    color: var(--ror-text-strong);
    outline: none;
}

select option {
    background-color: #222;
    color: var(--ror-text);
}

/* The "Issue #" box in the bar */
.nav-search .nav-search-input {
    color: var(--ror-text) !important; /* ace.css: #666 !important */
}

select[disabled],
.form-control[disabled],
.form-control[readonly] {
    background-color: #1a1a1a;
    color: var(--ror-muted);
}

::placeholder {
    color: var(--ror-muted);
}

label,
.lbl {
    color: var(--ror-text);
}

span.required {
    color: #ff5a4a;
}

.help-block,
.text-muted,
.grey,
.lighter {
    color: var(--ror-muted) !important;
}

/* The issue history's and the filter box's cells: default.css makes them 8pt */
.small-caption {
    font-size: 12px;
}

/* Mantis marks most box titles .lighter; they stay headings. */
.widget-header .widget-title.lighter {
    color: var(--ror-heading) !important;
}

.dropzone {
    border-style: dashed;
}

/* Buttons: the wiki's search button and the forum's buttons */
.btn,
.btn-default,
.btn.btn-white,
.btn.btn-white.btn-default,
.btn-primary,
.btn.btn-white.btn-primary,
.btn.btn-white.btn-round {
    background: #472008 !important;
    border: 1px solid var(--ror-panel-border) !important;
    border-radius: var(--ror-panel-radius);
    color: var(--ror-text-strong) !important;
    text-shadow: 1px 1px #000;
}

.btn:hover,
.btn:focus,
.btn.active,
.btn.btn-white:hover,
.btn.btn-white.btn-primary:hover,
.btn-primary:hover,
.btn-primary:focus,
.open > .btn.dropdown-toggle {
    background: #6b300c !important;
    border-color: var(--ror-link-active) !important;
    color: var(--ror-text-strong) !important;
}

.btn-danger,
.btn.btn-white.btn-danger {
    background: #6e1a12 !important;
}

.btn-danger:hover,
.btn.btn-white.btn-danger:hover {
    background: var(--ror-danger) !important;
}

.btn-success,
.btn.btn-white.btn-success {
    background: #24461f !important;
}

.btn[disabled],
.btn.disabled {
    opacity: 0.5;
}

.btn-group > .btn + .btn,
.btn-group > .btn + .dropdown-toggle {
    margin-left: -1px;
}

/* Bootstrap dropdowns (project menu, user menu, filters) as the theme's dropdowns */
.dropdown-menu,
.tt-menu,
.bootstrap-datetimepicker-widget.dropdown-menu {
    background-color: rgba(20, 20, 20, 0.97);
    border: 1px solid #666;
    border-radius: 5px;
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.8);
    color: var(--ror-text);
}

.dropdown-menu > li > a,
.dropdown-menu .dropdown-header,
.list > li > a,
.tt-suggestion {
    color: var(--ror-text);
}

/* Ace's coloured menus: the project and user menus are .dropdown-yellow */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu[class*="dropdown-"] > li:hover > a,
.dropdown-menu[class*="dropdown-"] > li > a:focus,
.dropdown-menu[class*="dropdown-"] > li.active > a,
.list[class*="dropdown-"] > li:hover > a,
.list[class*="dropdown-"] > li > a:focus,
.list[class*="dropdown-"] > li.active > a,
.tt-suggestion.tt-selectable:hover,
.tt-suggestion.tt-cursor {
    background: #472008;
    color: var(--ror-text-strong);
}

.dropdown-menu.dropdown-caret:after {
    border-bottom-color: #666;
}

.dropdown-menu .divider,
.dropdown-menu > li.divider {
    background-color: var(--ror-rule);
}

.dropdown-menu .search,
.projects-searchbox input {
    background-color: #222;
    color: var(--ror-text);
}

.user-menu > li > a > .ace-icon {
    color: var(--ror-muted);
}

.bootstrap-datetimepicker-widget td.day:hover,
.bootstrap-datetimepicker-widget td.hour:hover,
.bootstrap-datetimepicker-widget td.minute:hover,
.bootstrap-datetimepicker-widget span:hover,
.bootstrap-datetimepicker-widget thead tr:first-child th:hover {
    background-color: var(--ror-row-hover);
}

.bootstrap-datetimepicker-widget td.old,
.bootstrap-datetimepicker-widget td.new {
    color: var(--ror-muted);
}

.bootstrap-datetimepicker-widget td.active,
.bootstrap-datetimepicker-widget td.active:hover {
    background-color: #472008;
}

/* Tabs, pagination, labels, badges, alerts ------------------------------------------ */
.nav-tabs {
    border-color: var(--ror-panel-border);
}

.nav-tabs > li > a,
.nav-tabs > li > a:focus {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: var(--ror-rule);
    color: var(--ror-text);
}

.nav-tabs > li > a:hover {
    background-color: var(--ror-row-hover);
    border-color: var(--ror-rule);
    color: var(--ror-text-strong);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #302c27;
    border-color: var(--ror-panel-border);
    border-top: 2px solid var(--ror-link-active);
    border-bottom-color: transparent;
    color: var(--ror-heading);
}

.pagination > li > a,
.pagination > li > span,
.pager > li > a {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: var(--ror-rule);
    color: var(--ror-link);
}

.pagination > li > a:hover,
.pager > li > a:hover {
    background-color: var(--ror-row-hover);
    color: var(--ror-link-hover);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover {
    background-color: #472008;
    border-color: var(--ror-panel-border);
    color: var(--ror-text-strong);
}

.pagination > .disabled > a,
.pagination > .disabled > span,
.pager > .disabled > a {
    background-color: transparent;
    color: var(--ror-muted);
}

.label,
.badge,
.label.label-grey,
.badge.badge-grey {
    background-color: #5a4a3a;
    color: var(--ror-text-strong);
    text-shadow: none;
}

/* The roadmap's and changelog's category labels */
.label.label-light,
.badge.badge-light {
    background-color: transparent;
    color: var(--ror-text);
}

/* The arrow ends of Ace's labels (the access level beside a note's author) */
.label.arrowed:before,
.label-grey.arrowed:before {
    border-right-color: #5a4a3a;
}

.label.arrowed-in:before,
.label-grey.arrowed-in:before {
    border-color: #5a4a3a #5a4a3a #5a4a3a transparent;
}

.label.arrowed-right:after,
.label-grey.arrowed-right:after {
    border-left-color: #5a4a3a;
}

.label.arrowed-in-right:after,
.label-grey.arrowed-in-right:after {
    border-color: #5a4a3a transparent #5a4a3a #5a4a3a;
}

.badge-info,
.label-info {
    background-color: var(--ror-info);
}

.badge-success,
.label-success {
    background-color: var(--ror-success);
}

.badge-warning,
.label-warning {
    background-color: var(--ror-warning);
}

.badge-danger,
.label-danger,
.badge-important,
.label-important {
    background-color: var(--ror-danger);
}

.alert {
    border-width: 1px;
    color: var(--ror-text-strong);
}

.alert-danger {
    background-color: rgba(192, 57, 43, 0.25);
    border-color: var(--ror-danger);
}

.alert-warning {
    background-color: rgba(214, 137, 16, 0.2);
    border-color: var(--ror-warning);
}

.alert-success {
    background-color: rgba(60, 141, 64, 0.25);
    border-color: var(--ror-success);
}

.alert-info {
    background-color: rgba(46, 134, 193, 0.2);
    border-color: var(--ror-info);
}

.alert a {
    color: var(--ror-link);
}

/* The Announce plugin's banner: announce.css (loaded after this file) makes it
   pale yellow for dark text. */
div.announcement {
    background: rgba(214, 137, 16, 0.18);
    border: 1px solid var(--ror-warning);
    border-radius: var(--ror-panel-radius);
    color: var(--ror-text-strong);
}

.progress {
    background-color: #222;
}

.color-global {
    background-color: #1f3a4a;
}

.color-project {
    background-color: #24461f;
}

span.dependency_met { color: #6fbf73; }
span.dependency_unmet { color: #ff5a4a; }
span.dependency_dated { color: #e07b6e; }
span.dependency_upgrade { color: var(--ror-accent); }

/* Mantis's footer: its version and contact line, under the page. Ace pins it
   to the bottom of the window's first screen; here it follows the content. */
.footer {
    width: auto;
    height: auto;
    padding-top: 0;
}

.footer .footer-inner {
    position: static;
}

.footer .footer-inner .footer-content {
    position: static;
    display: flow-root; /* its Bootstrap columns float */
    padding: 10px 12px 0;
    background: transparent;
    border-top: 1px solid var(--ror-rule);
    color: var(--ror-muted);
}

.footer .footer-inner .footer-content #powered-by-mantisbt-logo img {
    opacity: 0.6;
}

.btn-scroll-up {
    background-color: #472008 !important;
    border-color: var(--ror-panel-border) !important;
}

/* The login pages (login_page.php, login_password_page.php, lost_pwd_page.php) -------- */
body.login-layout,
body.login-layout.light-login {
    background: var(--ror-bg) var(--ror-bg-image) no-repeat top center fixed !important; /* ace-mantis.css: .light-login { background: #fff !important } */
}

.login-layout .widget-box,
.login-layout .login-box .widget-main,
.login-layout .signup-box .widget-main,
.login-layout .forgot-box .widget-main {
    background: rgba(12, 12, 12, 0.9);
    border-color: var(--ror-panel-border);
}

.login-layout .widget-box .toolbar,
.login-layout .login-box .toolbar {
    background: #302c27;
    border-top: 1px solid var(--ror-panel-border-strong);
}

.login-layout .header,
.login-layout h4 {
    color: var(--ror-heading);
    border-color: var(--ror-rule);
}

/* Narrow windows ----------------------------------------------------------- */
@media (max-width: 991px) {
    .skin-3 .sidebar.responsive {
        background-color: rgba(12, 12, 12, 0.97);
    }
}

@media (max-width: 900px) {
    .headerbar.ror-shared-chrome {
        min-height: 120px;
    }
}

@media (max-width: 700px) {
    /* As on the other sites, the top bar scrolls with the page on a phone. */
    #top-bar.ror-shared-chrome {
        position: relative;
    }

    body,
    body.skin-3,
    body.login-layout {
        padding-top: 0;
    }

    .headerbar.ror-shared-chrome {
        padding: 0 8px;
    }

    #page-footer.ror-shared-chrome #sitemap {
        grid-template-columns: 1fr;
    }

    #page-footer.ror-shared-chrome {
        background-size: auto 100%;
    }
}

@media print {
    #top-bar,
    .headerbar.ror-shared-chrome,
    #page-footer.ror-shared-chrome,
    .ror-skip {
        display: none !important;
    }

    body,
    body.skin-3 {
        padding-top: 0;
        background: #fff;
        color: #000;
    }
}
