/*
 * Tirsan Forms - glue between Contact Form 7's markup and the WPForms 1.7.1 look.
 * Loaded after vendor/wpforms-full.min.css. Every rule is scoped to
 * .tk-form-container so the career forms (plain CF7) are untouched.
 */

/* CF7 wraps each control in a span. WPForms has no such wrapper and its CSS sizes
   the controls against the field block, so the span must not take part in layout.
   The theme gives the wrap display:block and a 20px bottom margin; this outranks it. */
.tk-form-container .wpforms-form .wpcf7-form-control-wrap {
	display: contents;
	margin: 0;
}

/* Errors are drawn WPForms-style (label.wpforms-error) by tk-forms.js; CF7's own
   tips, its response box and its spinner must never show. */
.tk-form-container .wpcf7-not-valid-tip,
.tk-form-container .wpcf7-response-output,
.tk-form-container .wpcf7-spinner {
	display: none !important;
}

/* CF7 puts its hidden inputs in a fieldset; keep it from adding a border or space. */
.tk-form-container .hidden-fields-container {
	display: none;
}

.tk-form-container .tk-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
