/*
 * NFHB Umsjón 1.8.2: "Deila" share button (news articles and events). Scoped to .nfhb-deila.
 * On event pages it sits inside Events Manager's `.em.pixelbones` wrapper, whose stylesheet forces link
 * colours, list markers and margins with !important at (0,2,1); hence the doubled class (0,3,x) and
 * !important on exactly those properties. Navy #053253, blue #084B7F, red #B22F31 as on the rest of nfhb.is.
 */
div.nfhb-deila.nfhb-deila {
	position: relative;
	display: inline-block;
	margin: 0;
	font-family: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.3;
	vertical-align: middle;
}
div.nfhb-deila.nfhb-deila .nfhb-deila__details { display: block !important; margin: 0 !important; padding: 0; border: 0; }
div.nfhb-deila.nfhb-deila .nfhb-deila__btn {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	padding: 8px 15px 8px 12px;
	border: 1px solid #C9D6E3;
	border-radius: 999px;
	background: #FFFFFF;
	color: #053253;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	list-style: none !important;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
/* A 44 px touch target without a bigger-looking button. */
div.nfhb-deila.nfhb-deila .nfhb-deila__btn::before { content: ""; position: absolute; inset: -2px -2px; }
div.nfhb-deila.nfhb-deila .nfhb-deila__btn::-webkit-details-marker { display: none; }
div.nfhb-deila.nfhb-deila .nfhb-deila__btn::marker { content: ""; }
div.nfhb-deila.nfhb-deila .nfhb-deila__btn:hover { border-color: #084B7F; background: #F3F7FB; }
div.nfhb-deila.nfhb-deila .nfhb-deila__btn:active { background: #E3EDF7; }
div.nfhb-deila.nfhb-deila .nfhb-deila__btn:focus-visible { outline: 3px solid #084B7F; outline-offset: 2px; }
div.nfhb-deila.nfhb-deila .nfhb-deila__details[open] > .nfhb-deila__btn { border-color: #084B7F; background: #F3F7FB; }
div.nfhb-deila.nfhb-deila .nfhb-deila__icon { flex: 0 0 auto; width: 18px; height: 18px; fill: #B22F31; color: #B22F31; }
div.nfhb-deila.nfhb-deila .nfhb-deila__label { color: inherit; }

/* The fallback panel. */
div.nfhb-deila.nfhb-deila .nfhb-deila__pop {
	position: absolute;
	z-index: 30;
	top: calc(100% + 8px);
	left: 0;
	box-sizing: border-box;
	width: 240px;
	max-width: calc(100vw - 32px);
	padding: 8px;
	border: 1px solid #DCE4EC;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: 0 12px 32px rgba(5, 50, 83, 0.16);
	text-align: left;
}
div.nfhb-deila.nfhb-deila .nfhb-deila__list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
div.nfhb-deila.nfhb-deila .nfhb-deila__list > li { margin: 0 !important; padding: 0; list-style: none !important; }
div.nfhb-deila.nfhb-deila .nfhb-deila__list > li::marker { content: ""; }
div.nfhb-deila.nfhb-deila .nfhb-deila__opt,
div.nfhb-deila.nfhb-deila a.nfhb-deila__opt:visited {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent !important;
	color: #053253 !important;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer;
}
div.nfhb-deila.nfhb-deila .nfhb-deila__opt:hover,
div.nfhb-deila.nfhb-deila .nfhb-deila__opt:focus-visible { background: #F3F7FB !important; color: #053253 !important; }
div.nfhb-deila.nfhb-deila .nfhb-deila__opt:focus-visible { outline: 3px solid #084B7F; outline-offset: -3px; }
div.nfhb-deila.nfhb-deila .nfhb-deila__oi { flex: 0 0 auto; width: 18px; height: 18px; color: #084B7F; }
div.nfhb-deila.nfhb-deila .nfhb-deila__manual { margin: 6px 4px 2px !important; font-size: 13px; color: #21476A; }
div.nfhb-deila.nfhb-deila .nfhb-deila__manual label { display: block; font-weight: 700; }
div.nfhb-deila.nfhb-deila .nfhb-deila__field { display: block; box-sizing: border-box; width: 100%; margin: 4px 0 0; padding: 8px 10px; border: 1px solid #AAB3BD; border-radius: 7px; background: #F7FAFD; color: #053253; font: inherit; font-size: 14px; }
div.nfhb-deila.nfhb-deila .nfhb-deila__status { margin: 0 !important; padding: 0 8px; color: #1D5C34; font-size: 14px; font-weight: 700; }
div.nfhb-deila.nfhb-deila .nfhb-deila__status:not(:empty) { padding: 6px 8px 4px; }
div.nfhb-deila.nfhb-deila .nfhb-deila__sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Copying needs JavaScript; without it the read-only field is the way to copy. With it, the field
   appears only if the clipboard could not be used. */
div.nfhb-deila.nfhb-deila:not(.is-js) .nfhb-deila__js { display: none; }
div.nfhb-deila.nfhb-deila.is-js .nfhb-deila__manual:not(.is-shown) { display: none; }

/* Where it sits. News (Elementor template 1685): under the date. Events: in the event header. */
.nfhb-evd .evd-head .nfhb-deila,
.nfhb-evd .nfhb-sl-head .nfhb-deila { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) {
	div.nfhb-deila.nfhb-deila .nfhb-deila__btn { transition: none; }
}
@media (forced-colors: active) {
	div.nfhb-deila.nfhb-deila .nfhb-deila__btn, div.nfhb-deila.nfhb-deila .nfhb-deila__pop { border-color: buttontext; }
}
@media print {
	div.nfhb-deila.nfhb-deila { display: none !important; }
}
