/*
 * Sigma Astra: reproduces the RT-Theme 18 "blue" style on top of Astra.
 * Values were measured from the live RT-Theme 18 site.
 */

:root {
	--sigma-blue: #4593bc;
	--sigma-text: #888888;
	--sigma-heading: #666666;
	--sigma-border: #eeeeee;
	--sigma-grey-bg: #f5f5f5;
	--sigma-copyright: #a9a9a9;
	--sigma-sans: "PT Sans", sans-serif;
	--sigma-narrow: "PT Sans Narrow", sans-serif;
}

/* ---------- Base ---------- */

body,
button,
input,
select,
textarea {
	font-family: var(--sigma-sans);
	font-size: 13px;
	line-height: 1.75;
	color: var(--sigma-text);
}

body {
	background: #fff;
	overflow-x: hidden;
}

a,
.entry-content a {
	color: var(--sigma-blue);
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: var(--sigma-narrow);
	font-weight: 400;
	color: var(--sigma-heading);
	line-height: 1.4;
}

.entry-content h1 { font-size: 28px; }
.entry-content h2 { font-size: 24px; }
.entry-content h3 { font-size: 20px; }
.entry-content h4 { font-size: 18px; }

.entry-content p {
	margin-bottom: 16px;
}

/* RT-Theme 18 container: 1040px wide, 940px on narrower desktops. */
.ast-container {
	max-width: 1080px;
}

@media (min-width: 922px) and (max-width: 1079px) {
	.ast-container {
		max-width: 980px;
	}
}

/* ---------- Header ---------- */

#masthead .ast-primary-header-bar,
#masthead .ast-below-header-bar {
	background: #fff;
	border: 0;
}

#ast-desktop-header .ast-primary-header-bar .site-primary-header-wrap {
	min-height: 75px;
	align-items: flex-start;
}

#ast-desktop-header .site-branding {
	padding: 10px 0;
}

#ast-desktop-header .custom-logo-link img {
	width: 229px;
	max-width: 229px;
	height: auto;
}

#ast-desktop-header .ast-below-header-bar .site-below-header-wrap {
	min-height: 75px;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu {
	border-right: 1px solid var(--sigma-border);
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item {
	border-left: 1px solid var(--sigma-border);
	line-height: 75px;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	font-family: var(--sigma-narrow);
	font-size: 16px;
	font-weight: 400;
	line-height: 75px;
	padding: 0 15px;
	color: #8a8a8a;
	background: transparent;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover {
	color: var(--sigma-blue);
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item,
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor {
	background: var(--sigma-blue);
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
	color: #fff;
}

/* Mobile header keeps Astra's toggle menu, styled to match. */
#ast-mobile-header .custom-logo-link img {
	max-width: 180px;
	height: auto;
}

#ast-mobile-header .main-header-menu .menu-link,
.ast-mobile-popup-content .main-header-menu .menu-link {
	font-family: var(--sigma-narrow);
	font-size: 16px;
	color: #8a8a8a;
	border-bottom: 1px solid var(--sigma-border);
}

#ast-mobile-header .main-header-menu .current-menu-item > .menu-link,
.ast-mobile-popup-content .main-header-menu .current-menu-item > .menu-link {
	background: var(--sigma-blue);
	color: #fff;
}

#ast-mobile-header .menu-toggle,
#ast-mobile-header .menu-toggle:hover,
#ast-mobile-header .menu-toggle:focus {
	background: var(--sigma-blue);
	color: #fff;
	border-radius: 0;
}

#ast-mobile-header .menu-toggle .ast-mobile-svg,
#ast-mobile-header .menu-toggle svg {
	fill: #fff;
	color: #fff;
}

/* ---------- Title bar and breadcrumb ---------- */

.sigma-info-bar {
	background: #fcfcfc;
	border-top: 1px solid var(--sigma-border);
	border-bottom: 1px solid var(--sigma-border);
}

.sigma-info-bar .ast-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 35px;
	padding-bottom: 30px;
}

.sigma-info-bar .sigma-info-title {
	font-family: var(--sigma-narrow);
	font-size: 21px;
	line-height: 21px;
	color: var(--sigma-text);
	margin: 0;
}

.sigma-breadcrumb {
	font-size: 11px;
	line-height: 11px;
	color: var(--sigma-text);
	text-align: right;
}

.sigma-breadcrumb a,
.entry-content .sigma-breadcrumb a {
	color: var(--sigma-text);
	text-decoration: none;
}

.sigma-breadcrumb .icon-home:before {
	margin-right: 3px;
}

.sigma-breadcrumb .icon-angle-right {
	margin: 0 2px;
}

/* ---------- Content area ---------- */

.ast-plain-container.ast-no-sidebar #primary,
.ast-page-builder-template #primary {
	margin-top: 20px;
	margin-bottom: 28px;
}

.ast-plain-container .site-content > .ast-container {
	display: block;
}

.ast-plain-container #primary .entry-content > *:last-child {
	margin-bottom: 0;
}

/* Full-width sections inside the content column. */
/* Astra centres and caps the width of every block in .entry-content, hence !important. */
.sigma-fullwidth,
.entry-content > .sigma-fullwidth {
	/* --sigma-sb is the scrollbar width, set by sigma.js. */
	width: calc(100vw - var(--sigma-sb, 0px)) !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw + var(--sigma-sb, 0px) / 2) !important;
	margin-right: 0 !important;
	position: relative;
	left: auto;
}

.sigma-fullwidth > .sigma-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
}

@media (min-width: 922px) and (max-width: 1079px) {
	.sigma-fullwidth > .sigma-inner {
		max-width: 980px;
	}
}

.sigma-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

.sigma-col {
	padding: 0 10px;
	box-sizing: border-box;
}

.sigma-col-full { width: 100%; }
.sigma-col-third { width: 33.333%; }
.sigma-col-two-third { width: 66.666%; }

@media (max-width: 767px) {
	.sigma-col-third,
	.sigma-col-two-third {
		width: 100%;
		margin-bottom: 30px;
	}
}

/* ---------- Home: slider ---------- */

body.sigma-home-template.ast-plain-container #primary {
	margin-top: 0;
	margin-bottom: 0;
}

.sigma-slider {
	position: relative;
	height: 30vw;
	overflow: hidden;
	border-top: 1px solid var(--sigma-border);
	background: #222;
}

.sigma-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.sigma-slide.is-active {
	opacity: 1;
}

.sigma-slide-caption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
}

.sigma-slide-caption .sigma-inner {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	display: flex;
	justify-content: flex-end;
}

@media (min-width: 922px) and (max-width: 1079px) {
	.sigma-slide-caption .sigma-inner {
		max-width: 980px;
	}
}

.sigma-caption-holder {
	max-width: 60%;
	font-family: var(--sigma-narrow);
	text-align: left;
}

.sigma-slide-title {
	display: inline-block;
	font-size: 22px;
	line-height: 22.75px;
	color: #fff;
	background: var(--sigma-blue);
	padding: 10px;
}

.sigma-slide-text {
	display: table;
	font-size: 16px;
	line-height: 22.75px;
	color: #666;
	background: rgba(255, 255, 255, 0.8);
	padding: 10px;
}

/* ---------- Home: icon boxes ---------- */

.sigma-icon-boxes {
	padding: 20px 0;
}

.sigma-icon-box {
	text-align: center;
}

.sigma-icon-box .sigma-big-icon {
	display: inline-block;
	width: 30px;
	height: 30px;
	padding: 30px;
	font-size: 30px;
	line-height: 30px;
	color: var(--sigma-blue);
	border: 4px solid var(--sigma-blue);
	border-radius: 100px;
	box-sizing: content-box;
}

.sigma-icon-box .sigma-big-icon:before {
	margin: 0;
	width: auto;
}

.entry-content .sigma-icon-box h3 {
	font-size: 20px;
	line-height: 28px;
	margin: 10px 0 11px;
}

.entry-content .sigma-icon-box a {
	color: inherit;
	text-decoration: none;
}

.entry-content .sigma-icon-box h3 a:hover {
	color: var(--sigma-blue);
}

.entry-content .sigma-icon-box p {
	margin: 0;
	padding-bottom: 16px;
}

/* Grey band (RT row style 2). */
.sigma-band {
	background: var(--sigma-grey-bg);
	box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.02), inset 0 -4px 0 rgba(0, 0, 0, 0.02);
	padding: 30px 0;
}

.sigma-section {
	padding: 40px 0 22px;
}

/* Heading with a line running to the right. */
.sigma-title-line {
	display: flex;
	align-items: center;
	margin: 0 0 20px;
}

.sigma-title-line:after {
	content: "";
	flex: 1;
	border-top: 1px solid var(--sigma-border);
}

.entry-content .sigma-title-line h3 {
	font-size: 20px;
	line-height: 28px;
	margin: 0;
	padding-right: 20px;
}

.sigma-title-line h3 [class^="icon-"]:before {
	color: var(--sigma-blue);
	margin-left: 0;
}

/* Accordion (RT toggle). */
.sigma-toggle,
.entry-content ol.sigma-toggle {
	margin: 20px 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--sigma-border);
}

.sigma-toggle > li {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--sigma-border);
}

.sigma-toggle .toggle-head {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.sigma-toggle .toggle-number {
	width: 16px;
	height: 16px;
	padding: 4px 3px;
	font-size: 14px;
	line-height: 17px;
	text-align: center;
	color: #fff;
	background: var(--sigma-blue);
	box-sizing: content-box;
}

.sigma-toggle .toggle-number [class^="icon-"]:before {
	margin: 0;
	width: auto;
}

.sigma-toggle .toggle-title {
	font-size: 14px;
	margin: 0 30px 0 8px;
	color: var(--sigma-text);
}

.sigma-toggle .toggle-head:after {
	content: "+";
	position: absolute;
	right: 0;
	font-size: 18px;
	color: #ccc;
}

.sigma-toggle li.is-open .toggle-head:after {
	content: "\2212";
}

.sigma-toggle .toggle-content {
	display: none;
	padding: 10px 0 0 30px;
}

.sigma-toggle li.is-open .toggle-content {
	display: block;
}

/* Banner above the footer. */
.sigma-banner-band {
	background: var(--sigma-grey-bg);
	box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.02);
	padding: 10px 0;
}

.sigma-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 5px 0;
}

.entry-content .sigma-banner p {
	font-family: var(--sigma-narrow);
	font-size: 26px;
	line-height: 34px;
	color: var(--sigma-text);
	margin: 0;
	padding: 20px 0;
}

.sigma-banner p small {
	display: block;
	font-family: Arial, sans-serif;
	font-size: 13px;
	line-height: 16.9px;
}

.entry-content a.sigma-button {
	flex-shrink: 0;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	color: #fff;
	background: var(--sigma-blue);
	padding: 21px 40px 23px;
	border-radius: 6px;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
	text-decoration: none;
}

.entry-content a.sigma-button:before {
	margin-right: 8px;
}

/* ---------- Contact page ---------- */

.sigma-contact-banner .ast-container {
	text-align: center;
}

.sigma-contact-banner img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.sigma-contact-breadcrumb {
	border-bottom: 1px solid var(--sigma-border);
	padding: 0 0 10px;
	margin-bottom: 20px;
}

.sigma-contact-breadcrumb .sigma-breadcrumb {
	text-align: left;
}

.entry-content .sigma-icon-list h3 {
	font-family: var(--sigma-narrow);
	font-size: 18px;
	line-height: 25.2px;
	margin: 0 0 15px;
}

.sigma-icon-list ul,
.sigma-contact-list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.sigma-icon-list li,
.sigma-contact-list li {
	margin: 0;
	padding: 0 0 4px;
}

.sigma-icon-list li [class^="icon-"]:before,
.sigma-contact-list li [class^="icon-"]:before {
	color: #aaa;
	width: 20px;
	margin: 0 6px 0 0;
	text-align: left;
}

/* Contact Form 7 */
.wpcf7 label {
	display: block;
	margin-bottom: 10px;
	font-size: 11px;
	color: var(--sigma-text);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
	margin-top: 4px;
	border: 1px solid #e5e5e5;
	background: #fff;
	padding: 11px 10px;
	font-size: 13px;
	color: var(--sigma-text);
	border-radius: 0;
	box-shadow: none;
}

.wpcf7 textarea {
	height: 146px;
}

.wpcf7 .sigma-quiz label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.wpcf7 .sigma-quiz .wpcf7-form-control-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wpcf7 .wpcf7-quiz-label {
	font-size: 11px;
}

.wpcf7 input.wpcf7-quiz {
	width: 46px;
	margin: 0;
	padding: 8px 6px;
	border: 1px solid #e5e5e5;
}

.wpcf7 input[type="submit"] {
	font-family: var(--sigma-sans);
	font-weight: 400;
	font-size: 11px;
	color: var(--sigma-text);
	background: #f3f3f3;
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	padding: 9px 20px;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--sigma-blue);
	color: #fff;
}

/* ---------- Footer ---------- */

/* RT Theme let the footer follow the content; Astra stretches the page to the window height. */
body #page {
	min-height: 0;
}

.site-footer .ast-builder-grid-row-container .ast-builder-grid-row {
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.site-footer .site-primary-footer-wrap {
	background: var(--sigma-grey-bg);
	padding: 20px 0 40px;
	border: 0;
}

.site-footer .site-primary-footer-wrap .ast-builder-grid-row {
	grid-column-gap: 20px;
}

.site-footer .footer-widget-area .widget {
	margin: 20px 0 0;
}

.site-footer .footer-widget-area .widget-title {
	font-family: var(--sigma-narrow);
	font-size: 18px;
	line-height: 25.2px;
	font-weight: 400;
	color: var(--sigma-heading);
	margin: 0 0 20px;
}

.site-footer .footer-widget-area,
.site-footer .footer-widget-area p {
	font-size: 13px;
	line-height: 22.75px;
	color: var(--sigma-text);
}

.site-footer .footer-widget-area a {
	color: var(--sigma-blue);
	text-decoration: underline;
}

.site-footer .widget_nav_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .widget_nav_menu li {
	margin: 0 0 10px;
	padding: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.site-footer .footer-widget-area .widget_nav_menu li a {
	display: inline-block;
	padding: 0 0 10px;
	line-height: 19.5px;
	color: var(--sigma-text);
	text-decoration: none;
}

.site-footer .footer-widget-area .widget_nav_menu li.current-menu-item a {
	color: var(--sigma-blue);
}

.site-footer .sigma-contact-list li [class^="icon-"]:before {
	color: #aaa;
}

/* Copyright bar */
.site-footer .site-below-footer-wrap {
	background: #fff;
	box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.06);
	padding: 24px 0 74px;
	border: 0;
}

.site-footer .site-below-footer-wrap .ast-builder-grid-row {
	min-height: 0;
}

.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
	font-size: 12px;
	line-height: 21.6px;
	color: var(--sigma-copyright);
	margin: 0;
	text-align: left;
}
