#hero {
	position: relative;
	height: 800px;
	max-width: 100vw;
	overflow: hidden;
	border-bottom: 5px solid #535fab;
}

.content-image-wrap {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

#hero.has-form::after {
	position: absolute;
	content: "";
	display: block;
	top: 0;
	right: 0;
	width: 40%;
	height: 100%;
	background: #7487c0cc;
	z-index: 1;
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
	animation: slideLeft 3s ease forwards;
}

.hero-img-wrap {
	height: 100%;
}
@keyframes slideLeft {
	0% {
		transform: translateX(30px);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes zoomOut {
	0% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

.main-hero-img {
	filter: brightness(80%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#hero .hero-content {
	position: absolute;
	top: 50%;
	left: 45px;
	transform: translateY(-50%);
	z-index: 2;
	width: calc(50% - 45px);
}

#hero .hero-title {
	font-size: 70px;
	line-height: 1.1;
	font-weight: 900;
	font-family: "Ubuntu", sans-serif;
	color: #fff;
	margin-bottom: 1rem;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#hero .hero-subtitle {
	font-size: 24px;
	line-height: 1.5;
	font-weight: 400;
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	font-family: "Lato", sans-serif;
}

#hero .hero-form {
	position: absolute;
	top: 50%;
	right: 45px;
	transform: translateY(-50%);
	z-index: 2;
	width: 25vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#hero .hero-form .gform_wrapper {
	width: 100%;
	max-width: 25vw;
	padding: 1.5rem;
	border-radius: 1rem;
	color: white;
	min-width: 300px;
	padding-top: 0;
}
.hero-form-title {
	max-width: 25vw;
	color: white;
	text-align: center;
	margin-bottom: 2px;
	border-bottom: 5px solid #535fab;
	padding-bottom: 4px;
}
.hero-form-title > span {
	font-size: 1.35em;
	line-height: 1.1;
	font-weight: 200;
	font-family: "Ubuntu", sans-serif;
}
.hero-form-title b {
	font-weight: 800;
	text-transform: uppercase;
}
.landing-offers {
	position: absolute;
	bottom: 0;
	left: 5rem;
	display: flex;
	z-index: 2;
}
.landing-offers .landing-offer {
	border: 3px solid white;
	background: #ccd7ea;
	box-shadow: 0px -4px 6px #00000029;
	border: 3px solid #ffffff;
	width: 300px;
	border-radius: 40px 40px 0 0;
	margin-right: 1.5rem;
	text-align: center;
	border-bottom: none;
}
.landing-offers .landing-offer h3 {
	color: #535fab;
	font-size: 40px;
	margin-bottom: 0;
}
.landing-offers .landing-offer p {
	color: #464750;
	font-weight: 700;
}
a.btn.btn-primary.schedule-btn {
	background: var(--yellow);
	color: var(--primary);
	text-shadow: none;
}
.hero-form > a.btn.btn-primary.schedule-btn {
	display: none;
}
.hero-form-subtext {
	color: white;
	text-align: center;
	margin: .5rem 0;
}
.hero-form-content {
	display: flex;
	flex-direction: column;
}
.page-id-50787 #hero {
	height: 380px;
}

@media (max-width: 1440px) {
	#hero .hero-title {
		font-size: 60px;
	}
	#hero .hero-form .gform_wrapper {
		max-width: unset;
		width: 360px;
	}
	#hero .hero-form-title {
		max-width: unset;
		width: 330px;
	}
	#hero.has-form::after {
		width: 550px;
	}
	.landing-offers {
		left: 2rem;
	}
	.landing-offers .landing-offer h3 {
		font-size: 32px;
	}
	.landing-offers .landing-offer {
		width: 200px;
	}
}
@media (max-width: 1200px) {
	.page-id-50787 #hero {
		height: 330px;
	}
	#hero .hero-title {
		font-size: 50px;
	}
	#hero .hero-subtitle {
		font-size: 20px;
	}
	#hero .hero-form-title {
		font-size: 28px;
	}
	#hero::after {
		clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
	}

	.hero-form-title > span {
		font-size: 1em;
		line-height: 1;
	}
	.landing-offers .landing-offer {
		width: 360px;
	}
}
@media (max-width: 992px) {
	.page-id-50787 #hero {
		height: 270px;
	}
	body:not(.page-id-50787) .hero-form > a.btn.btn-primary.schedule-btn {
		display: inline-block;
		margin-bottom: 1.5rem;
		margin-top: 0.5rem;
	}
	/* body:not(.page-id-50787) .hero-form > *:not(a) {
		display: none;
	}
	.hero-form-content {
		display: none;
	} */
	#hero {
		height: unset;
		overflow: unset;
		border-bottom: unset;
	}
	#hero::before {
		display: none;
	}
	#hero.has-form::after {
		display: none;
	}
	#hero .hero-form {
		position: relative;
		top: unset;
		right: unset;
		transform: unset;
		width: 100%;
		background: #7487c0;
		padding: 1rem;
	}
	.landing-offers .landing-offer {
		width: 250px;
		margin: 0 0.5rem;
	}

	#hero .hero-form-title {
		max-width: 100%;
		margin: 0 auto;
	}
	.hero-img-wrap.parallax-image {
		position: relative;
	}
	.content-image-wrap {
		position: relative;
		height: 400px;
		overflow: hidden;
	}
	#content #hero .gform_wrapper {
		max-height: unset;
		width: 100%;
	}
	#hero .hero-content {
		width: calc(100% - 90px);
	}
	#hero div.hero-content {
		top: 3.5rem;
		transform: unset;
	}
	#hero h1.hero-title {
		font-size: 46px;
		text-align: center;
	}
	body.single-post #hero h1.hero-title {
		font-size: 40px;
	}
	#hero h2.hero-subtitle {
		font-size: 22px;
		text-align: center;
	}

	.landing-offers {
		left: 0;
		width: 100%;
		justify-content: center;
		padding: 0 1rem;
	}
	div.content-image-wrap {
		height: 550px;
	}
	.page-id-50787 div.content-image-wrap {
		height: 100%;
	}
	.page-id-50787 .main-custom-content {
		padding-top: 0.5rem;
	}
}
@media (max-width: 850px) {
	.landing-offers .landing-offer {
		width: 100%;
	}
}
@media (max-width: 768px) {
	#hero .hero-title {
		font-size: 36px;
	}
	#hero .hero-subtitle {
		font-size: 16px;
	}
	#hero .hero-form-title {
		font-size: 24px;
	}

	.landing-offers .landing-offer {
		margin: 0 1rem;
	}
	nav.breadcrumbs {
		top: 15px;
		left: 10px;
		font-size: 16px;
		max-width: calc(100vw - 20px);
		overflow: hidden;
	}
	nav.breadcrumbs a {
		padding: 0 10px;
	}
	#hero .hero-content {
		left: 20px;
		width: calc(100% - 40px);
	}
	.hero-img-wrap img {
		animation: none;
	}
}

@media (max-width: 576px) {
	.page-id-50787 #hero {
		height: 450px;
	}
	.landing-offers .landing-offer h3 {
		font-size: 20px;
		margin-top: 0.5rem;
	}
	.landing-offer h4 {
		font-size: 36px;
	}
	.landing-offer h5 {
		font-size: 24px;
	}

	.landing-offers .landing-offer p {
		font-size: 14px;
		margin-bottom: 0.5rem;
	}
	.landing-offers .landing-offer {
		margin: 0 0.5rem;
		padding: 0 0.5rem;
	}
}
@media (max-width: 369px) {
	.page-id-50787 #hero {
		height: 400px;
	}
}
@media (max-width: 340px) {
	.page-id-50787 #hero {
		height: 450px;
	}
}

/*Video Headers*/

#hero.video-background .hero-content {
	top: 38%;
}
#hero.video-background .hero-title {
	font-size: 4rem;
}
#hero.video-background .hero-title.md {
	font-size: 3.5rem;
}
#hero.video-background .hero-title.sm {
	font-size: 3rem;
}
#hero.video-background .hero-subtitle {
	font-size: 1.5rem;
}
#hero.video-background {
	height: auto;
}
#hero.video-background .hero-img-wrap video {
	height: 100%;
	object-fit: cover;
}
#hero.video-background .content-image-wrap {
	margin-bottom: -7px;
}

@media (max-width: 1200px) {
	#hero.video-background .hero-content {
		top: 37%;
	}
	#hero.video-background .hero-title {
		font-size: 3rem;
		margin-bottom: 0.25rem;
	}
	#hero.video-background .hero-title.md {
		font-size: 2.5rem;
		margin-bottom: 0.25rem;
	}
	#hero.video-background .hero-title.sm {
		font-size: 2rem;
		margin-bottom: 0.25rem;
	}
	#hero.video-background .hero-subtitle {
		font-size: 1.3rem;
		margin-top: 0;
	}
	#hero.video-background .hero-subtitle.md {
		margin-top: 0;
		font-size: 1.1rem;
	}
	#hero.video-background .hero-subtitle.sm {
		margin-top: 0;
		font-size: 1rem;
	}
}
@media (max-width: 992px) {
	#hero.video-background .landing-offer {
		width: auto;
		padding: 0 1rem;
	}
	#hero.video-background .hero-content {
		top: 3rem;
	}
	#hero.video-background .hero-title {
		font-size: 4rem;
	}
	#hero.video-background .hero-title.md {
		font-size: 3.5rem;
	}
	#hero.video-background .hero-title.sm {
		font-size: 3rem;
	}
	/*
    #hero.video-background .hero-subtitle {
        font-size: 2rem;
    }
    #hero.video-background .hero-subtitle.md  {
        font-size: 1.5rem;
    }
    #hero.video-background .hero-subtitle.sm  {
        font-size: 1rem;
    }
    #hero.video-background div.hero-content {
		top: 4rem;
    }
*/
}
@media (max-width: 768px) {
	#hero.video-background div.hero-content {
		top: 3.5rem;
	}
	/*    #hero.video-background .hero-title  {
        font-size: 3rem;
    }
    #hero.video-background .hero-title.md  {
        font-size: 2.5rem;
    }
    #hero.video-background .hero-title.sm  {
        font-size: 2.5rem;
    }
*/
}
@media (max-width: 576px) {
	#hero.video-background .hero-title {
		font-size: 3rem;
	}
	#hero.video-background .hero-title.md {
		font-size: 2rem;
	}
	#hero.video-background .hero-title.sm {
		font-size: 1.5rem;
	}
	#hero.video-background .hero-subtitle {
		font-size: 1.5rem;
	}
	#hero.video-background .hero-subtitle.md {
		font-size: 1.25rem;
	}
	#hero.video-background .hero-subtitle.sm {
		font-size: 1rem;
	}
}

@media (max-width: 460px) {
	#hero.video-background .hero-title {
		font-size: 2rem;
	}
	#hero.video-background .hero-title.md {
		font-size: 1.5rem;
	}
	#hero.video-background .hero-title.sm {
		font-size: 1rem;
	}
	#hero.video-background .hero-subtitle {
		font-size: 1rem;
	}
	#hero.video-background .hero-subtitle.md {
		font-size: 1rem;
	}
	#hero.video-background .hero-subtitle.sm {
		font-size: 1rem;
	}
}
