/* LPL Notes — appels, liste et bulle des notes de bas de page. */

.lpl-note-appel {
	line-height: 0; /* l'appel ne creuse pas l'interligne */
}

/* Plus précis que « .elementor-kit-… a », la couleur des liens du site */
.lpl-note-appel > a[href],
.lpl-note-appel > a[href]:hover,
.lpl-note-appel > a[href]:focus {
	/* Le jaune des liens du thème se lit mal sur le fond crème */
	color: #175377;
	font-weight: 600;
	text-decoration: none;
	padding: 0 .05em;
	scroll-margin-top: 120px; /* sous l'en-tête fixe */
}

.lpl-nbp-liste {
	color: #555;
	font-size: .85em;
}

.lpl-nbp-liste > li {
	scroll-margin-top: 100px;
	transition: background-color .6s;
}

.lpl-nbp-liste > li:target {
	background-color: #fdf5d0;
}

.lpl-nbp-retour {
	text-decoration: none;
	white-space: nowrap;
}

.lpl-nbp-bulle {
	position: absolute;
	z-index: 100000;
	box-sizing: border-box;
	max-width: min(600px, calc(100vw - 16px));
	max-height: 45vh;
	overflow: auto;
	padding: 12px 14px;
	border: 2px solid #175377;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	color: #222;
	font-size: 15px;
	line-height: 1.55;
	text-align: justify;
	hyphens: auto;
}

.lpl-nbp-bulle[hidden] {
	display: none;
}

.lpl-nbp-bulle-num {
	font-weight: 700;
	color: #175377;
}

.lpl-nbp-bulle-liste {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	text-align: right;
}

@media print {
	.lpl-nbp-retour,
	.lpl-nbp-bulle {
		display: none !important;
	}
}
