/* ==== Formulaires (couleurs du kit) ==== */
::placeholder {
	opacity: 1;
}
.elementor-field-group .elementor-field-textual:focus {
	box-shadow: none;
}
.elementor-field-option input[type="checkbox"], .elementor-field-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}
.elementor-field-option input ~ label::before {
	content: "";
	display: inline-block;
	position: relative;
	top: 4px;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	border: 2px solid var(--e-global-color-primary);
	background: var(--e-global-color-fond-1);
	box-sizing: border-box;
	transition: background-color var(--duree-courte) ease, box-shadow var(--duree-courte) ease;
}
.elementor-field-option input[type="radio"] ~ label::before {
	border-radius: 50%;
}
.elementor-field-option input[type="radio"]:checked ~ label::before {
	background-color: var(--e-global-color-primary);
	box-shadow: inset 0 0 0 3px var(--e-global-color-fond-1);
}
.elementor-field-option input[type="checkbox"] ~ label::before {
	border-radius: 4px;
}
.elementor-field-option input[type="checkbox"]:checked ~ label::before {
	background-color: var(--e-global-color-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: 12px 12px;
	background-position: center;
	background-repeat: no-repeat;
}
.elementor-field-option input:focus-visible ~ label::before {
	outline: 2px solid var(--e-global-color-primary);
	outline-offset: 2px;
}
.elementor-field-type-acceptance .elementor-field-option label {
	align-items: flex-start;
	margin-bottom: 5px;
}
.elementor-field-type-acceptance .elementor-field-option label::before {
	min-width: 18px;
}
.elementor-field-type-select .elementor-field-textual {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px;
}
.elementor-field-type-select .select-caret-down-wrapper {
	display: none;
}
/* Desktop list drawn by js/base.js, the same in every browser; a phone or tablet keeps its system picker. The site sets
   --liste-fond, --liste-texte and --liste-actif when the field is not on the light background of the kit. */
.liste-choix {
	position: relative;
}
.liste-choix select {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}
.liste-choix-bouton {
	display: flex;
	align-items: center;
	text-align: start;
	cursor: pointer;
}
.liste-choix-bouton > span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.liste-choix .liste-choix-bouton.liste-choix-copie {
	border-width: var(--champ-trait);
	border-style: var(--champ-style);
	border-radius: var(--champ-rayon);
}
.liste-choix .liste-choix-bouton.liste-choix-copie:not(:focus) {
	background-color: var(--champ-fond);
	border-color: var(--champ-bord);
}
.liste-choix-options {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 320px;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	border: 1px solid var(--liste-actif, var(--e-global-color-primary));
	border-radius: 4px;
	background: var(--liste-fond, var(--e-global-color-fond-1));
	color: var(--liste-texte, var(--e-global-color-text));
	box-shadow: 0 8px 24px color-mix(in srgb, var(--e-global-color-text) 18%, transparent);
}
.liste-choix-options.vers-haut {
	top: auto;
	bottom: calc(100% + 4px);
}
.liste-choix-options[hidden] {
	display: none;
}
.liste-choix-options li {
	padding: 10px 16px;
	cursor: pointer;
}
.liste-choix-options li[aria-disabled="true"] {
	opacity: 0.5;
	cursor: default;
}
.liste-choix-options li.est-vise {
	background: color-mix(in srgb, var(--liste-actif, var(--e-global-color-primary)) 15%, transparent);
}
.liste-choix-options li[aria-selected="true"] {
	background: var(--liste-actif, var(--e-global-color-primary));
	color: var(--e-global-color-fond-1);
}
.elementor-field-type-upload input[type="file"]::file-selector-button {
	background: var(--e-global-color-primary);
	border: 0;
	padding: 8px 16px;
	margin-right: 12px;
	font-size: var(--e-global-typography-texte-petit-font-size);
	font-weight: 600;
	color: var(--e-global-color-fond-1);
	border-radius: 4px;
	cursor: pointer;
	transition: opacity var(--duree-courte) ease;
}
.elementor-field-type-upload input[type="file"]::file-selector-button:hover {
	opacity: 0.85;
}
.elementor-field-group .elementor-field-textual[aria-invalid="true"] {
	border-color: var(--e-global-color-erreur, var(--couleur-erreur));
}
