/* Front-end contact form. Deliberately plain so it inherits the active theme's
   typography instead of fighting it. */

.hps-contact {
	max-width: 640px;
	margin: 0 0 2em;
}

.hps-contact-title {
	margin: 0 0 .6em;
}

/* Belt and braces: the decoy field also carries an inline offset, so it stays
   hidden if this stylesheet never loads. */
.hps-contact-decoy {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.hps-contact-notice {
	padding: .75em 1em;
	margin: 0 0 1.25em;
	border-left: 4px solid #2a78d6;
	background: rgba(42, 120, 214, .07);
}

.hps-contact-ok {
	border-left-color: #0ca30c;
	background: rgba(12, 163, 12, .07);
}

.hps-contact-error {
	border-left-color: #d03b3b;
	background: rgba(208, 59, 59, .07);
}

.hps-contact-field {
	margin: 0 0 1em;
}

.hps-contact-field label {
	display: block;
	margin-bottom: .3em;
	font-weight: 600;
}

.hps-contact-field input,
.hps-contact-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .5em .6em;
	font: inherit;
	border: 1px solid #c3c2b7;
	border-radius: 3px;
	background: #fff;
	color: #0b0b0b;
}

.hps-contact-field input:focus,
.hps-contact-field textarea:focus {
	border-color: #2a78d6;
	outline: 2px solid rgba(42, 120, 214, .35);
	outline-offset: 0;
}

.hps-contact-field textarea {
	resize: vertical;
	min-height: 9em;
}

.hps-contact .hps-required {
	color: #d03b3b;
}

.hps-contact-submit button {
	font: inherit;
	padding: .6em 1.4em;
	border: 0;
	border-radius: 3px;
	background: #2a78d6;
	color: #fff;
	cursor: pointer;
}

.hps-contact-submit button:hover,
.hps-contact-submit button:focus {
	background: #1c5cab;
}
