html,
body,
#sb-site,
.sb-slidebar {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  height: auto;
  position: relative;
}

html.sb-scroll-lock.sb-active:not(.sb-static) {
  overflow: hidden;
}

#sb-site {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.sb-slidebar {
  height: 100%;
  overflow-y: auto;
  position: fixed;
  top: 0;
  z-index: 0;
  display: none;
  background-color: rgba(0,0,0,.9);
  box-shadow: 10px 0 30px rgba(0,0,0,0.3);
}

.sb-left {
  left: 0;
}

.sb-slidebar.sb-active {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sb-style-overlay {
  z-index: 10001;
}

.sb-slide,
#sb-site,
.sb-slidebar {
  transform: translate(0);
  transition: transform 400ms ease;
  backface-visibility: hidden;
}

@media (max-width: 480px) {
  .sb-slidebar {
    width: 70%;
  }
}

@media (min-width: 481px) {
  .sb-slidebar {
    width: 55%;
  }
}

@media (min-width: 768px) {
  .sb-slidebar {
    width: 40%;
  }
}

@media (min-width: 992px) {
  .sb-slidebar {
    width: 30%;
  }
}

@media (min-width: 1200px) {
  .sb-slidebar {
    width: 20%;
  }
}