.offcanvas56 {
  background: #fff;
  bottom: 0;
  display: block;
  left: 0;
  overflow-y: auto;
  padding: 20px 16px;
  position: fixed;
  top: 0;
  transform: translate(-102%, 0);
  transition: transform .2s ease;
  width: 320px;
  z-index: 99999;
}

.offcanvas56__container {
  position: relative;
  z-index: 2;
}

.offcanvas56__overlay {
  background: rgba(0, 0, 0, .5);
  border: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  padding: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity .2s ease, visibility .2s ease;
  visibility: hidden;
  z-index: 1;
}

.offcanvasnav56 .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvasnav56 li + li {
  border-top: 1px solid var(--border-color);
}

.offcanvasnav56 a {
  color: var(--heading-color);
  display: block;
  font-weight: 600;
  padding: 12px 0;
}

.offcanvasnav56 a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

html.on-offcanvas {
  overflow: hidden;
}

html.on-offcanvas .offcanvas56 {
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
  transform: translate(0, 0);
}

html.on-offcanvas .offcanvas56__overlay {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 600px) {
  .offcanvas56 {
    top: 54px;
    width: 100%;
  }

  html.on-offcanvas .offcanvas56 {
    box-shadow: none;
  }

  html.on-offcanvas .offcanvas56__overlay {
    display: none;
  }
}
