/*<meta conditions="default_conditions.GlobalContent" />*/

/* MadCap-Branding applanguage:Templates/Projects/Online & Print/Top Navigation and PDF/ */

/* SynthEyes branding and product rules.
 * This is the only product stylesheet. Put product rules here. */

@import url('../../default_resources/stylesheets/default_branding.css');

@namespace MadCap url(http://www.madcapsoftware.com/Schemas/MadCap.xsd);

:root
{
	/* === Primary and accent colours === */
	--ColoredFontColor: #e5173a;
	--MainColor: #e5173a;
	--SecondaryColor: #4f0000;
	/* === Table accents (derived from the primary colour) === */
	--TableHeaderAccentTop: rgba(229, 23, 58, 0.16);
	--TableHeaderAccentBottom: rgba(229, 23, 58, 0.05);
	--TableHeaderAccentFade: rgba(229, 23, 58, 0);
	--LabelTableGroupSurface: rgba(229, 23, 58, 0.08);
	/* === Logo paths ===
	 * Product-Logo-White = white wordmark for dark surfaces, Product-Logo-Black =
	 * black wordmark for light surfaces (official Horizontal Dark/Light files,
	 * ADR 0004). --LogoImageHeader feeds the title bar logo (rule below): white
	 * here (dark is the default theme), black in the light block.
	 *
	 * Icon variant (square) for banner slots.
	 * Horizontal variant with wordmark for header/top nav.
	 */
	--LogoImageSvg: url('../images/product-logo-black.svg');
	--LogoImagePng: url('../images/product-logo-black.png');
	--LogoImagePngDark: url('../images/product-logo-white.svg');
	--LogoImageHeader: url('../images/product-logo-white.svg');
	--LogoImageScreen: url('../images/product-icon.svg');
	--LogoImageBanner: url('../images/product-icon.svg');
	/* === PDF (HELP-20, ADR 0004) ===
	 * rubric = darker brand red for text (5.9:1 on white), rule and tint are light reds.
	 * Title page: Product-Gradient-Title.svg runs from brand red to burgundy;
	 * Product-Gradient-Opener.svg runs from dark to accent.
	 */
	--PdfRubricColor: #c8102e;
	--PdfRuleColor: #f2b8c2;
	--PdfTintColor: #fdecef;
	--PdfOpenerDark: #4f0000;
	--PdfOpenerAccent: #c8102e;
	--PdfOpenerLine: #e5173a;
	--PdfFooterTopicColor: #475569;
	--PdfPathDot: url('../images/product-pathdot.png');
	/* === Key visual / hero gradient ===
	 * Gradient from primary red over secondary burgundy to black.
	 */
	--KeyvisualImage: linear-gradient(180deg, rgba(229, 23, 58, 1) 0%, rgba(79, 0, 0, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

/* === Light mode ===
 * The shared light block in default_branding.css (:root[data-theme="light"] */

@media screen
{
	[data-theme="light"]:root
	{
		--MainColor: #e5173a;
		--TableHeaderAccentTop: rgba(229, 23, 58, 0.12);
		--TableHeaderAccentBottom: rgba(229, 23, 58, 0.04);
		--TableHeaderAccentFade: rgba(229, 23, 58, 0);
		--LabelTableGroupSurface: rgba(229, 23, 58, 0.08);
		--LogoImageHeader: url('../images/product-logo-black.svg');
		--LogoImageBanner: url('../images/product-icon.svg');
	}
}

/* Logo override for the title bar (top navigation HTML5 skin) */

.title-bar-layout a.logo
{
	background-image: var(--LogoImageHeader) !important;
	background-color: transparent !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: contain !important;
	min-width: 200px;
}

@media print
{
	/* PDF output: horizontal logo, white wordmark variant (see the naming note above). */

	.title-bar-layout a.logo
	{
		background: url('../images/product-logo-white.svg') !important;
	}
}

/* === Product rules (formerly syntheyes_overrides.css and word_import.css, 2026-09-15) ===
 * Flare links the BrandingStylesheet BEFORE the MasterStylesheet. Rules that
 * override a shared rule of equal specificity therefore carry an html prefix
 * (+0,0,1) and win regardless of load order. The word-* classes come from the
 * one-time Word import and are still used in about 60 topics; they do not
 * compete with any shared rule.
 */

p.word-compact
{
	margin-top: 0;
	margin-bottom: 0.35rem;
}

p.word-indent
{
	margin-left: 1.5rem;
}

p.word-description
{
	margin-top: 0.2rem;
	margin-bottom: 0.2rem;
}

p.word-definition
{
	margin-top: 0.2rem;
	margin-bottom: 0.2rem;
	white-space: pre-wrap;
}

p.word-hanging
{
	margin-left: 1.5rem;
	text-indent: -1.5rem;
}

p.word-answer
{
	margin-top: 0.35rem;
	margin-bottom: 0.35rem;
}

pre.word-code
{
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
	padding: 0.75rem 1rem;
	overflow-x: auto;
	border-left: 4px solid var(--Medium);
	white-space: pre-wrap;
}

table.word-table
{
	width: 100%;
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
	border-collapse: collapse;
}

table.word-table td,
table.word-table th
{
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--Light);
	vertical-align: top;
}

@media print
{
	/* Brand-tinted rules (formerly syntheyes_overrides.css) */

	html h2
	{
		border-bottom-color: rgba(229, 23, 58, 0.35);
	}

	html div.MoreInformation
	{
		border-top-color: rgba(229, 23, 58, 0.38);
	}

	html div.pdf-footer
	{
		border-top-color: rgba(229, 23, 58, 0.35);
	}

	/* Print colours of the Word bridge (formerly word_import.css) */

	MadCap|tocProxy
	{
		color: var(--FontColor);
	}

	html p.TOC1,
	html p.TOC2,
	html p.TOC3,
	html p.TOC4,
	html p.TOC5,
	html p.TOC6,
	html p.TOC7,
	html p.TOC8,
	html p.TOC9,
	html p.TOC1 a,
	html p.TOC2 a,
	html p.TOC3 a,
	html p.TOC4 a,
	html p.TOC5 a,
	html p.TOC6 a,
	html p.TOC7 a,
	html p.TOC8 a,
	html p.TOC9 a
	{
		color: var(--FontColor);
	}

	html p.word-definition,
	html pre.word-code
	{
		color: inherit;
	}

	html p.Note,
	html p.Tip,
	html p.Warning,
	html div.Note,
	html div.Tip,
	html div.Warning
	{
		color: var(--FontColor);
	}

	html p.Note *,
	html p.Tip *,
	html p.Warning *,
	html div.Note *,
	html div.Tip *,
	html div.Warning *
	{
		color: inherit;
	}

	table.word-table td,
	table.word-table th
	{
		border-color: var(--Light);
	}

	/* Image widths in the PDF. Flare resolves max-width: 100% against the full frame,
	   not against the column indented by body padding, so images ran past the margin. */

	html body > img
	{
		max-width: 90%;
	}

	/* Beats the fixed 15 cm width from default_styles.css inside lists. */

	html li img
	{
		max-width: 100%;
	}

	/* Indented Word paragraphs: Flare takes 100% from the column, not from the paragraph,
	   so a fixed cap is used that fits both Letter and A4. */

	html p.word-indent img
	{
		max-width: 5.4in;
	}

	/* Flare ignores percentage widths for images in table cells; fixed cap instead. */

	html td img
	{
		max-width: 3in;
	}

	/* Some shortcut spans hold whole sentences and must be allowed to wrap. */

	html span.shortcut
	{
		white-space: normal;
	}

	/* No chapter numbers in the SynthEyes PDFs. The shared print styles number h1 and h2, but
	   the SynthEyes TOCs nest every chapter under the manual title and the PDF targets generate
	   their own TOC page, so the numbers came out as "1 Table of Contents" and "2.1, 2.2 ...".
	   To use numbers, delete this rule AND move the chapters to the top level of each manual
	   TOC, turn off "Generate TOC" in the PDF targets in favour of a TOC topic whose heading has
	   class NoTocNoNr, and drop contents.htm from the PDF TOCs. */

	html h1,
	html h2
	{
		mc-auto-number-format: '';
	}
}

