/*
 * Akron Boards of Trade Council – brand layer on top of the tz_goldena (Astroid) template.
 * Navy + gold from the logo and template, Playfair Display headings, Montserrat text.
 * Loaded by every template style via "Custom CSS files" (tools/brand_template.py).
 */
:root {
	--abotc-navy: #00256e;
	--abotc-navy-hover: #0b3c9a;
	--abotc-navy-deep: #101e3f;
	--abotc-gold: #cba87a;
	--abotc-gold-hover: #dcc19c;
	--abotc-ink: #3d3d3d;
}

/* ---------- Header ---------- */
@media (min-width: 992px) {
	#astroid-header .header-right-section > nav {
		flex-shrink: 0;
	}
	#astroid-header ul.astroid-nav {
		flex-wrap: nowrap;
	}
	/* the two CTA buttons sit in half-width page-builder columns; size them to the buttons */
	#astroid-header .sppb-row {
		flex-wrap: nowrap;
		justify-content: flex-end;
	}
	#astroid-header .sppb-row > [class*="sppb-col-"] {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	#astroid-header .astroid-nav .nav-link {
		padding-left: 7px !important;
		padding-right: 7px !important;
		font-size: 13px;
	}
	#astroid-header .sppb-btn {
		padding: 10px 12px;
		font-size: 12px;
	}
	/* not enough room for both CTAs; "Contact Us" is in the menu right next to it */
	#astroid-header .sppb-row > [class*="sppb-col-"]:has(#btn-1607679588671) {
		display: none;
	}
}
#astroid-header .astroid-nav .nav-link {
	padding-left: 10px;
	padding-right: 10px;
	white-space: nowrap;
}
#astroid-header .astroid-nav .nav-link.active,
#astroid-header .astroid-nav .nav-link:hover {
	color: var(--abotc-gold) !important;
}
#astroid-header .sppb-btn {
	white-space: nowrap;
	padding: 11px 20px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.2;
}

/* ---------- Buttons: navy = primary, gold = join / new member ---------- */
.sppb-btn-primary,
#btn-1699583893662,
.n2-ss-slider .n2-style-d1121f8c6d0cdfed075e9d8a8fc0029d-heading {
	background-color: var(--abotc-navy) !important;
	border-color: var(--abotc-navy) !important;
	color: #fff !important;
	transition: background-color .2s ease, color .2s ease;
}
.sppb-btn-primary:hover, .sppb-btn-primary:focus,
#btn-1699583893662:hover, #btn-1699583893662:focus,
.n2-ss-slider .n2-style-d1121f8c6d0cdfed075e9d8a8fc0029d-heading:hover {
	background-color: var(--abotc-navy-hover) !important;
	border-color: var(--abotc-navy-hover) !important;
	color: #fff !important;
}
.sppb-btn-success,
#btn-1607679588671,
.n2-ss-slider .n2-style-f4067679957c4a183719fe43f30eacb5-heading {
	background-color: var(--abotc-gold) !important;
	border-color: var(--abotc-gold) !important;
	color: var(--abotc-navy) !important;
	transition: background-color .2s ease;
}
.sppb-btn-success:hover, .sppb-btn-success:focus,
#btn-1607679588671:hover, #btn-1607679588671:focus,
.n2-ss-slider .n2-style-f4067679957c4a183719fe43f30eacb5-heading:hover {
	background-color: var(--abotc-gold-hover) !important;
	border-color: var(--abotc-gold-hover) !important;
	color: var(--abotc-navy) !important;
}
/* on the hero photo the navy button needs an edge */
.n2-ss-slider .n2-style-d1121f8c6d0cdfed075e9d8a8fc0029d-heading {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.sppb-btn:focus-visible, .n2-ss-slider a:focus-visible {
	outline: 2px solid var(--abotc-gold);
	outline-offset: 2px;
}

/* ---------- Headings and text ---------- */
h1.sppb-addon-title, h2.sppb-addon-title,
.itemid-150 .astroid-component-section .sppb-addon-text-block h2, .itemid-436 .astroid-component-section .sppb-addon-text-block h2,
.itemid-437 .astroid-component-section .sppb-addon-text-block h2, .itemid-129 .astroid-component-section .sppb-addon-text-block h2 {
	color: var(--abotc-navy);
}
/* the template's demo pink for <em> is not part of the brand */
.sppb-addon-text-block em, .com-content-article em, .blog em {
	color: inherit;
}
h5::before, h6::before {
	background-color: var(--abotc-gold) !important;
}

/* ---------- Long-form pages: Constitution, Mission, History, Terms of Use ---------- */
.itemid-150 .astroid-component-section .sppb-addon-text-block .sppb-addon-content,
.itemid-436 .astroid-component-section .sppb-addon-text-block .sppb-addon-content,
.itemid-437 .astroid-component-section .sppb-addon-text-block .sppb-addon-content,
.itemid-129 .astroid-component-section .sppb-addon-text-block .sppb-addon-content {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	font-size: 16px !important;
	line-height: 1.75 !important;
	color: var(--abotc-ink);
}
.itemid-150 .astroid-component-section .sppb-addon-text-block p,
.itemid-437 .astroid-component-section .sppb-addon-text-block p,
.itemid-129 .astroid-component-section .sppb-addon-text-block p {
	margin: 0 0 1.1em;
}
.itemid-150 .astroid-component-section .sppb-addon-text-block .sppb-addon-content > p:first-child em {
	display: block;
	padding: 18px 22px;
	background: #fff;
	border-left: 4px solid var(--abotc-gold);
	font-style: italic;
	color: var(--abotc-navy);
}
.itemid-150 .astroid-component-section .sppb-addon-text-block h3,
.itemid-150 .astroid-component-section .sppb-addon-text-block h4,
.itemid-437 .astroid-component-section .sppb-addon-text-block h3,
.itemid-437 .astroid-component-section .sppb-addon-text-block h4,
.itemid-129 .astroid-component-section .sppb-addon-text-block h3,
.itemid-129 .astroid-component-section .sppb-addon-text-block h4 {
	font-family: "Playfair Display", Georgia, serif;
	color: var(--abotc-navy);
	font-size: 24px !important;
	line-height: 1.3 !important;
	margin: 2em 0 .7em;
	padding-bottom: .35em;
	border-bottom: 2px solid var(--abotc-gold);
}
.itemid-150 .astroid-component-section .sppb-addon-text-block h3,
.itemid-437 .astroid-component-section .sppb-addon-text-block h3 {
	font-size: 28px !important;
}
.itemid-150 .astroid-component-section .sppb-addon-text-block strong,
.itemid-129 .astroid-component-section .sppb-addon-text-block strong {
	color: var(--abotc-navy);
}
.itemid-150 .astroid-component-section .sppb-addon-text-block ol,
.itemid-150 .astroid-component-section .sppb-addon-text-block ul,
.itemid-129 .astroid-component-section .sppb-addon-text-block ol,
.itemid-129 .astroid-component-section .sppb-addon-text-block ul {
	padding-left: 1.6em;
	margin: 0 0 1.2em;
}
.itemid-150 .astroid-component-section .sppb-addon-text-block li,
.itemid-129 .astroid-component-section .sppb-addon-text-block li {
	margin: .35em 0;
}

/* ---------- Mission: "How we accomplish our mission" groups ---------- */
.abotc-mission-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
	margin: 24px 0 8px;
}
.abotc-mission-group {
	background: #fff;
	border-top: 3px solid var(--abotc-gold);
	padding: 20px 22px 14px;
	box-shadow: 0 1px 3px rgba(16, 30, 63, .08);
}
.sppb-addon-text-block .abotc-mission-group h4 {
	font-family: "Playfair Display", Georgia, serif;
	color: var(--abotc-navy);
	font-size: 20px !important;
	line-height: 1.3 !important;
	margin: 0 0 10px;
}
.abotc-mission-group ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.abotc-mission-group li {
	position: relative;
	padding-left: 18px;
	margin: 0 0 8px;
	font-size: 15px !important;
	line-height: 1.5;
}
.abotc-mission-group li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .72em;
	width: 9px;
	height: 2px;
	background: var(--abotc-gold);
}

/* ---------- Membership application form (Balbooa Forms theme colour was teal) ---------- */
[class*="ba-form-"], .ba-form-message-popup, .ba-form-paypal-modal, .forms-calendar-wrapper {
	--theme-color: #00256e !important;
}
.ba-form-submit-btn {
	background-color: var(--abotc-gold) !important;
	color: var(--abotc-navy) !important;
	font-weight: 600 !important;
}
.ba-form-submit-btn:hover, .ba-form-submit-btn:focus {
	background-color: var(--abotc-gold-hover) !important;
}

/* Contact page heading (only the page's own section – the footer uses the same page builder) */
.itemid-165 .astroid-component-section #section-id-1556338926945 .sppb-addon-title {
	color: var(--abotc-navy) !important;
}

/* ---------- Member payment ---------- */
.abotc-pay-note {
	padding: 16px 20px;
	background: #fff;
	border-left: 4px solid var(--abotc-gold);
	color: var(--abotc-navy);
}

/* ---------- Footer ---------- */
#astroid-backtotop {
	background-color: var(--abotc-gold) !important;
	border-color: var(--abotc-gold) !important;
	color: var(--abotc-navy) !important;
}
#astroid-backtotop:hover, #astroid-backtotop:focus {
	background-color: var(--abotc-gold-hover) !important;
}
/* Page-builder "Bottom" block (#section-id-1606206322652) – one explicit style for every page and
   template style, so nothing from page-level rules can change it. */
#section-id-1606206322652 {
	color: rgba(255, 255, 255, .84);
}
#section-id-1606206322652 .sppb-addon-title {
	position: relative;
	margin: 0 0 18px !important;
	padding: 0 0 12px !important;
	border: 0 !important;
	font-family: Montserrat, Arial, Helvetica, sans-serif !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .02em;
	color: #fff !important;
}
#section-id-1606206322652 .sppb-addon-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 2px;
	background: var(--abotc-gold);
}
#section-id-1606206322652 .sppb-addon-content,
#section-id-1606206322652 .sppb-addon-text,
#section-id-1606206322652 p,
#section-id-1606206322652 li {
	font-size: 14px !important;
	line-height: 1.7 !important;
	color: rgba(255, 255, 255, .84) !important;
}
#section-id-1606206322652 p {
	margin: 0 0 14px;
}
#section-id-1606206322652 strong {
	color: #fff;
	font-weight: 600;
}
#section-id-1606206322652 a {
	color: #fff !important;
	text-decoration: none;
	transition: color .15s ease;
}
#section-id-1606206322652 a:hover, #section-id-1606206322652 a:focus {
	color: var(--abotc-gold) !important;
}
#section-id-1606206322652 ul.menu, #section-id-1606206322652 ul.mod-menu, #section-id-1606206322652 ul.abotc-chambers {
	list-style: none;
	padding: 0;
	margin: 0;
}
#section-id-1606206322652 ul.menu li, #section-id-1606206322652 ul.mod-menu li, #section-id-1606206322652 ul.abotc-chambers li {
	margin: 0 0 8px;
}
#section-id-1606206322652 a.abotc-footer-cta {
	display: inline-block;
	padding: 9px 18px;
	background: var(--abotc-gold);
	color: var(--abotc-navy) !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
#section-id-1606206322652 a.abotc-footer-cta:hover, #section-id-1606206322652 a.abotc-footer-cta:focus {
	background: var(--abotc-gold-hover);
	color: var(--abotc-navy) !important;
}
#section-id-1606206322652 .abotc-chambers-title {
	margin: 22px 0 8px !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--abotc-gold) !important;
}
#section-id-1606206322652 ul.abotc-chambers a::after {
	content: " \2197";               /* opens the chamber's own site */
	font-size: 11px;
	opacity: .7;
}

.astroid-footer {
	font-size: 13px;
	color: rgba(255, 255, 255, .75);
}
/* "Built and hosted by KEENEY CS" – KEENEY brand: charcoal #3F3F3F, greens #2D9864 / #3EA67E,
   Montserrat, full-colour horizontal logo (approved on #3F3F3F). */
.kcs-credit {
	background: #3f3f3f;
	text-align: center;
	padding: 10px 16px;
	line-height: 1;
}
.kcs-credit a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}
.kcs-credit img {
	display: block;
	height: 22px;
	width: auto;
}
.kcs-credit__cs {
	margin-left: -4px;            /* one wordmark space after KEENEY */
	font-weight: 700;
	font-size: 13px;              /* cap height matches the KEENEY wordmark at 22px */
	letter-spacing: .02em;
	color: #2d9864;
}
.kcs-credit a:hover .kcs-credit__by, .kcs-credit a:focus .kcs-credit__by {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #3ea67e;
	text-underline-offset: 3px;
}
.kcs-credit a:focus-visible {
	outline: 2px solid #3ea67e;
	outline-offset: 3px;
}

/* KEENEY CS strip on the brand-approved black background: green "CS" on charcoal was 2.9:1 (WCAG AA needs 4.5:1),
   on black it is 6:1. */
.kcs-credit {
	background: #000000;
}
.kcs-credit a {
	color: rgba(255, 255, 255, .85);
}
