/* --- Off-canvas basics --- */
.bw-offcanvas {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 430px;
    max-width: 85vw;
    background: #fff;
    z-index: 1045;
    transform: translateX(-100%);
    transition: transform .25s ease-in-out;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
}
.bw-offcanvas.show {
    transform: translateX(0);
}
.bw-offcanvas-header {
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
}

.bw-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1040;
}

/* Prevent body scroll when panel is open */
.bw-offcanvas-open {
    overflow: hidden;
}

/* --- Drilldown visuals --- */
.bw-drawer {
    height: 80vh;
    overflow: hidden;
}
.bw-track {
    display: flex;
    transform: translateX(0);
    transition: transform .25s ease-in-out;
}

.bw-panel {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    background:#fff;
}
.bw-panel-header {
    display:flex;
    align-items:center;
    min-height: 52px;
    padding: .75rem 1rem;
    border-bottom: 1px solid #e6e6e6;
}
.bw-back {
    cursor:pointer;
    font-weight:600;
    color:#6c757d;
    display:inline-flex;
    align-items:center;
}
.bw-back .muted {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bw-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bw-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:.875rem 1rem;
    border-bottom:1px solid #e6e6e6;
    text-decoration:none;
    color:#212529;
    background:#fff;
}
.bw-row:hover {
    background:#f8f9fa;
    text-decoration:none;
}
.bw-label {
    font-weight:600;
}
.bw-label:hover {
    color:#000;
}
.bw-chev {
    opacity:.6;
}

/* Parent chevron in the source UL (if JS is disabled) */
#mobilenavSource .has-children > a:after {
    content:'›';
    float:right;
    opacity:.6; }
#mobilenavSourceWrapper, #mobilenavSource {
    display:none !important;
}
.bw-panel:first-child .bw-panel-header {
    display: none;
}
.bw-menu-btn {
    color: #000;
    background: transparent;
    border: 0;
    -webkit-tap-highlight-color: transparent;
}
.bw-menu-btn:hover, .bw-menu-btn:focus, .bw-menu-btn:active, .bw-menu-btn:focus-visible {
    color: #000;
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
}