/*
 * NFHB Umsjón 1.6.0: [nfhb_skjol], the public list of NFHB documents (Skjöl félagsins).
 * Colours and shapes follow page 1658 (navy #084b7f, red #b22f31, card #f6f9fc, 9px radius).
 * The font is inherited from the page.
 */
.nfhb-skjol {
	--nfhb-skjol-navy: #084b7f;
	--nfhb-skjol-red: #b22f31;
	--nfhb-skjol-card: #f6f9fc;
	--nfhb-skjol-line: #d6e0ea;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	color: var(--nfhb-skjol-navy);
	box-sizing: border-box;
}
.nfhb-skjol *,
.nfhb-skjol *::before,
.nfhb-skjol *::after {
	box-sizing: border-box;
}
.nfhb-skjol p,
.nfhb-skjol ul,
.nfhb-skjol li,
.nfhb-skjol h2,
.nfhb-skjol h3,
.nfhb-skjol h4 {
	margin: 0;
	padding: 0;
}
.nfhb-skjol ul {
	list-style: none;
}

/* Academic year groups. */
.nfhb-skjol__ar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.nfhb-skjol .nfhb-skjol__ar-titill {
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nfhb-skjol-navy);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--nfhb-skjol-red);
	align-self: flex-start;
}
.nfhb-skjol__listi {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* One document (two classes: above the li reset). */
.nfhb-skjol .nfhb-skjol__skjal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	background: var(--nfhb-skjol-card);
	border: 1px solid var(--nfhb-skjol-line);
	border-radius: 9px;
}
.nfhb-skjol__texti-hluti {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.nfhb-skjol .nfhb-skjol__tegund {
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nfhb-skjol-red);
}
.nfhb-skjol .nfhb-skjol__titill {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--nfhb-skjol-navy);
	overflow-wrap: anywhere;
}
.nfhb-skjol a.nfhb-skjol__hnappur {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 168px;
	min-height: 45px;
	padding: 12px 19px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--nfhb-skjol-navy);
	background: #fff;
	border: 1px solid var(--nfhb-skjol-navy);
	border-radius: 5px;
	text-decoration: none;
	transition: box-shadow 0.2s;
}
.nfhb-skjol a.nfhb-skjol__hnappur:hover,
.nfhb-skjol a.nfhb-skjol__hnappur:focus-visible {
	color: var(--nfhb-skjol-navy);
	box-shadow: 0 6px 18px rgba(5, 50, 83, 0.12);
}
.nfhb-skjol a.nfhb-skjol__hnappur:focus-visible {
	outline: 3px solid var(--nfhb-skjol-red);
	outline-offset: 2px;
}
.nfhb-skjol__staerd {
	font-weight: 300;
	font-size: 13px;
}

/* Empty state (the card that page 1658 showed before 1.6.0). */
.nfhb-skjol--tomt {
	gap: 8px;
	padding: 32px;
	background: var(--nfhb-skjol-card);
	border: 1px dashed #b9c8d8;
	border-radius: 9px;
}
.nfhb-skjol .nfhb-skjol__merki {
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.nfhb-skjol .nfhb-skjol__tomt-titill {
	font-family: inherit;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--nfhb-skjol-navy);
}
.nfhb-skjol .nfhb-skjol__texti {
	font-size: 14px;
	line-height: 1.55;
}
.nfhb-skjol__villa {
	padding: 12px 16px;
	border: 2px solid #b22f31;
	color: #b22f31;
}

@media (max-width: 767px) {
	.nfhb-skjol .nfhb-skjol__skjal {
		flex-direction: column;
		align-items: stretch;
		padding: 18px;
		gap: 14px;
	}
	.nfhb-skjol a.nfhb-skjol__hnappur {
		justify-content: center;
	}
	.nfhb-skjol--tomt {
		padding: 24px;
	}
	.nfhb-skjol .nfhb-skjol__titill {
		font-size: 17px;
	}
}
