.offcanvas-wrapper {
  position: relative;
}

.offcanvas-trigger {
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
  background-color: unset !important;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  overflow-y: auto;
  z-index: 9999;
}

.offcanvas-menu.open {
  left: 0;
}

.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #fff; /* default */
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  overflow-y: auto;
  z-index: 9999;
}

.offcanvas-menu.open {
  left: 0;
}

.offcanvas-close {
  font-size: 24px;
  background: none;
  border: none;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #000; /* default */
  z-index: 10000;
}


.offcanvas-trigger:focus,
.offcanvas-trigger:hover,
.offcanvas-trigger:focus,
.offcanvas-trigger:hover,
.offcanvas-close:focus,
.offcanvas-close:hover,
.offcanvas-close:focus,
.offcanvas-close:hover {
    background-color: unset !important;
    color: #fff;
    text-decoration: none
}