/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


input:focus,textarea:focus{
	color:#000 !important;
}

button.elementor-button.elementor-size-sm.e-form__buttons__wrapper__button.e-form__buttons__wrapper__button-previous {
    max-width: max-content;
}

.elementor-field-group.e-form__buttons__wrapper.elementor-field-type-previous {
    position: relative;
    z-index: 111;
}

label#zip-match-label {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: -25px;
}

label#zip-match-label {
    line-height: normal;
}

#elementor-popup-modal-326 .dialog-widget-content .Logo_Black {display:none;
}
#elementor-popup-modal-326 .dialog-widget-content .two_elementor_element.Logo_Black {display:block;
}
#elementor-popup-modal-326 .dialog-widget-content .two_elementor_element.Logo_White {display:none;
}


.mainBannerWrapper {
    display: none !important;
}

/* Success message */
.elementor-message.elementor-message-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    margin-bottom: 20px !important;
    font-size: 1.2rem !important;
}

/* Error message */
.elementor-message.elementor-message-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    margin-bottom: 20px !important;
    font-size: 1.2rem  !important;
}


/* ==========================================================================
   Practice Enrollment form (Gravity Form ID 4, page "Enroll Now")
   ========================================================================== */
.th-enroll-form,
.th-enroll-form input,
.th-enroll-form select,
.th-enroll-form textarea,
.th-enroll-form button {
	font-family: "Poppins", sans-serif !important;
}
.th-enroll-form .gform_fields {
	row-gap: 22px !important;
}
.th-enroll-form .gfield_label,
.th-enroll-form legend.gfield_label {
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	margin-bottom: 10px !important;
}
.th-enroll-form .gfield_required,
.th-enroll-form .gfield_required_asterisk {
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding-left: 2px !important;
}
.th-enroll-form .gfield_description,
.th-enroll-form .gform-field-label--type-sub {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 13px !important;
}

/* Section headings: Practice Information, Primary Contact, Contact 2 ... */
.th-enroll-form .gsection {
	border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
	padding: 18px 0 8px !important;
	margin-top: 6px;
}
.th-enroll-form .gsection_title {
	color: #fff !important;
	font-size: 44px !important;
	font-weight: 600 !important;
	margin: 0 !important;
}
.th-enroll-form .th-affiliate-title {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin: 6px 0 -8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Inputs */
.th-enroll-form input[type="text"],
.th-enroll-form input[type="email"],
.th-enroll-form input[type="tel"],
.th-enroll-form select {
	font-size: 14px !important;
	color: #000 !important;
}

/* Radio & checkbox choices */
.th-enroll-form .gchoice label,
.th-enroll-form .gfield-choice-input + label {
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}
.th-enroll-form .gfield_radio,
.th-enroll-form .gfield_checkbox {
	row-gap: 10px !important;
}
.th-enroll-form .gchoice_other_control,
.th-enroll-form input[id^="input_4_"][id$="_other"] {
	max-width: 340px;
	margin-top: 8px !important;
}

/* Short answers (Yes/No, 1/2/3) side by side */
.th-enroll-form .th-inline .gfield_radio {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 12px 34px !important;
}

/* Staff count: pill buttons */
.th-enroll-form .th-staff-count .gfield_radio {
	gap: 12px !important;
}
.th-enroll-form .th-staff-count .gchoice {
	position: relative;
}
.th-enroll-form .th-staff-count .gfield-choice-input {
	position: absolute !important;
	opacity: 0;
	inset: 0;
	margin: 0 !important;
	cursor: pointer;
}
.th-enroll-form .th-staff-count .gchoice label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 10px 22px !important;
	margin: 0 !important;
	border: 2px solid #fff;
	border-radius: 10px;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.th-enroll-form .th-staff-count .gfield-choice-input:checked + label {
	background: #fff;
	color: #8c2f4b !important;
}
.th-enroll-form .th-staff-count .gfield-choice-input:focus-visible + label {
	outline: 2px dashed #fff;
	outline-offset: 3px;
}

/* Buttons */
.th-enroll-form .gform_page_footer,
.th-enroll-form .gform_footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px !important;
	padding-top: 20px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.45);
}
.th-enroll-form .gform_button,
.th-enroll-form .gform_next_button,
.th-enroll-form .gform_previous_button {
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 12px 34px !important;
	border-radius: 10px !important;
	border: 2px solid #fff !important;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.th-enroll-form .gform_button,
.th-enroll-form .gform_next_button {
	background: #fff !important;
	color: #8c2f4b !important;
}
.th-enroll-form .gform_previous_button {
	background: transparent !important;
	color: #fff !important;
	margin-right: auto !important;
}
.th-enroll-form .gform_button:hover,
.th-enroll-form .gform_next_button:hover {
	background: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}
.th-enroll-form .gform_previous_button:hover {
	background: #fff !important;
	color: #8c2f4b !important;
}

/* Validation */
.th-enroll-form .gfield_validation_message,
.th-enroll-form .validation_message {
	background: #fff !important;
	color: #8c2f4b !important;
	border: 0 !important;
	border-radius: 6px;
	padding: 6px 12px !important;
	font-size: 13px !important;
	font-weight: 600;
}
.gform_wrapper.th-enroll-form_wrapper .gform_validation_errors {
	background: #fff !important;
	border-radius: 10px !important;
}

/* Confirmation */
.gform_confirmation_wrapper .th-enroll-thanks {
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 30px;
	font-weight: 600;
	margin: 0 0 10px;
	text-align: center;
}
.gform_confirmation_wrapper .th-enroll-thanks + p {
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	text-align: center;
	margin: 0;
}

@media (max-width: 640px) {
	.th-enroll-form .gsection_title { font-size: 20px !important; }
	.th-enroll-form .gform_page_footer .gform_next_button,
	.th-enroll-form .gform_footer .gform_button { flex: 1; }
}

/* Practice Enrollment: required-fields note on the red card */
.th-enroll-form_wrapper .gform_required_legend {
	color: #fff !important;
	font-size: 14px;
	margin-bottom: 15px;
}

/* Legal pages (Terms, Privacy): indent sub-sections under their section heading */
.elementor .e-con.th-legal-sub > .e-con-inner {
	padding-left: 40px;
}
@media (max-width: 767px) {
	.elementor .e-con.th-legal-sub > .e-con-inner {
		padding-left: 20px;
	}
}

/* Home page "Enroll Now" first step ([th_enroll_start]) - matches the red card styling */
.th-enroll-start { font-family: "Poppins", sans-serif; color: #fff; }
.th-enroll-start h3 { color: #fff; text-align: center; font-family: "Poppins", sans-serif; font-size: 48px; font-weight: 600; margin: 0 0 20px; }
.th-enroll-start fieldset { border: 0; margin: 0; padding: 0; }
.th-enroll-start legend { font-size: 20px; font-weight: 600; line-height: 30px; color: #fff; margin-bottom: 10px; padding: 0; }
.th-enroll-start .th-req { font-size: 18px; }
.th-enroll-start .th-option { display: flex; align-items: center; gap: 10px; font-size: 1rem; line-height: 30px; color: #fff; cursor: pointer; margin: 2px 0; }
.th-enroll-start .th-option input { width: 18px; height: 18px; margin: 0; accent-color: #fff; flex: 0 0 auto; }
.th-enroll-start .th-other { margin-top: 12px; }
.th-enroll-start .th-other label { display: block; font-weight: 600; margin-bottom: 6px; color: #fff; }
.th-enroll-start .th-other input { width: 100%; background: #fff; color: #000; border: 0; border-radius: 8px; padding: 12px 15px; font-family: inherit; }
.th-enroll-start .th-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.th-enroll-start button { font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 500; line-height: 28px; border: 0; border-radius: 10px; padding: 14px 50px; background: #fff; color: #8c2f4b; cursor: pointer; }
.th-enroll-start button:hover, .th-enroll-start button:focus { background: #000; color: #fff; }
@media (max-width: 767px) {
	.th-enroll-start h3 { font-size: 26px; }
	.th-enroll-start .th-actions { justify-content: center; }
	.th-enroll-start button { width: 100%; }
}

/* ==========================================================================
   Locations section above the footer ([th_locations]) - from the brochure back side
   ========================================================================== */
.th-locations { --din: #8c2f4b; --din-dark: #6d1f36; font-family: "Poppins", sans-serif; background: #fff; color: #22252b; }
.th-locations__inner { max-width: 1200px; margin: 0 auto; padding: 60px 20px 50px; }
.th-locations h1 { font-family: "Poppins", sans-serif; font-size: 38px; font-weight: 700; line-height: 1.2; color: #22252b; margin: 0 0 8px; }
.th-locations__intro { font-size: 17px; color: #666; margin: 0 0 30px; }
.th-locations__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.th-location { background: #f6f1f3; border-radius: 6px; padding: 22px 18px 26px; }
.th-location__num { display: block; font-size: 40px; font-weight: 700; line-height: 1; color: var(--din); margin-bottom: 14px; }
.th-location h3 { font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #22252b; margin: 0 0 10px; }
.th-location address { font-style: normal; font-size: 14px; font-weight: 600; line-height: 1.6; margin: 0 0 8px; }
.th-location__map { display: inline-block; font-size: 13px; font-weight: 600; color: var(--din) !important; text-decoration: underline; margin-bottom: 18px; }
.th-location h4 { font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--din); margin: 0 0 8px; }
.th-location ul { list-style: none; margin: 0; padding: 0; }
.th-location li { position: relative; padding-left: 14px; font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.th-location li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; background: var(--din); }
.th-contact-bar { background: linear-gradient(90deg, var(--din-dark), #b4003a 50%, var(--din-dark)); color: #fff; }
.th-contact-bar__inner { max-width: 1240px; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; }
.th-contact-bar__person strong { display: block; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.th-contact-bar__person span { font-size: 15px; }
.th-contact-bar__item { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-size: 15px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-decoration: none; }
.th-contact-bar a.th-contact-bar__item:hover { text-decoration: underline; }
.th-contact-bar .th-ico { font-size: 20px; line-height: 1; font-family: "Segoe UI Symbol", "DejaVu Sans", sans-serif; }
@media (max-width: 1024px) {
	.th-locations__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.th-locations h1 { font-size: 32px; }
}
@media (max-width: 767px) {
	.th-locations__inner { padding: 40px 16px 36px; }
	.th-locations h1 { font-size: 26px; }
	.th-locations__grid { grid-template-columns: 1fr; }
	.th-contact-bar__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Brand gradient (DIN burgundy) - replaces the old solid red backgrounds.
   Classes are added to Elementor containers/buttons that used the red colour.
   ========================================================================== */
:root {
	--din-burgundy: #8c2f4b;
	--din-gradient: linear-gradient(90deg, #6d1f36 0%, #b4003a 50%, #6d1f36 100%);
}
.th-brand-gradient {
	background-image: var(--din-gradient) !important;
}
.th-brand-gradient-btn .elementor-button,
.th-brand-gradient-btn button[type="submit"],
.th-brand-gradient-btn .e-form__buttons__wrapper__button,
.th-brand-gradient-btn .elementor-button-link {
	background-image: var(--din-gradient) !important;
	border-color: transparent;
}
.th-brand-gradient-btn .elementor-button:hover,
.th-brand-gradient-btn button[type="submit"]:hover {
	background-image: none !important;
}



span.gform-field-label__text {
    font-size: 20px;
}
