/*
 * WPForms renders without its own CSS (WPForms > Settings > Disable CSS). These rules make its markup
 * behave like the legacy Bootstrap form in pages/contact.php.
 */
.wpforms-container .wpforms-field-hp,
.wpforms-container .wpforms-hidden,
.wpforms-container noscript.wpforms-error-noscript {
	display: none !important;
}
.wpforms-container .wpforms-label-hide,
.wpforms-container .wpforms-screen-reader-element {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}
/* Legacy had no inline messages: the Bootstrap validator highlights fields and alertify explains. */
.wpforms-container em.wpforms-error,
.wpforms-container label.wpforms-error {
	display: none !important;
}
.wpforms-container .wpforms-error-container {
	margin-bottom: 15px;
	color: #a94442;
}
.wpforms-container .wpforms-field-checkbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.wpforms-container .wpforms-field-checkbox li {
	position: relative;
	padding-left: 20px;
}
.wpforms-container .wpforms-field-checkbox li input[type="checkbox"] {
	position: absolute;
	margin-left: -20px;
}
/* Legacy: <label><input>text</label>; WPForms: <li><input><label>. The 20px indent lives on the li. */
.wpforms-container .wpforms-field-checkbox li label {
	padding-left: 0;
	font-weight: 400;
}
/* Legacy nested .checkbox inside .form-group: the 15px form-group margin wins over the checkbox 10px. */
.wpforms-container .wpforms-field.checkbox.form-group {
	margin-bottom: 15px;
}
.wpforms-container .wpforms-field.checkbox fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
