.dropdown.bootstrap-select.btn.btn-secondary {
    border: 0px;
    padding: 0px;
}

.btn-xs,
.btn-group-xs > .btn {
    padding: 1px 0.313rem;
    font-size: var(--fs-md);
    line-height: 1.5;
    border-radius: 3px;
}

/* ---------------------------------------------------------------------------
   TAB TOOLBARS
   Two different wrappers end up on screen: the service and failover tabs use
   the .fixed-table-toolbar bootstrap-table generates, while the history and
   realtime tabs use our own .grid-button-row.  They are styled together here so
   the two cannot drift apart - the toolbar has to read the same on every tab.

   zoom sits the whole bar one step below the grid it labels.  It multiplies
   with --ui-density rather than fighting it, so the relationship survives a
   change to the density lever.
   --------------------------------------------------------------------------- */
.grid-button-row,
.bootstrap-table .fixed-table-toolbar {
    zoom: 0.85;
    min-height: 3.125rem;
}

/* Both wrappers hold floated children, so both need to contain them.
   bootstrap-table already ships this rule for its own toolbar. */
.grid-button-row::after {
    content: "";
    display: block;
    clear: both;
}

.grid-button-row {
    padding-right: 0%;
    padding-top: 0.75rem;
    padding-bottom: 0.625rem;
}

/* bootstrap-table spaces its toolbar with a literal 10px margin on the three
   child groups instead of padding on the bar itself.  Restate it in the same
   rhythm .grid-button-row uses above, which also gets it onto the density scale.
   .fx-timeframe and .toolbar-button are ours and opt into the same rule. */
.bootstrap-table .fixed-table-toolbar .bs-bars,
.bootstrap-table .fixed-table-toolbar .search,
.bootstrap-table .fixed-table-toolbar .columns,
.bootstrap-table .fixed-table-toolbar .fx-timeframe,
.bootstrap-table .fixed-table-toolbar .toolbar-button {
    margin-top: 0.75rem;
    margin-bottom: 0.625rem;
}

/* A tab's own button in the table toolbar, sat at the right hand end beside the
   search box by moveToolbarButton().  Top and bottom margins come from the shared
   rule above so it lines up with the groups either side of it; only the gap to the
   search box is set here, matching the failover tab's Timeframe group. */
.bootstrap-table .fixed-table-toolbar .toolbar-button {
    margin-right: 0.735rem;
}

/* Bootstrap hands dropdown positioning to Popper, which measures the button in
   rendered pixels and then writes the result back as plain CSS pixels.  Inside a
   zoomed toolbar those are not the same unit, so every menu lands short of its
   button - most visibly the Columns menu, which sits right-aligned and drifts
   left.  Put the menus back on CSS positioning, which is what Bootstrap's own
   data-display="static" does; that attribute is not an option here because
   bootstrap-table generates its own toggle markup.

   bootstrap-select is excluded: it positions its menus itself and has not been
   reported as misplaced, so there is no reason to reach into it. */
.grid-button-row :not(.bootstrap-select) > .dropdown-menu,
.bootstrap-table .fixed-table-toolbar :not(.bootstrap-select) > .dropdown-menu {
    transform: none !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
}

/* The three rules below have to match the specificity of the one above, since
   they are all fighting the same !important, and win on source order instead. */
.grid-button-row .dropup > .dropdown-menu,
.bootstrap-table .fixed-table-toolbar .dropup > .dropdown-menu {
    top: auto !important;
    bottom: 100% !important;
}

.grid-button-row :not(.bootstrap-select) > .dropdown-menu-right,
.bootstrap-table .fixed-table-toolbar :not(.bootstrap-select) > .dropdown-menu-right {
    left: auto !important;
    right: 0 !important;
}

.on-off-button-div {
    width: 3.125rem;
}

#intervalvalue {
    width: 6.25rem;
}

.axis path,
.axis line {
    stroke: rgb(50, 50, 50);
    shape-rendering: crispEdges;
}

.axis text {
    fill: rgb(50, 50, 50);
}

.bartext {
    fill: rgb(20, 20, 20);
}

.tooltip-inner {
    background-color: #333;
    opacity: 1;
}

.tooltip .arrow::before {
    border-bottom-color: #333;
    border-top-color: #333;
    opacity: 1;
}

.notsampled {
    fill: grey;
}

.noresponse {
/*    fill: #00aa00;*/
/*    fill: #008888;*/
    fill: #bcb88a;
}

.clienterror {
    fill: orange;
}

.servererror {
    fill: red;
}

.success {
    fill: green;
}

.shortcircuited {
    fill: lightgreen;
}

.regiondisabled {
    fill: #444444;
}

.small-pills {
    font-size: var(--fs-base) !important;
    padding-top: 0.1875rem !important;
    padding-bottom: 0.1875rem !important;
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
}

.header-bar {
    font-size: var(--fs-xl) !important;
}

.font-weight-semi-bold {
    font-weight: 500;
}

.w250 {
    width: 15.625rem;
}

.wthim {
    width: 23.125rem;
}
