/*
# MantisBT - A PHP based bugtracking system

# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MantisBT.  If not, see <http://www.gnu.org/licenses/>.
*/
.footer .footer-inner {
    text-align: left;
    left: 0;
}
.nav-search .nav-search-input {
    width: 120px;
}

.rtl .pull-right {
    float: left !important;
}

.rtl .pull-left {
    float: right !important;
}

.rtl .footer .footer-inner {
    text-align: right;
}
.rtl .navbar-right {
    float: left !important;
}
.rtl .navbar-left {
    float: right !important;
}

.nav-recent {
    line-height: 14px;
    position: absolute;
    right: 150px;
    top: 13px;
    font-size: x-small;
}

.uppercase {
    text-transform: uppercase;
}

.widget-title .badge {
    padding:4px 10px;
    line-height:12px;
    margin: 0 0 0 5px;
}

.profile-activity {
    padding: 10px;
}

.pagination > li > a, .pagination > li > span {
    padding: 6px 8px;
}

.width-13 {
    width: 13%;
}

.width-15 {
    width: 15%;
}

.padding-2 {
    padding:2px;
}
.padding-right-2 {
    padding-right:2px;
}
.padding-left-2 {
    padding-left:2px;
}
.rtl .padding-right-2 {
    padding-left:2px;
}
.rtl .padding-left-2 {
    padding-right:2px;
}

.padding-4 {
    padding:4px;
}
.padding-right-4 {
    padding-right:4px;
}
.padding-left-4 {
    padding-left:4px;
}
.rtl .padding-right-4 {
    padding-left:4px;
}
.rtl .padding-left-4 {
    padding-right:4px;
}

.padding-8 {
    padding:8px;
}
.padding-left-8 {
    padding-left:8px;
}
.padding-right-8 {
    padding-right:8px;
}
.rtl .padding-left-8 {
    padding-right:8px;
}
.rtl .padding-right-8 {
    padding-left:8px;
}


.margin-left-8 {
    margin-left:8px;
}
.margin-right-8 {
    margin-right:8px;
}
.rtl .margin-left-8 {
    margin-right:8px;
}
.rtl .margin-right-8 {
    margin-left:8px;
}

.margin-left-20 {
    margin-left: 20px;
}
.rtl .margin-left-20 {
    margin-right: 20px;
}

.login-container {
    width: 100%;
}

.signup-box .toolbar {
    background: none repeat scroll 0 0 #393939;
}

.widget-toolbar > .widget-menu > a {
    font-size: 11px;
    padding: 0 5px;
    line-height: 20px;
}

.widget-toolbar > .widget-menu form {
    display: inline-block;
}
.widget-toolbar > .widget-menu .input-xs {
    line-height: 20px;
}

.widget-toolbar > .widget-menu .btn-xs {
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 5px;
}

.btn-sm,
.btn-group-sm > .btn {
    height: 30px;
}

.bold {
    font-weight: bold;
}

table {
    background-color: #ffffff !important;
}

/* Breaking lines when needed */
td.column-description, td.bug-description,
td.column-steps-to-reproduce, td.bug-steps-to-reproduce,
td.column-additional-information, td.bug-additional-information,
td.bugnote-note, td.column-notes,
td.cftype-textarea {
    overflow-wrap: anywhere;
}

pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    overflow-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* Disable printing of link urls */
a:link:after, a:visited:after {
    content: normal !important;
}

/* The page background image is drawn on body; keep the container overlay transparent */
.skin-3 .main-container:before {
    background: none !important;
}

.skin-3,
.light-login {
    background: #8dc8b2 url('../images/corbo_bg.webp?v=2') no-repeat fixed center center !important;
    background-size: cover !important;
}

/* Show pointer for active nav tabs */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    cursor: pointer !important;
}

/* Page menus (summary, manage, account, docs): segmented pill control on a
   frosted strip instead of the ace tabs, active page filled in green */
.nav.page-menu {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 24px);
    margin: 0 12px;
    padding: 4px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.nav.page-menu > li > a {
    padding: 6px 16px;
    border-radius: 7px;
    color: #4a574c;
    font-weight: 500;
    line-height: 20px;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.nav.page-menu > li > a:hover,
.nav.page-menu > li > a:focus {
    background-color: rgba(66, 148, 74, 0.14);
    color: #327138;
}
.nav.page-menu > li.active > a,
.nav.page-menu > li.active > a:hover,
.nav.page-menu > li.active > a:focus {
    background-color: #42944a;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* icon-only item (manage overview): the icon follows the item color */
.nav.page-menu > li > a > .ace-icon {
    color: inherit !important;
}
/* Page submenus (graph pages), same pill control as the page menus.
   !important: plugins provide links carrying the ace button classes, which
   force their own borders, radius and colors */
.page-submenu {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    padding: 4px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.page-submenu > a {
    display: block;
    padding: 6px 16px;
    border-width: 0 !important;
    border-radius: 7px !important;
    background-color: transparent !important;
    color: #4a574c !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    text-shadow: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.page-submenu > a:hover,
.page-submenu > a:focus {
    background-color: rgba(66, 148, 74, 0.14) !important;
    color: #327138 !important;
}
.page-submenu > a.active,
.page-submenu > a.active:hover,
.page-submenu > a.active:focus {
    background-color: #42944a !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.page-submenu > a > .ace-icon {
    color: inherit !important;
}

/* Clickable hover arrows on collapsed sidebar #22245 */
.nav-list li > .arrow {
    pointer-events: none;
}

.fa-xlg {
    font-size: 1.6em;
    line-height: 0.73em;
    vertical-align: -15%;
}

.fa-status-box {
    font-size: 1.8em;
    line-height: 0.73em;
    vertical-align: -25%;
}

/* Slightly translucent top bar; #navbar outranks .skin-3 .navbar from ace-skins, loaded later */
.skin-3 #navbar {
    background: rgba(16, 110, 64, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.skin-3 .navbar .navbar-toggle {
    background-color:  #0b5a33 !important;
}

.user-info {
    line-height: 33px !important;
    max-width: 270px !important;
}

.page-content {
    background-color: #fff;
    margin: 0 0 10px;
    padding: 8px 8px 24px;
    position: relative;
}

.ace-nav .nav-avatar-container-40 {
    width: 48px; 
    height: 40px;
    float: left;
}

.ace-nav .nav-avatar-40 {
    margin: -4px 8px 0 0;
    border: 2px solid #FFF;
    max-width: 40px;
    max-height: 40px;
    border-radius: 4px !important;    
}
.profile-activity-avatar-40 {
    border-radius: 15% !important;
    margin-bottom: 6px !important;
}

.profile-activity-avatar-container-40 {
    width: 48px; 
    line-height: 40px;
    float: left;
    text-align: center;
}

.table-responsive {
    margin-bottom: 0 !important;
}

.bugnote-avatar-80 {
    border: 2px solid #c9d6e5;
    border-radius: 15%;
    box-shadow: none;
    margin:0;
    max-width: 80px;
    max-height: 80px;
}

.bugnote-avatar-container-80 {
    line-height: 80px;
    width: 84px;
    text-align: center;
}

.input-sm {
    width: 90px !important;
    /*display: inline-block !important;*/ /* removed because it messes with js hide/show capabilities */
    vertical-align: middle !important;
    padding: 4px 6px !important;
}

.input-xs {
    width: auto !important;
    /*display: inline-block !important;*/ /* removed because it messes with js hide/show capabilities */
    vertical-align: middle !important;
    padding: 1px 2px !important;
}

select.input-xs {
    border-radius: 0;
    padding: 0;
    height: 22px;
    line-height: 8px;
}

select.input-xs option, select.form-control.input-xs option {
    padding: 0 2px !important;
}

select[disabled] {
    background-color: #eee !important;
    color: #848484 !important;
}

textarea.input-xs, select.input-xs[multiple] {
    height: auto;
}

.scroll-bar {
    width: auto !important;
}

.zoom-130 {
    margin: 0 2px;
    display: inline-block;
    opacity: 0.85;
    transition: all 0.1s;
}
.zoom-130:hover {
    text-decoration: none;
    opacity: 1;
    transform: scale(1.3);
}
.well-xs {
    padding: 4px 9px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.table-condensed2 > thead > tr > th,
.table-condensed2 > tbody > tr > th,
.table-condensed2 > tfoot > tr > th,
.table-condensed2 > thead > tr > td,
.table-condensed2 > tbody > tr > td,
.table-condensed2 > tfoot > tr > td {
    padding: 1px 3px;
}

th > label,
td > label {
    font-size: 13px;
}

th > label {
    font-weight: bold;
}

.scrollable-menu {
    height: auto;
    max-height: 435px;
    overflow-x: hidden;
}

.navbar-toggle {
    display:  block;
}

/* date/time picker */
input.datetimepicker {
    margin:0 5px 0 0;
}

i.datetimepicker {
    cursor: pointer;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    color: #333333;
}

.dropdown-menu .divider {
    margin: 2px 0;
}

.list > li {
    height: 30px;
    line-height: 22px;
}
.list > li > a {
    display: block;
    padding: 3px 12px;
    white-space: nowrap;
    margin: 1px 0;
    color: #333;
    font-weight: 400;
    text-decoration: none;
}

.list > li > a:focus, list > li > a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.projects-searchbox input {
    height: 30px;
    margin: 6px 10px;
}

/* typeahaed styling */
input.typeahead, input.tt-query, input.tt-hint {
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
    line-height: 24px;
    min-width: 175px;
    outline: medium none;
}
input.tt-hint, .form-group input.tt-hint {
    background-color: #fff !important;
    color: #b0b0b0 !important;
}
.tt-menu {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    left: 0 !important;
    margin-top: 2px;
    min-width: 175px;
    padding: 8px 0;
    position: absolute;
    right: 0 !important;
    text-align: left;
}
.tt-suggestion {
    font-size: 16px;
    line-height: 24px;
    padding: 3px 12px 4px;
}
.tt-suggestion.tt-selectable:hover, .tt-suggestion.tt-cursor {
    background-color: #4fc65b;
    color: #fff;
    cursor: pointer;
}
.tt-suggestion p {
    margin: 0;
}
input.typeahead.scrollable ~ .tt-menu {
    max-height: 200px;
    overflow-y: auto;
}

/* ------------------------------------------------------------------------
 * Dropzone.js styling
 */
.dropzone {
    background: rgba(0, 0, 0, 0.03) none repeat scroll 0 0;
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 60px;
}

.dropzone .dz-preview,
.dropzone-previews .dz-preview {
    background: white;
    border: 1px solid #acacac;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.16);
    max-width: 250px;
    display: inline-block;
    vertical-align: top;
    margin: 17px;
    padding: 6px;
    position: relative;
    font-size: 14px;
}

.dropzone .dz-preview.dz-error,
.dropzone-previews .dz-preview.dz-error {
    background-color: #f2dede;
}

.dropzone .dz-image-preview > img,
.dropzone-previews .dz-image-preview img {
    margin: 5px auto;
}

/* No image preview when there is an error */
.dropzone .dz-error img,
.dropzone-previews .dz-error > img {
    display: none;
}

/* Truncate file name with ellipsis if too long */
.dropzone .dz-preview .dz-filename,
.dropzone-previews .dz-preview .dz-filename {
    margin: 0 5px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropzone .dz-preview.dz-error .dz-error-message,
.dropzone-previews .dz-preview.dz-error .dz-error-message {
    background: rgba(255, 255, 255, 0.6) none repeat scroll 0 0;
    color: #800;
    opacity: 1;
    display: flex;
    align-items: center;
    min-width: 200px;
    border-radius: unset;
    margin: 5px auto;
    padding: 6px 8px;
    position: unset;
    z-index: 500;
}

.dropzone .dz-preview.dz-error .dz-error-mark,
.dropzone-previews .dz-preview.dz-error .dz-error-mark {
    font-size: 30px;
    color: #ee162d;
    display: unset;
    position: relative;
    left: 0;
    margin: auto 10px auto 0;
    animation: none;
}

.dropzone .dz-preview .dz-error-message > span,
.dropzone-previews .dz-preview .dz-error-message > span {
    display: block;
    text-align: left;
    text-wrap: auto;
}

.dropzone .dz-preview .dz-error-message::after {
    content: none;
}

.dropzone .progress {
    margin-bottom: 10px;
}

.dropzone .dz-preview > a,
.dropzone-previews .dz-preview > a {
    cursor: pointer;
}

.dropzone > span {
    white-space: normal;
}

/* ------------------------------------------------------------------------ */

.btn-group .single-button-form {
	margin: 0 1px 0 0;
}

.fa-xs-top {
	font-size: 60%;
	vertical-align: top;
}

.progress {
    background:#bbb;
}
.progress.progress-large {
    height: 32px;
}
.progress.progress-large[data-percent]:after {
    line-height:32px;
    font-size:18px;
}

hr {
    /* Set to match body text color */
    border-color: #393939;
}

/* Changelog and Roadmap items */
ul.changelog, ul.roadmap {
    list-style-type: none;
    margin-left: 0;
}
ul.changelog > li, ul.roadmap > li {
    margin-bottom: 4px;
}

/* Mantis 28826: Remove vertical lines for bordered tables. */
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border-left-width: 0;
  border-right-width: 0;
}

.sidebar:not(.menu-min) {
    min-width: 190px;
    width: auto;
}

.sidebar.menu-min .nav-list > li > a > .menu-text {
    width: max-content;
    padding-right: 12px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .page-content {
        padding: 8px 16px 24px;
    }

    .input-sm {
        width: 120px !important;
    }

    .navbar.navbar-collapse .navbar-header {
        float: left !important;
    }

    .navbar.navbar-collapse .navbar-buttons {
        float: right !important;
        border-style: none !important;
        width: auto;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .page-content {
        padding: 8px 20px 24px;
    }

    .input-sm {
        width: auto !important;
    }

    .sidebar.compact + .main-content {
        margin-right: auto !important;
        margin-left: 125px !important;
    }

    .sidebar.menu-min + .main-content {
        margin-right: auto  !important;
        margin-left: 43px !important;
    }

    .sidebar:not(.min-width) {
        min-width: auto;
    }

    .sidebar.compact, .sidebar.compact.navbar-collapse {
        width: 125px;
    }

    .sidebar.compact ~ .footer .footer-inner {
        left: 125px;
    }

    .sidebar.menu-min ~ .footer .footer-inner {
        left: 43px;
    }

    .rtl .sidebar.compact + .main-content {
        margin-left: auto !important;
        margin-right: 125px !important;
    }

    .rtl .sidebar.menu-min + .main-content {
        margin-left: auto !important;
        margin-right: 43px !important;
    }

    .rtl .sidebar.compact ~ .footer .footer-inner {
        right: 125px !important;
    }

    .rtl .sidebar.menu-min ~ .footer .footer-inner {
        right: 43px !important;
    }

    .navbar.navbar-collapse .navbar-header {
        float: left !important;
    }

    .navbar.navbar-collapse .navbar-buttons {
        float: right !important;
        border-style: none !important;
        width: auto;
    }
}

/* ------------------------------------------------------------------------
 * Green theme: overrides Bootstrap's default blue "primary" accent colour
 * (used for links, buttons, pagination, badges, panels...) with green.
 */
a {
    color: #42944a;
}
a:hover,
a:focus {
    color: #327138;
}
.text-primary {
    color: #42944a;
}
a.text-primary:hover,
a.text-primary:focus {
    color: #327138;
}
.bg-primary {
    color: #fff;
    background-color: #42944a;
}
a.bg-primary:hover,
a.bg-primary:focus {
    background-color: #327138;
}
.btn-primary,
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #42944a !important;
    border-color: #3a8241;
}
.btn-primary:hover,
.btn-primary:focus:hover,
.btn-primary.focus:hover,
.btn-primary:active:hover,
.btn-primary:focus:active,
.open > .btn-primary.dropdown-toggle,
.open > .btn-primary.dropdown-toggle:hover,
.open > .btn-primary.dropdown-toggle:focus,
.open > .btn-primary.dropdown-toggle.focus,
.open > .btn-primary.dropdown-toggle:active {
    color: #fff;
    background-color: #327138 !important;
    border-color: #3a8241;
}
.open > .btn-primary.dropdown-toggle.active,
.btn-primary.active,
.btn-primary.focus.active,
.btn-primary.active:focus,
.btn-primary.active:hover {
    color: #fff;
    background-color: #295c2e !important;
    border-color: #234d27;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #42944a !important;
    border-color: #3a8241;
}
.btn-primary .badge {
    color: #42944a;
    background-color: #fff;
}
.btn-link {
    color: #42944a;
}
.btn-link:hover,
.btn-link:focus {
    color: #327138;
}
.label-primary.arrowed:before,
.label-primary.arrowed-right:after {
    border-left-color: #42944a;
    border-right-color: #42944a;
}
.label-primary.arrowed-in:before {
    border-color: #42944a #42944a #42944a transparent;
}
.label-primary.arrowed-in-right:after {
    border-color: #42944a transparent #42944a #42944a;
}
.dropdown-primary > li:hover > a,
.dropdown-primary > li > a:focus,
.dropdown-primary > li > a:active,
.dropdown-primary > li.active > a,
.dropdown-primary > li.active:hover > a {
    background: #42944a;
    color: #fff;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #42944a;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    border-color: #42944a;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background-color: #42944a;
}
.pagination > li > a,
.pagination > li > span {
    color: #42944a;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #327138;
}
.pagination > li.active > a,
.pagination > li.active > a:hover,
.pagination > li.active > a:focus {
    background-color: #42944a;
    border-color: #42944a;
}
.label-primary,
.label.label-primary,
.badge.badge-primary,
.badge-primary {
    background-color: #42944a;
}
.label-primary[href]:hover,
.label-primary[href]:focus {
    background-color: #327138;
}
.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
    color: #42944a;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
    border-color: #42944a;
}
.progress-bar {
    background-color: #42944a;
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background-color: #42944a;
    border-color: #42944a;
}
.panel-primary {
    border-color: #42944a;
}
.panel-primary > .panel-heading {
    color: #fff;
    background-color: #42944a;
    border-color: #42944a;
}
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #42944a;
}
.panel-primary > .panel-heading .badge {
    color: #42944a;
    background-color: #fff;
}
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #42944a;
}

/* Block/widget headers (View Issues, filters, news, etc.) - were blue */
.widget-header {
    color: #42944a;
}
.widget-color-blue {
    border-color: #327138;
}
.widget-color-blue > .widget-header {
    background: linear-gradient(135deg, #56b35f 0%, #327138 100%);
    border-color: #327138;
}
.widget-color-blue2 {
    border-color: #42944a;
}
.widget-color-blue2 > .widget-header {
    background: linear-gradient(135deg, #56b35f 0%, #327138 100%);
    border-color: #42944a;
}
.widget-color-blue3 {
    border-color: #56b35f;
}
.widget-color-blue3 > .widget-header {
    background: linear-gradient(135deg, #56b35f 0%, #327138 100%);
    border-color: #56b35f;
}

/* RBA ajout de radius - must come after ace.min.css, which sets box-shadow: none on .widget-box */
.widget-box {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}
.widget-body {
    /* padding, not margin: the gap must take the body background, the box itself is transparent */
    padding-bottom: 8px;
}
/* Widget title acting as the collapse/expand button */
.widget-header > .widget-title > a.widget-title-toggle,
.widget-header > .widget-title > a.widget-title-toggle:hover,
.widget-header > .widget-title > a.widget-title-toggle:focus {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.widget-header > .widget-title > a.widget-title-toggle {
    display: inline-block;
    margin-left: -8px;
    padding: 0 12px;
    line-height: 28px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}
/* No browser focus ring after a mouse click; kept for keyboard navigation */
.widget-header > .widget-title > a.widget-title-toggle:focus:not(:focus-visible) {
    outline: none;
}
.widget-header > .widget-title > a.widget-title-toggle > .ace-icon {
    margin-right: 0;
}
/* Toggle button look: light green on hover, and kept while the box is expanded */
.widget-header > .widget-title > a.widget-title-toggle:hover,
.widget-box:not(.collapsed) > .widget-header > .widget-title > a.widget-title-toggle {
    background-color: rgba(66, 148, 74, 0.13);
}
/* Filter box: its header is hidden and it is only shown when opened from the
   "Filters" button of the issue list header */
#filter > .widget-header,
#filter.collapsed {
    display: none;
}
/* No height while closed (bootstrap columns have min-height: 1px), so that
   the issue list is aligned with the sidebar menu */
.filter-box-container {
    min-height: 0;
}
/* Space between the open filter box and the issue list below */
#filter {
    margin-bottom: 10px;
}
/* Issue list: every column stays on one line, the summary included (long
   texts end with "...", the columns can be widened) */
#buglist th,
#buglist td {
    white-space: nowrap;
}
/* Names aligned on the left, header included */
#buglist > thead > tr > th.column-reporter,
#buglist > thead > tr > th.column-assigned-to,
#buglist > tbody > tr > td.column-reporter,
#buglist > tbody > tr > td.column-assigned-to {
    text-align: left;
}
/* Fixed column widths, so that they do not change with the issues listed (a
   filter, another page). The summary and the long texts share the rest of the
   width; js/buglist_column_filter.js sets the minimum width of the table. A
   value too long for its column ends with an ellipsis, shown in full on hover. */
#buglist {
    table-layout: fixed;
}
/* The room of the vertical scrollbar is kept when a short list does not need
   it, so that the width of the page (and of the summary) stays the same */
html {
    scrollbar-gutter: stable;
}
#buglist > thead > tr > th {
    position: relative;
    width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Right edge of a header: drag to resize the column (js/buglist_columns.js) */
.buglist-column-resizer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 7px;
    cursor: col-resize;
}
.buglist-column-resizer:hover,
.buglist-column-resizing .buglist-column-resizer:hover {
    background-color: rgba(66, 148, 74, 0.35);
}
/* While resizing: no text selection, the resize cursor everywhere */
body.buglist-column-resizing,
body.buglist-column-resizing * {
    cursor: col-resize !important;
    user-select: none !important;
}
#buglist > tbody > tr > td {
    overflow: hidden;
    text-overflow: ellipsis;
}
#buglist > thead > tr > th.column-selection { width: 38px; }
#buglist > thead > tr > th.column-edit { width: 30px; }
#buglist > thead > tr > th.column-priority { width: 42px; }
#buglist > thead > tr > th.column-overdue { width: 40px; }
#buglist > thead > tr > th.column-id { width: 78px; }
#buglist > thead > tr > th.column-bugnotes-count { width: 36px; }
#buglist > thead > tr > th.column-attachments { width: 32px; }
#buglist > thead > tr > th.column-category { width: 175px; }
#buglist > thead > tr > th.column-severity { width: 95px; }
#buglist > thead > tr > th.column-status { width: 130px; }
#buglist > thead > tr > th.column-resolution { width: 115px; }
#buglist > thead > tr > th.column-reproducibility { width: 115px; }
#buglist > thead > tr > th.column-projection,
#buglist > thead > tr > th.column-eta,
#buglist > thead > tr > th.column-view-state { width: 100px; }
#buglist > thead > tr > th.column-last-modified,
#buglist > thead > tr > th.column-date-submitted,
#buglist > thead > tr > th.column-due-date { width: 100px; }
#buglist > thead > tr > th.column-project-id,
#buglist > thead > tr > th.column-tags { width: 150px; }
#buglist > thead > tr > th.column-reporter,
#buglist > thead > tr > th.column-assigned-to { width: 130px; }
#buglist > thead > tr > th.column-summary,
#buglist > thead > tr > th.column-description,
#buglist > thead > tr > th.column-notes,
#buglist > thead > tr > th.column-steps-to-reproduce,
#buglist > thead > tr > th.column-additional-information {
    width: auto;
}
/* Issue list box, translucent like the "My View" and issue view boxes: the
   body lets the page background show through, blurred */
.bug-list-box {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.bug-list-box > .widget-body,
.bug-list-box > form > .widget-body {
    background-color: rgba(255, 255, 255, 0.78);
}
.bug-list-box .widget-toolbox {
    background-color: transparent;
}
.bug-list-box .table {
    /* !important: a global "table" rule forces an opaque white background */
    background-color: transparent !important;
}
.bug-list-box .table > tbody > tr,
.bug-list-box .table > tbody > tr > td {
    background-color: transparent;
}
/* ace draws a grey gradient on the table headers of colored widgets; the
   selector has to outrank its [class*="widget-color-"] rule */
.bug-list-box[class*="widget-color-"] > .widget-body .table > thead:first-child > tr,
.bug-list-box[class*="widget-color-"] > form > .widget-body .table > thead:first-child > tr {
    background: transparent;
}
/* Buttons as in the wiki: flat and rounded, white with a green outline,
   filled on hover */
.bug-list-box .widget-toolbox .btn,
.bug-list-box .widget-toolbox .btn:focus {
    border: 1px solid rgba(66, 148, 74, 0.45) !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #327138 !important;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.bug-list-box .widget-toolbox .btn:hover,
.bug-list-box .widget-toolbox .btn:active {
    border-color: #42944a !important;
    background-color: #42944a !important;
    color: #fff !important;
}
/* links above the list (print, exports, summary...): discreet like the wiki
   page actions, plain grey text outlined in green on hover */
.bug-list-box .widget-toolbox .btn-group.pull-left .btn,
.bug-list-box .widget-toolbox .btn-group.pull-left .btn:focus {
    margin-right: 2px;
    border-color: transparent !important;
    background-color: transparent !important;
    color: #8a8a8a !important;
    font-weight: 500;
}
.bug-list-box .widget-toolbox .btn-group.pull-left .btn:hover,
.bug-list-box .widget-toolbox .btn-group.pull-left .btn:active {
    border-color: rgba(66, 148, 74, 0.45) !important;
    background-color: #fff !important;
    color: #327138 !important;
}
/* Export and Filters menus above the list: an open menu may go past the
   bottom of the box (short list), the rounded header keeps its shape */
.bug-list-box:has(.bug-list-menu.open) {
    overflow: visible;
}
.bug-list-box > .widget-header {
    border-radius: 8px 8px 0 0;
}
.bug-list-menu > .dropdown-menu {
    min-width: 200px;
    padding: 4px 0;
    border: 1px solid rgba(66, 148, 74, 0.3);
    /* !important: ace forces square dropdown menus */
    border-radius: 8px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.bug-list-menu > .dropdown-menu > li > a {
    padding: 5px 14px;
    color: #393939;
}
.bug-list-menu > .dropdown-menu > li > a:hover,
.bug-list-menu > .dropdown-menu > li > a:focus {
    background-color: rgba(66, 148, 74, 0.12);
    color: #1f4a24;
}
.bug-list-menu > .dropdown-menu > li.active > a,
.bug-list-menu > .dropdown-menu > li.active > a:hover,
.bug-list-menu > .dropdown-menu > li.active > a:focus {
    background-color: transparent;
    color: #327138;
    font-weight: 600;
}
.bug-list-menu > .dropdown-menu > li > a > .ace-icon {
    margin-right: 4px;
    color: #42944a;
}
.bug-list-menu > .dropdown-menu > .dropdown-header {
    padding: 4px 14px;
    color: #8a8a8a;
    font-size: 11px;
    text-transform: uppercase;
}
/* Text search field of the issue list toolbar, right of the Filters menu:
   [magnifier | text | clear] */
.bug-list-search {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}
.bug-list-search input[type="search"] {
    width: 260px;
    height: 28px;
    padding: 2px 26px 2px 28px;
    border: 1px solid #d5dbd6;
    /* !important: ace forces border-radius 0 on text inputs */
    border-radius: 6px !important;
    background-color: #fff;
    color: #393939;
    font-size: 13px;
}
.bug-list-search input[type="search"]:focus {
    border-color: #2b6331;
    box-shadow: 0 0 0 2px rgba(43, 99, 49, 0.25);
    outline: none;
}
/* The browser's own clear button is replaced by ours */
.bug-list-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.bug-list-search > button {
    position: absolute;
    top: 0;
    width: 26px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    line-height: 28px;
    cursor: pointer;
}
.bug-list-search-btn {
    left: 2px;
    color: #42944a;
}
.bug-list-search-btn:hover {
    color: #2b6331;
}
.bug-list-search-clear {
    right: 0;
    color: #999;
}
.bug-list-search-clear:hover {
    color: #393939;
}
.bug-list-search-clear[hidden] {
    display: none;
}

/* Modals of the Filters menu: save and manage the stored filters
   (filter_print_list_modals(), js/filter_modals.js) */
.filter-modal .modal-content {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.filter-modal .modal-header {
    background: linear-gradient(135deg, #42944a 0%, #2b6331 100%);
    color: #fff;
}
.filter-modal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}
.filter-modal .modal-title {
    font-size: 15px;
}
.filter-modal .form-control {
    border-radius: 6px !important;
}
.filter-modal-error {
    margin-top: 6px;
    color: #d15b47;
    font-weight: 600;
}
.filter-modal-notice {
    padding: 8px 12px;
}
/* Link picker of the editor: wiki pages, folders and documents */
.link-picker-results {
    margin-top: 10px;
    max-height: 50vh;
    overflow-y: auto;
}
.link-picker-message {
    margin: 8px 2px 0;
    color: #888;
}
.link-picker-section {
    margin: 10px 2px 4px;
    color: #2b6331;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}
.link-picker-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    background: none;
    text-align: left;
}
.link-picker-item:hover,
.link-picker-item:focus {
    background: #eef6ef;
    outline: none;
}
.link-picker-icon {
    width: 18px;
    margin-top: 3px;
    color: #42944a;
    text-align: center;
}
.link-picker-text {
    flex: 1;
    min-width: 0;
    margin-left: 6px;
}
.link-picker-label {
    display: block;
    color: #393939;
}
.link-picker-details {
    display: block;
    color: #888;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Icon before the links inserted with the link picker (rel="noopener"):
   wiki page, document, folder */
a[rel~="noopener"][href*="page=CorboWiki/page_view"]::before,
a[rel~="noopener"][href*="page=CorboDocuments/file_download"]::before,
a[rel~="noopener"][href*="page=CorboDocuments/index"]::before {
    display: inline-block;
    margin-right: 4px;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}
a[rel~="noopener"][href*="page=CorboWiki/page_view"]::before {
    content: "\f02d";
}
a[rel~="noopener"][href*="page=CorboDocuments/file_download"]::before {
    content: "\f016";
}
a[rel~="noopener"][href*="page=CorboDocuments/index"]::before {
    content: "\f07b";
}
.filter-manage-table {
    margin: 0;
}
.filter-manage-table > thead > tr > th {
    padding: 8px 10px;
    border-bottom: 2px solid #42944a;
    color: #327138;
    font-size: 12px;
}
.filter-manage-table > tbody > tr > td {
    padding: 6px 10px;
    vertical-align: middle;
}
.filter-manage-table > tbody > tr.filter-manage-current > td:first-child a {
    font-weight: 600;
}
.filter-manage-actions {
    width: 80px;
    white-space: nowrap;
    text-align: right;
}
.filter-manage-edit-row > td,
.filter-manage-confirm-row > td {
    background-color: rgba(66, 148, 74, 0.06);
}
.filter-manage-edit-form > * {
    margin-right: 6px;
}
.filter-manage-edit-form input[name="filter_name"] {
    width: 220px;
}

/* Column headers opening the sort and filter menu (js/buglist_column_filter.js) */
#buglist th.buglist-column-filterable {
    cursor: pointer;
    user-select: none;
}
#buglist th.buglist-column-filterable:hover,
#buglist th.buglist-column-filterable.open {
    background-color: rgba(66, 148, 74, 0.1);
}
.buglist-column-caret {
    margin-left: 4px;
    color: #9aa59b;
    font-size: 11px;
}
/* A filter is set on the column */
#buglist th.buglist-column-filtered .buglist-column-caret:before {
    content: "\f0b0"; /* fa-filter */
}
#buglist th.buglist-column-filtered .buglist-column-caret {
    color: #42944a;
}
.buglist-column-menu {
    position: absolute;
    z-index: 1060;
    min-width: 200px;
    max-width: 320px;
    padding: 4px 0;
    border: 1px solid rgba(66, 148, 74, 0.3);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    text-align: left;
}
.buglist-column-menu-sort {
    display: block;
    padding: 5px 14px;
    color: #393939;
}
.buglist-column-menu-sort:hover,
.buglist-column-menu-sort:focus {
    background-color: rgba(66, 148, 74, 0.12);
    color: #1f4a24;
    text-decoration: none;
}
.buglist-column-menu-sort > .fa {
    color: #42944a;
}
.buglist-column-menu-divider {
    margin: 4px 0;
    border-top: 1px solid #e5e9e5;
}
.buglist-column-menu-search {
    display: block;
    width: calc(100% - 20px);
    margin: 4px 10px 6px;
    padding: 2px 8px;
    border: 1px solid #d5dbd6;
    border-radius: 6px !important;
}
.buglist-column-menu-values {
    max-height: 280px;
    overflow-y: auto;
}
.buglist-column-menu-values > label {
    display: block;
    margin: 0;
    padding: 3px 14px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.buglist-column-menu-values > label:hover {
    background-color: rgba(66, 148, 74, 0.08);
}
.buglist-column-menu-values > label > input {
    margin: 0 4px 0 0;
    vertical-align: -2px;
}
.buglist-column-menu-values > .buglist-column-menu-all {
    border-bottom: 1px solid #e5e9e5;
    color: #8a8a8a;
}
.buglist-column-menu-buttons {
    display: flex;
    gap: 6px;
    padding: 8px 10px 4px;
    border-top: 1px solid #e5e9e5;
}
.bug-list-box .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.025);
}
.bug-list-box .table-hover > tbody > tr:hover {
    background-color: rgba(66, 148, 74, 0.1);
}
/* Sidebar: narrow icons-only floating strip, as tall as its buttons only,
   frosted like the other panels. #sidebar outranks the ace and skin rules.
   Desktop only: below 992px ace turns it into a slide-in menu. */
@media (min-width: 992px) {
    #sidebar.sidebar {
        width: 48px;
        margin: 10px 0 0 8px;
        padding: 4px;
        border-width: 0;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.55);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    .rtl #sidebar.sidebar {
        margin: 10px 8px 0 0;
    }
    /* ace draws the full-height column with this pseudo-element */
    #sidebar.sidebar:before {
        display: none;
    }
    #sidebar .nav-list > li {
        border-width: 0;
    }
    #sidebar .nav-list > li + li {
        margin-top: 2px;
    }
    /* no left marker, active arrow nor label pointer */
    #sidebar .nav-list > li:before,
    #sidebar .nav-list > li > a:before,
    #sidebar .nav-list > li > a:after,
    #sidebar .nav-list > li > .arrow {
        display: none !important;
    }
    #sidebar .nav-list > li > a {
        height: 40px;
        padding: 0;
        border-radius: 8px;
        background-color: transparent;
        color: #5a5a5a;
        line-height: 40px;
        text-align: center;
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    #sidebar .nav-list > li > a > .menu-icon {
        display: block;
        width: 40px;
        margin: 0;
        line-height: 40px;
    }
    #sidebar .nav-list > li:hover > a,
    #sidebar .nav-list > li > a:focus {
        background-color: rgba(66, 148, 74, 0.14);
        color: #327138;
    }
    /* !important: the skin colors the active item with !important */
    #sidebar .nav-list > li.active > a {
        background-color: #42944a !important;
        color: #fff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    /* label shown on hover, as a rounded tooltip next to the strip */
    #sidebar .nav-list > li > a > .menu-text {
        top: 4px;
        left: 50px;
        height: 32px;
        border-width: 0;
        border-radius: 8px;
        background-color: #2b3a2d !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        color: #fff;
        font-weight: 400;
        line-height: 32px;
    }
    /* "My View" adds a second menu below the main one (see js/my_view.js):
       each menu is then drawn as its own strip */
    #sidebar.sidebar.sidebar-split {
        padding: 0;
        background-color: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
    }
    #sidebar.sidebar-split > .nav-list {
        padding: 4px;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.55);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    /* the second menu sticks to the bottom of the screen, in a green tint that
       tells it apart from the main menu */
    #sidebar.sidebar-split > .my-view-menu {
        position: fixed;
        bottom: 10px;
        left: 8px;
        width: 48px;
        background-color: rgba(214, 236, 217, 0.8);
    }
    .rtl #sidebar.sidebar-split > .my-view-menu {
        right: 8px;
        left: auto;
    }
    #sidebar.sidebar-split > .my-view-menu > li > a {
        color: #327138;
    }
    #sidebar.sidebar-split > .my-view-menu > li:hover > a,
    #sidebar.sidebar-split > .my-view-menu > li > a:focus {
        background-color: rgba(66, 148, 74, 0.25);
        color: #1f4a24;
    }
    /* the hidden blocks open as a panel next to the strip */
    #sidebar.sidebar-split > .my-view-menu > li.my-view-open.open > a {
        background-color: rgba(66, 148, 74, 0.25);
        color: #1f4a24;
    }
    #sidebar .my-view-menu > li.my-view-open.open > a > .menu-text {
        display: none !important;
    }
    #sidebar .my-view-menu .my-view-blocks {
        position: absolute;
        bottom: 0;
        left: 50px;
        z-index: 1030;
        min-width: 230px;
        padding: 6px;
        border-radius: 12px;
        background-color: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
        text-align: left;
    }
    .rtl #sidebar .my-view-menu .my-view-blocks {
        right: 50px;
        left: auto;
        text-align: right;
    }
    #sidebar.sidebar + .main-content {
        margin-left: 56px !important;
    }
    #sidebar.sidebar ~ .footer .footer-inner {
        left: 56px;
    }
    .rtl #sidebar.sidebar + .main-content {
        margin-left: auto !important;
        margin-right: 56px !important;
    }
    .rtl #sidebar.sidebar ~ .footer .footer-inner {
        left: auto;
        right: 56px !important;
    }
}
/* "My View": panel of the hidden blocks, opened from the menu of the
   sidebar (my_view_page.php, js/my_view.js) */
.my-view-menu .my-view-blocks {
    display: none;
}
.my-view-menu .my-view-open.open > .my-view-blocks {
    display: block;
}
.my-view-blocks-title {
    padding: 6px 10px 4px;
    color: #8a978f;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.my-view-blocks > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.my-view-blocks > ul > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #3b4a41;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
}
.my-view-blocks > ul > li > a:hover,
.my-view-blocks > ul > li > a:focus {
    background-color: rgba(66, 148, 74, 0.12);
    color: #1f4a24;
    text-decoration: none;
}
.my-view-blocks > ul > li > a > .fa {
    color: #42944a;
}
/* Top bar, flat style: pill-shaped action buttons and menu toggles, no
   vertical separators, soft rounded dropdown panels. #navbar outranks the ace
   and skin rules. Desktop only: below 992px the bar collapses into a menu. */
#navbar .ace-nav .btn-group > .btn {
    height: 32px;
    margin-left: 6px;
    padding: 0 14px;
    border-width: 0;
    border-radius: 6px !important;
    background-color: #fff !important;
    color: #106e40 !important;
    box-shadow: none;
    text-shadow: none;
    font-weight: 600;
    line-height: 32px;
    transition: background-color 0.15s ease;
}
#navbar .ace-nav .btn-group {
    margin-top: 6px;
    vertical-align: top;
}
#navbar .ace-nav .btn-group > .btn:hover,
#navbar .ace-nav .btn-group > .btn:focus {
    background-color: #e3f3e8 !important;
}
#navbar .ace-nav .btn-group > .btn > .fa {
    margin-right: 4px;
}
/* Search field of the top bar (issues, wiki, documents): translucent on the
   green bar, white once focused */
#navbar .ace-nav > li.navbar-search {
    padding: 6px 4px 0;
    border-left-width: 0;
}
.navbar-search form {
    position: relative;
    margin: 0;
    /* ace gives the bar items a 45px line height */
    line-height: 32px;
}
.navbar-search input[type="search"] {
    width: 320px;
    height: 32px;
    padding: 0 12px 0 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    /* !important: ace forces border-radius 0 on inputs */
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    color: #fff;
    font-size: 13px;
    line-height: 30px;
    vertical-align: top;
    transition: width 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}
.navbar-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.navbar-search input[type="search"]:hover {
    background-color: rgba(255, 255, 255, 0.22);
}
.navbar-search input[type="search"]:focus {
    width: 400px;
    border-color: #fff;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    color: #1f3a28;
    outline: none;
}
.navbar-search input[type="search"]:focus::placeholder {
    color: #9aa59c;
}
.navbar-search .navbar-search-icon {
    position: absolute;
    top: 0;
    left: 11px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 32px;
    pointer-events: none;
}
.navbar-search form:focus-within .navbar-search-icon {
    color: #42944a;
}
/* Search results page: one card per source, light list of results */
.global-search-summary {
    display: inline-block;
    margin: 0 0 12px;
    padding: 8px 16px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 1px 3px rgba(16, 60, 35, 0.08);
    color: #1f3a28;
    font-size: 14px;
    font-weight: 600;
}
.global-search-summary > .lighter {
    margin-left: 4px;
    color: #6f7a70;
    font-weight: 400;
}
.global-search-section {
    margin-bottom: 14px;
}
.global-search-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.global-search-list > li {
    display: flex;
    align-items: flex-start;
    padding: 7px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.1s ease;
}
.global-search-list > li:first-child {
    border-top-width: 0;
}
.global-search-list > li:hover {
    background-color: rgba(66, 148, 74, 0.07);
}
.global-search-item-icon {
    flex: 0 0 16px;
    margin: 3px 10px 0 0;
    text-align: center;
}
/* The status dot of an issue keeps the color of its status (status-N-fg) */
.global-search-item-icon:not([class*="-fg"]) {
    color: #6f7a70;
}
.global-search-item-icon.fa-circle {
    margin-top: 5px;
    font-size: 10px;
}
.global-search-item {
    min-width: 0;
}
.global-search-item > a {
    color: #1f3a28;
    font-size: 13px;
    font-weight: 500;
}
.global-search-item > a:hover {
    color: #106e40;
    text-decoration: none;
}
.global-search-details {
    color: #8a938b;
    font-size: 11px;
}
.global-search-empty {
    margin: 0;
    padding: 10px 14px;
    font-style: italic;
}
.global-search-more {
    padding: 8px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12px;
}
.global-search-more > a {
    color: #327138;
    font-weight: 600;
}
@media (min-width: 992px) {
    #navbar .ace-nav > li {
        border-left-width: 0;
    }
    #navbar .ace-nav > li > a.dropdown-toggle {
        height: 32px;
        margin: 6px 4px 0;
        padding: 0 12px;
        border-radius: 6px;
        background-color: transparent;
        line-height: 32px;
        transition: background-color 0.15s ease;
    }
    #navbar .ace-nav > li > a.dropdown-toggle:hover,
    #navbar .ace-nav > li > a.dropdown-toggle:focus,
    #navbar .ace-nav > li.open > a.dropdown-toggle {
        background-color: rgba(255, 255, 255, 0.16);
    }
    #navbar .ace-nav > li > a.dropdown-toggle > .user-info {
        top: 0;
        line-height: 32px !important;
    }
    /* avatar (default icon or picture) sized to fit the 32px pill */
    #navbar .ace-nav > li > a.dropdown-toggle > .fa-user.fa-2x {
        font-size: 16px;
        vertical-align: baseline;
    }
    #navbar .ace-nav .nav-avatar-container-40 {
        width: 34px;
        height: 32px;
    }
    #navbar .ace-nav .nav-avatar-40 {
        max-width: 26px;
        max-height: 26px;
        margin: 3px 8px 0 0;
        border-width: 0;
        border-radius: 50% !important;
    }
    #navbar .ace-nav > li > a.dropdown-toggle > .ace-icon:last-child {
        margin-left: 4px;
        opacity: 0.8;
    }
    #navbar .ace-nav > li > .dropdown-menu {
        margin-top: 6px;
        margin-right: 4px;
        padding: 6px;
        border-width: 0;
        border-radius: 10px !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    #navbar .ace-nav > li > .dropdown-menu:before,
    #navbar .ace-nav > li > .dropdown-menu:after {
        display: none;
    }
}
#navbar .ace-nav .dropdown-menu li > a {
    margin: 1px 0;
    padding: 7px 10px;
    border-radius: 6px;
    color: #393939;
    transition: background-color 0.1s ease;
}
#navbar .ace-nav .dropdown-menu li > a:hover,
#navbar .ace-nav .dropdown-menu li > a:focus {
    background-color: #e7f4e8;
    color: #2b6331;
}
#navbar .ace-nav .dropdown-menu li.active > a,
#navbar .ace-nav .dropdown-menu li.active > a:hover {
    background-color: #42944a;
    color: #fff;
}
/* Project list: the rows have a fixed 30px height, shorter than the padded
   links above, which made each entry overlap the next one */
#navbar .ace-nav .dropdown-menu .list > li:not(.divider) {
    height: auto;
}
/* Project list: no visible scrollbar. The list takes the height it needs and
   only scrolls (wheel / touch) if it would not fit in the window. */
#navbar .ace-nav .dropdown-menu .scrollable-menu {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#navbar .ace-nav .dropdown-menu .scrollable-menu::-webkit-scrollbar {
    display: none;
}
#navbar .ace-nav .dropdown-menu .projects-searchbox input {
    border-radius: 6px !important;
}
/* "My View" layout: the blocks are moved by dragging their header and hidden
   with the eye button of their header; the hidden ones are listed in a menu of
   the sidebar (see js/my_view.js) */
.my-view-column {
    /* an empty column must remain a place where a block can be dropped */
    min-height: 120px;
}
#my-view-layout[data-token] .my-view-block > .widget-box > .widget-header,
#my-view-layout[data-token] .my-view-tabs {
    cursor: move;
}
.my-view-group {
    position: relative;
    margin-bottom: 8px;
}
/* Blocks grouped as tabs: one card, a tab bar in place of the headers */
.my-view-group.my-view-tabbed {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(16, 60, 35, 0.10), 0 1px 2px rgba(16, 60, 35, 0.08);
}
.my-view-tabbed > .my-view-block > .widget-box {
    border-radius: 0 0 10px 10px;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}
.my-view-tabbed > .my-view-block > .widget-box > .widget-header {
    display: none;
}
/* a block collapsed on its own stays open in a tab */
.my-view-tabbed > .my-view-block > .widget-box.collapsed > .widget-body {
    display: block !important;
}
.my-view-block.my-view-tab-hidden {
    display: none;
}
.my-view-tabs {
    display: flex;
    align-items: flex-end;
    padding: 2px 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.my-view-tab-list {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.my-view-tab > a {
    display: block;
    margin-bottom: -1px;
    padding: 7px 10px 6px;
    border-bottom: 2px solid transparent;
    color: #6b776d;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.my-view-tab > a:hover,
.my-view-tab > a:focus {
    color: #1f3a28;
    text-decoration: none;
}
.my-view-tab.active > a {
    border-bottom-color: #42944a;
    color: #1f3a28;
}
.my-view-tab > a > .ace-icon {
    color: #106e40;
}
.my-view-tab.my-view-dragging {
    opacity: 0.4;
}
.my-view-tab-tools {
    padding: 0 2px 6px 8px;
    white-space: nowrap;
}
.my-view-tab-tools > a {
    margin-left: 8px;
    color: #9aa59c;
    transition: color 0.15s ease;
}
.my-view-tab-tools > a:hover {
    color: #106e40;
    text-decoration: none;
}
/* drop target of a merge: outlined, with the hint in the middle */
.my-view-group.my-view-merge-target {
    border-radius: 10px;
    outline: 2px solid #42944a;
    outline-offset: 2px;
}
.my-view-group.my-view-merge-target::after {
    content: attr(data-merge-label);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 16px;
    background-color: #42944a;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(16, 60, 35, 0.25);
}
/* handle between the columns, dragged sideways to set their width; the columns
   are only side by side on wide screens */
.my-view-columns {
    position: relative;
}
.my-view-resize-handle {
    display: none;
}
@media (min-width: 992px) {
    .my-view-resize-handle {
        display: block;
        position: absolute;
        top: 0;
        bottom: 10px;
        width: 12px;
        margin-left: -6px;
        cursor: col-resize;
        touch-action: none;
    }
    .my-view-resize-handle::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 5px;
        width: 2px;
        border-radius: 1px;
        background-color: rgba(66, 148, 74, 0.5);
        opacity: 0;
        transition: opacity 0.15s;
    }
    .my-view-resize-handle:hover::after,
    #my-view-layout.my-view-resize-active .my-view-resize-handle::after {
        opacity: 1;
    }
}
#my-view-layout.my-view-resize-active {
    user-select: none;
}
.my-view-group.my-view-dragging {
    opacity: 0.4;
}
#my-view-layout.my-view-drag-active .my-view-column {
    border-radius: 8px;
    outline: 2px dashed rgba(66, 148, 74, 0.35);
    outline-offset: -4px;
}
.my-view-block .widget-toolbar > .my-view-hide {
    margin-right: 6px;
    opacity: 0.75;
}
.my-view-block .widget-toolbar > .my-view-hide:hover {
    opacity: 1;
}
.my-view-box .table > tbody > tr > td.my-view-empty {
    color: #8a938b;
    font-style: italic;
}
/* activity block: location of the event under the sentence */
.my-view-activity .my-view-activity-details {
    color: #8a938b;
    font-size: 12px;
}
.my-view-activity .my-view-activity-time {
    white-space: nowrap;
}
/* "My View" boxes, modern flat list: no grid lines nor zebra stripes, airy
   rows separated by a hairline, muted metadata, soft hover */
.my-view-box .table {
    margin-bottom: 0;
    border-width: 0;
    /* !important: a global "table" rule forces an opaque white background */
    background-color: transparent !important;
}
.my-view-box .table > tbody > tr > td {
    padding: 10px 14px;
    border-width: 0;
    border-top: 1px solid #edf1ed;
    background-color: transparent;
    vertical-align: top;
}
.my-view-box .table > tbody > tr:first-child > td {
    border-top-width: 0;
}
.my-view-box .table > tbody > tr {
    background-color: transparent;
    transition: background-color 0.1s ease;
}
.my-view-box .table > tbody > tr:hover {
    background-color: rgba(66, 148, 74, 0.1);
}
.my-view-box .table > tbody > tr.my-buglist-private {
    background-color: rgba(240, 200, 120, 0.18);
}
.my-view-box .table > tbody > tr > td {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}
.my-view-box .my-buglist-id {
    padding-right: 4px !important;
}
.my-view-box .my-buglist-id > a:first-child {
    color: #6f7a70;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.my-view-box .my-buglist-id > a:first-child:hover {
    color: #327138;
}
.my-view-box .my-buglist-id .fa-status-box {
    border-radius: 4px;
}
/* summary cell: [project] prefix muted, title emphasized, metadata line light */
.my-view-box .my-buglist-bug > td:last-child > span:not(.small) {
    color: #8a938b;
    font-size: 12px;
}
.my-view-box .my-buglist-bug > td:last-child > span:not(.small) > a {
    color: #24332a;
    font-size: 14px;
    font-weight: 500;
}
.my-view-box .my-buglist-bug > td:last-child > span:not(.small) > a:hover {
    color: #327138;
    text-decoration: none;
}
.my-view-box .my-buglist-bug > td:last-child > .small {
    color: #8a938b;
    font-size: 12px;
}
.my-view-box .my-buglist-bug > td:last-child > .small > strong {
    color: #42944a;
    font-weight: 600;
}
/* Issues changed recently: tinted row, green bar on the left, bold summary
   and a "changed 2 h ago" pill */
.my-view-box .table > tbody > tr.my-buglist-changed {
    background-color: rgba(66, 148, 74, 0.10);
}
.my-view-box .table > tbody > tr.my-buglist-changed:hover {
    background-color: rgba(66, 148, 74, 0.16);
}
.my-view-box .table > tbody > tr.my-buglist-changed > td:first-child {
    box-shadow: inset 4px 0 0 #42944a;
}
.my-view-box .my-buglist-changed > td:last-child > span:not(.small) > a {
    font-weight: 700;
}
/* as specific as the metadata rule of the row, which would make it grey */
.my-view-box .my-buglist-bug > td:last-child > span.my-buglist-changed-label {
    display: inline-block;
    margin-left: 4px;
    padding: 0 7px;
    border-radius: 9px;
    background-color: #42944a;
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}
#buglist > tbody > tr.buglist-changed > td {
    background-color: rgba(66, 148, 74, 0.10);
}
#buglist > tbody > tr.buglist-changed > td:first-child {
    box-shadow: inset 4px 0 0 #42944a;
}
#buglist > tbody > tr.buglist-changed > td.column-summary > a {
    font-weight: 700;
}
#buglist > tbody > tr.buglist-changed > td.column-last-modified {
    color: #2b6331;
}
/* Every colored box of the site as a light card: one frosted white surface
   for header and body, dark title next to an icon tile, rounder corners and a
   softer shadow. Overrides the green headers of .widget-color-* (the login
   boxes are not colored and keep their own look) */
.widget-box[class*="widget-color-"] {
    border-width: 0;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(16, 60, 35, 0.12), 0 1px 3px rgba(16, 60, 35, 0.08);
}
.widget-box[class*="widget-color-"] > .widget-body,
.widget-box[class*="widget-color-"] > form > .widget-body {
    background-color: transparent;
}
.widget-box[class*="widget-color-"] .widget-toolbox {
    border-color: rgba(0, 0, 0, 0.06);
    background-color: transparent;
}
.widget-box[class*="widget-color-"] > .widget-header {
    min-height: 40px;
    padding-left: 14px;
    border-width: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent !important;
    color: #1f3a28;
}
.widget-box[class*="widget-color-"].collapsed > .widget-header {
    border-bottom-width: 0;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title {
    line-height: 40px;
    font-size: 13.5px;
    font-weight: 600;
}
/* !important: title links often carry ace's .white class */
.widget-box[class*="widget-color-"] > .widget-header > .widget-title a:not(.btn) {
    color: #1f3a28 !important;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title a:not(.btn):hover {
    color: #106e40 !important;
    text-decoration: none;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title > .ace-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 7px;
    background-color: rgba(66, 148, 74, 0.13);
    color: #106e40;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    vertical-align: 1px;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title .badge {
    margin-left: 8px;
    background-color: rgba(66, 148, 74, 0.13) !important;
    color: #106e40;
    text-shadow: none;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-toolbar {
    line-height: 40px;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-toolbar:before {
    display: none;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-toolbar > a:not(.btn) {
    color: #9aa59c !important;
    transition: color 0.15s ease;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-toolbar > a:not(.btn):hover {
    color: #106e40 !important;
}
/* rows: roomier, green accent on the left edge on hover */
.my-view-box .table > tbody > tr > td {
    padding: 7px 12px;
}
.my-view-box .table > tbody > tr:hover {
    background-color: rgba(66, 148, 74, 0.07);
}
.my-view-box .table > tbody > tr:hover > td:first-child {
    box-shadow: inset 3px 0 0 #42944a;
}
/* issue id as a small pill */
.my-view-box .my-buglist-id > a:first-child {
    display: inline-block;
    margin-bottom: 2px;
    padding: 0 6px;
    font-size: 11px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    font-variant-numeric: tabular-nums;
}
.my-view-box .my-buglist-bug:hover .my-buglist-id > a:first-child {
    background-color: rgba(66, 148, 74, 0.15);
    color: #106e40;
}
/* status as a round dot instead of a square */
.my-view-box .my-buglist-id .fa-status-box:before {
    content: "\f111";
}
/* the edit shortcut only shows on the hovered row */
.my-view-box .my-buglist-id > a.edit {
    opacity: 0;
    transition: opacity 0.15s ease;
}
.my-view-box .my-buglist-bug:hover .my-buglist-id > a.edit,
.my-view-box .my-buglist-id > a.edit:focus {
    opacity: 1;
}
/* compact text: title 13px, project prefix and metadata 11px */
.my-view-box .my-buglist-bug > td:last-child > span:not(.small),
.my-view-box .my-buglist-bug > td:last-child > .small {
    font-size: 11px;
}
.my-view-box .my-buglist-bug > td:last-child > span:not(.small) > a {
    color: #1f3a28;
    font-size: 13px;
}
/* Issue view boxes (details, relationships, monitors, notes, add note, time
   tracking, history), same modern flat look as the "My View" boxes:
   translucent body, no grid lines nor zebra stripes, hairline separators,
   muted labels, rounded fields and buttons */
.bug-view-box {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.bug-view-box > .widget-body,
.bug-view-box > form > .widget-body {
    background-color: rgba(255, 255, 255, 0.78);
}
.bug-view-box .widget-toolbox {
    padding: 10px 14px;
    border-width: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-color: transparent;
}
.bug-view-box .widget-main + .widget-toolbox {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom-width: 0;
}
.bug-view-box .table {
    margin-bottom: 0;
    border-width: 0;
    /* !important: a global "table" rule forces an opaque white background */
    background-color: transparent !important;
}
.bug-view-box .table > thead > tr,
.bug-view-box .table > tbody > tr,
.bug-view-box .table > tfoot > tr {
    background-color: transparent;
}
/* ace draws a grey gradient on the table headers of colored widgets; the
   selector has to outrank its [class*="widget-color-"] rule */
.bug-view-box[class*="widget-color-"] > .widget-body .table > thead:first-child > tr {
    background: transparent;
}
.bug-view-box .table > thead > tr > th,
.bug-view-box .table > thead > tr > td,
.bug-view-box .table > tbody > tr > th,
.bug-view-box .table > tbody > tr > td,
.bug-view-box .table > tfoot > tr > td {
    padding: 9px 14px;
    border-width: 0;
    /* !important: bootstrap and ace set the cell border colors */
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    background-color: transparent;
    color: #24332a;
    vertical-align: top;
}
.bug-view-box .table > thead:first-child > tr:first-child > th,
.bug-view-box .table > thead:first-child > tr:first-child > td,
.bug-view-box .table > tbody:first-child > tr:first-child > th,
.bug-view-box .table > tbody:first-child > tr:first-child > td {
    border-top-width: 0 !important;
}
/* Narrow windows: bootstrap forbids line breaks in responsive table cells, so
   one long description line stretched the whole table far past the box. Let
   the text wrap instead. */
@media screen and (max-width: 767px) {
    .bug-view-box .table-responsive > .table > thead > tr > th,
    .bug-view-box .table-responsive > .table > thead > tr > td,
    .bug-view-box .table-responsive > .table > tbody > tr > th,
    .bug-view-box .table-responsive > .table > tbody > tr > td,
    .bug-view-box .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }
}
.bug-details-box .table > tbody > tr > td {
    overflow-wrap: anywhere;
}
.bug-details-box .table > tbody > tr > td img {
    max-width: 100%;
    height: auto;
}
/* the hairlines already separate the rows */
.bug-view-box .table > tbody > tr.spacer {
    display: none;
}
/* field labels: small and green, to tell them apart from the values */
.bug-view-box .table > thead > tr > th,
.bug-view-box .table > tbody > tr > th.category,
.bug-view-box .table > tbody > tr > td.category,
.bug-view-box .table > tbody > tr > th.category label {
    /* !important: default.css paints the label cells with !important */
    background-color: transparent !important;
    color: #42944a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.bug-view-box .fa-status-box {
    border-radius: 4px;
}
.bug-view-box a {
    color: #327138;
}
.bug-view-box a:hover,
.bug-view-box a:focus {
    color: #1f4a24;
}
/* flat rounded buttons: white with a green outline, filled on hover */
.bug-view-box .btn,
.bug-view-box .btn:focus {
    border: 1px solid rgba(66, 148, 74, 0.45) !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #327138 !important;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.bug-view-box .btn:hover,
.bug-view-box .btn:active {
    border-color: #42944a !important;
    background-color: #42944a !important;
    color: #fff !important;
}
.bug-view-box .btn-group > .btn,
.bug-view-box .btn-group > .pull-left,
.bug-view-box .btn-group > form {
    margin: 2px 6px 2px 0;
}
.bug-view-box input[type="text"],
.bug-view-box select,
.bug-view-box textarea {
    border: 1px solid rgba(0, 0, 0, 0.14);
    /* !important: ace forces border-radius 0 on fields */
    border-radius: 6px !important;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bug-view-box input[type="text"]:focus,
.bug-view-box select:focus,
.bug-view-box textarea:focus {
    border-color: #42944a;
    box-shadow: 0 0 0 3px rgba(66, 148, 74, 0.2);
    outline: none;
}
.bug-view-box textarea.form-control {
    padding: 10px 12px;
    line-height: 1.6;
}
/* attachments */
.bug-view-box .well {
    margin: 6px 0;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
}
.bug-view-box .label {
    padding: 3px 9px;
    height: auto;
    border-radius: 10px;
    background-color: #e7f4e8 !important;
    color: #2b6331;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    text-shadow: none;
}
.bug-view-box .label[class*="arrowed"] {
    margin-left: 0;
    margin-right: 0;
}
.bug-view-box .label[class*="arrowed"]:before,
.bug-view-box .label[class*="arrowed"]:after {
    display: none;
}

/* Issue details: the id / project / category / dates header pair reads as one
   strip, then one line per group of fields */
.bug-details-box .table > tbody > tr.bug-header > th {
    padding-bottom: 0;
}
.bug-details-box .table > tbody > tr.bug-header-data > td {
    padding-top: 2px;
    padding-bottom: 12px;
    border-top-width: 0 !important;
    font-size: 14px;
    font-weight: 500;
}
.bug-details-box .table > tbody > tr > td.bug-summary {
    font-size: 15px;
    font-weight: 600;
}
.bug-details-box .table > tbody > tr > td.bug-description,
.bug-details-box .table > tbody > tr > td.bug-steps-to-reproduce,
.bug-details-box .table > tbody > tr > td.bug-additional-information {
    font-size: 14px;
    line-height: 1.6;
}
/* assignment list in the "assigned to" cell: as wide as the names need, never
   wider than the cell (!important: .input-sm forces a 90px width) */
.bug-details-box .bug-assign-form,
.bug-details-box .bug-status-form {
    /* keeps the row as high as the plain text rows */
    margin: -4px 0;
    line-height: 20px;
}
/* reads as plain text, aligned with the values of the rows below (the negative
   margin makes up for the inner offsets); the outline only shows on hover and
   focus */
.bug-details-box select.bug-assign-select,
.bug-details-box select.bug-status-select {
    width: auto !important;
    /* Chrome sizes these lists a few pixels short and crops the last letter
       of the longest entry; browsers without calc-size keep "auto" */
    width: calc-size(auto, size + 6px) !important;
    max-width: calc(100% + 11px);
    height: 26px;
    /* padding + border + the 4px text inset browsers add inside a select */
    margin-left: -11px;
    padding: 2px 6px;
    border-color: transparent;
    background-color: transparent;
    color: #24332a;
    font-size: inherit;
    cursor: pointer;
}
.bug-details-box select.bug-assign-select:hover,
.bug-details-box select.bug-status-select:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
}
.bug-details-box select.bug-assign-select:focus,
.bug-details-box select.bug-status-select:focus {
    border-color: #42944a;
    background-color: rgba(255, 255, 255, 0.9);
}
/* the status list follows the colored status square on the same line */
.bug-details-box .bug-status-form {
    display: inline-block;
    vertical-align: middle;
}
.bug-details-box select.bug-status-select {
    /* keeps the usual gap between the square and the label */
    margin-left: -3px;
    /* !important: .input-sm forces its padding */
    padding-left: 2px !important;
    max-width: 100%;
}
/* "awaiting validation" badge: always on its own line under the status, clear
   of the status list (whose form has negative margins) */
.bug-details-box .bug-validation-pending {
    display: table;
    margin-top: 8px;
}
/* Issue actions in the top strip: icon-only buttons, the label is the tooltip.
   "active" marks a state that is on (monitored, sticky): filled button. */
.bug-view-box .btn.bug-view-icon-btn {
    width: 34px;
    height: 30px;
    padding: 0;
    font-size: 15px;
    line-height: 28px;
    text-align: center;
}
.bug-view-box .btn.bug-view-icon-btn > .fa {
    margin: 0;
}
.bug-view-box .btn.bug-view-icon-btn.active {
    border-color: #42944a !important;
    background-color: #42944a !important;
    color: #fff !important;
}
.bug-view-box .btn.bug-view-icon-btn.active:hover {
    border-color: #327138 !important;
    background-color: #327138 !important;
}
.bug-view-box .btn.bug-view-icon-btn.bug-view-icon-btn-danger:hover {
    border-color: #c0392b !important;
    background-color: #c0392b !important;
}

/* Notes: one airy row per note, round avatar, muted author column */
#bugnotes .table > tbody > tr.bugnote > td {
    padding: 14px;
}
#bugnotes .table > tbody > tr.bugnote {
    transition: background-color 0.1s ease;
}
#bugnotes .table > tbody > tr.bugnote:hover {
    background-color: rgba(66, 148, 74, 0.05);
}
#bugnotes .table > tbody > tr.bugnote > td.category {
    width: 25%;
    font-weight: normal;
}
#bugnotes .table > tbody > tr.bugnote > td.category p {
    margin-bottom: 3px !important;
}
#bugnotes .table > tbody > tr.bugnote > td.category p:first-child > a {
    color: #24332a;
    font-size: 13px;
    font-weight: 600;
}
#bugnotes .table > tbody > tr.bugnote > td:last-child {
    background-color: transparent;
    font-size: 14px;
    line-height: 1.6;
}
#bugnotes .table > tbody > tr.bugnote > td.bugnote-private {
    background-color: rgba(240, 200, 120, 0.18) !important;
}
#bugnotes .bugnote-avatar-container-80 {
    width: 52px;
    line-height: normal;
}
#bugnotes .bugnote-avatar-80 {
    max-width: 44px;
    max-height: 44px;
    border-width: 0;
    border-radius: 50%;
}
#bugnotes .time-tracked.label {
    margin-bottom: 6px;
}
#bugnotes .time-tracking-total {
    padding: 8px 14px;
    color: #6f7a70;
    font-size: 12px;
}
#bugnotes .time-tracking-total .time-tracked {
    color: #24332a;
    font-weight: 600;
}

/* History and time tracking tables: quiet rows, soft hover */
#history .table > tbody > tr,
#bugnotestats .table > tbody > tr,
#relationships .table > tbody > tr {
    transition: background-color 0.1s ease;
}
#history .table > tbody > tr:hover,
#bugnotestats .table > tbody > tr:hover,
#relationships .table > tbody > tr:hover {
    background-color: rgba(66, 148, 74, 0.07);
}
#history .table > tbody > tr > td.small-caption:first-child {
    color: #6f7a70;
    white-space: nowrap;
}

/* Add note: file drop area as a soft dashed card */
.bug-view-box .dropzone {
    padding: 18px;
    border: 2px dashed rgba(66, 148, 74, 0.4);
    border-radius: 10px;
    background-color: rgba(66, 148, 74, 0.04);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.bug-view-box .dropzone:hover,
.bug-view-box .dropzone.dz-drag-hover {
    border-color: #42944a;
    background-color: rgba(66, 148, 74, 0.09);
}
.bug-view-box .dropzone .upload-icon {
    color: #42944a !important;
}
.bug-view-box .dropzone > span {
    color: #6f7a70 !important;
    font-size: 14px !important;
}

/* Issue view: tab bar switching between the notes, history and time tracking
   boxes (see js/common.js). The bar takes the place of the box headers: same
   green strip, the active tab joins the box body below. */
.bug-view-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 6px 8px 0;
    border: 1px solid #42944a;
    border-bottom-width: 0;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #56b35f 0%, #327138 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.10);
    /* keep the shadow off the box that follows */
    clip-path: inset(-16px -16px 0 -16px);
    list-style: none;
}
.bug-view-tabs > li > a {
    display: block;
    padding: 7px 16px;
    border-radius: 6px 6px 0 0;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.bug-view-tabs > li > a:hover,
.bug-view-tabs > li > a:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.bug-view-tabs > li > a:focus:not(:focus-visible) {
    outline: none;
}
.bug-view-tabs > li.active > a,
.bug-view-tabs > li.active > a:hover,
.bug-view-tabs > li.active > a:focus {
    background-color: rgba(255, 255, 255, 0.92);
    color: #2b6331;
    font-weight: 600;
}
.bug-view-tabs > li > a > .ace-icon {
    margin-right: 4px;
}
@media screen {
    .bug-view-tab-pane:not(.active) {
        display: none;
    }
    /* the tab is the title: no gap, no header, and a box collapsed earlier
       (state kept in a cookie) could not be reopened without its header */
    .bug-view-tab-pane > .space-10,
    .bug-view-tab-pane > .widget-box > .widget-header {
        display: none;
    }
    .bug-view-tab-pane > .widget-box {
        /* ace gives every box a 3px vertical margin: it would detach the box
           from the tab bar */
        margin-top: 0;
        border-top-width: 0;
        border-radius: 0 0 8px 8px;
    }
    .bug-view-tab-pane > .widget-box.collapsed .widget-body {
        display: block !important;
    }
}

/* Notes box: "add note" button on the first line, unfolding the form */
.bugnote-add-inline > .bugnote-add-form {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(66, 148, 74, 0.04);
}
.bugnote-add-inline .btn.bugnote-add-toggle > .ace-icon {
    margin-right: 4px;
    transition: transform 0.15s ease;
}
.bugnote-add-inline .btn.bugnote-add-toggle.active > .ace-icon {
    transform: rotate(45deg);
}

/* Boxes must keep an opaque background now that the page shows an image:
   - a body whose content is only floated columns (summary page) would collapse
     to zero height, so it has to contain its floats;
   - colored boxes without any widget-body (graph pages) get the background on
     the box itself. */
.widget-body > .widget-main:after {
    display: table;
    clear: both;
    content: "";
}
.widget-box[class*="widget-color-"]:not(:has(> .widget-body)):not(:has(> form > .widget-body)) {
    background-color: #fff;
}
/* Login pages: ace draws the box frame with padding + background, which leaves
   square inner corners under the rounded box. Use a real border instead so the
   content is clipped to the radius. */
.light-login .widget-box {
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    /* frosted glass card; !important: ace colors each login box variant */
    background-color: rgba(255, 255, 255, 0.6) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.light-login .widget-box > .widget-body {
    padding-bottom: 0;
    background-color: transparent;
}
/* Login pages, modern flat look: borderless title, rounded fields, full-width
   green action button, light footer links */
.login-layout .widget-box .widget-main {
    padding: 28px 36px 30px;
    background: transparent;
}
.login-layout .widget-main h4.header {
    margin-top: 0;
    padding-bottom: 6px;
    border-bottom-width: 0;
    color: #2b3a2d;
    font-size: 20px;
    font-weight: 600;
}
.login-layout .widget-main .form-control {
    height: 44px;
    padding: 0 40px 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    /* !important: ace forces border-radius 0 on text inputs */
    border-radius: 10px !important;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.login-layout .widget-main .form-control:focus {
    border-color: #42944a;
    box-shadow: 0 0 0 3px rgba(66, 148, 74, 0.2);
}
.login-layout .widget-main .input-icon > .ace-icon {
    right: 10px;
    line-height: 42px;
    color: #9aa59b;
}
.login-layout .widget-main .btn {
    float: none !important;
    width: 100% !important;
    height: 44px;
    border-width: 0;
    border-radius: 10px !important;
    background-color: #42944a !important;
    box-shadow: none;
    text-shadow: none;
    font-weight: 600;
    transition: background-color 0.15s ease;
}
.login-layout .widget-main .btn:hover,
.login-layout .widget-main .btn:focus {
    background-color: #327138 !important;
}
.login-layout .widget-box .toolbar {
    padding: 14px 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}
.login-layout .widget-box .toolbar a {
    color: #327138;
    font-size: 13px;
    font-weight: 600;
    text-shadow: none;
}
.login-layout .widget-box .toolbar a:hover {
    color: #1f4a24;
}
/* Login pages: center the logo + box block vertically in the viewport */
.login-layout .main-container {
    display: flex;
    align-items: center;
    min-height: 100vh;
}
.login-layout .main-container > .main-content {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 20px;
    /* larger bottom padding nudges the block slightly above true center */
    padding-bottom: 12vh;
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .page-content {
        padding: 8px 20px 24px;
    }

    .input-sm {
        width: auto !important;
    }

    .sidebar.compact + .main-content {
        margin-right: auto !important;
        margin-left: 125px !important;
    }

    .sidebar.menu-min + .main-content {
        margin-right: auto  !important;
        margin-left: 43px !important;
    }

    .sidebar.compact, .sidebar.compact.navbar-collapse {
        width: 125px;
    }

    .sidebar.compact ~ .footer .footer-inner {
        left: 125px;
    }

    .sidebar.menu-min ~ .footer .footer-inner {
        left: 43px;
    }

    .rtl .sidebar.compact + .main-content {
        margin-left: auto !important;
        margin-right: 125px !important;
    }

    .rtl .sidebar.menu-min + .main-content {
        margin-left: auto !important;
        margin-right: 43px !important;
    }

    .rtl .sidebar.compact ~ .footer .footer-inner {
        right: 125px !important;
    }

    .rtl .sidebar.menu-min ~ .footer .footer-inner {
        right: 43px !important;
    }

}

/* Minimum time that can be entered, next to a time tracking input */
.time-tracking-min-hint {
    margin-left: 6px;
    color: #777;
    font-size: 12px;
}
.time-tracking-min-hint.time-tracking-input-error {
    color: #d15b47;
    font-weight: 600;
}
input.time-tracking-input-error,
input.time-tracking-input-error:focus {
    border-color: #d15b47 !important;
    box-shadow: 0 0 0 2px rgba(209, 91, 71, 0.2);
}

/* Time tracking block: date range on the left, export buttons on the right,
   same flat green style as the top bar buttons. */
.time-tracking-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
}
.time-tracking-dates > label {
    margin: 0 8px 0 0;
}
.time-tracking-exports {
    display: flex;
    gap: 6px;
    /* pushed to the right edge, the dates and switches stay grouped on the left */
    margin-left: auto;
}
.btn.time-tracking-export-btn,
.btn.time-tracking-export-btn:focus {
    height: 32px;
    padding: 0 14px;
    border-width: 0;
    border-radius: 6px !important;
    background-color: #42944a !important;
    box-shadow: none;
    text-shadow: none;
    color: #fff !important;
    font-weight: 600;
    line-height: 32px;
    transition: background-color 0.15s ease;
}
.btn.time-tracking-export-btn:hover {
    background-color: #327138 !important;
}
.btn.time-tracking-export-btn > .fa {
    margin-right: 4px;
}

/* Time tracking block: toggle switches (subprojects, HH:MM / days) */
.time-tracking-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
}
.time-tracking-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}
.time-tracking-switch > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.time-tracking-switch-slider {
    position: relative;
    flex: none;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background-color: #c4c4c4;
    transition: background-color 0.15s ease;
}
.time-tracking-switch-slider:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}
.time-tracking-switch > input:checked + .time-tracking-switch-slider:before {
    transform: translateX(16px);
}
.time-tracking-switch > input:checked + .time-tracking-switch-slider,
.time-tracking-switch-choice .time-tracking-switch-slider {
    background-color: #42944a;
}
.time-tracking-switch > input:focus-visible + .time-tracking-switch-slider {
    box-shadow: 0 0 0 3px rgba(66, 148, 74, 0.35);
}
/* Only the time column matching the HH:MM / days switch is shown */
.time-tracking-unit-hhmm .time-tracking-col-days,
.time-tracking-unit-days .time-tracking-col-hhmm {
    display: none;
}

/* Time tracking tables: header and total rows stand out from the detail rows */
.time-tracking-table > tbody > tr.time-tracking-head > td {
    padding-top: 9px;
    padding-bottom: 9px;
    border-bottom: 2px solid #42944a;
    background-color: #e7f4e8;
    color: #2b6331;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.time-tracking-table > tbody > tr.time-tracking-total > td {
    padding-top: 9px;
    padding-bottom: 9px;
    border-top: 2px solid #42944a;
    background-color: #f1f8f2;
    color: #2b6331;
    font-size: 14px;
    font-weight: 700;
}
/* Time columns: figures aligned to the right, header included */
.time-tracking-table .time-tracking-col-hhmm,
.time-tracking-table .time-tracking-col-days {
    text-align: right;
}

/* ===========================================================================
   Compact display: denser blocks and tables on the whole site, so that more
   fits on the screen. Kept at the end to override the rules above.
   =========================================================================== */
.page-content {
    padding: 6px 8px 16px;
}
@media (min-width: 768px) {
    .page-content {
        padding: 6px 12px 16px;
    }
}
.widget-main {
    padding: 8px 10px;
}
.widget-toolbox.padding-8 {
    padding: 4px 8px;
}
/* cards: lower header, smaller icon tile, tighter corners */
.widget-box[class*="widget-color-"] {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(16, 60, 35, 0.10), 0 1px 2px rgba(16, 60, 35, 0.08);
}
.widget-box[class*="widget-color-"] > .widget-header {
    min-height: 32px;
    padding-left: 10px;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title {
    line-height: 32px;
    font-size: 13px;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title > .ace-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 20px;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-title .badge {
    margin-left: 6px;
    padding: 2px 7px;
}
.widget-box[class*="widget-color-"] > .widget-header > .widget-toolbar {
    line-height: 32px;
}
/* generic tables */
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 5px 8px;
}
/* My View: tighter rows */
.my-view-box .table > tbody > tr > td {
    padding: 4px 4px 4px 10px;
}
/* timeline and wiki / documents blocks: smaller avatars, tighter entries */
.profile-activity {
    padding: 5px 10px;
}
.profile-activity img,
.profile-activity .thumbicon {
    max-width: 28px;
    margin-right: 8px;
}
.profile-activity .thumbicon {
    width: 28px;
    height: 28px;
    font-size: 13px;
    line-height: 28px;
}
.profile-activity-avatar-container-40 {
    width: 36px;
    line-height: 28px;
}
.profile-activity .time {
    margin-top: 1px;
    font-size: 11px;
}
#timeline .widget-toolbox {
    padding: 4px 8px;
}
/* issue list: tighter cells and smaller toolbar */
#buglist > tbody > tr > td {
    padding: 3px 6px;
}
#buglist > thead > tr > th {
    padding: 4px 6px;
}
.bug-list-box .widget-toolbox {
    padding: 4px 8px;
}
.bug-list-box .widget-toolbox .btn {
    padding: 2px 8px;
    font-size: 12px;
}
/* issue view */
.bug-view-box .widget-toolbox {
    padding: 6px 10px;
}
.bug-view-box .table > thead > tr > th,
.bug-view-box .table > thead > tr > td,
.bug-view-box .table > tbody > tr > th,
.bug-view-box .table > tbody > tr > td,
.bug-view-box .table > tfoot > tr > td {
    padding: 5px 10px;
}

/* Report page in a modal (js/bug_report_modal.js) */
.bug-report-modal-open .modal-backdrop.in {
    opacity: 1;
    background: rgba(16, 38, 24, 0.45);
    backdrop-filter: blur(4px);
}
.bug-report-modal .modal-dialog {
    width: calc(100% - 40px);
    max-width: 880px;
    margin: 20px auto;
}
.bug-report-modal.fade .modal-dialog {
    transform: translateY(16px) scale(0.98);
    transition: transform 0.2s ease-out;
}
.bug-report-modal.in .modal-dialog {
    transform: none;
}
.bug-report-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 45, 25, 0.35);
}
.bug-report-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e8eeea;
    background: #fff;
}
.bug-report-modal .modal-header:before,
.bug-report-modal .modal-header:after {
    display: none;
}
.bug-report-modal-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #42944a 0%, #2b6331 100%);
    color: #fff;
    font-size: 17px;
}
.bug-report-modal-heading {
    flex: 1;
    min-width: 0;
}
.bug-report-modal .modal-title {
    margin: 0;
    color: #1f2d24;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}
.bug-report-modal-subtitle {
    margin-top: 1px;
    overflow: hidden;
    color: #6b7a70;
    font-size: 12.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bug-report-modal-project {
    flex: none;
    max-width: 40%;
    padding: 4px 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf4ec;
    color: #2b6331;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bug-report-modal-subtitle[hidden],
.bug-report-modal-project[hidden] {
    display: none;
}
.bug-report-modal .modal-header .close {
    flex: none;
    float: none;
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 50%;
    color: #6b7a70;
    font-size: 24px;
    line-height: 30px;
    text-shadow: none;
    opacity: 1;
    transition: background-color 0.15s, color 0.15s;
}
.bug-report-modal .modal-header .close:hover {
    background: #f0f3f1;
    color: #1f2d24;
}
.bug-report-modal .modal-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 160px;
    padding: 0;
}
.bug-report-modal .bug-report-modal-error {
    margin: 14px 20px 0;
    border: 0;
    border-radius: 10px;
}
.bug-report-modal-frame {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}
.bug-report-modal-spinner {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding-top: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    color: #42944a;
    text-align: center;
}
.bug-report-modal-loading .bug-report-modal-spinner {
    display: block;
}
@media (max-width: 767px) {
    .bug-report-modal .modal-dialog {
        width: calc(100% - 16px);
        margin: 8px auto;
    }
    .bug-report-modal .modal-content {
        max-height: calc(100vh - 16px);
    }
    .bug-report-modal-project {
        display: none;
    }
}

/* Page displayed in a modal (layout_frame_page_begin()): its content only */
html:has(#frame-page) {
    scrollbar-gutter: auto;
}
body#frame-page {
    background: #fff !important;
}
#frame-page .frame-page-content > .col-md-12 {
    float: none;
    padding: 0;
}
/* Elements printed by plugins at the end of the page (EasyEnter, VEditor) */
#frame-page > #easyenter-helper_current_project_id,
#frame-page > #configTinyMCE {
    display: none;
}
#frame-page .report-stay-created {
    margin: 18px 24px 0;
    border: 0;
    border-radius: 10px;
    background: #eaf4ec;
    color: #2b6331;
}
#frame-page .report-stay-created a {
    color: #2b6331;
    font-weight: 600;
    text-decoration: underline;
}
/* The title is in the header of the modal */
#frame-page .frame-page-content .widget-box,
#frame-page .frame-page-content .widget-body,
#frame-page .frame-page-content .widget-main,
#frame-page .frame-page-content .table-responsive {
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
#frame-page .frame-page-content .widget-box > .widget-header[hidden] {
    display: none;
}

/* Fields: labels above, two columns, the long ones on the whole width */
#frame-page .frame-page-content .table {
    display: block;
    margin: 0;
    padding: 20px 24px 6px;
    border: 0;
    background: none;
}
#frame-page .frame-page-content .table > tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}
/* !important: EasyEnter shows the rows with an inline display */
#frame-page .frame-page-content .table > tbody > tr:not([style*="display: none"]) {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    background: none !important;
}
#frame-page .frame-page-content .table > tbody > tr:has(textarea, #summary, .dropzone, input[type=checkbox], input[type=radio]) {
    grid-column: 1 / -1;
}
#frame-page .frame-page-content .table > tbody > tr > th,
#frame-page .frame-page-content .table > tbody > tr > td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    background: none !important;
}
#frame-page .frame-page-content .table > tbody > tr > .category {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
    color: #3b4a41;
    font-size: 12.5px;
    font-weight: 600;
}
#frame-page .frame-page-content .category label {
    margin: 0;
    background: none !important;
    color: inherit;
    font-weight: 600;
}
#frame-page .frame-page-content .category .required {
    order: 2;
    color: #d15b47;
}
#frame-page .frame-page-content .category br {
    display: none;
}
#frame-page .frame-page-content .category .small {
    order: 3;
    margin-left: auto;
    color: #8a978f;
    font-size: 11.5px;
    font-weight: 400;
}
#frame-page .frame-page-content .twitter-typeahead {
    width: 100%;
}
#frame-page .frame-page-content td select,
#frame-page .frame-page-content td input[type=text],
#frame-page .frame-page-content td input[type=number],
#frame-page .frame-page-content td input[type=email],
#frame-page .frame-page-content td input[type=url],
#frame-page .frame-page-content td input:not([type]),
#frame-page .frame-page-content td textarea {
    width: 100%;
    max-width: 100%;
    height: 38px;
    padding: 6px 11px;
    border: 1px solid #d6ded9 !important;
    border-radius: 8px !important;
    background-color: #fff;
    box-shadow: none;
    color: #1f2d24;
    font-size: 13.5px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
#frame-page .frame-page-content td textarea {
    height: auto;
}
/* !important: .input-sm has a fixed width */
#frame-page .frame-page-content td .input-sm {
    width: 100% !important;
}
#frame-page .frame-page-content td select:focus,
#frame-page .frame-page-content td input:focus,
#frame-page .frame-page-content td textarea:focus,
#frame-page .frame-page-content .tox-tinymce:focus-within {
    border-color: #42944a !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(66, 148, 74, 0.18) !important;
}
/* Time spent: the unit and the minimum next to the field */
#frame-page .frame-page-content td:has(> [data-time-tracking-unit]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    color: #3b4a41;
    font-size: 12.5px;
}
#frame-page .frame-page-content td > input[data-time-tracking-unit] {
    flex: 1 1 100px;
    width: auto !important;
}
#frame-page .frame-page-content td > .time-tracking-min-hint {
    color: #8a978f;
}
#frame-page .frame-page-content .tox-tinymce {
    border: 1px solid #d6ded9 !important;
    border-radius: 10px !important;
    transition: border-color 0.15s, box-shadow 0.15s;
}
#frame-page .frame-page-content .dropzone {
    min-height: 0;
    padding: 18px 16px;
    border: 2px dashed #cfdcd3 !important;
    border-radius: 12px;
    background: #f7faf8;
    transition: border-color 0.15s, background-color 0.15s;
}
#frame-page .frame-page-content .dropzone:hover,
#frame-page .frame-page-content .dropzone.dz-drag-hover {
    border-color: #42944a !important;
    background: #eef6f0;
}
#frame-page .frame-page-content .dropzone .upload-icon {
    color: #42944a !important;
    font-size: 28px;
}
#frame-page .frame-page-content .dropzone .bigger-150 {
    color: #6b7a70 !important;
    font-size: 13px !important;
}

/* Footer: stays visible while the form scrolls */
#frame-page .frame-page-content .widget-toolbox {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 2;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 24px !important;
    border: 0;
    border-top: 1px solid #e8eeea;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}
#frame-page .frame-page-content .widget-toolbox:before,
#frame-page .frame-page-content .widget-toolbox:after {
    display: none;
}
#frame-page .frame-page-content .widget-toolbox .required {
    order: -1;
    margin-right: auto;
    color: #8a978f;
    font-size: 12px;
    white-space: nowrap;
}
#frame-page .frame-page-content .widget-toolbox .btn {
    margin: 0;
    padding: 8px 20px;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #42944a 0%, #2b6331 100%) !important;
    box-shadow: 0 4px 12px rgba(43, 99, 49, 0.25);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 600;
    text-shadow: none;
    transition: filter 0.15s, box-shadow 0.15s;
}
#frame-page .frame-page-content .widget-toolbox .btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 16px rgba(43, 99, 49, 0.3);
}
#frame-page .frame-page-content .widget-toolbox .frame-cancel {
    padding: 8px 16px;
    border: 1px solid #d6ded9;
    border-radius: 8px;
    background: #fff;
    color: #3b4a41;
    font-size: 13.5px;
    font-weight: 500;
    transition: background-color 0.15s;
}
#frame-page .frame-page-content .widget-toolbox .frame-cancel:hover {
    background: #f3f6f4;
}
@media (max-width: 600px) {
    #frame-page .frame-page-content .table {
        padding: 16px 16px 4px;
    }
    #frame-page .frame-page-content .table > tbody {
        grid-template-columns: minmax(0, 1fr);
    }
    #frame-page .frame-page-content .widget-toolbox {
        padding: 10px 16px !important;
    }
}
