body {
  position: relative;
  overflow-x: hidden;
}
body,
html {
  min-height: 100%;
}

.nav .open > .sidebar-nav--button,
.nav .open > .sidebar-nav--button:hover,
.nav .open > .sidebar-nav--button:focus {
  background-color: transparent;
}

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/

#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: relative;
}

/* #wrapper.toggled {
  padding-left: 220px;
} */

#sidebar-wrapper {
  position: absolute;
  z-index: 10000;
  left: 220px;
  width: 0;
  height: 100%;
  margin-left: -220px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--grayColor-0);
  box-shadow: 0 0 15px 0 var(--grayColor-1);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#wrapper.toggled #sidebar-wrapper {
  width: 220px;
}

#page-content-wrapper {
  width: 100%;
  padding-top: 70px;
}

#wrapper.toggled #page-content-wrapper {
  position: absolute;
  margin-right: -220px;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  position: relative;
  line-height: 20px;
  display: inline-block;
  width: 100%;
}
.nav > li > .sidebar-nav--button {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  min-height: 3.8em;
  line-height: 1.2;
}

.sidebar-nav--button img {
  height: 1.5em;
  width: 1.5em;
  margin-right: 1em;
}

.sidebar-brand--border > .sidebar-nav--button {
  border-top: var(--grayColor-1) solid 1px;
}

.sidebar-brand--border:last-child > .sidebar-nav--button {
  border-bottom: var(--grayColor-1) solid 1px;
}

.sidebar-nav li:first-child .sidebar-nav--button {
  color: var(--mainColor-8);
  font-weight: bold;
  text-align: center;
  padding-right: 2em;
}

.sidebar-nav li sidebar-nav--button {
  display: block;
  color: var(--mainColor-8);
  text-decoration: none;
  padding: 10px 15px 10px 30px;
  transition: background-color 0.3s;
}

.sidebar-nav li:not(.no-hover) .sidebar-nav--button.actuve,
.sidebar-nav li:not(.no-hover) .sidebar-nav--button:hover,
.sidebar-nav li:not(.no-hover) .sidebar-nav--button:active,
.sidebar-nav li:not(.no-hover) .sidebar-nav--button:focus,
.sidebar-nav li:not(.no-hover).open .sidebar-nav--button.actuve,
.sidebar-nav li:not(.no-hover).open .sidebar-nav--button:hover,
.sidebar-nav li:not(.no-hover).open .sidebar-nav--button:active,
.sidebar-nav li:not(.no-hover).open .sidebar-nav--button:focus {
  text-decoration: none;
  background-color: var(--grayColor-7);
}

no-hover .sidebar-nav > .sidebar-brand {
  height: 65px;
  font-size: 20px;
  line-height: 44px;
}
.sidebar-nav .dropdown-menu {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: none;
  background-color: #222;
  box-shadow: none;
}

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 6em;
  z-index: 1000;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  border: none;
  background-color: var(--mainColor-8);
  border-radius: 50%;
  margin-top: 2.4em;
  margin-bottom: -4.6em;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}

.hamburger.is-open {
  display: none;
}

/* .hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
} */

.close-sidebar {
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  background: none;
  border: none;
  position: absolute;
  right: 0.4em;
  top: 50%;
  transform: translateY(-50%);
}

/*-------------------------------*/
/*            Overlay            */
/*-------------------------------*/

.overlay {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(250, 250, 250, 0.4);
  z-index: 1000;
}

@media screen and (max-width: 766px) {
  .hamburger {
    display: none;
  }

}
