/* ========================================================================
   Component: layout
 ========================================================================== */

body,
.wrapper .section-container {
  background-color: #f5f7fa;
}

.wrapper .aside-container {
  background-color: #3a3f51;
}

/* ========================================================================
   Component: top-navbar
 ========================================================================== */

.topnavbar {
  background-color: #564aa3;
  background-image: -webkit-gradient(linear, left top, right top, from(#564aa3), to(#7266ba));
  background-image: linear-gradient(to right, #564aa3 0%, #7266ba 100%);
  background-repeat: repeat-x;
}

@media (min-width: 992px) {
  .topnavbar .navbar-nav > .nav-item.show > .nav-link,
  .topnavbar .navbar-nav > .nav-item.show > .nav-link:hover,
  .topnavbar .navbar-nav > .nav-item.show > .nav-link:focus {
    box-shadow: 0 -3px 0 #4b408e inset;
  }
}

.topnavbar .navbar-nav > .nav-item > .navbar-text {
  color: #fff;
}

.topnavbar .navbar-nav > .nav-item > .nav-link,
.topnavbar .navbar-nav > .nav-item.show > .nav-link {
  color: #fff;
}

.topnavbar .navbar-nav > .nav-item > .nav-link:hover,
.topnavbar .navbar-nav > .nav-item > .nav-link:focus,
.topnavbar .navbar-nav > .nav-item.show > .nav-link:hover,
.topnavbar .navbar-nav > .nav-item.show > .nav-link:focus {
  color: #312a5d;
}

.topnavbar .dropdown-item.active,
.topnavbar .dropdown-item:active {
  background-color: #564aa3;
}

/* ========================================================================
   Component: sidebar
 ========================================================================== */

.sidebar {
  background-color: #3a3f51;
}

.sidebar .nav-heading {
  color: #919DA8;
}

.sidebar-nav > li > a,
.sidebar-nav > li > .nav-item {
  color: #e1e2e3;
}

.sidebar-nav > li > a:focus,
.sidebar-nav > li > a:hover,
.sidebar-nav > li > .nav-item:focus,
.sidebar-nav > li > .nav-item:hover {
  color: #9289ca;
}

.sidebar-nav > li > a > em,
.sidebar-nav > li > .nav-item > em {
  color: inherits;
}

.sidebar-nav > li.active,
.sidebar-nav > li.active > a,
.sidebar-nav > li.active > .nav-item,
.sidebar-nav > li.active .sidebar-nav,
.sidebar-nav > li.open,
.sidebar-nav > li.open > a,
.sidebar-nav > li.open > .nav-item,
.sidebar-nav > li.open .sidebar-nav {
  background-color: #383d4e;
  color: #9289ca;
}

.sidebar-nav > li.active > .nav-item > em,
.sidebar-nav > li.active > a > em,
.sidebar-nav > li.open > .nav-item > em,
.sidebar-nav > li.open > a > em {
  color: #9289ca;
}

.sidebar-nav > li.active {
  border-left-color: #9289ca;
}

.sidebar-subnav {
  background-color: #3a3f51;
}

.sidebar-subnav > .sidebar-subnav-header {
  color: #e1e2e3;
}

.sidebar-subnav > li > a,
.sidebar-subnav > li > .nav-item {
  color: #e1e2e3;
}

.sidebar-subnav > li > a:focus,
.sidebar-subnav > li > a:hover,
.sidebar-subnav > li > .nav-item:focus,
.sidebar-subnav > li > .nav-item:hover {
  color: #9289ca;
}

.sidebar-subnav > li.active > a,
.sidebar-subnav > li.active > .nav-item {
  color: #9289ca;
}

.sidebar-subnav > li.active > a:after,
.sidebar-subnav > li.active > .nav-item:after {
  border-color: #9289ca;
  background-color: #9289ca;
}

/* ========================================================================
   Component: offsidebar
 ========================================================================== */

.offsidebar {
  border-left: 1px solid greyscale(#cccccc);
  background-color: #fff;
  color: #656565;
}

