.civicadvice-form-wrap {
	max-width: 640px;
	margin: 1.5em 0;
}

.civicadvice-form {
	padding: 1.5em;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.06 );
}

.civicadvice-form__title {
	margin: 0 0 0.75em;
}

.civicadvice-field {
	display: flex;
	flex-direction: column;
	margin: 0 0 1em;
}

.civicadvice-field label {
	font-weight: 600;
	margin-bottom: 0.35em;
}

.civicadvice-field input,
.civicadvice-field select,
.civicadvice-field textarea {
	width: 100%;
	padding: 0.6em 0.7em;
	border: 1px solid rgba( 0, 0, 0, 0.2 );
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
}

.civicadvice-field textarea {
	resize: vertical;
	min-height: 120px;
}

.civicadvice-actions {
	margin: 0.5em 0 0;
}

.civicadvice-submit {
	display: inline-block;
	padding: 0.7em 1.4em;
	border: 0;
	border-radius: 6px;
	background: #1a6fd4;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.civicadvice-submit:hover {
	background: #155bb0;
}

.civicadvice-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.civicadvice-form__note {
	margin: 1em 0 0;
	font-size: 0.85em;
	opacity: 0.75;
}

.civicadvice-form__message {
	margin: 0 0 1em;
	padding: 0.8em 1em;
	border-radius: 6px;
	font-size: 0.95em;
}

.civicadvice-form__message--success {
	background: #e6f4ea;
	color: #1e4620;
	border: 1px solid #b7dfc0;
}

.civicadvice-form__message--error {
	background: #fce8e6;
	color: #611a15;
	border: 1px solid #f3b8b2;
}

.civicadvice-form__message--flagged {
	background: #fff4e5;
	color: #5a3d00;
	border: 1px solid #f2d9a8;
}

/* The reader's letter shown at the top of a generated column. */
.civicadvice-question {
	border-left: 4px solid #1a6fd4;
	background: #f5f8fc;
	padding: 0.75em 1.1em;
	margin: 0 0 1.5em;
	font-style: italic;
}

.civicadvice-question cite {
	display: block;
	margin-top: 0.5em;
	font-style: normal;
	font-weight: 600;
	opacity: 0.85;
}

/* Crisis helpline box shown when a submission is flagged. */
.civicadvice-helpline-box {
	border: 1px solid #f2c9b8;
	border-left: 5px solid #d9480f;
	background: #fff6f2;
	border-radius: 8px;
	padding: 1em 1.25em;
	color: #4a1c05;
}

.civicadvice-helpline-box h3 {
	margin: 0 0 0.5em;
	color: #b5310a;
}

.civicadvice-helpline-box p {
	margin: 0 0 0.75em;
}

.civicadvice-helpline-box ul {
	margin: 0;
	padding-left: 1.25em;
}

.civicadvice-helpline-box li {
	margin-bottom: 0.5em;
}

.civicadvice-helpline-box code {
	background: rgba( 217, 72, 15, 0.12 );
	padding: 0.05em 0.4em;
	border-radius: 4px;
	font-size: 0.95em;
}

/* Honeypot: hidden from real users, visible to naive bots. */
.civicadvice-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
