/* =====================================================================
   faa2.css: shared styles for usac.com/faa2
   Linked by head.head (every web page) and Print_Section.ASPX (printed
   chapters). Page fragments (index.aspx) should NOT contain <style>
   blocks; add or change styles here so every page looks the same.
   Updated 2026-11-22 (rev 2: 11 pt text, tighter bullets and cells,
   continuous printed chapters).
   ===================================================================== */


/* ---------- Site-wide rules (moved from head.head) ---------- */

@page {
	margin: 10mm;
}
p {
	font-size: 11pt;
	margin-left: 18pt;
	margin-right: 18pt;
}
ol {
	margin-left: 15pt;
}
th {
	background-color: lightgray;
}


/* ---------- Content pages: <div class="cert"> wrapper ---------- */

.cert { max-width: 950px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; font-size: 11pt; }
.cert p, .cert td, .cert th, .cert li { font-size: 11pt; }
.cert p { margin: 6px 0 8px 0; }

.cert h1, .cert h2, .cert h3 { color: blue; text-align: center; font-family: Arial, Helvetica, sans-serif; }
.cert h1 { font-size: 18pt; margin: 6px 0 8px 0; }
.cert h2 { font-size: 14pt; margin: 16px 0 6px 0; }
.cert h3 { font-size: 12pt; margin: 10px 0 4px 0; }

.cert table { border-collapse: collapse; margin: 8px auto 16px auto; }
.cert th, .cert td { vertical-align: top; padding: 3px 4px; }
.cert th { background: #cfcfcf; }
.cert .grid th, .cert .grid td { border: 1px solid #999; }
.cert table.tight { margin-bottom: 0; }

/* Bullet paragraphs (bullet.gif + hanging indent).
   bulletp  = list outside a table: 1 pt before and after each line.
   bulletp2 = list inside a table: no space before or after.
   The bullet image is scaled to the text so it does not add line height. */
.cert p.bulletp  { margin: 1pt 0 1pt 50pt; text-indent: -18px; }
.cert p.bulletp2 { margin: 0 0 0 24px; text-indent: -21px; }
.cert p.bulletp img, .cert p.bulletp2 img { height: 0.8em; width: auto; vertical-align: -0.05em; }

/* Legend under a table that mixes requirement (red) and explanation (blue) bullets */
.cert .legend { font-size: 10pt; color: #333; text-align: center; margin: 0 0 10px 0; }
.cert .legend img { height: 0.8em; width: auto; vertical-align: -0.05em; }

/* Section menu bar and next link (generated by head.head) */
.cert .sectionnav { text-align: center; margin: 0 0 10px 0; font-size: 10pt; line-height: 1.6; }
.cert .sectionnav a { text-decoration: none; }
.cert .sectionnav .current { font-weight: bold; color: blue; }
.cert .nextlink { text-align: center; margin-top: 18px; }
.cert .nextlink a { text-decoration: none; font-weight: bold; }

/* Buttons (Print, Part 135 for Sale) */
.cert .actions { text-align: center; margin: 14px 0 12px 0; }
.cert .actions a {
	display: inline-block;
	border: 1px solid #777;
	padding: 6px 14px;
	margin: 3px 4px;
	background: #f3f3f3;
	text-decoration: none;
	font-weight: bold;
}
.cert a.ref { text-decoration: none; }

/* "Acquire an Existing Company:" callout at the end of each topic */
.cert .acquire {
	max-width: 880px;
	margin: 14px auto;
	padding: 6px 12px;
	border-left: 5px solid blue;
	background: #eef2ff;
}
.cert .acquire p { margin: 3px 0; }

/* Notes */
.cert .note { font-size: 10pt; color: #333; text-align: center; margin: 2px 0 10px 0; }
.cert .note.tight { margin-top: 0; }
.cert p.notep { margin: 8px 0.5in 10px 0.5in; }   /* <u>Note</u>: paragraph, indented 0.5 in */

/* Small helpers */
.cert .center { text-align: center; }
.cert .number { font-size: 20pt; font-weight: bold; color: blue; text-align: center; }

/* DCT relative-size bars */
.cert .barcell { width: 280px; vertical-align: middle; }
.cert .bar {
	display: block;
	height: 12px;
	background: navy;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

/* Glossary: no borders; the table sizes its own columns */
.cert table.glossary th { text-align: left; }
.cert table.glossary td:first-child { white-space: nowrap; padding-right: 14px; font-weight: bold; }

/* References block on each page (Print_Section collects these into one list) */
.cert .refs h2 { margin-top: 18px; }


/* ---------- Print rules for every page ---------- */

@media print {
	.web-only,
	.cert .sectionnav,
	.cert .nextlink,
	.cert .actions,
	.cert .printsection { display: none !important; }

	.cert { max-width: none; }
	.cert a { color: black; text-decoration: none; }

	/* Keep headings with what follows; do not split rows or callouts */
	.cert h1, .cert h2, .cert h3 { break-after: avoid; page-break-after: avoid; }
	.cert h1 + p, .cert h2 + p, .cert h3 + p { break-after: avoid; page-break-after: avoid; }
	.cert tr, .cert p.bulletp, .cert p.bulletp2, .cert .acquire, .cert .keep {
		break-inside: avoid;
		page-break-inside: avoid;
	}
	.cert thead { display: table-header-group; }
	.cert .acquire { background: none; margin: 8px auto; }

	/* Slightly tighter spacing on paper */
	.cert h1 { margin: 0 0 6px 0; }
	.cert h2 { margin: 10px 0 4px 0; }
	.cert h3 { margin: 8px 0 3px 0; }
	.cert p { margin: 3px 0 5px 0; }
	.cert p.bulletp { margin-top: 1pt; margin-bottom: 1pt; }
	.cert p.bulletp2 { margin-top: 0; margin-bottom: 0; }
	.cert p.notep { margin: 6px 0.5in 8px 0.5in; }
	.cert table { margin: 5px auto 10px auto; }
	.cert table.tight { margin-bottom: 0; }
	.cert th, .cert td { padding: 2px 3px; }
}


/* ---------- Print_Section.ASPX (book-chapter printing) ---------- */

.print-body { font-family: Arial, Helvetica, sans-serif; margin: 18px; background: white; color: black; }

.print-controls {
	max-width: 950px;
	margin: 0 auto 18px auto;
	padding: 8px 10px;
	border: 1px solid #999;
	background: #f3f3f3;
	font-size: 11pt;
}
.print-controls button { cursor: pointer; }

.print-page { max-width: 950px; margin: 0 auto 28px auto; }

/* Per-page reference lists are replaced by one consolidated list */
.print-page .refs { display: none; }

/* Chapter title page */
.title-page .tp { text-align: center; padding-top: 1.6in; }
.title-page .tp-org { font-size: 14pt; color: navy; font-weight: bold; margin: 0 0 6px 0; text-align: center; }
.title-page .tp-chapter { font-size: 14pt; color: #444; margin: 0; text-align: center; }
.title-page h1.tp-title { font-size: 30pt; margin: 6px 0 4px 0; }
.title-page .tp-sub { font-size: 14pt; margin: 0 0 40px 0; text-align: center; }
.title-page h2 { margin-top: 30px; }
.title-page ol.tp-contents { width: 45%; margin: 8px auto; text-align: left; padding-left: 28px; }
.title-page ol.tp-contents li { margin: 5px 0; }
.title-page .tp-date { font-size: 10pt; color: #555; margin-top: 50px; text-align: center; }

/* Consolidated references: one column, address in parentheses after the title */
.cert .refgroup { width: 90%; margin: 6px auto 14px auto; }
.cert .refgroup p { margin: 0 0 4px 0; padding-left: 18px; text-indent: -18px; }
.cert .refgroup .url { font-size: 10pt; color: #444; overflow-wrap: anywhere; }

@media print {
	.print-body { margin: 0; }
	.print-controls { display: none !important; }

	/* Topics flow continuously; only the title page ends with a page break */
	.print-page { max-width: none; margin: 0 0 14px 0; }
	.print-page.title-page { break-after: page; page-break-after: always; }
	.print-page .cert > h1 { margin-top: 16px; }

	.print-page .cert h1, .print-page .cert h2, .print-page .cert h3 { color: blue !important; }
	.cert .refgroup .url { color: #444; }
}
