

/* ==========================================================================
   Homepage slideshow
   ========================================================================== */

.diaporama .diaporama-slides .slider-text.active {
    font-weight: 700;
}

/* ==========================================================================
   Side panel and panel layout
   ========================================================================== */

.cd-panel .cd-panel-container {
    background: #e24a4a;
}

.panel-top > div:first-child {
    flex: 1;
}

/* ==========================================================================
   Procedures menu
   ========================================================================== */

.bigmenu .sub-menu.active {
    background-color: #ce3e3e !important;
}

/* Procedures side panel and top menu, as on the legacy Baghdad site (measured 2026-09-27).
   The product's own rules use an id or four classes, so each selector here matches or beats
   them; this sheet loads last, so equal specificity is enough. */
.bigmenu #big-menu-container {
    background-color: #e24a4a;
}


.bigmenu .side-menu-section-link {
    color: #fff;
    font-size: 19px;
    font-weight: 300;
}

.bigmenu .sub-menu > li .side-menu-link-container .side-menu-link {
    color: rgba(255, 255, 255, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* Hover in the Procedures panel, as on the legacy Baghdad site (its filters.css, read 2026-10-08):
   white text and a white 1px underline. The 7.x product turns the section titles and the procedure
   links black with !important on three or four classes, so the first selectors repeat its selectors
   exactly; this sheet loads last, so the tie goes to it. The underline selector matches the base rule
   above plus :hover, which it must beat. */
.bigmenu .side-menu-section-link:hover,
.bigmenu .sub-menu .side-menu-link:hover {
    color: #fff !important;
}

.bigmenu .sub-menu span:hover,
.bigmenu .sub-menu > .side-menu-list-nochildren .side-menu-link:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.bigmenu .sub-menu > li .side-menu-link-container .side-menu-link:hover {
    border-bottom-color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: #e0e1e3;
}

/* ==========================================================================
   Redesign variables. Everything above is unchanged.
   Today's site reads none of these names and has no [data-steps-design="2"]
   element, so this block changes nothing until the redesign is deployed.
   After that deploy, the rules above that these replace can be removed.
   ========================================================================== */
:root {
    /* Brand colour: every shade of the redesign's scale follows it (outline buttons #e34b4a; #ce3e3e = its menu active shade). */
    --primary-seed: #e34b4a;
    --primary-600: #ce3e3e;   /* hover: the instance's own darker shade */
}

/* Surface variables. Each holds the colour this instance shows today, so nothing changes
   while the rules above still apply; remove such a rule and its variable takes over with
   the same colour. Variables not listed keep the product default. */
:root {
    /* Header */
    --header-menu-bar-hover-text: #e24a4a;
    /* Procedures panel */
    --procedures-panel-background: #e24a4a;
    --procedures-panel-heading-text: #ffffff;
    --procedures-panel-link-text: rgba(255, 255, 255, 0.75);
    --procedures-panel-link-hover-text: #ffffff;
    --procedures-panel-active-background: #ce3e3e;
}
