/**
 * Site footer.
 *
 * Box for box the layout of the old Elementor footer (#51).
 */

/* Gold benefits strip. Deep navy text, as on the header's gold strip: white on
   this gold was 2.1:1, below the WCAG AA minimum. ---------------------------- */

.ms-ftr-benefits {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	padding: 0 10px;
	background-color: #D3AF37;
}

.ms-ftr-benefits__inner {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 20px;
	width: 100%;
	max-width: min(100%, 1140px);
	margin: 0 auto;
	padding: 10px 0;
	text-align: center;
}

.ms-ftr-benefits__clip,
.ms-ftr__links-clip {
	overflow: hidden;
}

.ms-ftr-benefits__list,
.ms-ftr__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 -25px;
	padding: 0;
	list-style: none;
}

.ms-ftr-benefits__item,
.ms-ftr__links-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 25px;
}

.ms-ftr-benefits__icon {
	position: relative;
	top: 0;
	display: flex;
}

.ms-ftr-benefits__icon i {
	width: 1.25em;
	font-size: 14px;
	color: #1d3366;
	transition: color 0.3s;
}

.ms-ftr-benefits__text {
	align-self: center;
	padding-inline-start: 5px;
	font-family: "Times New Roman", Sans-serif;
	font-weight: 400;
	color: #1d3366;
	transition: color 0.3s;
}

/* Main footer ----------------------------------------------------------- */

.ms-ftr {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	padding: 30px 12px 60px;
	background-color: #FFFFFF;
}

.ms-ftr > * {
	width: 100%;
}

.ms-ftr__contact {
	display: flex;
	max-width: 1140px;
	margin: 0 auto;
}

.ms-ftr__col {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	width: 33.333%;
	min-height: 1px;
}

.ms-ftr__col--main {
	padding: 10px;
}

.ms-ftr__col--main > * {
	width: 100%;
}

.ms-ftr__phone {
	margin: 0 0 20px;
	padding: 0;
	font-family: "Roboto", Sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1;
	text-align: center;
	color: #000000;
}

.ms-ftr__socials {
	display: inline-block;
	font-size: 0;
	line-height: 0;
	text-align: center;
	word-spacing: 0;
}

.ms-ftr__social-item {
	display: inline-block;
	min-width: 0;
	word-break: break-word;
}

.ms-ftr .ms-ftr__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(23px + 2 * 0.3em);
	height: calc(23px + 2 * 0.3em);
	font-size: 23px;
	line-height: 23px;
	text-align: center;
	color: #000000;
	background-color: #B2787800;
	border-radius: 10%;
	cursor: pointer;
	transition: all 0.3s;
}

.ms-ftr__social i {
	position: relative;
	display: block;
	width: 1em;
	height: 1em;
	color: #000000;
}

.ms-ftr__social i::before {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.ms-ftr .ms-ftr__social:hover {
	background-color: #00000000;
}

.ms-ftr__social:hover i {
	color: #414141;
}

.ms-ftr__links-row {
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
}

.ms-ftr__links {
	margin: 0 -19px;
}

.ms-ftr__links-item {
	margin: 0 19px;
}

.ms-ftr__links-item:not(:last-child)::after {
	content: "";
	position: relative;
	inset-inline: auto -19px;
	width: auto;
	height: 100%;
	border-width: 0;
	border-inline-start: 1px solid #000000;
}

.ms-ftr__links-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	font-family: "Times New Roman", Sans-serif;
	font-size: inherit;
	font-weight: 400;
}

.ms-ftr__links-text {
	color: #000000;
	transition: color 0.3s;
}

.ms-ftr__text {
	position: relative;
	padding: 20px 20px 0;
	text-align: center;
}

.ms-ftr__text--spaced {
	margin-bottom: 20px;
}

.ms-ftr__text--last {
	padding-bottom: 20px;
}

.ms-ftr__heading {
	margin: 0;
	padding: 0;
	font-family: "Roboto", Sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7em;
	color: #000000;
}

.ms-ftr__heading a {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.ms-ftr__cards-caption {
	font-size: 12px;
}

@media (max-width: 1024px) {
	.ms-ftr-benefits__inner {
		max-width: min(100%, 1024px);
	}

	.ms-ftr__contact,
	.ms-ftr__links-row {
		max-width: 1024px;
		flex-wrap: wrap;
	}
}

@media (max-width: 767px) {
	.ms-ftr-benefits__inner {
		max-width: min(100%, 767px);
		flex-wrap: wrap;
	}

	.ms-ftr-benefits__list {
		margin: 0 -12.5px;
	}

	.ms-ftr-benefits__item {
		margin: 0 12.5px;
	}

	.ms-ftr {
		padding: 48px 0 24px;
	}

	.ms-ftr__contact,
	.ms-ftr__links-row {
		max-width: 767px;
	}

	.ms-ftr__col {
		width: 100%;
	}
}
