/* Side Navigation */

/* global */

.pages-nav ul {
	margin: 0;
	padding: 1rem;
	list-style: none;
	border-top: 1px solid #fff;
}

.pages-nav a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 1rem 0;
	width: 87%;
	line-height: 1.2;
	font-weight: 400;
}

.pages-nav li {
	position: relative;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pages-nav li:after {
	font-family: "FontAwesome";
	content: "\f104";
	position: absolute;
	top: 10px;
	left: 0;
	color: var(--prime2);
	font-size: 1.4rem;
}

.pages-nav li:last-child {
	border-bottom: 0;
}

.pages-nav li > span {
	display: block;
	position: relative;
	/*padding-right: 30px;*/
}

.pages-nav a:hover,
.pages-nav a:focus,
.pages-nav a.on {
	color: var(--prime1);
}

.pages-nav a.on {
	font-weight: bold;
}

/* sub levels */

.pages-nav li.on > ul {
	display: block;
}

.pages-nav li > ul {
	display: none;
	margin-right: 5px;
}

/* toggle menu button */

.pages-nav button {
	position: absolute;
	top: 0;
	right: 0;

	font-family: "FontAwesome";
	font-style: normal;

	width: 25px;
	height: 100%;

	padding: 5px;
	background: none;
	border: 0;
	color: #56bcaf;

	display: none;
}

.pages-nav button:before {
	content: "\f053";
}

.pages-nav button.opened:before {
	content: "\f078";
}

.pages-nav button.no-sub-menu {
	font-size: 80%;
	padding-top: 2px;

	display: none;
}

.pages-nav button.no-sub-menu:before {
	content: "\f1db";
}

.pages-nav button.external-link:before {
	content: "\f08e";
}

/* Side Title */

aside {
	background: #fff;
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	border: none;
	border-radius: 3px;
}

.pages-nav-title {
	color: oklch(from var(--prime2) calc(l - 0.2) c h);
	font-weight: 700;
	font-size: 2.25rem;
	margin: 0;
	padding: 0.75rem;
	position: relative;
}

@media (max-width: 991px) {
	aside {
		display: none;
	}
}