/* Side Navigation */

/* global */

.pages-nav ul {
	margin: 0;
	padding: 1rem;
	list-style: none;
}

.pages-nav a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 1rem;
	font-size: calc(0.2vw + 16px);
}

.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: .75rem;
	left: -15px;
	color: var(--web-primary-color);
	font-size: 1rem;

	content: none;
}

.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(--prime2);
}

.pages-nav a.on {
	font-weight: 500;
	color: var(--prime2);
}

/* sub levels */

.pages-nav li.on > ul {
	display: block;
}

.pages-nav li > ul {
	display: none;
	margin-right: 12px;
}



/* toggle menu button */

.pages-nav button {
	position: absolute;
	top: 0;
	left: 0;

	font-family: 'FontAwesome';
	font-style: normal;

	width: 25px;
	height: 100%;

	padding: 5px;
	background: none;
	border: 0;
	color: var(--prime2);


}

.pages-nav button:before {
	content: '\f053';
	font-size: 14px;
}

.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';
}

@media (min-width:992px) {
	.page-content {
		position: relative;

		&::after {
			content: '';
			position: absolute;
			top: 0;
			left: -5rem;
			width: 2px;
			height: 100%;
			background-color: rgb(from #000 r g b / 0.1);
		}
	}
}


/* Side Title */

aside {
	background: #fff;
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	box-shadow: 0;
}

.pages-nav-title {
	background: transparent;
	color: var(--prime2);
	font-weight: bold;
	font-size: 1.5rem;
	margin: 0;
	padding: .75rem;
	position: relative;

	&::after {
		content: '';
		position: relative;
		display: block;
		bottom: -1rem;
		right: 0;
		background-color: rgb(from var(--prime3) r g b / 0.65);
		height: 3px;
		width: 70px;
		border-radius: 3px;
	}
}


@media (max-width: 991px) {
	aside {
		display: none;
	}
}