/* Lead Form SF styles (moved from inline shortcode style block). */
:is(#lead-form-sf, #lead-form-sf-marketing-hero) input.error,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) select.error {
	border: 2px solid #d6001d !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full .field select.error,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid .field select.error,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid .field input.error {
	border: 2px solid #e20000 !important;
	background-color: #fff !important;
	margin-bottom: 32px !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .validation-error {
	top: -24px;
	display: block;
	position: relative;
	color: #e20000;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) input[type="search"]#city {
	-webkit-appearance: none;
	appearance: none;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) input[type="search"]#city::-webkit-search-cancel-button,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) input[type="search"]#city::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .city-autocomplete::after {
	display: none !important;
	content: none !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) input#city.lead-form-sf-city--show-arrow {
	padding-right: 36px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23262626' stroke-width='1.9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-sec {
	margin: 0 auto !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 0 16px !important;
	box-sizing: border-box !important;
	padding: 0 !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full {
	display: grid !important;
	box-sizing: border-box !important;
	width: 100%;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid label,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full label {
	display: block !important;
	font-weight: 700 !important;
	margin-bottom: 8px !important;
	color: #262626;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid > div {
	margin-top: 0 !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid .field,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full .field {
	width: 100%;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid input,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full input {
	border: 1px solid #8d9695 !important;
	background-color: #fff !important;
	border-radius: 0 !important;
	height: 40px;
	padding: 0 14px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 160%;
	width: 100%;
	margin-bottom: 16px !important;
	box-sizing: border-box;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid select.form-control,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full select.form-control {
	border: 1px solid #8d9695 !important;
	background-color: #fff !important;
	border-radius: 0 !important;
	height: 40px;
	padding-left: 14px !important;
	padding-right: 36px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 160%;
	width: 100%;
	margin-bottom: 16px !important;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23262626' stroke-width='1.9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .consent-text {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px !important;
	row-gap: 0 !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .consent-text .policy {
	color: #262626;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .consent-text .policy-icon {
	width: 12px;
	height: 12px;
	flex: 0 0 auto;
	display: block;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid > div.select-label {
	position: relative;
	width: 100%;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full::before,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid > div.select-label::before,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full::after,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid > div.select-label::after {
	display: none !important;
	content: none !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid > div.select-label:has(select.error)::after {
	top: calc(50% - 10px);
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid label span,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid-full label span {
	color: #d6001d;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) .error {
	border: 2px solid #d6001d !important;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero) input:focus-visible,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) select:focus-visible,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) textarea:focus-visible,
:is(#lead-form-sf, #lead-form-sf-marketing-hero) button:focus-visible {
	outline: 2px solid #0c71ac;
	outline-offset: 2px;
}

:is(#lead-form-sf, #lead-form-sf-marketing-hero).register-form {
	padding: 0;
}

#consentContainer {
	display: flex;
	gap: 5px;
	min-width: 0;
}

@media only screen and (min-width: 768px) {
	:is(#lead-form-sf, #lead-form-sf-marketing-hero) .consent-text {
		padding-top: 24px;
		border-top: 1px solid #b7b7b7;
		margin-top: 16px;
	}
}

:is(#lead-form-sf-marketing-hero) .lp-marketing-cta-title {
	margin: 16px 0 12px;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #262626;
}

@media (max-width: 768px) {
	:is(#lead-form-sf, #lead-form-sf-marketing-hero) .form-grid {
		grid-template-columns: 1fr !important;
	}

	:is(#lead-form-sf, #lead-form-sf-marketing-hero) .cta-submit {
		display: block;
		text-align: center;
		margin: 32px auto 0;
		width: 100%;
	}

	:is(#lead-form-sf, #lead-form-sf-marketing-hero) .cta-submit .default-btn {
		width: 100%;
		max-width: 380px;
	}

	:is(#lead-form-sf, #lead-form-sf-marketing-hero) .consent-text {
		grid-template-columns: auto !important;
	}
}

.hero-section {
	padding: 48px 0;
	background-repeat: no-repeat;
	background-size: cover;
}
.herosection-right .form-sec {
	padding: 16px 32px 32px 32px;
}
.herosection-right .form-sec .consent-text {
	padding-bottom: 0;
}
.herosection-right .lp-banner-form-head {
	padding: 2rem !important;
}
.herosection-right .register-form {
	padding: 0 !important;
}
.herosection-right .consent-text {
	color: #0b0c0c;
}
.hero-banner-media-responsive img {
	width: 100% !important;
}

@media (max-width: 991px) {
	.hero-section {
		padding: 0;
	}	
}

@media (max-width: 768px) {
.herosection-right .lp-banner-form-head {
	padding: 1rem !important;
}
	.herosection-right {
		padding: 0;
	}
	.herosection-right .form-sec {
		padding: 16px 16px 32px 16px;
	}
	.herosection-right .form-sec .cta-submit {
		margin-top: 0 !important;
	}
	.herosection-right .form-sec .consent-text {
		padding: 0;
	}
}
/* LP and PLP leadform UI changes */
#lead-form-sf-marketing-hero .consent-text,
#lead-form-sf-marketing-lp-program-cards .consent-text {
    display: flex !important;
    flex-wrap: wrap;
    gap: 36px !important;
    padding: 16px 0;
    color: #0b0c0c;
}
#lead-form-sf-marketing-lp-program-cards .consent-text .consent-copy{
    font-size: 100% !important;
}
#lead-form-sf-marketing-lp-program-cards .consent-text .cta-submit{
    text-align:left !important;
}
#lead-form-sf-marketing-lp-program-cards .consent-text .cta-submit .default-btn.default-btn-secondary {
    font-size: 1.5rem !important;
    align-items: center;
    line-height: 2rem !important;
    padding: 1rem 2.5rem !important;
    font-weight: 500 !important
}
/* End LP and PLP leadform UI changes */