/*<meta />*/

/* MadCap-Branding applanguage:Templates/Projects/Online/Top Navigation/ */

/* ============================================================
   Brand variables — Orion
   Palette read from the live orionlaw.com (2026-08): brand blue
   #22408E (headings, links, primary), deep navy #182F43 (dark
   text / CTA text), slate body #263B4E, signature lime #A8D52D
   (reserved for accents / callouts, e.g. the "Schedule a Demo"
   CTA), pale blue #EAF1F7 (panel / tile tint). Inter for body and
   headings. Navy-blue header with a white (pre-inverted) Orion logo.

   Wiring: set the HTML5 target's Branding Stylesheet override to
   this file (Project/Targets/HTML5.fltar), mirroring how TimeSolv's
   KB.fltar points at TimeSolv.css. Project default (OrionKB.flprj)
   still points at Branding.css (base defaults).

   Assets: --LogoImage = the official white Orion logo
   (Orion-logo-white.png, converted from orionlaw.com's .webp). Favicon
   from the Orion star (orion-favicon.png) via Orion-Favicon.flskn,
   wired to the HTML5 target's FaviconSkin.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root
{
	/* Brand colors — from orionlaw.com */
	--Primary: #22408E;          /* Orion Blue — header bg, primary accent */
	--Secondary: #A8D52D;        /* Orion Lime Green (marketing palette 2026-11-24) — home tile icons */
	--ElectricBlue: #2546EF;     /* Orion Electric Blue (marketing palette) — hyperlinks */
	--Teal: #2BB3C4;             /* Orion Teal (marketing palette) — unused; icons back to Lime per GM */
	--Dark: #263B4E;             /* slate body text */
	--Darkest: #182F43;          /* deep navy — strongest text */
	--Light: #EAF1F7;            /* pale blue — tile / panel bg */
	--Lightest: #FFFFFF;
	--Medium: #A4AAAE;
	--NavBackground: #EAF1F7;    /* pale strip beneath the blue header */
	--FontFamily: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--HeadingFontFamily: var(--FontFamily);
	--HeadingFontWeight: 700;
	--LogoImage: url('../Images/Orion-logo-white.png');   /* official white Orion logo */

	/* Site accents — lime reserved for small callouts/badges, not primary
	   fills, so long-form docs stay readable. */
	--Accent: var(--Primary);    /* was lime; Orion GM asked for blue (2026-11-24) */
	--AccentAlt: var(--Secondary);

	/* Link color — Orion Electric Blue per marketing palette (2026-11-24) */
	--LinkColor: var(--ElectricBlue);

	/* Header theming — blue header with the pre-inverted white logo. */
	--HeaderBg: var(--Primary);
	--HeaderBorder: none;
	--HeaderTaglineColor: var(--Lightest);
	--HeaderDividerBg: rgba(255, 255, 255, .32);
	--LogoFilter: none;

	/* Search bar — blue to merge with the header (no divider). Overrides the
	   Styles.css defaults (--NavBackground / 1px solid --Light). */
	--SearchBarBg: var(--Primary);
	--SearchBarBorderBottom: none;
}

/* Heading weight — Inter Bold */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6
{
	font-weight: var(--HeadingFontWeight, 700);
}

/* Logo — swap background-image per brand */
a.site-logo
{
	background-image: var(--LogoImage);
}

/* Home page category tiles — Orion colorway. White bg with body-color text,
   lime icon and blue border; hover swaps the bg to --Light (pale blue) while
   text/icon/border stay put. Applies to .home-tile-sm too. !important to beat
   Styles.css, which loads after this brand sheet. */
a.home-tile
{
	color: var(--Dark) !important;
	background-color: #FFFFFF !important;
	border-color: var(--Primary) !important;
}

a.home-tile svg.home-tile-icon
{
	color: var(--Secondary) !important;   /* Orion Lime (GM, 2026-11-24) */
}

a.home-tile:hover
{
	color: var(--Dark) !important;
	background-color: #EAF1F7 !important;   /* == --Light */
}

a.home-tile:hover svg.home-tile-icon
{
	color: var(--Secondary) !important;   /* Orion Lime (GM, 2026-11-24) */
}

/* ------------------------------------------------------------
   Home page parent tiles + expandable child panels (2026-11-24).
   7 parent tiles (6 buttons + Video Library link) in a CSS grid;
   clicking a parent shows its .home-children panel as a full-width
   row under the parent's row (Resources/Scripts/home-tiles.js).
   Prefixed with html.home-topic to outrank Styles.css (loads later).
   Backgrounds use literal hex (Flare editor rejects var() there).
   ------------------------------------------------------------ */
html.home-topic div.home-tiles
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;   /* centers a partial last row */
	gap: 20px;
	text-align: center;
}

/* Contact Support / Request a Feature links below the tiles (mirrors .home-whats-new) */
html.home-topic .home-support-links
{
	text-align: center;
	margin: 30px 0 10px;
	font-weight: 600;
}

/* Neutralize the Flare responsive-row clearfix + float rules */
html.home-topic div.home-tiles::before,
html.home-topic div.home-tiles::after
{
	display: none;
	content: none;
}

html.home-topic div.home-tiles > div.home-children
{
	float: none;
	width: auto;
	margin: 0;
}

html.home-topic .home-tiles .home-parent,
html.home-topic .home-tiles .home-direct
{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;   /* <a> defaults to content-box, <button> to border-box */
	width: 300px;
	min-height: 150px;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--Primary);
	border-radius: 4px;
	background-color: #FFFFFF;
	color: var(--Dark);
	font: inherit;
	text-align: center;
	cursor: pointer;
}

/* Hover: pale-blue bg, text stays dark. !important beats Styles.css
   .home-tile:hover { color: white !important } (meant for the old dark tiles). */
html.home-topic .home-tiles .home-parent:hover
{
	background-color: #EAF1F7;
	color: var(--Dark) !important;
}

html.home-topic .home-tiles .home-parent:focus-visible,
html.home-topic .home-tiles .home-tile:focus-visible
{
	outline: 3px solid var(--ElectricBlue);
	outline-offset: 2px;
}

html.home-topic .home-tiles .home-parent svg.home-tile-icon,
html.home-topic .home-tiles .home-direct svg.home-tile-icon
{
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	margin-bottom: 10px;
	color: var(--Secondary) !important;   /* Orion Lime (GM, 2026-11-24) */
}

html.home-topic .home-tiles .home-parent[aria-expanded="true"] svg.home-tile-icon
{
	color: #FFFFFF !important;
}

html.home-topic .home-tiles .tile-title
{
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

html.home-topic .home-tiles .tile-desc
{
	display: block;
	padding: 0 4px;
	font-size: 0.85em;
	line-height: 1.35;
	opacity: 0.9;
}

html.home-topic .home-tiles .home-chevron
{
	position: absolute;
	right: 14px;
	top: 14px;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

/* Open (inverted) parent */
html.home-topic .home-tiles .home-parent[aria-expanded="true"],
html.home-topic .home-tiles .home-parent[aria-expanded="true"]:hover
{
	background-color: #22408E;   /* == --Primary */
	color: #FFFFFF !important;
}

html.home-topic .home-tiles .home-parent[aria-expanded="true"] .home-chevron
{
	transform: rotate(-135deg);
	top: 18px;
}

/* Child panel */
html.home-topic .home-tiles .home-children
{
	flex: 0 0 100%;           /* full-width row under the parent's row */
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	padding: 20px;
	background-color: #EAF1F7;   /* == --Light */
	border-radius: 4px;
}

html.home-topic .home-tiles .home-children[hidden]
{
	display: none;
}

/* Child tiles (the original category tiles, compact) */
html.home-topic .home-tiles a.home-tile.home-tile-sm
{
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	width: 300px;
	min-height: 110px;
	margin: 0;
	padding: 16px 18px;
	gap: 16px;
}

html.home-topic .home-tiles a.home-tile.home-tile-sm:hover
{
	background-color: #FFFFFF !important;
	border-color: var(--ElectricBlue) !important;
}

html.home-topic .home-tiles .home-tile-sm svg.home-tile-icon
{
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	margin-bottom: 0;
}

html.home-topic .home-tiles .home-tile-sm h4
{
	margin: 0 0 4px;
	font-size: 0.95em;
}

html.home-topic .home-tiles .home-tile-sm p
{
	margin: 0;
	padding: 0;
	font-size: 0.85em;
	line-height: 1.35;
}

@media only screen and (max-width: 680px)
{
	html.home-topic .home-tiles .home-parent,
	html.home-topic .home-tiles .home-direct,
	html.home-topic .home-tiles a.home-tile.home-tile-sm
	{
		width: 100%;
	}
}

/* Brand backgrounds — literal hex values, NOT var(), because Flare's
   XML-editor CSS parser rejects var() on background-color (regardless of
   fallback). Keep in sync with --Primary / --Light above. */
.site-header
{
	background-color: #22408E;   /* == --Primary */
}

.site-search-bar
{
	background-color: #22408E;   /* == --Primary */
}

.main-section .row.outer-row > nav
{
	background-color: #EAF1F7;   /* == --Light */
}

.main-section .row.outer-row > nav .nav-tree a:hover
{
	background-color: #22408E !important;   /* == --Primary */
}
