/* ============================================================================
   Legacy content-body styles.

   The old site chrome — banner, sidebar, footer, and the #cssmenu navigation —
   is now rendered by Svelte components in the redesigned shell, so those rules
   have been removed. What remains styles the legacy content/tool HTML bodies
   rendered inside #nrcc-content-container, modernized off the old float and
   `max-device-width` layout. The two-column content layout now lives in
   src/app.css (flexbox, applied via :has).
   ========================================================================== */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot,
thead, tr, th, td {
	font-family: 'Open Sans', sans-serif;
}

p {
	margin: 0;
	padding: 0;
}

h1 {
	font-weight: bold;
	font-size: 1.3em;
	margin-top: 0;
}
h2 {
	font-weight: bold;
	font-size: 1.15em;
	margin-bottom: 0.3em;
}
h3 {
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 0.3em;
	margin-top: 0;
}
h4 {
	text-transform: uppercase;
	font-weight: normal;
}

/* Full-width notice banner used in blog posts and alerts. */
#notice {
	text-align: center;
	font-size: 1.2em;
	padding: 0.5em;
	color: white;
	background-color: var(--noaa-blue-800);
}
#notice a {
	color: white;
	font-style: italic;
	text-decoration: none;
}

/* Skip-nav link used by standalone static tool pages. */
.skipnav {
	color: white;
	text-decoration: none;
	width: 1px;
	height: 1px;
	overflow: hidden;
	position: absolute;
	left: -100px;
}
.skipnav:active,
.skipnav:focus {
	color: var(--noaa-blue-700);
	text-decoration: underline;
	width: auto;
	height: auto;
	overflow: visible;
	position: absolute;
	left: 0;
}

/* Keep media fluid inside a content column. */
.column-450-image img,
.column-640-image img,
.column-260-image img {
	width: 100%;
}

.page-text {
	margin: 10px 0 20px;
	font-size: 16px;
}
.page-text p {
	margin-bottom: 10px;
}

#mapoptions,
#moremapoptions,
#selectoptions,
#stateoptions,
#catoptions,
#monthoptions {
	font-size: 0.7em;
}

/* Contain any floated children still emitted by legacy content bodies. */
.clearfix::before,
.clearfix::after {
	content: '';
	display: table;
	clear: both;
}

/* Responsive — real viewport breakpoints (replaces the deprecated
   max-device-width / min-device-width queries). */
@media (max-width: 1024px) {
	.page-text {
		font-size: 15px;
	}
}
@media (max-width: 767px) {
	.page-text {
		font-size: 13px;
	}
	#mapoptions,
	#moremapoptions,
	#selectoptions,
	#stateoptions,
	#catoptions,
	#monthoptions {
		font-size: 1em;
	}
	#mapoptions select,
	#moremapoptions select,
	#stateoptions select {
		font-size: 1.5em;
	}
}
