select[readonly] {
    pointer-events: none;
}

.ui-datepicker-current-day > .ui-state-active {
    background: #FFC673;
}

.ui-datepicker-today > .ui-state-highlight {
    background: #ccccff;
}

.bg-white {
    background-color: #fff;
}

.bg-orange {
    background-color: #FFC673 !important;
}

.bg-mantle {
    background-color: #95A492;
}

/*.full-height {*/
/*    height: 100vh;*/
/*}*/

.navbar-static-top {
    background: #FFF;
    border-bottom: 2px solid;
}

.navbar-form-custom {
    width: 250px;
    height: 30px;
    margin: 15px 10px;
}

.navbar-form-custom .form-control {
    height: 30px;
    margin: 0 0;
}

.form-group.required > label::before {
    content: "* ";
    color: red;
}

.w-auto {
    min-width: 0;
    width: auto;
}

.navSearch .dropdown-menu > li > a {
    line-height: unset;
}

.search-form .form-group {
    float: right !important;
    transition: all 0.35s, border-radius 0s;
    width: 32px;
    height: 32px;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    border-radius: 25px;
    border: 1px solid #ccc;
}

.search-form .form-group input.form-control {
    padding-left: 34px;
    padding-right: 8px;
    border: 0 none;
    background: transparent;
    box-shadow: none;
    display: block;
}

/*.search-form .form-group input.form-control::-webkit-input-placeholder {*/
/*display: none;*/
/*}*/
/*.search-form .form-group input.form-control:-moz-placeholder {*/
/*!* Firefox 18- *!*/
/*display: none;*/
/*}*/
/*.search-form .form-group input.form-control::-moz-placeholder {*/
/*!* Firefox 19+ *!*/
/*display: none;*/
/*}*/
/*.search-form .form-group input.form-control:-ms-input-placeholder {*/
/*display: none;*/
/*}*/

.search-form .navSearch.showSearch {
    width: 100%;
}

.search-form .form-group span.search-icon {
    position: absolute;
    top: -1px;
    left: 2px;
    z-index: 2001;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    color: #3596e0;
    right: initial;
    font-size: 14px;
}

.recent-search-time {
    color: #000000;
    display: block;
    font-size: 10px;
    font-weight: bold;
}

.unassigned-pod-form .form-control {
    width: 50%;
}

.nav-header {
    padding: 22px 10px;
}

.nav-header a {
    display: inline-flex;
    padding-left: 5px;
}

/*.navbar-static-top {*/
/*background-image: url('patterns/header-profile.png');*/
/*}*/

.navbar-right {
    display: inline-flex;
    float: right !important;
}

.navbar-top-links li:last-child {
    margin-right: 0;
}

.sidebar-collapse li.christmas-blue {
    background-color: #2A8FBD;
}

.sidebar-collapse li.christmas {
    background-color: #009900;
}

.sidebar-collapse li.amazon {
    background-color: #f89b34;
}

.panel-amazon {
    border-color: #f89b34;
}

.panel-amazon > .panel-heading {
    background-color: #f89b34;
    border-color: #f89b34;
    color: #ffffff;
}

.text-amazon {
    color: #f89b34;
}

.sidebar-collapse li.red {
    background-color: #C10E00;
}

#side-menu > li > a,
#nav-pallet-menu > ul > li > a,
#nav-transport-menu > ul > li > a {
    padding: 6px 10px 6px 25px;
}

#nav-pallet-menu,
#nav-transport-menu {
    border-left: 0px;
}

.nav-second-level li a {
    padding: 7px 10px 7px 10px;
    padding-left: 52px;
}

.nav-third-level li a {
    padding: 7px 10px 7px 10px;
    padding-left: 62px;
}

ul.nav-second-level,
ul.nav-third-level {
    background: #293846;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background: transparent;
}

.nav-label,
.nav-second-level a,
.nav-third-level a {
    font-size: 11px;
}

/*
 * Top-level side menu links are flex rows so the floated count badge
 * (e.g. Current Consignments / Consignments On Hold) can never drop onto
 * its own line when the label wraps at higher zoom levels; the badge stays
 * vertically centred against the right edge instead. Left padding is
 * reduced from the theme default (25px) to give long labels more room.
 */
#side-menu > li > a {
    display: flex;
    align-items: center;
    padding-left: 18px;
}

#side-menu > li > a > i:first-child {
    flex-shrink: 0;
}

#side-menu > li > a > .nav-label {
    flex: 1 1 auto;
    min-width: 0;
}

#side-menu > li > a > .label,
#side-menu > li > a > .fa.arrow {
    flex-shrink: 0;
    margin-left: auto;
}

.mini-navbar li.active .nav-second-level {
    left: 62px;
}

.img-circle {
    border: 1px solid;
}

.logged-in-as-customer-btn {
    margin-top: 2px;
}

.dropdown-menu-right {
    left: auto !important;
}

#dropdownUserMenu a {
    color: #000 !important;
}

.pod-dropdown {
    color: #676a6c;
}

.btn-default,
.btn-default.btn-outline:hover {
    color: #fff;
}

.btn-default:hover {
    background-color: #fff;
}

.btn-group > .btn-default:not(.btn-outline):not(:first-child) {
    border-left: 1px solid #ffffff !important;
}

#right-sidebar {
    top: 60px;
}

.sidebar-vehicles {
    width: 500px;
    padding-bottom: 40px;
}

.sidebar-content-vehicles .wrapper,
.wrapper.sidebar-content-vehicles {
    padding-right: 510px !important;
}

/*#right-sidebar .dropdown-backdrop {*/
/*z-index: 1900;*/
/*}*/

/*#right-sidebar .dropdown-menu {*/
/*z-index: 1910;*/
/*}*/

/*#right-sidebar .dropdown-menu li {*/
/*z-index: 1920;*/
/*}*/

/* Consignment entry: Address Details route panel */
.panel-body.conentry-route {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: stretch;
    padding: 0;
}

/* Bootstrap's .panel-body clearfix pseudo-elements would otherwise become grid items and shift every card over. */
.panel-body.conentry-route::before,
.panel-body.conentry-route::after {
    display: none;
}

.conentry-address-card {
    padding: 20px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.conentry-address-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 34px;
}

.conentry-address-head > .fa {
    color: #5f97c0;
}

.conentry-address-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #74808d;
}

.conentry-address-code {
    margin-left: auto;
    font-size: 11px;
    color: #74808d;
    background: #f1f4f7;
    border: 1px solid #dde3e9;
    padding: 2px 8px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}

.conentry-address-edit {
    margin-left: auto;
    flex: none;
}

.conentry-address-code + .conentry-address-edit {
    margin-left: 8px;
}

.conentry-address-company {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
}

.conentry-address-lines {
    line-height: 1.6;
}

.conentry-address-lines .locality {
    font-weight: 600;
}

.conentry-address-lines .postcode {
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-left: 6px;
}

.conentry-address-contact {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #dde3e9;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 13px;
    color: #74808d;
}

.conentry-address-contact .fa {
    margin-right: 3px;
}

.conentry-route-mid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conentry-route-mid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 24px;
    bottom: 24px;
    border-left: 2px dashed #b9c4cf;
    transform: translateX(-50%);
}

.conentry-route-truck {
    position: relative;
    background: #fff;
    border: 1px solid #dde3e9;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f97c0;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(44, 53, 64, 0.08);
}

.conentry-route-start,
.conentry-route-end {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.conentry-route-start {
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b9c4cf;
}

.conentry-route-end {
    bottom: 10px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #b9c4cf;
}

/* Consignment entry: single read-only address card fills the panel body */
.panel-body.conentry-single-address {
    padding: 0;
}

/* Consignment entry: Options panel */
.conentry-options-actions {
    display: flex;
    gap: 12px;
}

.conentry-options-actions .btn {
    flex: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.conentry-options-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: #74808d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.conentry-options-divider::before,
.conentry-options-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #dde3e9;
}

/* Consignment entry: editing a consignment that is on hold */
.checkbox.conentry-hold-toggle {
    padding: 12px 15px;
}

.conentry-hold-toggle-note {
    margin: 4px 0 0 20px;
    font-size: 12px;
}

/* Consignment entry: a problem the save found, under its field (x-field-error) */
.ld-field-error {
    margin: 5px 0 0;
    color: #a94442;
}

.ld-field-error > div + div {
    margin-top: 3px;
}

.form-group:has(.ld-field-error) > label,
.form-group:has(.ld-field-error) .control-label {
    color: #a94442;
}

.form-group:has(.ld-field-error) .form-control {
    border-color: #a94442;
}

.conentry-address-card:has(.ld-field-error) {
    box-shadow: inset 3px 0 0 #a94442;
}

.conentry-address-error {
    margin-top: 10px;
}

.conentry-quick-search {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.conentry-quick-search .control-label {
    display: block;
    margin-bottom: 8px;
}

.conentry-quick-search .help-block {
    font-size: 12px;
    color: #9aa5b1;
    margin: 8px 0 0;
}

@media (max-width: 767px) {
    .panel-body.conentry-route {
        grid-template-columns: 1fr;
    }

    .conentry-route-mid {
        display: none;
    }

    .conentry-address-card + .conentry-route-mid + .conentry-address-card {
        border-top: 1px solid #dde3e9;
    }

    .conentry-options-actions {
        flex-direction: column;
    }
}

table.table.dataTable {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.dataTables_HighBox {
    margin-bottom: 10px;
}

.spaceTop {
    margin-top: 20px;
}

.spaceBottom {
    margin-bottom: 20px;
}

.panel > .panel-heading,
.list-group-item-default {
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

.panel > .panel-heading div {
    font-weight: normal;
    text-transform: none;
}

.panel > .collapsed {
    display: none;
}

.panel > .transparent {
    background: transparent !important;
}

.panel-body-content {
    float: left;
    width: 100%;
}

/* DataTables 2 (Bootstrap 3 build) wraps the table and its controls in
   .col-* layout cells but its layout rows carry no negative gutter, so
   every table sat 15px inside the buttons above it, and the old 99% width
   (a scrollbar workaround from an earlier DataTables) took another 1%.
   The rows no longer overflow, so the container can be full width and the
   cell padding dropped: table, search box and pager then share the
   container's edges. */
.table-responsive > .dt-container {
    width: 100% !important;
}

.dt-container.dt-bootstrap > .dt-layout-row > .dt-layout-cell {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.btn-group {
    display: flex;
}

.fit-contents {
    width: 1%;
    white-space: nowrap;
}


.form-control {
    color: #555;
}

.form-control-sm {
    font-size: 11px !important;
}

.middle-box {
    min-width: 300px;
}

.tracking-form {
    background-color: rgba(0, 0, 0, .6);
    border-radius: 4rem;
    padding: 3rem;
    font-family: 'Roboto', helvetica, arial, sans-serif;
}

.tracking-form .form-control {
    background-color: #c7c7c7;
    color: #000;
}

.checkbox-block {
    padding-left: 40px;
}

.ibox-tools {
    float: right;
}

.title {
    text-align: left;
}

.title > h1,
.title .page-header-main > h1 {
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Legacy .title blocks sit inside a .row's negative margins and need the
   gutter re-added; x-page-header lives outside the grid and does not. */
.title > h1 {
    margin-left: 15px;
}

/* Brand stylesheets colour all .title text with the brand colour; form
   controls inside a .title must stay neutral (the addon otherwise inherits
   the brand colour on a white background). */
.title .input-group-addon {
    background-color: #e7eaec;
    color: #676a6c;
}

.table .icon {
    width: 20px;
    text-align: center;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 4px;
}

.table-font-sm {
    font-size: 11px;
}

.table-font-md {
    font-size: 12px;
}


.tab-content > form > .tab-pane,
.pill-content > form > .pill-pane {
    display: none;
}

.tab-content > form > .active,
.pill-content > form > .active {
    display: block;
}

a.reportDueDate:visited {
    color: purple;
}

.modal-xl {
    width: 98%;
}

.container_popup_table {
    max-height: 150px;
    overflow-x: hidden;
    overflow-y: auto;
}

.fc-event-time, .fc-event-title {
    color: unset;
}

.bg-green {
    background-color: #ccffcc !important;
}

.bg-pink {
    background-color: #ffcccc !important;
}

.bg-violet {
    background-color: #ccccff !important;
}

.bg-yellow {
    background-color: #ffff66 !important;
}

.rtype2 {
    background-color: #f9f9f9 !important;
}

.overlay {
    height: 100%;
    width: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2999;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.consignment-popup-modal-loading {
    margin: 50px;
    color: #000000;
}

/*.overlay img {*/
/*border: 2px solid #000000;*/
/*padding: 20px;*/
/*background-color: #ffffff;*/
/*position: fixed;*/
/*top: 50%;*/
/*left: 50%;*/
/*transform: translate(-50%, -50%);*/

/*}*/

.overlay.table {
    z-index: 2101;
}

.popup {
    position: fixed;
    top: -600px;
    left: 100px;
    right: 100px;
    background-color: #fff;
    color: #7F7F7F;
    padding: 20px;
    border: 2px solid #ccc;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    -moz-box-shadow: 0 1px 5px #333;
    -webkit-box-shadow: 0 1px 5px #333;
    z-index: 2100;
}

.popup.table {
    z-index: 2102;
}

a.popupclose {
    float: right;
    width: 26px;
    height: 26px;
    background: transparent url("/ob/img/cancel.png") repeat top left;
    margin-top: -30px;
    margin-right: -30px;
    cursor: pointer;
}

.popup h1 {
    font: bold 14px Tahoma, Geneva, sans-serif;
    border-bottom: 1px dashed #7F7F7F;
    margin: -20px -20px 0px -20px;
    padding: 10px;
    background-color: #d2d5dd;
    color: #000000;
    -moz-border-radius: 20px 20px 0px 0px;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -khtml-border-top-left-radius: 20px;
    -khtml-border-top-right-radius: 20px;
}

.table-row-expanded dt {
    width: 100px;
}

.table-row-expanded dd {
    margin-left: 120px;
}

.pallet-details dt {
    width: 200px;
}

.pallet-details dd {
    margin-left: 220px;
}

.page-loading > .sk-spinner {
    display: none;
}

.page-loading.sk-loading {
    position: relative;
}

.page-loading.sk-loading:after {
    content: '';
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-loading.sk-loading > .sk-spinner {
    display: block;
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    z-index: 2000;
}

.centered {
    text-align: center;
    font-size: 0;
}

.centered > div {
    float: none;
    display: inline-block;
    text-align: left;
    font-size: 13px;
}

.panel-body-container {
    float: left;
    width: 100%;
}

.border-color-black {
    border-color: #000000;
}

.modal {
    /*z-index: 2101 !important;*/
    overflow-y: auto;
}

.print-label-confirmation-header {
    width: 100%;
    height: 50px;
    background-color: #000000;
}

.label-th-style .form-group > label {
    display: block;
    padding: 8px;
    background-color: #ededed;
}

/*.account-settings-table th {*/
/*background-color: #ededed;*/
/*}*/

.selected-price-totals {
    display: none;
    position: fixed;
    bottom: -1px;
    right: 20px;
    margin-bottom: 0;
    z-index: 1001;
}

.select2-dropdown.increasedzindexclass {
    z-index: 999999;
}

.spt-header {
    display: inline-block;
    font-weight: bold;
    width: 100px;
}

.tabs-left-content-simulation {
    margin-left: 20%;
    width: 80%;
}

.tipTop {
    position: relative;
    text-decoration: none;
}

.tipText {
    display: none;
}

.tipTop span {
    display: block;
    position: absolute;
    padding: .5em;
    content: attr(title);
    min-width: 120px;
    text-align: center;
    width: auto;
    height: auto;
    white-space: nowrap;
    top: -32px;
    background: rgba(255, 0, 0, .8);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: .86em;
}

.tipTop span:before {
    position: absolute;
    display: block;
    content: "";
    border-color: rgba(255, 0, 0, .8) transparent transparent transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    bottom: -20px;
    left: 1em;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.inline-block {
    display: inline-block;
}

.analyse-rates-tab-container .panel-body {
    margin-left: 0 !important;
    width: 100% !important;
}

.ui-autocomplete {
    position: absolute;
    cursor: default;
    z-index: 2222 !important;
}

.panel-body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.text-small {
    font-size: 12px !important;
}

.h-25 {
    min-height: 25px;
}

.h-50 {
    min-height: 50px;
}


.run-consignment-row .panel-body {
    font-size: 11px;
    padding: 10px !important;
}

.run-consignment-row .address {
    font-size: 12px;
}

div.strike {
    position: relative;
}

div.strike:after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    border-bottom: 1px solid #111;
    width: 100%;
}

/*.run-consignment-row .panel-body {*/
/*    padding: 10px !important;*/
/*}*/

.carousel-control.left, .carousel-control.right {
    background: none;
}

.icon-prev,
.icon-next {
    background-color: #676666;
    border-radius: 50%;
}

.carousel-control .icon-next,
.carousel-control .icon-prev {
    width: 50px;
    height: 50px;
    font-size: 43px;
}

#consignment-popup .list-group-item {
    padding: 6px 8px;
}


.list-group-item-danger {
    color: #761b18;
    background-color: #f7c6c5;
}

.list-group-item-success {
    color: #1d643b;
    background-color: #c7eed8;
}

/*TinyCE Preview Dialog*/

.tox-tinymce-aux {
    z-index: 2002 !important;
}

.me-auto {
    margin-right: auto !important;
}

.ld-toast {
    width: 350px;
    max-width: 100%;
    font-size: 1.2rem;
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 1);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    border-radius: 0.25rem;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #ed5565;
    color: rgba(255, 255, 255, .85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.toast-body {
    padding: 0.75rem;
    word-wrap: break-word;
    color: #1e1e1e;
}

div.favourite-button {
    position: absolute;
    top: 12px;
    right: 72px;
    font-size: 24px;
}

div.favourite-button .fa {
    color: #9b9a9a;
}

div.favourite-button .fa:hover {
    opacity: 0.6;
}

div.favourite-button .favourited .fa {
    color: #d4d43c;
}

.favourited {
    color: #ffff00;
}

div.consignment-reminder-button {
    .fa {
        color: #9b9a9a;
    }

    .fa:hover {
        opacity: 0.6;
    }

    position: absolute;
    top: 13px;
    right: 112px;
    font-size: 22px;
}


@media (max-width: 768px) {
    body:not(.mini-navbar) {
        background-color: unset;
    }

    .close {
        float: unset;
        padding: 10px 0 !important;
        text-align: right;
        width: 100%;
    }

}

/* orange warning alerts so they stand out between the success/danger colours */
.alert-warning {
    background-color: #fbe5c8;
    border-color: #f8ac59;
    border-left: 6px solid #f8ac59;
    color: #94550e;
}

.alert-warning .alert-link {
    color: #7a4407;
}

.alert-success {
    border-left: 6px solid #5cb85c;
}

.alert-danger {
    border-left: 6px solid #ed5565;
}

/* FA loads after Bootstrap, so its line-height: 1 beats the
   .form-control-feedback centering; restore it for fa feedback icons. */
.fa.form-control-feedback {
    line-height: 34px;
}

/* ===== Modern header ===== */

.nav-header.sidebar-brand,
body.mini-navbar.fixed-sidebar .nav-header.sidebar-brand {
    height: 80px;
    padding: 0;
}

/* !important needed: ld-main.css forces `display: block !important` on
   .profile-element when body is .mini-navbar.fixed-sidebar (mobile menu open),
   which breaks the flex centering. */
.sidebar-brand .profile-element,
body.mini-navbar.fixed-sidebar .sidebar-brand .profile-element {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3px 8px;
}

.sidebar-brand .profile-element img {
    max-height: 68px;
    max-width: 204px;
    object-fit: contain;
}

.sidebar-brand-name {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.nav-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.25s ease;
}

.nav-sticky-wrap.nav-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

.navbar.navbar-static-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    min-height: 62px;
    padding: 0 16px;
}

.navbar-left-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Tenant logos come in arbitrary sizes; keep them inside the 62px bar */
.navbar.navbar-static-top .navbar-logo-frame {
    display: flex;
    align-items: center;
    min-width: 0;
}

.navbar.navbar-static-top .navbar-logo img {
    display: block;
    max-height: 46px;
    max-width: 220px;
    width: auto;
    height: auto;
}

.navbar-left-cluster .minimalize-styl-2 {
    margin: 0;
}

.navbar.navbar-static-top .navbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
    float: none;
    padding: 0;
    margin: 0;
}

.navbar.navbar-static-top .navbar-form-custom {
    margin: 0 8px;
}

.navbar.navbar-static-top .navbar-top-links {
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar.navbar-static-top .navbar-top-links > li > a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    min-height: 0;
}

.search-form .form-group,
.search-form .navSearch.showSearch {
    float: none !important;
    width: 240px;
    height: 34px;
    border-radius: 17px;
    transition: none;
}

/* ===== Sidebar user block (pinned to the bottom of the left nav) ===== */

.sidebar-user {
    flex-shrink: 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user > a.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-user > a.dropdown-toggle:hover,
.sidebar-user > a.dropdown-toggle:focus {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

.sidebar-user .sidebar-user-icon {
    font-size: 18px;
}

.sidebar-user .nav-user-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

/* Drop-up menu spans the sidebar width */
.sidebar-user .dropdown-menu {
    left: 8px;
    right: 8px;
}

/* Bootstrap's navbar clearfix pseudos would join the flex layout */
.navbar.navbar-static-top:before,
.navbar.navbar-static-top:after {
    display: none;
}

/* overflow-x: hidden creates scroll containers that kill position: sticky;
   clip keeps the horizontal clipping without breaking it */
body,
#wrapper {
    overflow-x: clip;
}

/* Flex column so the menu scrolls while .sidebar-user stays pinned at the
   bottom; overflow: hidden keeps content clipped when mini-navbar collapses
   the sidebar to width 0 */
body.fixed-sidebar .navbar-static-side {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 1px 0 6px rgba(0, 0, 0, 0.12);
}

body.fixed-sidebar .navbar-static-side .sidebar-collapse {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* ld-main.css's mobile query re-applies `display: block` when the menu is
   opened on a phone (.fixed-sidebar.body-small.mini-navbar), which discards
   the flex column: the list overflows and is clipped, and .sidebar-user is
   pushed off the bottom. Restore flex there. */
@media (max-width: 768px) {
    body.fixed-sidebar.body-small.mini-navbar .navbar-static-side {
        display: flex;
    }
}

.dev-theme-switch {
    width: auto;
    height: 30px;
    padding: 2px 8px;
}

.navbar.navbar-static-top .navbar-top-links > li > a.count-info {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 8px;
}

.navbar.navbar-static-top .navbar-top-links a.count-info .nav-alerts {
    margin: 0;
    font-size: 16px;
}

.navbar.navbar-static-top .navbar-top-links a.count-info .label {
    top: -3px;
    right: -5px;
}

.navbar.navbar-static-top .navbar-top-links > li > a:hover,
.navbar.navbar-static-top .navbar-top-links > li > a:focus {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.search-form .search-kbd-hint {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    color: #888;
    background: #f4f4f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    z-index: 2001;
}

.search-form .navSearch.has-kbd-hint input.form-control {
    padding-right: 58px;
}

#right-sidebar .sidebar-container {
    height: 100%;
    overflow-y: auto;
}

/* ===== Public tracking page ===== */

:root {
    --track-accent: #22a06b;
}

.navbar.track-topbar {
    height: 84px;
    min-height: 84px;
    padding: 0 24px;
}

/* Themes pad .navbar-logo-frame inconsistently; the bar's own gutter rules here */
.navbar.track-topbar .navbar-logo-frame {
    padding: 0;
}

.navbar.track-topbar .navbar-logo img {
    max-height: 60px;
    max-width: 280px;
}

.track-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.track-topbar-btn:hover,
.track-topbar-btn:focus {
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
}

@media (max-width: 600px) {
    .navbar.track-topbar {
        height: 68px;
        min-height: 68px;
    }

    .navbar.track-topbar .navbar-logo img {
        max-height: 48px;
        max-width: 190px;
    }
}

@media print {
    .navbar.track-topbar .navbar-right {
        display: none;
    }
}

.track-hero {
    padding: 30px 15px 6px;
    text-align: center;
}

.track-hero-eyebrow {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.track-hero-status {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 4px;
}

.track-hero-title {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.track-hero-title .fa-circle-check {
    color: var(--track-accent);
}

.track-hero-eta {
    display: inline-block;
    white-space: nowrap;
    color: var(--track-accent);
}

.track-hero-note {
    font-size: 12px;
    color: #9ca3af;
}

.track-pod-btn {
    margin-top: 10px;
}

.track-stepper {
    display: flex;
    max-width: 860px;
    margin: 26px auto;
    padding: 0 10px;
    list-style: none;
}

.track-stepper li {
    position: relative;
    flex: 1;
    text-align: center;
}

.track-stepper li::before {
    content: '';
    position: absolute;
    top: 23px;
    left: calc(-50% + 26px);
    width: calc(100% - 52px);
    height: 3px;
    border-radius: 2px;
    background: #e5e7eb;
}

.track-stepper li:first-child::before {
    display: none;
}

.track-stepper li.done::before,
.track-stepper li.current::before {
    background: var(--track-accent);
}

.step-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #9ca3af;
    font-size: 17px;
}

.track-stepper li.done .step-dot {
    background: var(--track-accent);
    border-color: var(--track-accent);
    color: #fff;
}

.track-stepper li.current .step-dot {
    animation: track-pulse 2s infinite;
}

@keyframes track-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.step-label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.track-stepper li.current .step-label {
    font-weight: 700;
    color: #111827;
}

@media (max-width: 600px) {
    .track-hero-title {
        font-size: 22px;
    }

    .step-dot {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .track-stepper li::before {
        top: 17px;
        left: calc(-50% + 20px);
        width: calc(100% - 40px);
    }

    .step-label {
        font-size: 10px;
    }
}

.track-pod-pending {
    color: #9ca3af;
}

.track-timeline {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.track-timeline li {
    position: relative;
    padding: 0 0 18px 28px;
}

.track-timeline li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: -2px;
    width: 2px;
    background: #e5e7eb;
}

.track-timeline li:last-child::before {
    display: none;
}

.tl-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e5e7eb;
}

.track-timeline li:first-child .tl-dot {
    background: var(--track-accent);
    box-shadow: 0 0 0 2px var(--track-accent);
}

.tl-title {
    font-weight: 600;
    color: #111827;
}

.tl-note {
    font-size: 12px;
    color: #6b7280;
}

.tl-time {
    margin-top: 2px;
    font-size: 11px;
    color: #9ca3af;
}

/* height: 100% clips the grey background when the page is taller than
   one screen; let it grow with the content instead */
#wrapper.full-height,
#wrapper .wrapper-content.full-height {
    height: auto;
    min-height: 100%;
}

/* Tenant sheets paint .btn-default solid, unintentionally including
   outline buttons whose text colour then matches their background.
   Keep outline buttons transparent (3-class specificity beats the
   tenant base rule); the colour stays overridable per tenant. */
.btn-default.btn-outline {
    color: #676a6c;
}

.btn.btn-default.btn-outline {
    background-color: transparent;
}

.title.ld-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

/* Tenant themes colour subtitles via `.title > h1 > small`, which the
   component's .page-header-main wrapper breaks; inherit the .title colour
   set by each theme instead of Bootstrap's grey `h1 small`. */
.title.ld-page-header h1 small {
    color: inherit;
}

/* Matches the legacy `h1 > small` subheading (65% of the 30px h1) so both
   patterns render the same, in the brand colour set on .title. */
.page-header-subtitle {
    margin: -8px 0 12px;
    font-size: 19.5px;
    line-height: 1.1;
    color: inherit;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header-cutoff {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-header-cutoff > .fa {
    font-size: 24px;
    color: #9ca3af;
}

.page-header-cutoff-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.page-header-cutoff-time {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
    color: #111827;
}

/* Past the cut-off: match the Bootstrap danger alert shown below it. */
.page-header-cutoff.is-passed {
    background: #f2dede;
    border-color: #ebccd1;
}

.page-header-cutoff.is-passed > .fa,
.page-header-cutoff.is-passed .page-header-cutoff-label,
.page-header-cutoff.is-passed .page-header-cutoff-time {
    color: #a94442;
}

/* Bootstrap columns rely on a .row's negative margins; many pages put
   col-* straight inside .container-fluid, indenting content 15px each
   side versus the page title. Act as the missing row for those. */
#page-wrapper .container-fluid:has(> [class*="col-"]) {
    margin-left: -15px;
    margin-right: -15px;
}

/* ---------------------------------------------------------------------------
   Fleet dashboard and asset wall (depot/fleet/*, components/fleet/asset-tile)
   --------------------------------------------------------------------------- */
a.fleet-stat,
a.fleet-stat:hover,
a.fleet-stat:focus {
    display: block;
    color: #fff;
    text-decoration: none;
}

a.fleet-stat:hover {
    filter: brightness(1.05);
}

.fleet-stat h2 {
    margin: 4px 0 2px;
}

.fleet-stat__of {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.fleet-stat__note {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.fleet-panel-link,
.fleet-panel-link:hover,
.fleet-panel-link:focus {
    margin-right: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    text-decoration: underline;
}

.fleet-panel-note {
    margin-right: 6px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.panel-body.fleet-checks-body,
.panel-body.fleet-list-body {
    padding: 0;
}

.fleet-checks {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 20px 10px;
}

.fleet-ring-block {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 24px;
    border-right: 1px solid #f0f0f1;
    flex-shrink: 0;
}

.fleet-ring__value {
    font-size: 34px;
    font-weight: 700;
    fill: #2f4050;
}

.fleet-ring__label {
    font-size: 12px;
    fill: #6b7280;
}

.fleet-chart-block {
    flex: 1 1 auto;
    min-width: 0;
}

.fleet-chart-title {
    margin-bottom: 4px;
    font-size: 12px;
    color: #6b7280;
}

.fleet-chart-wrap {
    position: relative;
    height: 200px;
}

.fleet-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #2f4050;
    white-space: nowrap;
}

.fleet-legend--row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
    color: #6b7280;
}

.fleet-legend li,
.fleet-legend--row > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fleet-legend__muted {
    color: #6b7280;
}

.fleet-legend__hint {
    margin-left: auto;
}

.fleet-legend__dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e5e7eb;
}

.fleet-legend__dot--success { background: #1ab394; }
.fleet-legend__dot--danger { background: #ed5565; }
.fleet-legend__dot--warning { background: #f8ac59; }
.fleet-legend__dot--info { background: #65aac3; }
.fleet-legend__dot--muted { background: #e5e7eb; }

.fleet-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.fleet-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
}

.fleet-pill--success { background: #e6f4f1; color: #157a67; }
.fleet-pill--danger { background: #fde8eb; color: #c2313f; }
.fleet-pill--warning { background: #fdf1e6; color: #c97a1f; }
.fleet-pill--info { background: #e8f3f7; color: #3f7f99; }

.fleet-text-danger {
    color: #c2313f !important;
}

.fleet-list-row,
.fleet-list-row:hover,
.fleet-list-row:focus {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    border-bottom: 1px solid #f0f0f1;
    color: inherit;
    text-decoration: none;
}

.fleet-list-row:last-child {
    border-bottom: 0;
}

.fleet-list-row:hover {
    background: #f9fafb;
}

.fleet-list-row__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.fleet-list-row__title {
    font-size: 13px;
    color: #2f4050;
}

.fleet-list-row__title strong {
    color: #2f4050;
}

.fleet-list-row__sub {
    font-size: 12px;
    color: #6b7280;
}

.fleet-list-row--activity {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 0;
}

.fleet-activity__time {
    flex-shrink: 0;
    width: 60px;
    font-size: 12px;
    color: #9ca3af;
}

.fleet-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
    padding: 4px 0;
    border-radius: 3px;
    background: #f3f4f6;
    color: #2f4050;
}

.fleet-date__month {
    font-size: 10px;
    text-transform: uppercase;
}

.fleet-date__day {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.fleet-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 15px;
    font-size: 13px;
    color: #6b7280;
}

.fleet-empty--success {
    color: #157a67;
}

.fleet-empty--page {
    justify-content: center;
    padding: 40px 15px;
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 4px;
}

.fleet-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 10px;
}

.fleet-tile,
.fleet-tile:hover,
.fleet-tile:focus {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 10px;
    background: #fff;
    border: 1px solid #e7eaec;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
}

.fleet-tile:hover {
    border-color: #65aac3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fleet-tile--danger { border-color: #ed5565; }
.fleet-tile--warning { border-color: #f8ac59; }
.fleet-tile--info { border-color: #65aac3; }

.fleet-tile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9ca3af;
}

.fleet-tile__name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #2f4050;
}

.fleet-tile__type,
.fleet-tile__detail {
    font-size: 11px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fleet-tile__detail {
    color: #9ca3af;
}

.fleet-tile .fleet-pill {
    align-self: flex-start;
}

.fleet-wall-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.fleet-wall-toolbar .fleet-search {
    width: 260px;
}

.fleet-wall-toolbar .badge {
    margin-left: 4px;
}

@media (min-width: 992px) {
    .fleet-row {
        display: flex;
        flex-wrap: wrap;
    }

    .fleet-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .fleet-row .panel {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .fleet-row .panel > .panel-body {
        flex: 1 1 auto;
    }
}

.fleet-more {
    padding-top: 12px;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 991px) {
    .fleet-checks {
        flex-direction: column;
        align-items: stretch;
    }

    .fleet-ring-block {
        padding-right: 0;
        padding-bottom: 12px;
        border-right: 0;
        border-bottom: 1px solid #f0f0f1;
    }
}

/* The lock on a side menu link to an add-on the depot has not switched on, at the row's right edge like a count badge. */
.ld-nav-addon {
    float: right;
    margin-top: 2px;
    font-size: 10px;
    opacity: 0.55;
}
