/* WPForms fields. The newsletter form keeps its own rules in footer.css. */

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-layout-row {
	margin: 0 0 16px !important;
	column-gap: 16px !important;
	row-gap: 16px !important;
	justify-content: flex-start !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-layout-rows > .wpforms-layout-row:last-child {
	margin-bottom: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-layout-column {
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-container > .wpforms-field,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-page > .wpforms-field {
	margin-bottom: 16px !important;
	padding-bottom: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-page > .wpforms-field.wpforms-field-html,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-container > .wpforms-field.wpforms-field-html {
	margin-bottom: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-text + .wpforms-field-html:not(.wpform-nospacing),
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-layout + .wpforms-field-html:not(.wpform-nospacing),
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpform-divider {
	margin-top: 32px !important;
	padding-top: 40px !important;
	border-top: 1px solid #fff !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-layout-column > .wpforms-field {
	margin: 0 0 16px !important;
	padding: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-layout-column > .wpforms-field:last-child {
	margin-bottom: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) input[type="text"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) input[type="email"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) input[type="tel"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) input[type="url"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) input[type="number"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) input[type="date"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) select,
.wpforms-container:not(.agribex-newsletter .wpforms-container) textarea {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0;
	padding: 0.75rem 1.25rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--agribex-green-darker) !important;
	font-size: 1rem;
	box-shadow: none !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) textarea {
	border-radius: 1.375rem !important;
	min-height: 7.5rem;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) select {
	appearance: none;
	padding-right: 2.5rem !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23256150' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 1.1rem center !important;
	background-size: 12px 8px !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) input::placeholder,
.wpforms-container:not(.agribex-newsletter .wpforms-container) textarea::placeholder {
	color: var(--agribex-green-darker) !important;
	opacity: 1 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) input:focus,
.wpforms-container:not(.agribex-newsletter .wpforms-container) select:focus,
.wpforms-container:not(.agribex-newsletter .wpforms-container) textarea:focus {
	outline: none !important;
	box-shadow: none !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) h3,
.wpforms-container:not(.agribex-newsletter .wpforms-container) p,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-label,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-label-inline,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-description,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-html,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-sublabel,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-required-label {
	color: #fff !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) h3,
.wpforms-container:not(.agribex-newsletter .wpforms-container) p {
	font-weight: 400 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-divider {
	border: 0 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-divider h3 {
	margin: 0 0 1rem !important;
	padding: 0 !important;
	color: #fff !important;
	font-weight: 400 !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-radio li label,
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-checkbox li label {
	color: #fff !important;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) {
	--wpforms-button-background-color: var(--agribex-green-darker);
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-radio input[type="radio"],
.wpforms-container:not(.agribex-newsletter .wpforms-container) .wpforms-field-checkbox input[type="checkbox"] {
	accent-color: var(--agribex-green-darker);
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) button.wpforms-page-button,
.wpforms-container:not(.agribex-newsletter .wpforms-container) button.wpforms-submit {
	width: auto !important;
	height: auto !important;
	margin: 0;
	padding: 0.75rem 1.5rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--agribex-green-darker) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
}

.wpforms-container:not(.agribex-newsletter .wpforms-container) button.wpforms-page-button:hover,
.wpforms-container:not(.agribex-newsletter .wpforms-container) button.wpforms-page-button:focus-visible,
.wpforms-container:not(.agribex-newsletter .wpforms-container) button.wpforms-submit:hover,
.wpforms-container:not(.agribex-newsletter .wpforms-container) button.wpforms-submit:focus-visible {
	background: var(--agribex-green-light) !important;
	color: #fff !important;
}
