﻿/*********************/
/* DEFAULT OVERRIDES */
body.subpage .main-content {
	padding-top: 0 !important;
}

@media (max-width: 768px) {
	table td {
		display: revert !important;
	}
}

.text-banner {
	padding-bottom: 20px;
}

/* Override of default style on kirkjan.is */
body.subpage .main-content ul {
	margin-bottom: 0;
}

/* Override of default style on kirkjan.is */
main.main a::before {
	content: initial !important;
}

/**************/
/* NAVIGATION */
h1 {
	color: rgb(188 83 93);
	margin: 3rem 0 !important;
}

.hymn-nav {
	margin: 2rem 0;
}

.hymn-nav__list {
	display: flex;
	gap: 1rem;
	font-size: 110%;
	justify-content: center;
}

.hymn-nav__item {
	color: black !important;
	border-radius: 5px;
	padding: 0 1rem;
	transition: 200ms background-color;
}

	.hymn-nav__item:hover {
		background-color: #0000001c;
	}

	.hymn-nav__item:has(span) {
		background-color: #0000001c;
	}

	.hymn-nav__item a {
		color: inherit !important;
	}

	.hymn-nav__item:has(span) {
		-webkit-user-select: none;
		user-select: none;
	}

/**************/
/* HOLY TABLE */
.holy-table-sort {
	cursor: pointer;
	border: none;
	background: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	transition: 0.2s color;
	margin: 0;
}

	.holy-table-sort:hover {
		color: #0000d9;
	}

	.holy-table-sort span {
		pointer-events: none;
	}

.holy-expand {
	width: 20px;
	height: 20px;
	margin-top: 4px;
	margin-left: 10px;
	position: relative;
	cursor: pointer;
	--outerSpace-color: #2F3841;
}

	.holy-expand::before,
	.holy-expand::after {
		content: '';
		display: block;
		position: absolute;
		width: 20px;
		height: 2px;
		left: 0;
		background: var(--outerSpace-color);
		transition: all 0.2s;
	}

	.holy-expand::before {
		top: 0;
		transform-origin: left top;
		box-shadow: 0 9px 0 var(--outerSpace-color);
	}

	.holy-expand::after {
		bottom: 0;
		transform-origin: left bottom;
		box-shadow: 0 -9px 0 var(--outerSpace-color);
	}

.-active .holy-expand::before {
	transform: rotate(45deg);
	top: -1px;
	width: 28.2842px;
	box-shadow: 0 0 0 var(--outerSpace-color);
}

.-active .holy-expand::after {
	transform: rotate(-45deg);
	bottom: -1px;
	width: 28.2842px;
	box-shadow: 0 0 0 var(--outerSpace-color);
}


@media print {
	.text-banner {
		display: none !important;
	}

	.hymn-nav__list {
		display: none !important;
	}
}
