/* Front end faq form styles. */

fieldset .faq-submission-wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-bottom: 15px;
}

fieldset .faq-submission-wrap:last-of-type {
	padding-bottom: 0;
}

.faq-submission-form fieldset {
	padding: 1em;
}

.faq-submission-wrap label {
	flex: 1 0 120px;
	max-width: 220px;
}

.faq-submission-wrap label + * {
	flex: 1 0 220px;
}

.faq-submission-wrap label:hover {
	cursor: pointer;
}

#faq-submission-current-elements {
	display: none;
	padding-bottom: 30px;
}

#faq-submission-error-wrap {
	display: block;
	padding: 0;
}

#wpgo-faq-submission-form sup {
	font-size: 1.5em;
	top: 0.2em;
}

.faq-submission-buttons input,
.faq-submission-buttons span {
	font-size: 12px;
	line-height: 12px;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

.faq-submission-buttons input {
	padding: 12px 16px;
}

.faq-submission-form textarea {
	resize: vertical;
}

#wpgo-faq-submission-form input,
#wpgo-faq-submission-form textarea {

	/*box-sizing: initial;*/
	max-width: 100%;
	width: 100%;
	margin-bottom: 0;
}

.faq-form-errors .error,
.faq-success .success {
	margin: 0.5em auto;
	padding: 0.3em 1em;
	font-weight: 500;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 0.8em;
	display: flex;
}

.faq-form-errors .error {
	align-items: center;
	color: #f00;
	background-color: mistyrose;
}

.faq-success .success {
	display: inline-block;
	color: #379337;
	background-color: lightgreen;
}

.error-icon,
.success-icon {
	width: 1em;
	margin-right: 5px;
}

.success-icon {
	display: inline-block;
	vertical-align: text-top;
	margin-bottom: -2px;
	margin-right: 2px;
}

hr#faq-entry-separator {
	margin: 0.75em auto;
	opacity: 0.25;
}

.faq-submission-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	grid-gap: 1em;
}

.faq-submission-buttons span {
	font-style: italic;
	width: 100%;
	text-align: right;
}

.faq-message {
	margin: 15px auto;
}

.hide-submission-form {
	display: none;
}

.wpgo-toggle-faq-submit-form {
	display: inherit;
	margin: 25px auto 10px;
}
