/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 9;
	width: 100%;
	height: 100vh;
	background-color: white;
	transition: opacity 600ms ease-out;
}

.preloader-outer.active {
	visibility: visible !important;
}

.preloader-outer.preloader-remove {
	opacity: 0;
	pointer-events: none;
}

.preloader-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.preloader-inner p {
	margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
	margin: 0;
}

.preloader-part {
	display: none;
	margin: 20px;
}

.preloader-part-left.active {
	display: block;
	-webkit-animation: fadeInRight 800ms ease-out;
	animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
	display: block;
	-webkit-animation: fadeInLeft 500ms ease-out;
	animation: fadeInLeft 500ms ease-out;
}

/* HOME HERO AND/OR SLIDER */
.home-hero-height-sync {
	height: 400px;
}

.home-hero,
.home-hero-inner {
	position: relative;
}

.home-hero-image-container {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.home-hero-image-container img {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
	-o-object-position: 50%;
	object-position: 50%;
}

.home-hero-form-container {
	display: none;
}

.home-hero-form-row {
	display: flex;
	justify-content: flex-end;
}

@media screen and (min-width: 640px) {
	.home-hero-height-sync,
	.home-hero {
		height: 600px;
	}
}

@media screen and (min-width: 1025px) {
	.home-hero-inner {
		display: block;
	}

	.home-hero-height-sync {
		height: 750px;
	}

	.home-hero-form-container {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		display: block;
	}

	.home-hero-form-container,
	.home-hero-form-inner,
	.home-hero-form-container .row,
	.home-hero-form-container .columns {
		height: 100%;
	}

	.home-hero-form-inner {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.home-hero-form .contact-form-heading {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.home-hero-form form button {
		width: 100%;
	}

	.home-hero-form {
		margin-top: 80px;
		min-width: 375px;
		padding: 0;
		background: var(--color-light-gray);
	}
}

@media screen and (max-height: 700px) and (min-width: 1025px) {
	.home-hero-form {
		margin: 0;
		position: absolute;
		bottom: 0;
		right: 0;
		padding: 30px;
	}

	.home-hero-form .contact-form-heading {
		display: none;
	}
}

.module-benefits-b-boxes {
	flex-wrap: wrap;
}

.module-benefits-b-box {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	margin-bottom: 30px;
}

.module-benefits-b-box h3 {
    margin-bottom: 12px;
	font-weight:600;
}

.module-benefits-b-box p:last-of-type {
	margin: 0;
}

.module-benefits-b-box .box-icon {
	margin: 0 25px 0 0;
}

@media screen and (max-width: 1024px) {
	.module-benefits-b-box {
		border: 1px solid var(--color-primary);
		text-align: center;
		padding: 25px;
	}
}

@media screen and (min-width: 1025px) {
	.module-benefits-b-boxes {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		border-top: 1px solid var(--color-primary);
		border-left: 1px solid var(--color-primary);
	}

	.module-benefits-b-boxes > * {
		border-right: 1px solid var(--color-primary);;
		border-bottom: 1px solid var(--color-primary);;
		padding: 50px 40px;
		text-align: center;
	}

	.module-benefits-b-box {
		margin-bottom: 0;
		justify-content: center;
        text-align: center;
	}
}

section.module.module-practices-f {
    padding: 0px;
}
.module-practices-f-single {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-around;
	text-align: left;
	min-height: 240px;
	padding: 30px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background: #0B1334;
	overflow: hidden;
	color: #fff;
	font-size: 32px;
	font-family: var(--font-family-heading);
	line-height:normal;
	font-weight: 400;
	text-decoration: none;
	transition: transform 300ms ease, box-shadow 300ms ease;
	z-index: 1;

	/* Text shadow for readability */
	text-shadow:
		0 2px 6px rgba(0,0,0,0.7),
		0 4px 14px rgba(0,0,0,0.55);
}

.module-practices-f-single p {
	color: #fff;
	    font-family: var(--font-family-body);
	font-size: 21px;
}

.module-practices-f-single::before {
	content: '';
	position: absolute;
	inset: 0;
/* 	background: linear-gradient(
		to top,
		rgba(0,0,0,0.7),
		rgba(0,0,0,0.25)
	); */
	transition: background 300ms ease, transform 400ms ease;
	z-index: -1;
}

.module-practices-f-single::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 147, 255, 0.18);
	opacity: 0;
	transition: opacity 300ms ease;
	z-index: -1;
}

.module-practices-f-single:hover,
.module-practices-f-single:focus {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 18px 40px rgba(0,0,0,0.25);
	color: #fff;
}

.module-practices-f-single:hover::before,
.module-practices-f-single:focus::before {
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.8),
		rgba(0,0,0,0.15)
	);
	transform: scale(1.04);
}

.module-practices-f-single:hover::after,
.module-practices-f-single:focus::after {
	opacity: 1;
}

@media screen and (min-width: 768px) {
	.module-practices-f-inner {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-row-gap: 20px;
		grid-column-gap: 20px;
	}

	.module-practices-f-single {
		margin-bottom: 0;
	}
}
