body {
    background-color: #eee;
}

#side_nav {
    background: #003366; /* ICEA Blue */
    min-width: 280px;
    max-width: 280px;
    transition: all 0.2s;
    position: fixed;
    min-height: 100%;
    z-index: 1;
}

.content {
    min-height: 100vh;
    width: 100%;
    margin-left: 280px;
    background: white;
    opacity: 1;
}

hr.h-color {
    border-top: 5px solid white;
}

.sidebar li a {
    color: #fff;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
}

    .sidebar li a:hover {
        color: #003366; /* ICEA Blue text */
        background: #FFCC00; /* ICEA Gold background */
        transition: 0.5s;
    }

    /* Active State for Child Links */
    .sidebar li a.active {
        background-color: #eee;
        color: #003366;
        font-weight: bolder;
        border-radius: 8px 0 0 8px;
    }

.icon_width {
    width: 20px;
}

.icon_width_sub_menu {
    width: 15px;
}

.navbar-toggler, .navbar-toggler:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.btnColor {
    background-color: #003366; /* ICEA Blue */
    color: white;
}

.text-format {
    color: #003366;
    font-weight: bolder;
}

@media (max-width: 767px) {
    #side_nav {
        margin-left: -280px;
    }

    .content {
        margin-left: 0;
    }
}
.hide_column {
    display: none !important;
}
.customOutline:focus {
    box-shadow: none !important;
    border-color: #FFCC00 !important; /* ICEA Gold focus */
}

.customBtn:hover {
    background: #003366;
}

div button.vendorBidTiles:hover {
    color: #003366 !important;
}

.form-control[type="file"] {
    outline: none !important;
    border-color: #003366;
    box-shadow: none !important;
}

#embeddedattach {
    width: 100%;
    height: 450px;
}

/* Sub-menu styling */
ul.item li .sub-menu {
    background: #00254a; /* Slightly darker blue for contrast */
}

.rotate {
    transform: rotate(90deg);
}

/*================Register/Login================*/
.primaryBg {
    background: #003366; /* ICEA Blue */
}

.secondaryColor {
    background: #fff;
    color: #003366;
}

.form-box {
    background-color: #FFFFFF;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.form-check-input:checked {
    background-color: #FFCC00; /* ICEA Gold Checkbox */
    border-color: transparent;
}

/* NEW: PARENT HIGHLIGHT LOGIC 
   This highlights the parent <li> if any child <a> inside it is .active
*/
.sidebar li:has(.sub-menu a.active) > a {
    background-color: #FFCC00 !important; /* ICEA Gold */
    color: #003366 !important; /* ICEA Blue Text */
    font-weight: bold;
}

/* Optional: Add a left-border indicator to the active parent */
.sidebar li:has(.sub-menu a.active) {
    border-left: 5px solid #FFCC00;
}
