/* Side Navigation */

/* global */

.pages-nav ul {
	margin: 0;
	padding: 0 1rem;
	list-style: none;
}

.pages-nav a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 1rem 0;
	line-height: 1;
	font-size: calc(0.3vw + 1rem);
	color: rgb(from var(--text) r g b / 0.87);
}

.pages-nav li {
	position: relative;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 1rem 0.7rem;
}

.pages-nav li:after {
	font-family: 'FontAwesome';
	content: '\f104';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 5px;
	color: var(--prime1);
	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: 25px;
}

/* 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 {
	padding-right: 30px;
	border-radius: 18px;
	background: #fff;
	padding: 5px;
	width: 100%;
	border: 1px solid #ededed;

	& .pages-nav ul {
		margin-top: 5px;
	}
}

.pages-nav-title {
	padding: 0.6rem 1rem;
	border-radius: 15px;
	background-color: var(--prime1);
	color: #fff;
	font-weight: bold;
	position: relative;

	& span {
		width: 98%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	& i {
		display: none;
		font-size: 1rem;
	}
}



@media (max-width: 991px) {
	aside {
		display: none;
	}
}