.bricks-is-frontend .hf-form-modal-wrapper {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Black with 40% opacity */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}


.hf-form-modal {
    background: white;
    padding: 58px;
    border-radius: 30px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    position: relative;
    text-align: center;
}

.hf-form-modal-inner {
    overflow-y: auto;
    max-height: 75vh;
}

.hf-form-modal h2 {
    color: #000;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: left;
}

.close_form_modal {
    position: absolute;
    top: 27px;
    right: 35px;
    font-size: 24px;
    cursor: pointer;
}

.hf-form-modal-wrapper .container.black {
    background: #000;
}

.hf-form-modal-wrapper .container.darkgray {
    background: #1a1a1a;
}

.hf-form-modal-wrapper:has(.container.white),
.hf-form-modal-wrapper .container.white {
    background: #fff;
}

.hf-form-modal-wrapper .container.whitegradient {
    background: var(--white-gradient);
}

.hf-form-modal-wrapper .container.gradient {
    background: var(--main-gradient);
}

.hf-form-modal-wrapper .container.gradientflip {
    background: var(--main-gradient-flipped);
}

.hf-form-modal-wrapper .container.bluegradient {
    background: var(--blue-gradient);
}

.hf-form-modal-wrapper .container.purplegradient {
    background: var(--purple-gradient);
}

.hf-form-modal-wrapper .container.pinkgradient {
    background: var(--pink-gradient);
}

/* .hf-form-modal-wrapper .hf-form-modal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
} */

.hf-form-modal-wrapper .hf-form-modal .hf-form {}

.hf-form-modal-wrapper .hf-form-modal .hs-dependent-field {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hf-form-modal-wrapper .form-columns-1:has(.hs-dependent-field),
.hf-form-modal-wrapper .form-columns-1:has(.hs-existing_ccta_program),
.hf-form-modal-wrapper .form-columns-1:has(.hs-fieldtype-textarea),
.hf-form-modal-wrapper .form-columns-1 {
    width: 100%;
    max-width: 100%;
}

.hf-form-modal-wrapper .hf-form-modal .hs_medical_provider {
    width: 100%;
}

.hf-form-modal-wrapper .hf-form-modal .hs-dependent-field .hs-fieldtype-select {
    width: 49%;
}

.hf-form-modal-wrapper .hf-form-modal .hs-button {
    padding-top: 13px;
    padding-bottom: 13px;
}

.hf-form-modal-wrapper .hf-form-modal input[type="checkbox"]:checked {
    border-color: #fff;
}


.hf-form-modal-wrapper a {
    /* color: #0075DB;
    text-decoration: underline;
    transition: all 0.6s; */
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #C0F;
    transition: 0.2s;
}

.hf-form-modal-wrapper a:hover {
    /* color: #4C3BC4;
    text-decoration: underline;
    text-decoration-thickness: 2px; */
    color: #333;
    border-bottom: 2px solid #666;
    transition: 0.2s;
}

	.hf-form-modal-inner .white {
		margin: 4px !important;
	}

@media (max-width: 991px) {}

/* HS form styling  */
fieldset .hs-input {
    width: 100% !important;
    text-align: left;
}

.hf-form-modal-wrapper form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hf-form-modal-wrapper .hs-form-booleancheckbox-display span {
    width: 100%;
    ;
}

.hf-form-modal-wrapper .hs_error_rollup {
    width: 100%;
}

.hf-form-modal-wrapper .hs-error-msgs {
    width: 100%;
    padding-left: 0;
}

.hf-form-modal-wrapper .hs-error-msgs li:before {
    display: none;
}

.hf-form-modal-wrapper .submitted-message {
    color: #000 !important;
}

.hf-form-modal-wrapper fieldset {
    padding: 0;
    border: 0;
    margin-bottom: 20px;
    /* width: 49%; */
}

.hf-form-modal-wrapper fieldset:has(.hs-fieldtype-radio),
.hf-form-modal-wrapper fieldset:has(.hs-fieldtype-booleancheckbox),
.hf-form-modal-wrapper fieldset:has(.hs-fieldtype-textarea) {
    width: 100%;
}

.hf-form-modal-wrapper fieldset .input,
.hf-form-modal-wrapper .input {
    padding: 0;
    border: 0;
    margin: 0;
    line-height: normal;
}

.hf-form-modal-wrapper fieldset.form-columns-2 {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


.hf-form-modal-wrapper fieldset:has(.hs-fieldtype-radio) .inputs-list {
    margin-left: 15px
}

.hs-error-msgs {
    display: none;
}

.hf-form-modal-wrapper fieldset .input ul,
.hf-form-modal-wrapper .input ul {
    padding: 0;
    display: flex;
    gap: 20px;

}

.hf-form-modal-wrapper fieldset .input ul li:before,
.hf-form-modal-wrapper .input ul li:before {
    content: '';
    display: none;
}

.hf-form-modal-wrapper .hs-fieldtype-radio {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hf-form-modal-wrapper .hs-fieldtype-radio label {
    width: 100%;
    text-align: left;
}

.hf-form-modal-wrapper input[type="radio"],
.hf-form-modal-wrapper input[type="checkbox"] {
    width: 20px !important;
}

@media (max-width: 767px) {

    .hf-form-modal-wrapper form,
    .hf-form-modal-wrapper .hs-dependent-field {
        flex-wrap: wrap;
    }

    .hf-form-modal-wrapper fieldset,
    .hf-form-modal-wrapper .hf-form-modal .hs-dependent-field .hs-fieldtype-select {
        width: 100%;
    }

    .hf-form-modal-wrapper .hf-form-modal .hf-sidebar {
        padding: 40px;
    }

    .hf-form-modal-wrapper fieldset.form-columns-2 {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hf-form-modal-wrapper fieldset.form-columns-2 .hs-form-field {
        width: 100% !important;
    }
}

@media (max-width: 477px) {
    .hf-form-modal-wrapper .hf-form-modal .hf-sidebar {
        padding: 20px;
    }
}

.page-id-317479 .hf-form-modal-inner .subheading {
    line-height: 140% !important;
}

@media (max-width: 477px) {
    .page-id-317479 .hf-form-modal-inner .subheading {
        max-width: 240px !important;
        margin-top: 12px !important;
    }
}