/* Restore the supplied Custom/default sg-offcanvas contract that is missing
   from the Custom LTR stylesheet. Existing core.js controls .active/minHeight. */
@media (max-width:767px) {
  body .sg-offcanvas {
    position:relative;
    overflow:hidden;
  }
  body .sg-offcanvas .sg-offcanvas-sidebar {
    position:absolute!important;
    top:0;
    left:-100%;
    right:auto;
    width:100%;
    z-index:100;
    transition:left .25s ease-out,right .25s ease-out;
  }
  body .sg-offcanvas.active .sg-offcanvas-sidebar {left:0}
  body .sg-offcanvas .sg-offcanvas-mainbar {
    position:relative;
    left:0;
    right:auto;
    transition:left .25s ease-out,right .25s ease-out;
  }
  body .sg-offcanvas.active .sg-offcanvas-mainbar {left:100%}
  html[dir="rtl"] body .sg-offcanvas .sg-offcanvas-sidebar {left:auto;right:-100%}
  html[dir="rtl"] body .sg-offcanvas.active .sg-offcanvas-sidebar {right:0}
  html[dir="rtl"] body .sg-offcanvas .sg-offcanvas-mainbar {left:auto;right:0}
  html[dir="rtl"] body .sg-offcanvas.active .sg-offcanvas-mainbar {right:100%}
}
@media (prefers-reduced-motion:reduce) {
  body .sg-offcanvas .sg-offcanvas-sidebar,
  body .sg-offcanvas .sg-offcanvas-mainbar {transition:none}
}
