/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  /*overflow-x: hidden;*/ /* Prevent scroll on narrow devices */
}
body {
  /*padding-top: 70px;*/
}
footer {
  /*padding: 30px 0;*/
}

/*
 * Off Canvas
 * --------------------------------------------------
 */

.offcanvas-wrapper {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}


@media screen and (max-width: 1024px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }
  .sidebar-offcanvas {
    position: fixed;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -75%; /* 9 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -75%; /* 9 columns */
  }

  .row-offcanvas-right.active {
    right: 75%; /* 9 columns */
  }

  .row-offcanvas-left.active {
    left: 75%; /* 9 columns */
  }

  .row-offcanvas-left.active .sidebar-offcanvas {
    left: -2.5%; /* 9 columns */
  }

  .sidebar-offcanvas {
    /*position: absolute;*/
    /*position: fixed;*/
    z-index: 99;
    /*top: 0;*/
    /*top: 2.8em;*/
    top: 3.6em;
    width: 75%; /* 9 columns */

    /* scroll */
    height: 100%;
    /*overflow-y: scroll;*/
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #sidebar-inner {
    height: 100%;
    /*overflow-y: scroll;*/
    overflow-y: auto;
  }
}
