/*
 * Enfold gives strong, b, the heading ampersand, the first widget, and the required mark the link color.
 * Force the section text color so that rule cannot keep them blue. Links are unchanged.
 */
#top .main_color strong,
#top .main_color b,
#top .main_color .special_amp,
#top .main_color .widget_first,
#top .main_color #commentform .required {
	color: var(--enfold-main-color-color, #01131f) !important;
}

#top .alternate_color strong,
#top .alternate_color b,
#top .alternate_color .special_amp,
#top .alternate_color .widget_first,
#top .alternate_color #commentform .required {
	color: var(--enfold-alternate-color-color, #01131f) !important;
}

#top .header_color strong,
#top .header_color b,
#top .header_color .special_amp,
#top .header_color .widget_first,
#top .header_color #commentform .required {
	color: var(--enfold-header-color-color, #01131f) !important;
}

#top .footer_color strong,
#top .footer_color b,
#top .footer_color .special_amp,
#top .footer_color .widget_first,
#top .footer_color #commentform .required {
	color: var(--enfold-footer-color-color, #ffffff) !important;
}

#top .socket_color strong,
#top .socket_color b,
#top .socket_color .special_amp,
#top .socket_color .widget_first,
#top .socket_color #commentform .required {
	color: var(--enfold-socket-color-color, #ffffff) !important;
}

#top .main_color a strong,
#top .main_color a b,
#top .main_color strong a,
#top .main_color b a,
#top .main_color .widget_first a {
	color: var(--enfold-main-color-primary, #3e6f8e) !important;
}

@media screen and (min-width: 991px) {
	#top h2:not(.av-special-heading-tag) {
		font-size: 28px;
		line-height: 1.2;
	}

	#top h3:not(.av-special-heading-tag) {
		font-size: 26px;
		line-height: 1.3;
	}
}

@media screen and (max-width: 990px) {
	#top h2:not(.av-special-heading-tag) {
		font-size: 24px;
		line-height: 1.25;
	}

	#top h3:not(.av-special-heading-tag) {
		font-size: 22px;
		line-height: 1.3;
	}
}

@media screen and (max-width: 767px) {
	#top h2:not(.av-special-heading-tag) {
		font-size: 22px;
		line-height: 1.25;
	}

	#top h3:not(.av-special-heading-tag) {
		font-size: 20px;
		line-height: 1.3;
	}
}

/*
 * Blog posts only. These match the same headings as the site-wide rules above,
 * so they win on a single post. Other pages keep the sizes in the rules above.
 * Special Heading blocks are left alone.
 */
@media screen and (min-width: 991px) {
	#top.single-post h1:not(.av-special-heading-tag),
	#top .fullsize .template-blog h1.post-title {
		font-size: 40px;
		line-height: 1.2;
	}

	#top.single-post h2:not(.av-special-heading-tag) {
		font-size: 32px;
		line-height: 1.2;
	}

	#top.single-post h3:not(.av-special-heading-tag),
	#top.single-post h4:not(.av-special-heading-tag) {
		font-size: 24px;
		line-height: 1.3;
	}
}

@media screen and (max-width: 990px) {
	#top.single-post h2:not(.av-special-heading-tag) {
		font-size: 28px;
		line-height: 1.25;
	}

	#top.single-post h3:not(.av-special-heading-tag),
	#top.single-post h4:not(.av-special-heading-tag) {
		font-size: 22px;
		line-height: 1.3;
	}
}

@media screen and (max-width: 767px) {
	#top.single-post h2:not(.av-special-heading-tag) {
		font-size: 24px;
		line-height: 1.25;
	}

	#top.single-post h3:not(.av-special-heading-tag),
	#top.single-post h4:not(.av-special-heading-tag) {
		font-size: 20px;
		line-height: 1.3;
	}
}

#top.single-post h4:not(.av-special-heading-tag),
#top.single-post h4:not(.av-special-heading-tag) a {
	color: var(--enfold-header-color-primary, #ca0f25) !important;
}

#top.single-post .main_color h4:not(.av-special-heading-tag) strong,
#top.single-post .main_color h4:not(.av-special-heading-tag) b,
#top.single-post .alternate_color h4:not(.av-special-heading-tag) strong,
#top.single-post .alternate_color h4:not(.av-special-heading-tag) b {
	color: var(--enfold-header-color-primary, #ca0f25) !important;
}

#top.single-post .fullsize .template-blog .post .entry-content {
	font-size: 16px;
	line-height: 1.8;
}

/*
 * Underline text links in the page content so they stay distinct from bold text.
 */
#top #main a,
#top #main a:hover,
#top #main a:focus {
	text-decoration: underline;
}

#top #main a.avia-button,
#top #main a.avia-button:hover,
#top #main a.avia-button:focus,
#top #main a.btn-red,
#top #main a.btn-red:hover,
#top #main a.btn-red:focus,
#top #main .social_bookmarks a,
#top #main .social_bookmarks a:hover,
#top #main .avia-slideshow-arrows a,
#top #main .avia-slideshow-dots a,
#top #main a:has(> img:only-child),
#top #main #footer a,
#top #main #footer a:hover,
#top #main #footer a:focus,
#top #main #footer-page a,
#top #main #footer-page a:hover,
#top #main #footer-page a:focus,
#top #main #socket a,
#top #main #socket a:hover,
#top #main #socket a:focus {
	text-decoration: none;
}

/*
 * Comparison tables. Add "nexus-table-accent" on its own in the table custom CSS class field.
 * Leave "nexus-table" on the current tables so the two styles can sit side by side.
 * The last column is the emphasis column unless highlight-column-1 (through 6) is also added.
 */
#top table.nexus-table-accent {
	--nexus-navy: #003552;
	--nexus-text: #ffffff;
	--nexus-muted: rgba(255, 255, 255, 0.72);
	--nexus-faint: rgba(255, 255, 255, 0.45);
	--nexus-line: rgba(255, 255, 255, 0.35);
	--nexus-accent: var(--enfold-header-color-primary, #ca0f25);
	--nexus-radius: 16px;
	border-collapse: separate;
	border-spacing: 0;
	clear: both;
	width: 100%;
	max-width: 980px;
	margin: 10px auto 30px !important;
	overflow: hidden;
	background: var(--nexus-navy) !important;
	border: 0;
	border-radius: var(--nexus-radius);
	box-shadow: none;
	color: var(--nexus-text) !important;
}

#top table.nexus-table-accent tr,
#top table.nexus-table-accent .avia-heading-row {
	background: transparent !important;
	color: var(--nexus-text) !important;
	text-align: left !important;
}

#top table.nexus-table-accent th,
#top table.nexus-table-accent td {
	display: table-cell;
	padding: 20px 24px !important;
	border-style: solid !important;
	border-width: 0 0 1px 1px !important;
	border-color: rgb(255 255 255 / 8%) !important;
	border-radius: 0;
	background: var(--nexus-navy) !important;
	background-color: var(--nexus-navy) !important;
	box-shadow: none;
	color: var(--nexus-text) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.45;
	text-align: left !important;
	text-transform: none !important;
	vertical-align: middle;
}

#top table.nexus-table-accent .avia-heading-row th {
	padding: 30px 24px !important;
	background: var(--nexus-navy) !important;
	background-color: var(--nexus-navy) !important;
	color: var(--nexus-muted) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 0.12em !important;
	line-height: 1.3;
	text-transform: uppercase !important;
}

#top table.nexus-table-accent .avia-heading-row th:last-child {
	background: var(--nexus-accent) !important;
	background-color: var(--nexus-accent) !important;
	color: #fff !important;
	font-weight: 800 !important;
}

#top table.nexus-table-accent td:first-child {
	color: var(--nexus-text) !important;
	font-weight: 600 !important;
}

#top table.nexus-table-accent th:not(:first-child):not(:last-child),
#top table.nexus-table-accent td:not(:first-child):not(:last-child),
#top #main table.nexus-table-accent th:not(:first-child):not(:last-child) a,
#top #main table.nexus-table-accent td:not(:first-child):not(:last-child) a,
#top .main_color table.nexus-table-accent th:not(:first-child):not(:last-child) strong,
#top .main_color table.nexus-table-accent th:not(:first-child):not(:last-child) b,
#top .main_color table.nexus-table-accent td:not(:first-child):not(:last-child) strong,
#top .main_color table.nexus-table-accent td:not(:first-child):not(:last-child) b {
	color: #D2D7DC !important;
}

#top table.nexus-table-accent td::before {
	content: none;
	display: none;
}

#top table.nexus-table-accent:not(.highlight-column-1):not(.highlight-column-2):not(.highlight-column-3):not(.highlight-column-4):not(.highlight-column-5):not(.highlight-column-6) th:last-child,
#top table.nexus-table-accent:not(.highlight-column-1):not(.highlight-column-2):not(.highlight-column-3):not(.highlight-column-4):not(.highlight-column-5):not(.highlight-column-6) td:last-child {
	border-color: #da5767 !important;
}

#top table.nexus-table-accent td:last-child {
	background: var(--nexus-accent) !important;
	background-color: var(--nexus-accent) !important;
	color: #fff !important;
	font-weight: 500 !important;
}

/*
 * Optional highlight. Add highlight-column-1 (through 6) next to nexus-table-accent.
 * Without one of those classes, the last column stays highlighted.
 * Column 1 keeps its existing type. Only its background and borders change.
 */
#top table.nexus-table-accent.highlight-column-1 td:last-child:not(:nth-child(1)),
#top table.nexus-table-accent.highlight-column-2 td:last-child:not(:nth-child(2)),
#top table.nexus-table-accent.highlight-column-3 td:last-child:not(:nth-child(3)),
#top table.nexus-table-accent.highlight-column-4 td:last-child:not(:nth-child(4)),
#top table.nexus-table-accent.highlight-column-5 td:last-child:not(:nth-child(5)),
#top table.nexus-table-accent.highlight-column-6 td:last-child:not(:nth-child(6)) {
	background: var(--nexus-navy) !important;
	background-color: var(--nexus-navy) !important;
	color: #D2D7DC !important;
	font-weight: 400;
}

#top table.nexus-table-accent.highlight-column-1 .avia-heading-row th:last-child:not(:nth-child(1)),
#top table.nexus-table-accent.highlight-column-2 .avia-heading-row th:last-child:not(:nth-child(2)),
#top table.nexus-table-accent.highlight-column-3 .avia-heading-row th:last-child:not(:nth-child(3)),
#top table.nexus-table-accent.highlight-column-4 .avia-heading-row th:last-child:not(:nth-child(4)),
#top table.nexus-table-accent.highlight-column-5 .avia-heading-row th:last-child:not(:nth-child(5)),
#top table.nexus-table-accent.highlight-column-6 .avia-heading-row th:last-child:not(:nth-child(6)) {
	background: var(--nexus-navy) !important;
	background-color: var(--nexus-navy) !important;
	color: #D2D7DC !important;
	font-weight: 600 !important;
}

#top table.nexus-table-accent.highlight-column-1 th:nth-child(1),
#top table.nexus-table-accent.highlight-column-1 td:nth-child(1) {
	background: var(--nexus-accent) !important;
	background-color: var(--nexus-accent) !important;
	border-color: #da5767 !important;
}

#top table.nexus-table-accent.highlight-column-2 th:nth-child(2),
#top table.nexus-table-accent.highlight-column-2 td:nth-child(2),
#top table.nexus-table-accent.highlight-column-3 th:nth-child(3),
#top table.nexus-table-accent.highlight-column-3 td:nth-child(3),
#top table.nexus-table-accent.highlight-column-4 th:nth-child(4),
#top table.nexus-table-accent.highlight-column-4 td:nth-child(4),
#top table.nexus-table-accent.highlight-column-5 th:nth-child(5),
#top table.nexus-table-accent.highlight-column-5 td:nth-child(5),
#top table.nexus-table-accent.highlight-column-6 th:nth-child(6),
#top table.nexus-table-accent.highlight-column-6 td:nth-child(6) {
	background: var(--nexus-accent) !important;
	background-color: var(--nexus-accent) !important;
	border-color: #da5767 !important;
	color: #fff !important;
}

#top table.nexus-table-accent.highlight-column-2 th:nth-child(2),
#top table.nexus-table-accent.highlight-column-2 td:nth-child(2) {
	border-left-color: #144560 !important;
}

/*
 * Cells only draw a left and bottom border, so the line on the right of a
 * middle accent column belongs to the next cell. Draw it on the accent cell
 * instead, or it stays the faint border and looks blue on the navy.
 */
#top table.nexus-table-accent.highlight-column-1 th:nth-child(1):not(:last-child),
#top table.nexus-table-accent.highlight-column-1 td:nth-child(1):not(:last-child),
#top table.nexus-table-accent.highlight-column-2 th:nth-child(2):not(:last-child),
#top table.nexus-table-accent.highlight-column-2 td:nth-child(2):not(:last-child),
#top table.nexus-table-accent.highlight-column-3 th:nth-child(3):not(:last-child),
#top table.nexus-table-accent.highlight-column-3 td:nth-child(3):not(:last-child),
#top table.nexus-table-accent.highlight-column-4 th:nth-child(4):not(:last-child),
#top table.nexus-table-accent.highlight-column-4 td:nth-child(4):not(:last-child),
#top table.nexus-table-accent.highlight-column-5 th:nth-child(5):not(:last-child),
#top table.nexus-table-accent.highlight-column-5 td:nth-child(5):not(:last-child) {
	border-right-width: 1px !important;
	border-right-color: #da5767 !important;
}

#top table.nexus-table-accent.highlight-column-1 th:nth-child(2),
#top table.nexus-table-accent.highlight-column-1 td:nth-child(2),
#top table.nexus-table-accent.highlight-column-2 th:nth-child(3),
#top table.nexus-table-accent.highlight-column-2 td:nth-child(3),
#top table.nexus-table-accent.highlight-column-3 th:nth-child(4),
#top table.nexus-table-accent.highlight-column-3 td:nth-child(4),
#top table.nexus-table-accent.highlight-column-4 th:nth-child(5),
#top table.nexus-table-accent.highlight-column-4 td:nth-child(5),
#top table.nexus-table-accent.highlight-column-5 th:nth-child(6),
#top table.nexus-table-accent.highlight-column-5 td:nth-child(6) {
	border-left-width: 0 !important;
}

#top #main table.nexus-table-accent.highlight-column-2 th:nth-child(2) a,
#top #main table.nexus-table-accent.highlight-column-2 td:nth-child(2) a,
#top #main table.nexus-table-accent.highlight-column-3 th:nth-child(3) a,
#top #main table.nexus-table-accent.highlight-column-3 td:nth-child(3) a,
#top #main table.nexus-table-accent.highlight-column-4 th:nth-child(4) a,
#top #main table.nexus-table-accent.highlight-column-4 td:nth-child(4) a,
#top #main table.nexus-table-accent.highlight-column-5 th:nth-child(5) a,
#top #main table.nexus-table-accent.highlight-column-5 td:nth-child(5) a,
#top #main table.nexus-table-accent.highlight-column-6 th:nth-child(6) a,
#top #main table.nexus-table-accent.highlight-column-6 td:nth-child(6) a,
#top .main_color table.nexus-table-accent.highlight-column-2 th:nth-child(2) strong,
#top .main_color table.nexus-table-accent.highlight-column-2 td:nth-child(2) strong,
#top .main_color table.nexus-table-accent.highlight-column-2 th:nth-child(2) b,
#top .main_color table.nexus-table-accent.highlight-column-2 td:nth-child(2) b,
#top .main_color table.nexus-table-accent.highlight-column-3 th:nth-child(3) strong,
#top .main_color table.nexus-table-accent.highlight-column-3 td:nth-child(3) strong,
#top .main_color table.nexus-table-accent.highlight-column-3 th:nth-child(3) b,
#top .main_color table.nexus-table-accent.highlight-column-3 td:nth-child(3) b,
#top .main_color table.nexus-table-accent.highlight-column-4 th:nth-child(4) strong,
#top .main_color table.nexus-table-accent.highlight-column-4 td:nth-child(4) strong,
#top .main_color table.nexus-table-accent.highlight-column-4 th:nth-child(4) b,
#top .main_color table.nexus-table-accent.highlight-column-4 td:nth-child(4) b,
#top .main_color table.nexus-table-accent.highlight-column-5 th:nth-child(5) strong,
#top .main_color table.nexus-table-accent.highlight-column-5 td:nth-child(5) strong,
#top .main_color table.nexus-table-accent.highlight-column-5 th:nth-child(5) b,
#top .main_color table.nexus-table-accent.highlight-column-5 td:nth-child(5) b,
#top .main_color table.nexus-table-accent.highlight-column-6 th:nth-child(6) strong,
#top .main_color table.nexus-table-accent.highlight-column-6 td:nth-child(6) strong,
#top .main_color table.nexus-table-accent.highlight-column-6 th:nth-child(6) b,
#top .main_color table.nexus-table-accent.highlight-column-6 td:nth-child(6) b {
	color: #fff !important;
}

#top table.nexus-table-accent .avia-center-col {
	text-align: left;
}

#top .main_color table.nexus-table-accent strong,
#top .main_color table.nexus-table-accent b,
#top .alternate_color table.nexus-table-accent strong,
#top .alternate_color table.nexus-table-accent b,
#top #main table.nexus-table-accent a,
#top #main table.nexus-table-accent a:hover,
#top #main table.nexus-table-accent a:focus,
#top .main_color table.nexus-table-accent a strong,
#top .main_color table.nexus-table-accent a b,
#top .main_color table.nexus-table-accent strong a,
#top .main_color table.nexus-table-accent b a {
	color: inherit !important;
}

#top table.nexus-table-accent p {
	margin: 0;
}

#top table.nexus-table-accent p:empty,
#top table.nexus-table-accent br:last-child {
	display: none;
}

#top table.nexus-table-accent tr:first-child th:first-child {
	border-top-left-radius: var(--nexus-radius);
}

#top table.nexus-table-accent tr:first-child th:last-child {
	border-top-right-radius: var(--nexus-radius);
}

#top table.nexus-table-accent th:first-child,
#top table.nexus-table-accent td:first-child {
	position: relative;
	z-index: 1;
	border-left-width: 0 !important;
}

#top table.nexus-table-accent th:nth-child(2),
#top table.nexus-table-accent td:nth-child(2) {
	position: relative;
}

#top table.nexus-table-accent th:nth-child(2)::after,
#top table.nexus-table-accent td:nth-child(2)::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 42px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	pointer-events: none;
}

#top table.nexus-table-accent tr:last-child td {
	border-bottom-width: 0 !important;
}

#top table.nexus-table-accent tr:last-child td:first-child {
	border-bottom-left-radius: var(--nexus-radius);
}

#top table.nexus-table-accent tr:last-child td:last-child {
	border-bottom-right-radius: var(--nexus-radius);
}

@media only screen and (max-width: 767px) {
	#top table.nexus-table-accent {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#top table.nexus-table-accent tbody {
		display: table;
		width: 100%;
		min-width: 720px;
		border-collapse: separate;
		border-spacing: 0;
	}

	#top table.nexus-table-accent tr {
		display: table-row;
	}

	#top table.nexus-table-accent th,
	#top table.nexus-table-accent td {
		padding-top: 16px !important;
		padding-bottom: 16px !important;
	}
}
