/* =========================================================
   K. Edward Safir, Standing Chapter 13 Trustee
   Shared stylesheet for all pages
   ========================================================= */

/* ---------- Base ---------- */
article, aside, details, figcaption, figure,
header, hgroup, menu, section {
	display: block;}

html {
	box-sizing: border-box;}
*, *:before, *:after {
	box-sizing: inherit;}

ol, ul {
	list-style: none;}

body {
	background: #242943;
	color: #ffffff;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 17pt;
	font-weight: 300;
	letter-spacing: 0.025em;
	line-height: 1.65;}
@media screen and (max-width: 1680px) {
	body { font-size: 14pt; }}
@media screen and (max-width: 1280px) {
	body { font-size: 12pt; }}
@media screen and (max-width: 360px) {
	body { font-size: 11pt; }}

/* ---------- Navigation bar ---------- */
.navbar-default {
	background-color: #242943;}
.navbar-default .navbar-text,
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-link {
	color: #ffffff;}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #242943;
	background-color: #6fc3df;}
.navbar-default .navbar-link:hover {
	color: #b3c2db;
	background-color: #6fc3df;}

/* Phone menu button (the three-line icon) */
.navbar-default .navbar-toggle {
	border-color: rgba(255, 255, 255, 0.6);}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ffffff;}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #6fc3df;
	border-color: #6fc3df;}
.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
	background-color: #242943;}
.navbar-default .navbar-collapse {
	border-color: rgba(255, 255, 255, 0.15);}

/* ---------- Text ---------- */
a {
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	border-bottom: dotted 1px;
	display: inline-block;
	color: inherit;
	text-decoration: none;}
a:hover {
	border-bottom-color: transparent;
	color: #9bf1ff !important;}
a:active {
	color: #53e3fb !important;}

strong, b {
	color: #ffffff;
	font-weight: 600;}

p {
	margin: 0 0 2em 0;}

h1, h2, h3, h4 {
	color: #ffffff;
	font-weight: 600;
	line-height: 1.65;
	margin: 0 0 1em 0;}
h1 a, h2 a, h3 a, h4 a {
	color: inherit;
	border-bottom: 0;}
h1 { font-size: 2.5em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.35em; }
h4 { font-size: 1.1em; }
@media screen and (max-width: 736px) {
	h1 { font-size: 2em; }
	h2 { font-size: 1.5em; }
	h3 { font-size: 1.25em; }}

/* ---------- Section headings with underline ---------- */
header.major {
	width: max-content;
	margin-bottom: 2em;}
header.major > :first-child {
	margin-bottom: 0;
	width: calc(100% + 0.5em);}
header.major > :first-child:after {
	content: '';
	background-color: #ffffff;
	display: block;
	height: 2px;
	margin: 0.325em 0 0.5em 0;
	width: 100%;}
header.major > p {
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.25em;
	margin-bottom: 0;
	text-transform: uppercase;}
@media screen and (max-width: 736px) {
	header.major {
		width: auto;
		max-width: 100%;}
	header.major > :first-child {
		width: auto;
		overflow-wrap: break-word;}
	header.major > p br {
		display: none;}}

/* ---------- Outlined arrow buttons ---------- */
.button {
	appearance: none;
	transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: inset 0 0 0 2px #ffffff;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.8em;
	font-weight: 600;
	height: 3.5em;
	letter-spacing: 0.25em;
	line-height: 3.5em;
	padding: 0 0.75em;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;}
.button:hover,
.button:active {
	box-shadow: inset 0 0 0 2px #9bf1ff;
	color: #9bf1ff;}
.button:active {
	background-color: rgba(155, 241, 255, 0.1);
	box-shadow: inset 0 0 0 2px #53e3fb;
	color: #53e3fb;}
.button.next {
	padding-right: 4.5em;
	position: relative;}
.button.next:before,
.button.next:after {
	transition: opacity 0.2s ease-in-out;
	background-position: center right;
	background-repeat: no-repeat;
	background-size: 36px 24px;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	right: 1.5em;
	top: 0;
	vertical-align: middle;
	width: 36px;}
.button.next:before {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36px' height='24px' viewBox='0 0 36 24'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 2px%3B %7D%3C/style%3E%3Cline x1='0' y1='12' x2='34' y2='12' /%3E%3Cline x1='25' y1='4' x2='34' y2='12.5' /%3E%3Cline x1='25' y1='20' x2='34' y2='11.5' /%3E%3C/svg%3E");}
.button.next:after {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36px' height='24px' viewBox='0 0 36 24'%3E%3Cstyle%3Eline %7B stroke: %239bf1ff%3B stroke-width: 2px%3B %7D%3C/style%3E%3Cline x1='0' y1='12' x2='34' y2='12' /%3E%3Cline x1='25' y1='4' x2='34' y2='12.5' /%3E%3Cline x1='25' y1='20' x2='34' y2='11.5' /%3E%3C/svg%3E");
	opacity: 0;
	z-index: 1;}
.button.next:hover:after,
.button.next:active:after {
	opacity: 1;}
@media screen and (max-width: 1280px) {
	.button.next {
		padding-right: 5em;}}
.button.next.scrolly {
	white-space: normal;
	height: auto;
	max-width: 800px;}

/* ---------- Colored tiles ---------- */
.tiles {
	display: flex;
	flex-wrap: wrap;
	border-top: 0 !important;}
.tiles + * {
	border-top: 0 !important;}
.tiles article {
	align-items: center;
	display: flex;
	padding: 4em 4em 2em 4em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: default;
	min-height: 23em;
	overflow: hidden;
	position: relative;
	width: 40%;}
.tiles article header {
	position: relative;
	z-index: 3;}
.tiles article h3 {
	font-size: 1.75em;}
.tiles article h3 a:hover {
	color: inherit !important;}
.tiles article:before {
	transition: opacity 0.5s ease;
	bottom: 0;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.85;
	position: absolute;
	width: 100%;
	z-index: 2;}
.tiles article:after {
	background-color: rgba(36, 41, 67, 0.25);
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;}
.tiles article:hover:before {
	opacity: 0;}
.tiles article:nth-child(4n - 1), .tiles article:nth-child(4n - 2) {
	width: 60%;}
.tiles article:nth-child(6n - 5):before { background-color: #6fc3df; }
.tiles article:nth-child(6n - 4):before { background-color: #8d82c4; }
.tiles article:nth-child(6n - 3):before { background-color: #ec8d81; }
.tiles article:nth-child(6n - 2):before { background-color: #87c5a4; }
.tiles article:nth-child(6n - 1):before { background-color: #8ea9e8; }
.tiles article:nth-child(6n):before     { background-color: #e7b788; }
@media screen and (max-width: 1280px) {
	.tiles article {
		padding: 4em 3em 2em 3em;
		min-height: 20em;}}
@media screen and (max-width: 980px) {
	.tiles article {
		width: 100% !important;}}
@media screen and (max-width: 736px) {
	.tiles article {
		padding: 3em 1.5em 1em 1.5em;
		min-height: 0;}
	.tiles article h3 {
		font-size: 1.5em;}}
@media screen and (max-width: 480px) {
	.tiles {
		display: block;}
	.tiles article {
		width: 100% !important;}}

/* ---------- Page banner ---------- */
#banner {
	align-items: center;
	background-image: url("../../images/banner.jpg");
	display: flex;
	padding: 6em 0 2em 0;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 0 !important;
	cursor: default;
	height: 60vh;
	margin-bottom: -3.25em;
	max-height: 15em;
	min-height: 12em;
	position: relative;
	top: -3.25em;}
#banner:after {
	pointer-events: none;
	background-color: #242943;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.85;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;}
#banner h1 {
	font-size: 3.25em;}
#banner > .inner {
	padding: 0 !important;
	position: relative;
	z-index: 2;}
#banner > .inner header,
#banner > .inner header > :first-child {
	width: auto;}
#banner > .inner header > :first-child:after {
	max-width: 100%;}
#banner > .inner .content {
	display: flex;
	align-items: center;
	margin: 0 0 2em 0;}
#banner > .inner .content > * {
	margin-right: 1.5em;
	margin-bottom: 0;}
#banner > .inner .content > :last-child {
	margin-right: 0;}
#banner > .inner .content p {
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;}
#banner.style1:after { background-color: #6fc3df; }
#banner.style2:after { background-color: #8d82c4; }
#banner.style3:after { background-color: #ec8d81; }
#banner.style4:after { background-color: #e7b788; }
#banner.style5:after { background-color: #8ea9e8; }
#banner.style6:after { background-color: #87c5a4; }
@media screen and (max-width: 1280px) {
	#banner {
		background-attachment: scroll;}}
@media screen and (max-width: 736px) {
	#banner {
		padding: 5em 0 1em 0;
		height: auto;
		margin-bottom: -2.75em;
		max-height: none;
		min-height: 0;
		top: -2.75em;}
	#banner h1 {
		font-size: 2em;}
	#banner > .inner .content {
		display: block;}
	#banner > .inner .content > * {
		margin-right: 0;
		margin-bottom: 2em;}}
@media screen and (max-width: 480px) {
	#banner {
		padding: 6em 0 2em 0;}
	#banner > .inner .content p br {
		display: none;}}

/* ---------- Content pages (NDC Notice, Trustee's Pledge) ---------- */
.page-wrap {
	max-width: 60em;
	margin: 0 auto;
	padding: 2.5em 1.5em 3em 1.5em;}
.page-wrap .lead {
	font-size: 1.05em;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2em;}
.page-wrap h2 {
	font-size: 1.35em;
	margin: 2em 0 1em 0;}
.info-card {
	background: #2a2f4a;
	border-left: 4px solid #6fc3df;
	border-radius: 6px;
	padding: 1.5em 1.75em;
	margin-bottom: 1.5em;}
.info-card h3 {
	font-size: 1.15em;
	margin-bottom: 0.5em;}
.info-card p:last-child {
	margin-bottom: 0;}
.callout {
	background: rgba(111, 195, 223, 0.12);
	border: 1px solid rgba(111, 195, 223, 0.45);
	border-radius: 6px;
	padding: 1em 1.25em;
	margin-bottom: 1.5em;}
.callout p {
	margin: 0;}
.num-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16em, 1fr));
	gap: 1.25em;
	margin: 0 0 2em 0;}
.num-item {
	--accent: #6fc3df;
	background: #2a2f4a;
	border-top: 4px solid var(--accent);
	border-radius: 6px;
	padding: 1.25em 1.5em 1.5em 1.5em;}
.num-item .num {
	color: var(--accent);
	font-size: 1.75em;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0.35em;}
.num-item p {
	margin: 0;}
.num-item:nth-child(6n+2) { --accent: #8d82c4; }
.num-item:nth-child(6n+3) { --accent: #ec8d81; }
.num-item:nth-child(6n+4) { --accent: #87c5a4; }
.num-item:nth-child(6n+5) { --accent: #8ea9e8; }
.num-item:nth-child(6n)   { --accent: #e7b788; }
.page-actions {
	margin: 1em 0 0 0;}
.page-actions .button {
	margin: 0 1em 1em 0;}
.site-footer {
	border-top: solid 1px rgba(212, 212, 255, 0.15);
	margin-top: 2.5em;
	padding-top: 1.5em;
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.8);}
.site-footer p {
	margin: 0 0 0.4em 0;}
@media screen and (max-width: 736px) {
	.page-wrap {
		padding: 2em 1em 2.5em 1em;}
	.info-card {
		padding: 1.25em;}}

/* ---------- Expandable sections (Truist page) ---------- */
.section-hint {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9em;
	margin: -0.5em 0 1.5em 0;}
.drawer {
	background: #2a2f4a;
	border-left: 4px solid #8ea9e8;
	border-radius: 6px;
	margin-bottom: 1em;}
.drawer:nth-of-type(2) { border-left-color: #87c5a4; }
.drawer:nth-of-type(3) { border-left-color: #e7b788; }
.drawer > summary,
.faq > summary {
	cursor: pointer;
	list-style: none;
	position: relative;}
.drawer > summary::-webkit-details-marker,
.faq > summary::-webkit-details-marker {
	display: none;}
.drawer > summary {
	font-size: 1.1em;
	font-weight: 600;
	padding: 1em 3em 1em 1.5em;}
.drawer > summary:after,
.faq > summary:after {
	content: '+';
	position: absolute;
	right: 1.25em;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.3em;
	font-weight: 300;
	line-height: 1;}
.drawer[open] > summary:after,
.faq[open] > summary:after {
	content: '\2013';}
.drawer > summary:hover,
.faq > summary:hover {
	color: #9bf1ff;}
.drawer-body {
	padding: 0 1.5em 1.5em 1.5em;
	border-top: solid 1px rgba(212, 212, 255, 0.1);
	padding-top: 1.25em;}
.drawer-body h4 {
	font-size: 1em;
	margin: 1.5em 0 0.5em 0;
	color: #9bf1ff;}
.drawer-body h4:first-child {
	margin-top: 0;}
.drawer-body p {
	margin-bottom: 1em;}
.drawer-body .note {
	font-size: 0.9em;
	color: rgba(255, 255, 255, 0.8);}
.drawer-body .quote {
	font-style: italic;
	border-left: 3px solid rgba(255, 255, 255, 0.3);
	padding-left: 1em;}
.faq {
	border-bottom: solid 1px rgba(212, 212, 255, 0.1);}
.faq:last-child {
	border-bottom: 0;}
.faq > summary {
	font-weight: 600;
	padding: 0.85em 2.5em 0.85em 0;}
.faq > summary:after {
	right: 0.25em;}
.faq > p {
	padding-right: 1em;}
.plain-list {
	list-style: decimal;
	padding-left: 1.5em;
	margin: 0 0 1em 0;}
.plain-list li {
	margin-bottom: 0.35em;}

/* Contact and hours tiles when they sit in their own row */
.tiles article.tile-contact:before { background-color: #8ea9e8; }
.tiles article.tile-hours:before   { background-color: #e7b788; }
.tiles article.tile-contact { background-color: #8ea9e8; }
.tiles article.tile-hours   { background-color: #e7b788; }
@media screen and (max-width: 736px) {
	.drawer > summary {
		padding: 0.9em 2.75em 0.9em 1em;}
	.drawer-body {
		padding: 1em 1em 1.25em 1em;}}
