@charset "UTF-8";

/* d29.css: styles for Senate District 29's pages, moved from their <style> blocks (CSS plan, Phase 3).
   Each page sets $page_class (on <body>) and lists this file in $page_css; :where() scopes a rule to its page
   without adding specificity. No media attribute: like the <style> blocks, these rules apply in print too. */

/* == == casework.php only == == */

@media screen and (min-width: 741px) {
	/* DESKTOP STYLES */
	:where(.pg_casework) div.nlform {
		width: 90%;
	}

	:where(.pg_casework) form input.d29cb {
		width: 15px;
		text-align: left;
	}

	:where(.pg_casework) form input {
		margin-bottom: 8px;
	}

	:where(.pg_casework) p {
		font-size: 1em !important;
	}

	:where(.pg_casework) p.mem_extras_header {
		font-size: 1.2em !important;
	}
}

@media print, (max-width: 740px) {
	/* MOBILE STYLES */
	:where(.pg_casework) div.nlform {
		width: 90%;
	}

	:where(.pg_casework) form input.d29cb {
		text-align: left;
		margin: auto;
		width: auto !important;
	}

	:where(.pg_casework) form input {
		margin-bottom: 8px;
	}

	:where(.pg_casework) p {
		font-size: 1em !important;
	}

	:where(.pg_casework) p.mem_extras_header {
		font-size: 1.2em !important;
	}
}

/* Replaced inline styles */

:where(.pg_casework) p.intro_note {
	font-size: 1em;
	font-style: italic;
}

:where(.pg_casework) a.form_link {
	font-size: 1.2em;
}

/* == == services.php only == == */

@media screen and (min-width: 741px) {
	/* DESKTOP STYLES */
	:where(.pg_services) div.nlform {
		width: 90%;
	}

	:where(.pg_services) form input.d29cb {
		width: 15px;
		text-align: left;
	}

	:where(.pg_services) form input {
		margin-bottom: 8px;
	}
}

@media print, (max-width: 740px) {
	/* MOBILE STYLES */
	:where(.pg_services) div.nlform {
		width: 90%;
	}

	:where(.pg_services) form input.d29cb {
		text-align: left;
		margin: auto;
		width: auto !important;
	}

	:where(.pg_services) form input {
		margin-bottom: 8px;
	}
}
