/* The coloured top menu for the "Navy bar" and "Teal bar" themes. Other themes are not affected. */
html[data-theme="navybar"] { --kw-bar: #15547D; --kw-bar-ink: #ffffff; }
html[data-theme="tealbar"] { --kw-bar: #007675; --kw-bar-ink: #ffffff; }
html[data-theme="navybar"] header, html[data-theme="tealbar"] header {
  background-color: var(--kw-bar) !important; border-bottom-color: var(--kw-bar) !important; color: #fff;
}
html[data-theme="navybar"] header nav a, html[data-theme="tealbar"] header nav a { color: var(--kw-bar-ink) !important; }
html[data-theme="navybar"] header nav a:hover, html[data-theme="tealbar"] header nav a:hover,
html[data-theme="navybar"] header nav a.active, html[data-theme="tealbar"] header nav a.active { color: #fff !important; }
html[data-theme="navybar"] header nav a.active, html[data-theme="tealbar"] header nav a.active { box-shadow: inset 0 -3px 0 #00D797; }
html[data-theme="navybar"] header nav a.active::after, html[data-theme="tealbar"] header nav a.active::after,
html[data-theme="navybar"] header nav a.active::before, html[data-theme="tealbar"] header nav a.active::before { background-color: #00D797 !important; border-color: #00D797 !important; }
html[data-theme="navybar"] header nav a span, html[data-theme="tealbar"] header nav a span { background-color: #00D797 !important; color: #0b2233 !important; }
html[data-theme="navybar"] header .MuiIconButton-root, html[data-theme="tealbar"] header .MuiIconButton-root { color: #ffffff !important; border-color: rgba(255, 255, 255, 0.5) !important; }
html[data-theme="navybar"] header > a img, html[data-theme="tealbar"] header > a img { background: #fff; border-radius: 50%; padding: 2px; }
html[data-theme="navybar"] header *, html[data-theme="tealbar"] header * { border-color: rgba(255, 255, 255, 0.35); }
/* White text everywhere in the coloured top menu: menu links, the Capture box, and the person's initials circle. */
html[data-theme="navybar"] header .MuiButton-root, html[data-theme="tealbar"] header .MuiButton-root {
  color: #ffffff !important; border-color: rgba(255, 255, 255, 0.8) !important; background-color: transparent !important;
}
html[data-theme="navybar"] header .MuiButton-root:hover, html[data-theme="tealbar"] header .MuiButton-root:hover { background-color: rgba(255, 255, 255, 0.12) !important; border-color: #ffffff !important; }
html[data-theme="navybar"] header .MuiButton-root svg, html[data-theme="tealbar"] header .MuiButton-root svg { color: #ffffff !important; }
html[data-theme="navybar"] header .kw-me, html[data-theme="tealbar"] header .kw-me { background: #ffffff !important; color: var(--kw-bar) !important; }
html[data-theme="navybar"] header .kw-me i, html[data-theme="tealbar"] header .kw-me i { border-color: var(--kw-bar) !important; }
/* The workspace name beside the logo, and any other heading text in the bar, in white. */
html[data-theme="navybar"] header .MuiTypography-root, html[data-theme="tealbar"] header .MuiTypography-root { color: #ffffff !important; }
/* "Kwenda 2" theme: all nine Kwenda colours, each in one role.
   Deep water menu and text, paperbark page, morning mist sections, navy headings, river teal links and icons,
   fresh mint for success and the current page, burnt ochre call-to-action buttons and alerts,
   golden wattle badges, eucalyptus muted fills and borders. */
html[data-theme="kwenda2"] { --kw-bar: #0B2E45; --kw-bar-ink: #ffffff; }
html[data-theme="kwenda2"] header { background-color: #0B2E45 !important; border-bottom: 3px solid #00A8A7 !important; color: #fff; }
html[data-theme="kwenda2"] header > a, html[data-theme="kwenda2"] header > a * { color: #ffffff !important; }
html[data-theme="kwenda2"] header > a img { background: #fff; border-radius: 50%; padding: 2px; }
html[data-theme="kwenda2"] header nav a { color: #E8F4F2 !important; }
html[data-theme="kwenda2"] header nav a:hover, html[data-theme="kwenda2"] header nav a.active { color: #ffffff !important; }
html[data-theme="kwenda2"] header nav a.active { box-shadow: inset 0 -3px 0 #00D797; }
html[data-theme="kwenda2"] header nav a.active::after, html[data-theme="kwenda2"] header nav a.active::before { background-color: #00D797 !important; border-color: #00D797 !important; }
html[data-theme="kwenda2"] header nav a span { background-color: #D9A441 !important; color: #0B2E45 !important; }
html[data-theme="kwenda2"] header * { border-color: rgba(255, 255, 255, 0.35); }
html[data-theme="kwenda2"] header .MuiIconButton-root { color: #ffffff !important; border-color: rgba(255, 255, 255, 0.5) !important; }
html[data-theme="kwenda2"] header .MuiButton-root { color: #ffffff !important; border-color: rgba(255, 255, 255, 0.8) !important; background-color: transparent !important; }
html[data-theme="kwenda2"] header .MuiButton-root:hover { background-color: rgba(255, 255, 255, 0.12) !important; border-color: #ffffff !important; }
html[data-theme="kwenda2"] header .MuiButton-root svg { color: #ffffff !important; }
html[data-theme="kwenda2"] header .kw-me { background: #D9A441 !important; color: #0B2E45 !important; }
html[data-theme="kwenda2"] header .kw-me i { border-color: #0B2E45 !important; }
/* call-to-action buttons in burnt ochre */
html[data-theme="kwenda2"] main .MuiButton-containedPrimary, html[data-theme="kwenda2"] .MuiDialog-root .MuiButton-containedPrimary { background-color: #C0552D !important; color: #ffffff !important; }
html[data-theme="kwenda2"] main .MuiButton-containedPrimary:hover, html[data-theme="kwenda2"] .MuiDialog-root .MuiButton-containedPrimary:hover { background-color: #A4461F !important; }
/* section panels: morning mist headers, eucalyptus edges */
html[data-theme="kwenda2"] main .MuiPaper-outlined { border-color: #C9D8CF !important; }
html[data-theme="kwenda2"] main .MuiTableHead-root .MuiTableCell-root { background-color: #E8F4F2 !important; }
/* status chips: success on mint, warnings on wattle */
html[data-theme="kwenda2"] .MuiChip-colorSuccess { background-color: #D4F8EA !important; color: #0B2E45 !important; border-color: #00D797 !important; }
html[data-theme="kwenda2"] .MuiChip-colorWarning { background-color: #FBF1DC !important; color: #6E4C0B !important; border-color: #D9A441 !important; }
html[data-theme="kwenda2"] .MuiChip-colorError { background-color: #F8E6DE !important; color: #8A3A1C !important; border-color: #C0552D !important; }
