/* The side navigation menu */
.sidenav {
  /*height: 100%;
  width: 0;
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
  opacity: 0.98;*/
  height: 100%;
  width: 275px;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: -500px;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  opacity: 0.98;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 12px;
  color: #818181;
  display: block;
  transition: 0.3s;
  position: relative;
}
.sidenav a:focus {
  outline: none;
  box-shadow: none;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus {
  color: #f1f1f1;
}

/* Active state for sidenav */
.sidenav a.active {
  color: #f7941e;
  background: rgba(247, 148, 30, 0.1);
}
.sidenav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #f7941e;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#wrapper {
  transition: margin-right 0.5s;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}