/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-bottom: 40px;
    color: #5a5a5a;
    background-image: linear-gradient(to bottom, #FFFFF3 0%, #FFFFEA 100%);
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

.navbar-wrapper > .container {
    padding-right: 0;
    padding-left: 0;
}
.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
}
.navbar-wrapper .navbar .container {
    width: auto;
}

/* Private navbar (tan/default) */
.navbar-private {
    background-color: #DDDFBE;
    border-bottom: 2px solid #8C241F;
}

.navbar-private .navbar-brand {
    color: #8C241F;
}

.navbar-private .navbar-text {
    color: #8C241F;
}

.navbar-private .navbar-nav .nav-link {
    color: #8C241F;
}

/* Public navbar (dark red/inverse) */
.navbar-dark {
    background-color: #8C241F;
    border-color: #8C241F;
}
.navbar-dark .navbar-brand {
    color: #DDDFBE;
}
.navbar-dark .navbar-text {
    color: #DDDFBE;
}
.navbar-dark .navbar-nav .nav-link {
    color: #DDDFBE;
}

/* Public pages: offset for fixed-top navbar */
body.public-page {
    padding-top: 56px;
}

/* SIDEBAR NAVIGATION
-------------------------------------------------- */

.sidebar {
    width: 260px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
}

.sidebar .offcanvas-header {
    background-color: #8C241F;
    color: #DDDFBE;
}

.sidebar .nav-section-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8C241F;
    padding: 0.75rem 1rem 0.25rem;
    margin-top: 0.5rem;
}

.sidebar .accordion-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: transparent;
    color: #333;
}

.sidebar .accordion-button:not(.collapsed) {
    background-color: rgba(140, 36, 31, 0.08);
    color: #8C241F;
    box-shadow: none;
}

.sidebar .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.sidebar .accordion-body {
    padding: 0;
}

.sidebar .accordion-body a {
    display: block;
    padding: 0.35rem 1rem 0.35rem 2rem;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
}

.sidebar .accordion-body a:hover {
    background-color: rgba(140, 36, 31, 0.08);
    color: #8C241F;
}

.sidebar .nav-link-single {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
}

.sidebar .nav-link-single:hover {
    background-color: rgba(140, 36, 31, 0.08);
    color: #8C241F;
}

/* Desktop: pin sidebar fixed, offset content */
@media (min-width: 992px) {
    .sidebar.offcanvas-lg {
        position: fixed !important;
        top: 56px;
        bottom: 0;
        left: 0;
        width: 260px !important;
        background-color: #f8f9fa !important;
        border-right: 1px solid #dee2e6;
        z-index: 1019;
        visibility: visible !important;
        transform: none !important;
    }

    .sidebar.offcanvas-lg .offcanvas-body {
        display: block !important;
        background-color: transparent !important;
        overflow-y: auto !important;
        height: 100%;
        padding: 0 !important;
    }

    .page-with-sidebar {
        margin-left: 260px;
        width: auto;
    }
}

/* Carousel and marketing content styles moved to avfd-modern.css */

/* Featurettes - Keep for About Us page */

.featurette-divider {
    margin: 80px 0;
}

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
    color: #D91408;
}

.text-muted {
    color: #8295A6 !important;
}

@media (min-width: 768px) {
    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 992px) {
    .featurette-heading {
        margin-top: 120px;
    }
}

/* Heading colors */
h1 {
    color: #D91408;
}

h2 {
    color: #8295A6;
}

.no-padding {
    padding: 0;
}

.green{
  color: green;
}

.red{
    color:red;
}

.orange{
    color:orange;
}

.blue{
    color:blue;
}

.lightblue{
    color:#4B9CD3
}

/* Form validation feedback */
.invalid-feedback {
    font-size: 0.875rem;
}

/* Heading consistency for private pages */
h3 {
    color: #5a5a5a;
}

/* Enabling prettier tables */
.table td.no_left_border {
    border-left: none;
}

.table td.no_right_border {
    border-right: none;
}

.table td.thick_left_border {
    border-left: 1px solid black;
}

.table td.thick_right_border {
    border-right: 1px solid black;
}

.table th.thick_left_border {
    border-left: 1px solid black;
}

.table th.thick_right_border {
    border-right: 1px solid black;
}

.table th.thick_top_border {
    border-top: 1px solid grey;
}

.table td.thick_top_border {
    border-top: 1px solid grey;
}

.table td.thin_left_border {
    border-left: 1px solid #ddd;
}

.table th.thin_left_border {
    border-left: .5px solid #ddd;
}

/* Duty schedule calendar mobile responsive */
@media (max-width: 768px) {
    .duty-calendar td, .duty-calendar th {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
}

/* Staffing standard highlighting - positive reinforcement only */
.staffing-threshold-met,
.table td.staffing-threshold-met {
    background-color: #d4edda;
}

.staffing-objective-met,
.table td.staffing-objective-met {
    background-color: #28a745;
    color: white;
}

.table td.staffing-objective-met a {
    color: white;
}
