/* Roboto : voir css/polices.css */
@import url("/css/polices.css");

.p.error,
p.success {
	font-weight: bold;
	padding: 10px;
	width: 50%;
	margin: auto;
	margin-top: 5px;
	margin-bottom: 5px;
}

@media (max-width: 1000px) {

	.p.error,
	p.success {
		width: 100%;
	}
}

p.error {
	background: red;
	color: white;
}

p.success {
	background: lawngreen;
	color: black;
}

.remarque {
	display: none;
}

input::placeholder {
	color: rgb(0, 56, 136);
	opacity: 0.7;
}

textarea::placeholder {
	color: rgb(0, 56, 136);
	opacity: 0.7;
}

#pays {
	border: none;
	color: rgb(0, 56, 136);
	opacity: 0.7;
	margin-top: 10px;
}

input:hover {
	background-color: rgb(255, 204, 0);
}

textarea:hover {
	background-color: rgb(255, 204, 0);
}

select:hover {
	background-color: rgb(255, 204, 0);
}

.liencontact {
	color: rgb(255, 204, 0);
	text-decoration: none;
}

.title {
	width: 100%;
	display: block;
	font-family: Roboto, sans-serif;
	font-size: 30px;
	color: #333333;
	line-height: 1.2;
	text-align: center;
}

.sous-titre {

	font-family: Roboto, sans-serif;
	font-weight: 600;
	color: red;

}

a.liencontactb {
	text-decoration: none;
	color: rgb(0, 56, 136);
}

input#submit {
	font-family: Roboto, sans-serif;
}

.wrap-contact100 {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Adresses e-mail affichées par un bouton (js/contact_emails.js), absentes du HTML pour les robots */
/* La liste ne crée pas de boîte : ses blocs restent des éléments directs de la colonne .contact100-more */
.contact-emails:not([hidden]) {
	display: contents;
}

button.contact-emails-afficher {
	font-family: Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: rgb(255, 204, 0);
	background-color: transparent;
	border: 1px solid rgb(255, 204, 0);
	border-radius: 20px;
	padding: 4px 16px;
	cursor: pointer;
}

button.contact-emails-afficher:hover,
button.contact-emails-afficher:focus-visible {
	color: #000;
	background-color: rgb(255, 204, 0);
}


/* Formulaire de contact (require/module/contactFormulaire.functions.php, js/contact_formulaire.js) */
/* Le formulaire occupe toute la largeur de son bloc et place ses champs comme l'ancien (deux par ligne, .rs1 / .rs2) */
.contact-formulaire {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.contact-formulaire-bloc .sous-titre {
	width: 100%;
	margin: 15px 0 0 0;
}

/* Messages d'erreur (rouge) et de confirmation (vert) au-dessus du formulaire */
.contact-message {
	width: 100%;
	margin: 15px 0 0 0;
	padding: 10px 15px;
	border-radius: 4px;
	font-family: Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.contact-message p {
	margin: 0;
}

.contact-message p + p {
	margin-top: 6px;
}

.contact-message-erreur {
	background: #fde8e8;
	border: 1px solid #c80000;
	color: #8a0000;
}

.contact-message-ok {
	background: #eef8e4;
	border: 1px solid #92d050;
	color: #1e4d00;
}

/* Récapitulatif du message envoyé */
.contact-recapitulatif {
	width: 100%;
	margin: 20px 0 0 0;
	font-family: Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: black;
	text-align: left;
}

.contact-recapitulatif dt {
	font-weight: bold;
	margin-top: 10px;
}

.contact-recapitulatif dd {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Champ piège : hors de l'écran (pas display: none, que certains robots repèrent) */
.contact-piege {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-donnees,
.contact-preuve-etat {
	width: 100%;
	margin: 12px 0 0 0;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: #555555;
}

.contact-preuve-etat:empty {
	display: none;
}

/* Bouton grisé tant que la vérification anti-robot n'est pas terminée */
.contact100-form-btn:disabled {
	background: #cccccc;
	color: #555555;
	cursor: not-allowed;
}

.contact100-form-btn:disabled:hover {
	background: #cccccc;
}
