/* Keep the dashboard navigation visible below the fixed SERHILL header. */
.sp-dashboard-nav {
    position: sticky !important;
    top: 106px !important;
    z-index: 19;
    max-width: 100%;
    scrollbar-width: none;
}

.admin-bar .sp-dashboard-nav {
    top: 138px !important;
}

.sp-dashboard-nav::-webkit-scrollbar {
    display: none;
}

.sp-dashboard [id] {
    scroll-margin-top: 170px;
}

.sp-dashboard-anchor {
    display: block;
    height: 0;
    overflow: hidden;
}

@media (max-width: 782px) {
    .admin-bar .sp-dashboard-nav {
        top: 152px !important;
    }
}

@media (max-width: 700px) {
    .sp-dashboard-nav {
        top: 84px !important;
    }

    .admin-bar .sp-dashboard-nav {
        top: 130px !important;
    }

    .sp-dashboard [id] {
        scroll-margin-top: 145px;
    }
}
