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

/* 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;
	}
}


section.module.module-practices-f {
    padding: 0px;
	padding-top: 60px;
}

section.module.module-practices-f h2{
	font-size:2.4rem;
}
.module-practices-f-single ul{
    list-style: none;
    font-size: 20px;
   
    padding: 20px!important;
}
.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: var(--color-secondary);
	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;

	
}

.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 {
	
	color:var(--color-white);
/* 	background: linear-gradient(
		to top,
		rgba(0,0,0,0.8),
		rgba(0,0,0,0.15)
	); */
	
background:linear-gradient(
    to top,
    rgba(208,170,76,0.8),
    rgba(208,170,76,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;
	}
}
