/**
 * Contact Form 7 — styles alignés sur le thème Flexible
 * (palette et champs proches du formulaire de commentaires)
 */

.post-content .wpcf7 {
	max-width: 520px;
	margin-top: 1.5em;
}

.post-content .wpcf7-form > p {
	margin: 0 0 1.25em;
}

.post-content .wpcf7-form label {
	display: block;
	color: #676761;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 6px;
}

.post-content .wpcf7-form-control-wrap {
	display: block;
}

.post-content .wpcf7-form-control.wpcf7-text,
.post-content .wpcf7-form-control.wpcf7-email,
.post-content .wpcf7-form-control.wpcf7-url,
.post-content .wpcf7-form-control.wpcf7-tel,
.post-content .wpcf7-form-control.wpcf7-textarea,
.post-content .wpcf7-form-control.wpcf7-select {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 12px;
	background: #fafaf5;
	border: 1px solid #e0e0d5;
	border-radius: 0;
	color: #676761;
	font-family: 'Arimo', sans-serif;
	font-size: 14px;
	line-height: 1.4;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.post-content .wpcf7-form-control.wpcf7-textarea {
	min-height: 160px;
	resize: vertical;
}

.post-content .wpcf7-form-control:focus {
	border-color: #2d3940;
	color: #3e3e3e;
	outline: none;
}

.post-content .wpcf7-form p:last-child {
	margin-bottom: 0;
}

.post-content .wpcf7-form-control.wpcf7-submit {
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 12px 28px;
	background: #f0f0e5;
	border: 1px solid #e0e0d5;
	color: #676761;
	font-family: 'Arimo', sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.post-content .wpcf7-form-control.wpcf7-submit:hover,
.post-content .wpcf7-form-control.wpcf7-submit:focus {
	background: #676761;
	border-color: #676761;
	color: #f5f5ec;
}

.post-content .wpcf7-not-valid {
	border-color: #c33 !important;
}

.post-content .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	color: #c33;
	font-size: 12px;
	font-weight: normal;
}

.post-content .wpcf7-response-output {
	margin: 1.5em 0 0;
	padding: 12px 16px;
	border: 1px solid #e0e0d5;
	background: #fafaf5;
	color: #676761;
}

.post-content .wpcf7 form.sent .wpcf7-response-output {
	border-color: #b8d4b8;
	background: #f0f8f0;
}

.post-content .wpcf7 form.failed .wpcf7-response-output,
.post-content .wpcf7 form.invalid .wpcf7-response-output,
.post-content .wpcf7 form.spam .wpcf7-response-output {
	border-color: #e8b4b4;
	background: #fff5f5;
}

.post-content .wpcf7-spinner {
	margin: 0 0 0 8px;
	vertical-align: middle;
}

@media only screen and (max-width: 767px) {
	.post-content .wpcf7 {
		max-width: 100%;
	}
}