/*
 * Darker green behind white button text. The brand green #01AA53 gives 3:1 against white, and normal-size
 * text needs 4.5:1. #067a3b gives 5.45:1 and matches --hagstrom-green-dark in page-builder.css.
 *
 * The rules below override colours stored in the database (Elementor settings, Elementor custom CSS,
 * Customizer CSS and an inline style), so the Elementor editor still shows the old green.
 */

:root {
	--hagstrom-button-green: #067a3b;
}

/* Elementor buttons take their background from the primary global colour. */
.elementor-button,
button,
input[type="submit"],
input[type="button"] {
	--e-global-color-primary: var(--hagstrom-button-green);
}

:root .main .tab-menu-link.is-active {
	border-color: var(--hagstrom-button-green);
	background-color: var(--hagstrom-button-green);
}

:root .tabs-btn {
	background-color: var(--hagstrom-button-green);
}

/* !important to beat the forms' ID selectors in the Elementor and Customizer CSS. */
.gform_wrapper .gform_footer .gform_button,
.gform_wrapper .gform_button_select_files {
	background-color: var(--hagstrom-button-green) !important;
}

.gform_wrapper .gform_footer .gform_button:hover,
.gform_wrapper .gform_button_select_files:hover {
	background-color: #242424 !important;
}

/* The Careers page "View Jobs" link has the old green as an inline style. */
a[style*="#01aa53" i] {
	background-color: var(--hagstrom-button-green) !important;
}

