/* Logia Form — Select avancé. Override the variables in Site Settings > Custom CSS if needed. */
:root {
	--lfs-bg: #ffffff;
	--lfs-color: #2b2b2b;
	--lfs-heading: #1f1f1f;
	--lfs-disabled: #c4c4c4;
	--lfs-hover: #f3f3f3;
	--lfs-selected: #b04a5a;
	--lfs-tip-bg: #d4d4d4;
	--lfs-tip-border: #bdbdbd;
	--lfs-tip-color: #1f1f1f;
	--lfs-radius: 6px;
}

.lfs-enhanced {
	position: relative;
}

.lfs-hit {
	position: absolute;
	inset: 0;
	z-index: 3;
	cursor: pointer;
}

.lfs-panel {
	position: fixed;
	z-index: 99999;
	box-sizing: border-box;
	overflow-y: auto;
	padding: 6px 0 8px;
	background: var(--lfs-bg);
	color: var(--lfs-color);
	border-radius: 0 0 var(--lfs-radius) var(--lfs-radius);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
}

.lfs-panel.is-above {
	border-radius: var(--lfs-radius) var(--lfs-radius) 0 0;
	box-shadow: 0 -10px 28px rgba(0, 0, 0, .22);
}

.lfs-panel[hidden] {
	display: none;
}

.lfs-group {
	padding: 9px 14px 5px;
	font-weight: 700;
	color: var(--lfs-heading);
	cursor: default;
}

.lfs-opt {
	padding: 6px 14px;
	cursor: pointer;
}

.lfs-opt.lfs-in-group {
	padding-left: 26px;
}

.lfs-opt.is-active {
	background: var(--lfs-hover);
}

.lfs-opt.is-selected {
	color: var(--lfs-selected);
	font-weight: 600;
}

.lfs-opt.is-disabled {
	color: var(--lfs-disabled);
	cursor: not-allowed;
	background: none;
}

.lfs-tip {
	position: fixed;
	z-index: 100000;
	max-width: min(420px, calc(100vw - 16px));
	padding: 14px 16px;
	background: var(--lfs-tip-bg);
	color: var(--lfs-tip-color);
	border: 1px solid var(--lfs-tip-border);
	border-radius: 2px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	font-size: 13px;
	line-height: 1.55;
	pointer-events: none;
}

.lfs-tip[hidden] {
	display: none;
}

.lfs-tip strong {
	font-weight: 700;
}

/* Rotate the caret while open */
.lfs-open .select-caret-down-wrapper {
	transform: translateY(-50%) rotate(180deg);
}
