.tdi-hero {
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.tdi-hero__inner,
.tdi-hero__content,
.tdi-hero__value-prop-text {
	display: flex;
	flex-direction: column;
}

.tdi-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tdi-hero__value-prop-text {
	width: fit-content;
}

.tdi-hero__inner {
	position: relative;
}

.tdi-hero__title {
	max-width: 17.5em;
	margin-bottom: 20px;
}

.tdi-hero__value-prop-title, .tdi-hero__title, .tdi-hero, .tdi-hero__contact-btn, .tdi-hero__phone {
	color: white;
}

.tdi-hero__phone, .tdi-hero__contact-btn {
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.8;
}


.tdi-hero__contact-btn {
	margin: 0px;
}

.tdi-hero__phone, .tdi-hero__contact-btn {
	padding: 13px 32px;
	border-radius: 32px;
	font-weight: bold;
	text-decoration: none !important;
}

.tdi-hero__contact-btn {
	border: 2px solid white;
	color: white;
}

.tdi-hero__accreditations-title {
	margin-top: 56px;
	font-size: 17px;
	color: #8C8C8C !important;
	text-align: center;
	font-family: 'Cinzel',serif;
}

.tdi-hero__phone {
	background-color: #C8713C;
}

.tdi-hero__value-prop-title {
	font-size: 14px;
	letter-spacing: 1.5px;
}

.tdi-hero__value-prop-description {
	font-size: 15px;
}

.tdi-hero__value-props {
	margin-bottom: 12px;
}

ul.tdi-hero__value-props {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding-left: 0;
	margin-top: 0;
}

.tdi-hero__value-prop {
	display: flex;
	align-items: flex-start;
	margin-bottom: 12px;
}

.tdi-hero__value-prop-icon {
	margin-right: 12px;
	min-width: 32px;
}

.tdi-hero__value-prop-image {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: cover;
	margin: 2px 0 0;
}

.tdi-hero__ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tdi-hero__accreditations {
	display: flex;
	flex-direction: column;
}

.tdi-hero__accreditations-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	padding-left: 0 !important;
}

.tdi-hero__accreditations-list img {
	display: block;
	width: 140px;
	height: 48px;
	object-fit: contain;
}

.tdi-hero__value-prop-title,
.tdi-hero__title,
.tdi-hero,
.tdi-hero__contact-btn,
.tdi-hero__phone {
	color: white;
}

.tdi-hero__value-prop-title {
	font-size: 14px;
	letter-spacing: 1.5px;
}

.tdi-hero__value-prop-description {
	font-size: 15px;
	color: #C8D3DA;
}

.tdi-hero__accreditations-title {
	margin-top: 56px;
	font-size: 17px;
	color: #8C8C8C !important;
	text-align: center;
	font-family: 'Cinzel', serif;
}

.tdi-hero__phone,
.tdi-hero__contact-btn {
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.8;
	margin: 0;
	background-color: transparent;
	padding: 13px 32px;
	border-radius: 32px;
	font-weight: bold;
	text-decoration: none !important;
}

.tdi-hero__contact-btn {
	appearance: none;
	border: 2px solid white;
	cursor: pointer;
}

.tdi-hero__phone {
	background-color: #C8713C;
}

.tdi-hero__phone:hover,
.tdi-hero__contact-btn:hover,
button.tdi-hero__contact-btn:hover,
button.tdi-hero__contact-btn:focus {
	color: white;
	background-color: transparent;
	border: 2px solid white;
}

.tdi-hero__phone:focus {
	color: white;
}

.tdi-hero .tdi-insurance-card {
	margin-bottom: 0;
}

.tdi-hero-contact-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	overscroll-behavior: contain;
}

.tdi-hero-contact-modal__dialog {
	width: 44.4%;
	height: 78.1%;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.tdi-hero-contact-modal__body {
	width: 100%;
}

.gform_confirmation_message_19 {
	text-align: center !important;
    margin-top: 4em !important;
}

.tdi-hero-contact-modal__body .hero-contact-form__form-only {
	padding-top: 0;
}

.hero-contact-form__form-only{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
    box-sizing: border-box;
}

.gform-footer  {
	display: flex;
    justify-content: center !important;
}

@media screen and (min-width: 856px) {
    .hero-contact-form__form-only{
        padding: 36px 40px;
    }

	.tdi-hero__title {
		text-align: center;
	}
}

@media screen and (max-width: 767px) {
	.tdi-hero {
		padding-left: calc(3% - 5px);
	}
	
	.tdi-hero__ctas {
		width: 100%;
	}

	.tdi-hero__title {
		margin-bottom: 22px;
		line-height: 1.5em;
	}

	h1.tdi-hero__title {
		font-size: 32px !important;
	}

	.tdi-hero__value-prop {
		margin-bottom: 12px;
	}

	.tdi-hero__ctas {
		margin-top: 12px;
	}

	.tdi-hero__accreditations-title {
		margin-top: 40px;
	}

	.tdi-hero__accreditations-list {
		margin-top: 12px;
		gap: 24px;
	}

	p.tdi-hero__accreditations-title {
		margin-bottom: 0;
	}

	.tdi-hero__accreditations-list img {
		width: 65px;
		height: 32px;
	}

	.tdi-hero__value-prop-description {
		line-height: 1.55;
	}

	div#titleContainer {
		margin-top: 0 !important;
	}

	#titleContainer .wpb_text_column {
		margin-bottom: 8px;
	}

	.tdi-hero .tdi-insurance-card {
		margin-top: 40px;
	}
}

@media screen and (min-width: 768px) {
	.tdi-hero__ctas {
		flex-direction: row;
	}

	.tdi-hero__accreditations-list {
		gap: 56px;
	}

	ul.tdi-hero__value-props {
		margin-bottom: 20px;
	}

	.tdi-hero__accreditations-title {
		margin-bottom: 0 !important;
		letter-spacing: 1px;
	}

	.tdi-hero__value-prop-description {
		max-width: 28em;
		line-height: 1.55em;
	}

	#titleContainer .wpb_text_column.wpb_content_element {
		margin-bottom: 134px;
	}

	#titleContainer {
		margin-top: 100px !important;
	}
}

.tdi-hero-contact-modal .gform_validation_errors {
	margin-top: 4.5em !important;
	margin-bottom: 2em !important;
}

.tdi-hero-contact-modal {
	position: fixed;
	inset: 0;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
	isolation: isolate;
}

.tdi-hero-contact-modal.active {
	z-index: 2147483647;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.tdi-hero-contact-modal__dialog {
	position: relative;
	z-index: 1;
	margin: auto;
}

button.tdi-hero-contact-modal__close {
	position: absolute;
	width: max-content;
	border: none;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1;
    top: 0;
	font-family: Open sans-serif;
    color: #0e2538ab;
    font-size: 31px;
    font-weight: lighter;
	padding: 0;
	margin-right: 40px;
	margin-top: 29px;
}

.tdi-hero-contact-modal__body .hero-contact-form__form-only {
	overflow-y: auto;
	position: relative;
	top: 0px;
}

.tdi-hero-contact-modal__dialog {
	background: white;
	display: flex;
    flex-direction: column;
    align-items: end;
	border-radius: 8px;
	overflow: hidden;
}

.tdi-hero-contact-modal__dialog-inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-y: scroll;
	align-items: end;
	position: relative;
}

@media screen and (max-width: 767px) {
	.tdi-hero-contact-modal__dialog {
		width: 100vw;
		height: 100vh;
	}

	.tdi-hero-contact-modal__dialog {
		border-radius: 0;
	}

	.tdi-hero-contact-modal {
		padding: 0;
	}

	button.tdi-hero-contact-modal__close {
		margin-right: 20px;
		margin-top: 20px;
		font-size: 33px;
	}
}