html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

/*body {
  padding-top: 56px;
}*/

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    /*left: 100%;*/ /*Left entry */
    right: 100%; /*Right entry */
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #000000;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: right, visibility;
  }
  .offcanvas-collapse.open {
    /*left: 0;*/ /*Left entry */
    right: 0; /*Left entry */
    visibility: visible;
  }
}
.navbar-collapse {
  height:100%;
}
nav.bg-dark {
  background-color: #000000 !important;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: inherit;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-top: .5rem;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  color: #fff;
}

.nav-underline .nav-link:hover {
  color: #01b2fd;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}
#nav_name {
  font-weight: 500;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }


.navmenu-fixed-right {left: auto !important;}
body.canvas-sliding, body.canvas-slid {left: auto !important;}


.offcanvasDetails-collapse {
  position: fixed;
  top: 56px; /* Height of navbar */
  bottom: 0;
  left: 100%; /*Left entry */
  /* right: 100%; Right entry */
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  overflow-y: auto;
  visibility: hidden;
  background: linear-gradient(0deg, #fff 0%, #f0f3f5 30%, #fff 100%);
  transition-timing-function: ease-in-out;
  transition-duration: .3s;
  transition-property: left, visibility;
}
.offcanvasDetails-collapse.open {
  /*left: 0;*/ /*Left entry */
  left: 0; /*Left entry */
  visibility: visible;
}

.offcanvas a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.offcanvas a:hover {
  color: #f1f1f1;
}

.offcanvas .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  z-index: 2000;
  padding:20px 30px;
}

