/* Side Navigation */
.page-wrapper > .row > div:last-child:not(.col-lg-12) {
  border-right: 1px solid #ddd;
}
/* global */
.page-content-nav {
  display: none;
}
@media (max-width: 991px) {
  .page-content-nav {
    display: block;
  }
  .page-wrapper > .row > div:last-child:not(.col-lg-12) {
    border-right: none;
  }
}
.pages-nav ul {
  margin: 0;
  padding: 1rem;
  list-style: none;
}

.pages-nav a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 1.25rem 0 1.25rem 15px;
  font-size: 1.25rem;
}

.sub-pages-nav ul > li {
  float: unset;

  @media (max-width: 389px) {
    flex: 1 0 100%;
  }
}
.pages-nav li {
  position: relative;
}
.sub-pages-nav ul > li a {
  height: 100%;
}
.sub-pages-nav ul > li a em.fa-external-link {
  color: rgba(var(--prime2RGB), 0.54);
  font-size: 70%;
}
.pages-nav > ul > li::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(var(--prime2RGB), 0.09);
}
.pages-nav li:after {
  font-family: "FontAwesome";
  content: "\f104";
  position: absolute;
  top: 1rem;
  left: -5px;
  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: 7px;
}

/* 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-bottom: 1.5rem;
  margin-top: 5rem;
  box-shadow: none;
  border-radius: 0;
}

aside nav {
  position: relative;
  border-radius: 0;
  padding-inline: 4rem;

  @media (max-width: 1500px) {
    padding-inline: 3px;
  }
}
aside nav::after {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0;
  /* border-right: 2px solid rgba(var(--prime2RGB), 0.15); */
  height: 100%;
  width: 1px;
}
.pages-nav-title {
  color: var(--prime1);
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
  padding: 3rem 1.25rem 1rem;
  position: relative;
  font-weight: 900;
}
.side-nav.pages-nav img {
  display: none;
}
@media (max-width: 991px) {
  aside {
    display: none;
  }
  .pages-nav > ul > li::before {
    width: 100%;
  }
}

.page-phonebook-category-body {
  padding: 2rem;
}
