/* Theme Overrides for EdgeRater MVC Application */
/* This file contains overrides for theme.min.css styles */

/* Fix for .sectionpagemenu overlapping navigation menu */
.sectionpagemenu {
    margin-top: 70px !important; /* Push submenu down below navigation menu */
}

/* Mobile adjustments for submenu */
@media (max-width: 768px) {
    .sectionpagemenu {
        margin-top: 50px !important;
    }
}

/* Aggressive space optimization fix for submenu in problem breakpoint range */
@media (max-width: 1199px) and (min-width: 992px) {
    .sectionpagemenu {
        margin-top: 90px !important; /* Account for potential navbar wrapping */
    }
}

/* Fix for .sectionheader - reset margin since submenu handles the navigation clearance */
.sectionheader {
    margin-top: 0 !important; /* Reset margin since submenu now handles navigation clearance */
}

/* Fix for breadcrumbs sections overlapping fixed header */
.breadcrumbs {
    margin-top: 70px !important; /* Push breadcrumbs down below fixed navigation menu */
    padding-top: 20px !important; /* Add extra padding for visual breathing room */
}

/* Mobile adjustments for breadcrumbs */
@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 50px !important;
        padding-top: 10px !important;
    }
}

/* Aggressive space optimization fix for breadcrumbs in problem breakpoint range */
@media (max-width: 1199px) and (min-width: 992px) {
    .breadcrumbs {
        margin-top: 90px !important; /* Account for potential navbar wrapping */
        padding-top: 20px !important;
    }
}

/* Fix for sticky sidebars to account for proper header height */
.sticky-top {
    top: 120px !important; /* Adjusted from inline 100px to account for header + spacing */
}

/* Mobile sticky adjustments */
@media (max-width: 768px) {
    .sticky-top {
        top: 80px !important;
    }
}

/* Problem breakpoint range for sticky elements */
@media (max-width: 1199px) and (min-width: 992px) {
    .sticky-top {
        top: 140px !important; /* Account for potential navbar wrapping */
    }
}