/*
 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
 * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
 */
%formvalid-error {
	display: inline-block;
	width: 100%;
}

%formvalid-error-label {
	font-size: 100%;
	white-space: normal;
}

.wb-server-error {
	display: block !important;
	font-size: 100% !important;
	text-align: left !important;
	white-space: normal !important;
}

.css-implicite-input {
	font-weight: 400;
	margin-top: 5px;
}

.wb-frmvld,
.wb-frm {
	label {
		strong {
			&.error {
				@extend %formvalid-error;

				.label {
					@extend %formvalid-error-label;
				}
			}
		}
	}

	legend {
		.error {
			@extend %formvalid-error;

			.label {
				@extend %formvalid-error-label;
			}
		}
	}
}
