/* Phone navigation drawer (js/side-drawer.js). body.pl-drawer-mode is set below the configured width. */
.pl-drawer-btn {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}

.pl-drawer-btn:hover { background: rgba(127, 127, 127, 0.12); }

body.pl-drawer-mode .pl-drawer-btn { display: inline-flex; }
body.pl-drawer-mode .pl-drawer-hide { display: none !important; }

body.pl-drawer-mode .pl-drawer-target {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  align-content: flex-start !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  height: auto !important;
  max-height: none !important;
  width: min(280px, 85vw) !important;
  margin: 0 !important;
  overflow-y: auto !important;
  z-index: 5000 !important;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}

body.pl-drawer-mode .pl-drawer-target.pl-drawer-active {
  transform: none;
  visibility: visible;
  transition: transform 0.22s ease;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.pl-drawer-backdrop { display: none; }

body.pl-drawer-mode.pl-drawer-open .pl-drawer-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 4999;
  background: rgba(0, 0, 0, 0.4);
}
