/*
	Additions specific to beerguideapps.com, loaded after main.css.

	main.css comes from the shared design and is replaced wholesale whenever the
	design is updated, so production-only rules live here to survive that sync.
*/

/* main.css styles text, password and search inputs but not the newer types. */
input[type="email"],
input[type="tel"],
input[type="url"] {
	border: 1px solid #c1c1b2;
	background-color: #fff;
	vertical-align: top;
	outline: none;
}

/* main.css only dresses anchors as buttons, so a real submit needs the same coat. */
button.button {
	margin: 5px 10px 5px 0;
	padding: 8px 16px;
	width: auto;
	display: inline-block;
	font-family: "espiritu", georgia, serif;
	font-size: 100%;
	text-align: center;
	color: #fff;
	background-color: #699074;
	border: 1px solid #699074;
	border-radius: 50px;
	cursor: pointer;
}

button.button:hover {
	background-color: #2a4338;
	border-color: #2a4338;
}

button.button:active {
	background-color: #426653;
	border-color: #426653;
}

/* main.css only has the error flavour of .alert. */
.alert-success {
	color: #2a4338;
	background-color: #dceadf;
}

/* Spam trap: a field only an automated submitter will fill in. */
.no-robots {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field-error {
	margin: 0 0 .8em 0;
	font-size: 90%;
	color: #c00;
}

.form-narrow {
	max-width: 34em;
	margin: 0 auto;
	text-align: left;
}

/* main.css sizes inputs at 98% and textareas at 100%, which reads as a wobble
   once they are stacked in a narrow column. */
.form-narrow input,
.form-narrow textarea {
	box-sizing: border-box;
	width: 100%;
}
