/* --------------
 * aaron
 */
nav {
    background-color: #fff;
    color: #000;
}
nav a, nav a:hover, nav a:focus {
    color: #000;
}
.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
}

div.v-middle > * {
    vertical-align: super;
    line-height: normal;
}

.alert:not(.login-alert) {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 50%;
    display: none;
}

input[type=checkbox] {
    height: 20px;
    width: 20px;
    vertical-align: sub;
    margin: 5px;
}

input[type=number] {
    margin: 5px;
}

table tr {
    border-bottom: 1px solid;
}

table td {
    padding: 5px 0;
}

li {
    display: inline-block;
}

.li-item {
    border-bottom: solid 1px #e5e5e5;
    border-right: solid 1px #e5e5e5;
}

.navbar-nav > li > a {
    padding: unset;
    margin: unset;
    margin-top: 22px;
    padding: 0 5px;
}

nav i.material-icons {
    display: unset;
    height: unset;
}

input.search {
    height: 1em !important;
}

.ui.selection.dropdown.nojs {
    min-width: unset !important;
}

.dropdown.inline-display, .inline-display .dropdown {
    display: inline !important;
    width: unset !important;
    min-width: unset;
}

#part_type_filter h2 select {
    width: 150px !important;
}

.info-box div.row {
    padding: 5px;
}

a {
    cursor: pointer;
}

. {
    margin: 0px !important;
}

div.header.alternate {
    background-color: #343434;
    color: #fff;
}

div.header .dropdown {
    font-size: 13px;
}

.card .header.alternate h2, .card .header.alternate a {
    color: #fff;
}

.close-btn-ind-new, .close-btn-ind-upd {
    color: #000;
}

/* Settings page sections (2026-10-08): a jump bar at the top and a numbered
   header above each group of cards, so the Ghosted Parts settings can be
   found without scrolling the whole page. No type under 14px. */
.settings-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 15px 4px;
}
.settings-jump a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #cfd8e0;
    color: #333;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    text-decoration: none;
}
.settings-jump a:hover {
    border-color: #2185d0;
    color: #2185d0;
}
.settings-section {
    clear: both;    /* the cards above are floated bootstrap cols; without this
                       a header rode up beside the previous card */
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin: 30px 15px 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c9d3dc;
}
.settings-section .num {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #343434;
    border-radius: 6px;
    padding: 2px 9px;
}
.settings-section h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}
.settings-section p {
    margin: 0;
    font-size: 15px;
    color: #5a6873;
}
#ghosted_parts_settings > div {
    max-width: 320px;
}
.ghost-stock-help {
    font-size: 14px;
    color: #5a6873;
    line-height: 20px;
    margin-top: 6px;
}
/* Tiering rules builder (Ghosted Parts card) */
.ghost-rules {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e3e8ec;
    font-size: 15px;
}
.ghost-rules h3 {
    font-size: 17px;
    margin: 0 0 8px;
}
.ghost-rules-status {
    margin-left: 12px;
    color: #5a6873;
    font-size: 14px;
}
#ghost_rules_preview {
    margin-top: 12px;
    max-width: 900px;
}
#ghost_rules_table td, #ghost_rules_table th {
    font-size: 15px;
    padding: 5px 8px;
}
#ghost_rules_table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
#ghost_rules_table tbody {
    display: block;
    max-height: 420px;
    overflow-y: auto;
}
#ghost_rules_table thead, #ghost_rules_table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

/* end aaron */

#freight_settings label {
    font-weight: normal;
}

table#trusted_partners tr th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.last-clicked {
    background: darkgrey;
}

.center {
    text-align: center !important;
}

.no-marg {
    margin: 0 !important;
}

#brokering_markup {
    padding: 15px;
}

#markup_by_part_cost, #markup_by_part_type {
    margin-top: 25px;
}

div.error label {
    border: 1px solid #e0b4b4 !important;
    background-color: #fff6f6 !important;
    color: #9f3a38 !important;
    box-shadow: none !important;
}

#login-btn {
    background-color: #227FDE !important;
    color: #fff !important;
}
/* 'Select All' under the "Do not BUY" header of Brokering Settings by Part Type */
#buyer_part_type_settings_table th .do_not_broker_select_all {
    display: inline-block;
    margin: 6px 0 0;
    font-weight: normal;
    white-space: nowrap;
    cursor: pointer;
}
#buyer_part_type_settings_table th .do_not_broker_select_all input[type="checkbox"] {
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: 17px;
    height: 17px;
    margin: 0 4px 0 0;
    vertical-align: middle;
}
