/* 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: 8px !important;
}

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

: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;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right .5rem center !important;
	background-size: 1.5em 1.5em;
}

: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 > 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: 8px 14px;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 24px;
	width: 100%;
	margin-bottom: 0 !important;
	box-sizing: border-box;
	color: #333f47;
	margin-top: 0;
}

: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: 8px 14px;
	padding-right: 36px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 24px;
	width: 100%;
	margin-bottom: 0 !important;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right .5rem center !important;
	background-size: 1.5em 1.5em;
	color: #333f47;
	margin-top: 0;
}

.register-form .consent-text {
	/*display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px !important;
	row-gap: 0 !important;*/
}

.register-form .consent-text .policy {
	display: inline-flex;
	--tw-text-opacity: 1;
	color: #212b58;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.register-form .consent-text .policy:hover {
	text-decoration-thickness: 2px;
}
#lead-form-sf-marketing-lp-program-cards .consent-text .policy:hover {
	color: #544b73 !important;
}

.register-form .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;
	margin-top: 0;
}

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

@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 .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: 32px 32px 0 32px;
}
#lead-form-sf-marketing-lp-program-cards .form-sec {
	/*padding: 32px 32px 0 32px;*/
}
.course-dialog__wrapper .course-form-wrapper {
	padding: 0 !important;
}
.herosection-right .form-sec .consent-text {
	padding-bottom: 0;
}
.herosection-right .lp-banner-form-head {
	padding: 2rem !important;
	border-bottom: 1px solid #b7b7b7;
}
.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 0 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-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 */

.consent-copy {
	color: #262626;
}

.herosection-right .lp-banner-form-head {
	padding: 2rem !important;
	color: #262626;
	font-size: 32px;
	font-style: normal;
	font-weight: 500;
	line-height: 40px;
	letter-spacing: 0.16px;
}
.field.select-label[aria-hidden="true"] {
	margin-bottom: 0 !important;
}
.course-dialog__right .course-title-lp {
	padding: 32px 82px 32px 32px;
	border-bottom: 1px solid #b7b7b7;
	color: #262626;
	font-size: 32px;
	font-style: normal;
	font-weight: 500;
	line-height: 40px;
	letter-spacing: 0.16px;	
	position: relative;
}
.course-dialog__right .course-title-lp .course-dialog__close {
	top: 50%;
	margin-top: -20px;
	line-height: 40px;
}
.lp-modal-header {
	padding: 16px;
	border-bottom: 1px solid #dbdbd3;
	position: relative;
}
.lp-modal-header .course-title {
	font-size: 24px;
	line-height: 32px;
}
.lp-modal-header .course-dialog__close {
	font-size: 40px;
	top: 50%;
	margin-top: -12px;
	padding: 0;
}

@media (max-width: 768px) {
	#lead-form-sf-marketing-hero .consent-text .cta-submit, #lead-form-sf-marketing-lp-program-cards .consent-text .cta-submit {
		margin-top: 0;
	}
	.herosection-right .lp-banner-form-head {
		padding: 1rem !important;
		font-size: 24px;
		line-height: 32px;
		letter-spacing: 0.12px;
	}
	.course-dialog__right .course-title-lp {
		padding: 16px 82px 16px 16px;
		border-bottom: 1px solid #b7b7b7;
		color: #262626;
		font-size: 24px;
		font-style: normal;
		font-weight: 500;
		line-height: 32px;
		letter-spacing: 0.12px;	
	}
	#lead-form-sf-marketing-lp-program-cards .form-sec {
		/*padding: 16px 16px 0 16px;*/
	}
	.course-dialog__left {
		padding: 16px 16px 0 16px;
	}	
	.course-dialog__right {
		padding: 0;
	}		
}

.download-prospectus-link svg {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}
.download-prospectus-link svg path {
	stroke: #1E1248;
}

/* thankyou popup design */
.lead-form-sf-marketing-thankyou-active > .lp-banner-form-head,
.lp-banner-form-cont.lead-form-sf-marketing-thankyou-active .lp-banner-form-head,
.plp-banner-form-cont.lead-form-sf-marketing-thankyou-active .lp-banner-form-head {
	display: none !important;
}
.lead-form-thankyou-inline {
	padding: 0 !important;
}
.modal-title {
	border-bottom: 1px solid #DBDBD3 !important;
	padding: 32px !important;
	margin: 0 !important;
	color: #232B31 !important;
	font-size: 25.63px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 37.5px !important;
}
.success-msg-wrap {
	margin: 0;
	padding: 32px;
}
.modal-action-links {
	margin: 0;
	padding: 0 32px 32px 32px;
	display: flex;
	flex-direction: column;
	row-gap: 32px;
}
.modal-action-links .download-prospectus-link {
	margin-bottom: 0;
}
.modal-action-links a {
	width: max-content;
}
.success-msg-wrap .success_msg {
	color: #232B31;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}
.success-msg-wrap .success_msg br {
	display: none;
}
.success-msg-wrap .success_msg strong {
	font-weight: 700;
}
.success-msg-wrap .success_msg p {
	display: block;
	color: #232B31;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}
.success-msg-wrap .success_msg p:last-child {
	margin-bottom: 0;
}
.success-msg-wrap .success_msg strong {
	display: block;
}
.modal-action-links .download-prospectus-link span {
	gap: 8px;
	display: flex;
	align-items: center;
	color: #1E1248;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.success-msg-wrap .msg-box {
	border-radius: 0;
	padding: 16px;
	gap: 8px;
	border: 1px solid #3A8128;
	background: #E2EDDE;
}
#course_dialog {
	width: calc(100% - 32px) !important;
	height: max-content;
}

.lead-form-sf-pc-thankyou-head {
	padding: 32px;
	gap: 0 32px;
	border-bottom: 1px solid #B7B7B7;
	color: #262626;
	font-size: 32px !important;
	font-style: normal;
	font-weight: 500;
	line-height: 40px !important;
	letter-spacing: 0.16px;
	margin: 0;
	display: flex;
	justify-content: space-between;
	position: relative;
}
.lead-form-sf-pc-thankyou-head .modal-title {
	padding: 0 !important;
	border: 0 !important;
}
.lead-form-sf-pc-thankyou-head .lead-form-sf-pc-thankyou-close {
	top: 50%;
	margin-top: -20px;
	right: 32px;
	font-size: 40px;
	line-height: 40px;
	margin-top: 0 !important;
}
#lead-form-sf-marketing-lp-program-cards .consent-text #lp-program-cards-consentContainer {
	flex-wrap: nowrap;
	display: flex;
	gap: 8px;
}
@media (max-width: 768px) {

.modal-title {
	padding: 16px !important;
	color: #232B31 !important;
	font-size: 24px !important;
	font-style: normal;
	line-height: 32px !important;
	letter-spacing: 0.12px;
}
.success-msg-wrap {
	margin: 0;
	padding: 16px 16px 32px 16px;
}
.modal-action-links {
	margin: 0;
	padding: 0 16px 32px 16px;
}
.modal-action-links .download-prospectus-link span {
	font-size: 16px;
}
.lead-form-sf-pc-thankyou-head .lead-form-sf-pc-thankyou-close {
	right: 16px;
}
.lead-form-sf-pc-thankyou-head {
	padding: 16px;
	color: #232B31;
	font-size: 24px !important;
	font-style: normal;
	line-height: 32px !important;
	letter-spacing: 0.12px;
}
.lead-form-sf-pc-thankyou-head .modal-title {
	padding: 0;
}
}

@media (min-width: 769px) {
  .modal-read-more {
    display: none !important;
  }
}

.modal-read-more {
  margin-top: 16px;
  display: flex;
}


/* Program page Lead form popup */
.single-program #connect-with-us-modal {
	/*width: calc(100% - 32px) !important;
	height: max-content;*/
}
.single-program #connect-with-us-modal .modal-content {
	/*padding: 32px;*/
}
.single-program #connect-with-us-modal .modal-content .modal-title {
	/*padding: 0 32px 32px 0;
	border-bottom: 1px solid #b7b7b7;
	color: #232B31;
	font-size: 32px !important;
	font-style: normal;
	font-weight: 500;
	line-height: 40px !important;
	letter-spacing: 0.16px;
	position: relative;
	margin-bottom: 0;*/
}
.single-program #connect-with-us-modal .modal-content .modal-close {
	/*top: 32px;
	right: 32px;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	font-size: 40px;
	z-index: 1;
	color: #000000 !important;*/
}
.single-program #connect-with-us-modal .modal-content .form-sec {
	padding: 32px 0 0 0;
}
.single-program #connect-with-us-modal .modal-content .consent-text {
	display: flex !important;
	flex-wrap: wrap;
	gap: 32px !important;
	padding: 24px 0 0 0;
	color: #0b0c0c;
	border-top: 1px solid #b7b7b7;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .success-msg-wrap {
    margin-top: 32px;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .success-msg-wrap .msg-box {
    border-radius: 0;
    border: 1px solid #498406;
    background: rgba(73, 132, 6, 0.16);
    padding: 16px;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .success-msg-wrap p {
    color: #232B31;
    font-size: 16px !important;
    line-height: 24px !important;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .modal-action-links {
    margin-top: 32px;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .modal-action-links .download-prospectus-link {
    margin-bottom: 32px;
    color: #1E1248 !important;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .modal-action-links .download-prospectus-link span {
    gap: 8px;
    display: flex;
    align-items: center;
    color: #1E1248;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .modal-action-links .download-prospectus-link:hover span {
    text-decoration: underline;
}
.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .modal-action-links #lead-form-new-signin-link {
    text-align: center;
}

@media (max-width: 768px) {
	.single-program #connect-with-us-modal .modal-content {
		padding: 16px;
	}
	.single-program #connect-with-us-modal .modal-content .modal-title {
		padding: 0 20px 16px 0;
		font-size: 24px !important;
		line-height: 32px !important;
	}
	.single-program #connect-with-us-modal .modal-content .form-sec {
		padding: 16px 0 0 0;
	}
	.single-program #connect-with-us-modal .modal-content .modal-close {
		top: 16px;
		right: 16px;
	}
	.single-program #connect-with-us-modal .modal-content .consent-text {
		padding: 16px 0;
	}
	.single-program #connect-with-us-modal .modal-content .form-sec .cta-submit {
		margin-top: 0;
	}
	.single-program #connect-with-us-modal .modal-content .lead-form-thankyou-injected .success-msg-wrap {
		margin-top: 16px;
	}	
}


/* */
.form-sec {
	padding: 32px;
}


.rb-block-container.lp-banner-form-cont {
	padding: 0 !important;
}
.rb-block-container.plp-banner-form-cont {
	padding: 0 !important;
}
.marketing-popup-form {
	padding: 0 !important;
}

/* Form Heading */
body .lp-banner-form-head {
	border-bottom: 1px solid #DBDBD3 !important;
	padding: 32px !important;
	margin: 0 !important;
	color: #232B31 !important;
	font-size: 25.63px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 37.5px !important;
}


/* Field */
.form-sec .field {
	margin-bottom: 16px !important;
}
.form-sec .field label {
	color: #232B31 !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: normal !important;
	margin-bottom: 8px !important;
	display: block !important;
}


/* Form consent-text */
.consent-copy {
	color: #232B31;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
	margin-top: 0 !important;
}
.policy-icon {
	display: none !important;
}


/* Form Submit Button */
.cta-submit {
	padding: 32px;
	border-top: 1px solid #DBDBD3;
}

/* City Field */
.city-dropdown {
	padding: 0;
	z-index: 9;
}


/* General */
.d-flex {
  display: flex;
}
.align-items-start {
  align-items: start;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.marketing-popup-wrapp {
	gap: 0;
}
.marketing-popup-form {
	width: 100%;
}
.marketing-popup-form header {
	padding: 32px !important;
	margin: 0 !important;
	border-bottom: 1px solid #DBDBD3;
}
.marketing-popup-form header #modalTitle {
	padding: 0;
	margin: 0;
	color: #232B31;
	font-size: 25.63px;
	font-style: normal;
	font-weight: 700;
	line-height: 37.5px;
}

/* Homepage Lead Form*/
.home-form-sec.form-sec {
	padding: 0;
}
.consent-text-inner {
	display: flex;
	gap: 32px;
	border-top: 1px solid #BDBDBD;
	padding-top: 32px;
	margin-top: 16px;
}
.consent-text-inner .cta-submit {
	padding: 0;
	border: 0;
}

.modal-content header {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 32px !important;
	margin: 0 !important;
	border-bottom: 1px solid #DBDBD3;
	width: 100%;
}
.modal-content header .modal-title {
	padding: 0 !important;
	border: 0 !important;
}
.modal-content header .modal-close {
	width: auto;
	padding: 0;
}

@media (max-width: 768px) {
.modal-content header {
	padding: 16px !important;
}	
.form-sec {
	padding: 16px;
}
body .lp-banner-form-head {
	padding: 16px !important;
	font-size: 23px !important;
	line-height: 34.6px !important;
}
.cta-submit {
	padding: 16px;
}
.cta-submit .rb-button {
	width: 100%;
	text-align: center;
}

.modal-action-links .rb-button {
	width: 100%;
	justify-content: center;
}
.marketing-popup-form header {
	padding: 16px !important;
}
.marketing-popup-form header #modalTitle {
	font-size: 23px;
	line-height: 34.6px;
}
.marketing-popup-form {
	width: 100%;
}

.consent-text-inner {
	border: 0;
	padding: 0;
	margin: 0;
	flex-direction: column;
}
}


.form-sec .field .phone-wrapper {
	border: 0 !important;
	display: block;
	padding: 0;
	position: relative;
	margin: 0;
	color: #333f47;
}
.form-sec .field .phone-wrapper .phone-prefix {
	top: 0;
	position: absolute;
	z-index: 1;
	padding: 0;
	display: block;
	width: 70px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	margin: 0;
	left: 0;
	border-right: 1px solid #8d9695;
}
.register-form .form-sec .field .phone-wrapper input[type="text"] {
	padding-left: 84px !important;
	border: 1px solid #8d9695 !important;
}
.rb-block-container .register-form .form-sec .field .phone-wrapper input[type="text"] {
	padding-left: 84px !important;
	border: 1px solid #8d9695 !important;
}
.city-field input::placeholder, .city-field input:-ms-input-placeholder, .city-field input::-moz-placeholder, .city-field input::-webkit-input-placeholder {
	color: #333f47;
	opacity: 1;
}

#sharedProgramModal {
	margin-top: auto !important;
	margin-bottom: auto !important;
	max-width: calc(100% - 1rem);
	max-height: calc(100vh - 1rem);
}
#sharedFormContainer > * {
	margin-top: 0 !important;
}

#connect-with-us-modal {
	width: calc(768px - 1rem);
}
#connect-with-us-modal::backdrop {
	background-color: #212a3080;
}
#sharedProgramModal.sharedmodal--sf-thankyou {
	width: calc(768px - 1rem);
}