/*
 * Gravity Forms won't go to another page from a button with display: none, so the buttons are taken out of view instead.
 * visibility also keeps them out of the tab order and away from screen readers.
 */
.gform_page.alphagf_autostep_page_hide_next .gform_page_footer .gform_next_button,
.gform_page.alphagf_autostep_page_hide_previous .gform_page_footer .gform_previous_button {
    visibility: hidden !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
