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

.btn-offcanvas-toggle,
.btn-offcanvas-hide {
  display: none;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 979px) {
  body {
    padding-top: 70px;
    }
    .row-offcanvas {
      position: relative;
      -webkit-transition: all .25s ease-out;
         -moz-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: -220px; /* 6 columns */
    }

    .row-offcanvas-left
    .sidebar-offcanvas {
      left: -220px; /* 6 columns */
    }

    .row-offcanvas-right.active {
      right: 220px; /* 6 columns */
    }

    .row-offcanvas-left.active {
      left: 220px; /* 6 columns */
    }

    .sidebar-offcanvas {
      position: absolute;
      top: 0;
      width: 220px; /* 6 columns */
      background: #000;
    }

    .btn-offcanvas-toggle,
    .btn-offcanvas-hide {
      display: block;
    }

  .btn-offcanvas-toggle{
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1050;
    color: #ddd;
    width: 40px;
    height: 40px;
    background: #111;
    border: 1px solid #222;
  }

  .btn-offcanvas-hide {
    width: 30px;
    height: 30px;
    background: #050505;
    border: 1px solid #222;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #999;
    z-index: 1050;
  }

  .btn-offcanvas-hide:hover {
    background: #111;
    color: #ddd;
  }

  .btn-offcanvas-toggle:hover {
    color: #fff;
  }

}

