/* DentiMax Gravity Forms styles. Loaded only on frontend singular content with Gravity Forms usage. */
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=url],
.gform_wrapper input[type=password],
.gform_wrapper input[type=search],
.gform_wrapper input[type=number],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=range],
.gform_wrapper input[type=date],
.gform_wrapper input[type=month],
.gform_wrapper input[type=week],
.gform_wrapper input[type=time],
.gform_wrapper input[type=datetime],
.gform_wrapper input[type=datetime-local],
.gform_wrapper input[type=color],
.gform_wrapper textarea,
.gform_wrapper .ginput_complex input,
.gform_wrapper select {
    color: #626262;
    background: #fff;
}

.gform_wrapper input[type=text]:focus,
.gform_wrapper input[type=email]:focus,
.gform_wrapper input[type=url]:focus,
.gform_wrapper input[type=password]:focus,
.gform_wrapper input[type=search]:focus,
.gform_wrapper input[type=number]:focus,
.gform_wrapper input[type=tel]:focus,
.gform_wrapper input[type=range]:focus,
.gform_wrapper input[type=date]:focus,
.gform_wrapper input[type=month]:focus,
.gform_wrapper input[type=week]:focus,
.gform_wrapper input[type=time]:focus,
.gform_wrapper input[type=datetime]:focus,
.gform_wrapper input[type=datetime-local]:focus,
.gform_wrapper input[type=color]:focus,
.gform_wrapper textarea:focus,
.gform_wrapper .ginput_complex input:focus,
.gform_wrapper select:focus {
    color: #1982c2;
}

.dmax-dream-benefits-form .gform_wrapper {
    margin-top: 0;
}

.survey_wrapper {
    background-color: #061d2e;
    padding: 20px;
    color: white;
    filter: drop-shadow(0 0 10px black);
    border-radius: 10px;
}

.dmax-dream-benefits-form {
    margin: 0;
}

@media (max-width: 47.9375em) {
    .survey_wrapper {
        border-radius: 0;
        /* margin: 0 calc(-1 * var(--global-content-edge-padding, 15px) - 14px); */
        /* margin: 0 calc(-1 * var(--global-content-edge-padding, 15px) - 0px); */
        margin: 0 calc(-1 * var(--global-content-edge-padding, 15px) + 10px);
    }
}
.kb-row-layout-idoshero .survey_wrapper,
.kb-row-layout-iddishero .survey_wrapper {
    background-color: unset;
}

.survey_wrapper .gform_title {
    color: white !important;
}

.gform_title {
    /* color: white !important; */
}

.gform_required_legend {
    display: none;
}



/* ── Contact Us page (Gravity Forms on dark bg) ────────────── */
/* Contact page only: mimic dmax-row rhythm without adding the dmax-row utility to the custom hero. */
.kb-row-layout-idcontacthero.dmax-contact-section > .kt-row-column-wrap {
    padding-top: clamp(120px, 12vw, 170px);
    padding-bottom: clamp(45px, 4vw, 90px);
}

.dmax-contact-section .gform_wrapper {
    max-width: 100%;
}

.dmax-contact-section .gform_wrapper .gform_heading {
    color: #fff;
}

.dmax-contact-section .gform_wrapper .gform_heading .gform_title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.dmax-contact-section .gform_wrapper .gform_heading .gform_description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.dmax-contact-section .gform_wrapper label.gfield_label,
.dmax-contact-section .gform_wrapper .gfield_label {
    color: #fff !important;
    font-weight: 600;
}

.dmax-contact-section .gform_wrapper .gfield_required {
    color: var(--dmax-sky);
}

.dmax-contact-section .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.dmax-contact-section .gform_wrapper select,
.dmax-contact-section .gform_wrapper textarea {
    /* background: #fff; */
        /* border: none; */
        /* border-radius: 18px; */
        /* padding: 10px 16px; */
        /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15); */
}

.dmax-contact-section .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.dmax-contact-section .gform_wrapper select:focus,
.dmax-contact-section .gform_wrapper textarea:focus {
    --gf-local-outline-color: var(--dmax-sky);
    --gf-local-outline-style: solid;
    --gf-local-outline-width: 2px;
    --gf-local-outline-offset: 1px;
    outline-color: var(--dmax-sky);
        outline-style: solid;
        outline-width: 2px;
        outline-offset: 1px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.dmax-contact-section .gform_wrapper .gform_footer {
    padding: 0;
}

.dmax-contact-section .gform_wrapper .gform_button,
.dmax-contact-section .gform_wrapper .gform_button.button {
    background: var(--dmax-blue);
    color: #fff;
    border: none;
    /* border-radius: 18px; */
    padding: 12px 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.dmax-contact-section .gform_wrapper .gform_button:focus-visible {
    --gf-local-outline-color: #fff;
    --gf-local-outline-style: solid;
    --gf-local-outline-width: 2px;
    --gf-local-outline-offset: 2px;
    outline-color: #fff;
        outline-style: solid;
        outline-width: 2px;
        outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(60, 188, 230, 0.4);
}

.dmax-contact-section .gform_wrapper .gform_button:hover {
    background: var(--global-palette2, #084785);
}

.dmax-contact-section .gform_wrapper .gfield_checkbox label,
.dmax-contact-section .gform_wrapper .gfield_radio label {
    color: #fff;
    font-weight: 400;
}

.dmax-contact-section .gform_wrapper .gfield_description {
    color: rgba(255, 255, 255, 0.7);
}

.dmax-contact-section .gform_required_legend {
    display: none;
}

.dmax-contact-form-desc a,
.dmax-contact-privacy a {
    color: var(--dmax-sky);
}

.dmax-contact-form-desc a:hover,
.dmax-contact-privacy a:hover {
    text-decoration: underline;
}
