:root {

	--primary-color: #76bd22;
	--secondary-color: #0083c2;
	--secondary-alt: #007DBA;
	--tertiary-color: #c1b561;
	--hilite-color: #4c868f;
	--hilite-color-2: #abc380;
	--hilite-color-3: #003c71;
	--hilite-color-4: #b41a83;
	--white: #ffffff;
	--black: #000000;
}

.d-none {
	display: none;
}

.btn.makerBlue {
	background-color: var(--secondary-alt);
	color: white;
	transition: outline 1s ease-out;
	outline: 3px solid transparent;
	text-decoration: none;
}

.btn.makerBlue:hover,
.btn.makerBlue:focus {
	outline: 3px solid #fff;
}

.tertItems li {
	float: right;
}

.heroContent {
	background-color: rgba(255, 255, 255, 0.90);
	width: 500px;
}

.heroContent h2 {
	font-family: 'Lato', sans-serif;
	font-size: 40px;
}

.heroContent p {
	font-size: 26px;
	line-height: 3rem;
}

/*
.heroContent h2,
.heroContent p {
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: var(--hilite-color-4);
color: transparent;
font-weight: 900;
}*/

/*Changed this rule so that the hollowed out look of the text is optional*/

/* header to be in Bitter, serif */
.heroContent h2 {
	font-family: 'Bitter', serif !important;
}

/* paragraph text to be in Lato, sans-serif */
.heroContent p {
	font-family: 'Lato', sans-serif !important;
}

/*Changed this rule so that the hollowed out look of the text is optional*/

.hollow-text {
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: var(--hilite-color-4);	
	color: transparent;
	font-weight: 900;
}

.pointer {
	cursor: pointer;
}

.bg-gray {
	background-color: #F9F9FB;
}

.cta-box {
	padding: 55px 0;
	color: var(--white);
	margin-bottom: 40px;
}

.cta-box .row {
	display: flex;
	margin: 20px;
}

.cta-box h2 {
	color: var(--white);
}

.cta-box .cta-link {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.cta-box .contact {
	display: flex;
	gap: 40px;
}

.cta-box .contact a {
	color: var(--white);
}

.cta-box .contact a:hover {
	text-decoration: underline;
}

.cta-box .contact p {
	margin-bottom: 5px;
}

.cta-box .cta-link a {
	align-self: center;
}

.cards h2 {
	margin-left: 15px;
	margin-right: 15px;
}

.cards .flex.fx3 .card {
	box-shadow: 0px 20px 20px -10px rgba(0, 0, 0, 0.15);
	width: calc(100% / 3 - 30px);
	max-width: calc(100% / 3 - 30px);
	padding: 0;
	margin: 0 15px 40px 15px;
	transition: box-shadow 0.2s ease-in-out;
	background-color: var(--white);
}

.cards .flex.fx3 .card.pointer:hover,
.cards .flex.fx3 .card.pointer:focus {
	box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.25);
}

.cards .card .text-content {
	background-color: var(--white);
	padding: 20px;
}

.cards .text-content h3 a,
.cards .text-content h3 {
	font-size: 18px;
	color: var(--black);
	font-weight: bold;
}

.cards .text-content p {
	border-top: 1px solid var(--black);
	padding: 20px 0;
}



.flip-card {
	height: 300px;
	perspective: 1000px;
	cursor: pointer;
	position: relative;
	outline: none;
	color: var(--tertiary-color);
	width: calc(100% / 3 - 30px);
	max-width: calc(100% / 3 - 30px);
	margin: 0 15px 40px 15px;
}

.flip-card:focus-visible {
	box-shadow: 0px 0px 0px 4px rgba(0, 140, 255, 0.75);
	-webkit-box-shadow: 0px 0px 0px 4px rgba(0, 140, 255, 0.75);
	-moz-box-shadow: 0px 0px 0px 4px rgba(0, 140, 255, 0.75);
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
	transform-style: preserve-3d;
	box-shadow: 0px 20px 20px -10px rgba(0, 0, 0, 0.15);
}

.flip-card.flipped .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	backface-visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	background-repeat: no-repeat;
	background-size: cover;
}

.flip-card-front {
	background-color: var(--secondary-color);
	color: var(--white);
	font-size: 22px;
	padding: 0;
	line-height: 1.2em;
}

.flip-card-front div.front-title {
	position: relative;
	width: 100%;
	height: 100%;
}

.flip-card-front .front-title div {
	padding: 15px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 131, 194, 0.85);
}

.flip-card-back {
	transform: rotateY(180deg);
	background-color: var(--hilite-color-2);
	color: var(--black);
	line-height: 1.2em;
	font-size: 20px;
}

.sub-container {
	height: 100%;
	width: 100%;
	padding: 25px;
	font-size: 24px;
	background-color: rgba(0, 131, 194, 0.85);
	color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flip-card-back a.flip-link {
	color: var(--white);
	padding: 10px;
	font-size: 18px;
	font-weight: 600;
	border: 1px solid var(--white);
}

.flip-card-back a.flip-link:hover,
.flip-card-back a.flip-link:focus {
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	.cta-box .row {
		flex-direction: column;
	}

	.cta-box h2 {
		margin-bottom: 0;
	}

	.cta-box .mb-3 {
		margin-bottom: 10px;
	}

	.cta-box .contact {
		margin-bottom: 30px;
	}

	.cta-box {
		padding-bottom: 25px;
	}

	.cards .flex {
		flex-direction: column;
	}

	.cards .flex.fx3 .fixed-card {
		width: 100%;
		max-width: unset;
		margin: 0;
		margin-bottom: 20px;
	}

	.cards .flex img {
		width: 100%;
		max-height: 300px;
		object-fit: cover;
	}

	.row .row {
		margin-right: 0;
		margin-left: 0;
	}

	.cta-box .row {
		margin: 20px;
	}

	.flip-card {
		width: 100%;
		max-width: 100%;
	}

}

@media screen and (max-width: 480px) {
	section.row {
		margin-left: 0;
		margin-right: 0;
	}

	.cta-box .contact {
		gap: 10px;
		flex-direction: column;
	}
}