/* ==========================================================================
   Quiz participant form - ONLY the states the dynamic form needs (errors, loading, honeypot).
   The layout / look of the form is the designer's CSS (quiz.css) and is not touched.
   ========================================================================== */

/* Honeypot: invisible to people, but not display:none so simple bots still fill it. */
.itec-qp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Field errors */
.itec-qp-error {
	margin-top: 6px;
	color: #d63638;
	font-size: 13px;
	line-height: 1.4;
}
.itec-qp-error[hidden] {
	display: none;
}
.quize-basic-form form .form-control.is-invalid {
	border-color: #d63638;
}
.quize-basic-form form .form-control.is-invalid:focus {
	border-color: #d63638;
	box-shadow: 0 0 0 1px #d63638;
}

.itec-qp-alert {
    margin-top: 18px;
    color: #d63638;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid;
    padding: 6px 10px;
    border-radius: 5px;
}
.itec-qp-alert[hidden] {
	display: none;
}

/* Sending */
.itec-qp-form.is-loading button[type="submit"] {
	opacity: .7;
	cursor: wait;
	pointer-events: none;
}
