﻿/* This StyleSheet contains custom styles for this project */

/* ==== ASD Design System (applied 19 Oct 2026) ====
   Colours and type from the ASD Design System tokens. Loaded after the
   template's topics.css, so these rules win. Inline cell colours written by
   Help Studio (lightgrey / lightyellow) are overridden with !important. */
:root {
  --DarkOrange: #a03f08;
  --LightOrange: #fa7914;
  --BuilderOrange: #cf4b05;
  --FlareOrange: #f78c30;
  --Midnight: #0f1119;
  --Slate: #5e5f62;
  --Mist: #6d6c6e;
  --Cream: #f7f3ee;
  --Sand: #f4e9df;
  --Terrain: #6f4b2d;
  --DeepEarth: #5e2f13;
  --Hairline: #e3d3c3;
  --font-sans: Calibri, Carlito, "Segoe UI", system-ui, sans-serif;
}

html, body {
  background: var(--Cream);
}

body {
  font-family: var(--font-sans);
  font-size: 11.5pt;
  line-height: 1.5;
  color: var(--Midnight);
}

/* Header: logo on the right, eyebrow project title, bold page title, short orange rule */
#i-header-content {
  position: relative;
  padding: 10px 150px 14px 0;
  min-height: 52px;
  background: url("asd-logo.png") no-repeat right 4px top 6px;
  background-size: auto 46px;
}
#i-header-content::after {
  content: "";
  display: block;
  width: 130px;
  height: 3px;
  margin-top: 10px;
  background: var(--LightOrange);
}
.i-project-title {
  font-size: 9.5pt;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--Mist);
}
.i-page-title {
  font-size: 22pt;
  line-height: 1.15;
  margin-top: 2px;
  color: var(--Midnight);
}

#i-after-header-content {
  color: var(--Slate);
}

.i-breadcrumbs-container {
  margin-top: 4px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: var(--Sand);
  border-top: 1px solid var(--Hairline);
  border-bottom: 1px solid var(--Hairline);
}
.i-breadcrumbs-container table td {
  color: var(--Slate);
}

/* Headings */
h1, h2, .i-section-heading {
  color: var(--DarkOrange);
}
h3 {
  color: var(--DarkOrange);
  font-size: 13pt;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}
h4 {
  color: var(--Midnight);
}

/* Links */
a:link, a:visited,
.i-breadcrumbs-container a:link, .i-breadcrumbs-container a:visited {
  color: var(--DarkOrange);
}
a:hover {
  color: var(--BuilderOrange);
}

/* Glossary links: earth brown with a dotted underline, distinct from page links */
a.i-glossary-link,
a.i-glossary-link:link,
a.i-glossary-link:visited,
a.i-glossary-link:hover {
  color: var(--Terrain);
  border-bottom: 1px dotted var(--Terrain);
}

/* Glossary popups */
.qtip-green {
  background-color: var(--Cream);
  border-color: var(--LightOrange);
  color: var(--Midnight);
}
.qtip-green .qtip-titlebar {
  background-color: var(--Sand);
  color: var(--DarkOrange);
}
.qtip, .qtip-content, .qtip-titlebar {
  font-family: var(--font-sans);
  font-size: 10.5pt;
  line-height: 1.4;
}

/* Tables: Terrain header row, Sand property column, Cream description */
.i-body-content table {
  font-size: 11pt;
}
.i-body-content table th,
.i-body-content table td {
  border-color: var(--Hairline);
  border-style: solid;
  border-width: 1px;
  padding: 5px 8px;
}
.i-body-content table th,
.i-body-content table th[style] {
  background-color: var(--Terrain) !important;
  color: var(--Cream);
  font-weight: bold;
}
.i-body-content table td,
.i-body-content table td[style] {
  background-color: #fffdfa !important;
}
.i-body-content table td:first-child,
.i-body-content table td[style]:first-child {
  background-color: var(--Sand) !important;
  font-weight: bold;
  color: var(--Midnight);
}
.i-body-content table td:only-child,
.i-body-content table td[style]:only-child {
  background-color: #fffdfa !important;
  font-weight: normal;
}
/* Help Studio writes one table per property row; close the gaps between them */
.i-body-content table + table {
  margin-top: -1px;
}

/* Note, tip and caution boxes */
.i-box {
  background-color: var(--Sand);
  border-left: 3px solid var(--LightOrange);
  border-radius: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 10px;
}

/* Images never wider than the page */
.i-body-content img {
  max-width: 100%;
}

/* Footer band with the ASD strapline */
body::after {
  content: "Solutions for safer skies";
  display: block;
  margin-top: 40px;
  padding: 10px 8px;
  background: var(--FlareOrange);
  color: var(--Midnight);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 9pt;
  border-top: 1px solid var(--DeepEarth);
}
body {
  margin-bottom: 0;
}

/* Narrow screens: smaller logo above the title */
@media (max-width: 600px) {
  #i-header-content {
    padding: 52px 0 12px 0;
    background-position: left 0 top 4px;
    background-size: auto 38px;
  }
  .i-page-title {
    font-size: 18pt;
  }
}
/* ==== end ASD Design System ==== */
