/* The side navigation menu */
.sidenav {
    /*height: 50%;  100% Full-height */
/*    height: 215px; commented by Brett */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,.8); /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 20px; /* Place content 20px from the top */ /*updated by brett */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    max-height: 100%;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

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

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

/* Side Nav Label */
#side_nav_trigger {
  display: none;
}
#side_nav_trigger + label {
  background-color: #333;
  color: #FFF;
  cursor: pointer;
  padding: 10px 15px;
  margin: 10px 0;
  position: absolute;
  /*top: 0;*/
  bottom:-60px;
  right: 0;
  z-index: 1;
  border-radius: 0px;
  -webkit-transition: -webkit-transform .3s ease;
  transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease, -webkit-transform .3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
      user-select: none;
}
#side_nav_trigger + label:hover {
  background-color: #222;
}
#side_nav_trigger:checked + label {
  display:none;
}

#inner_nav_content {
    color:#FFF;
    padding:20px;
}

#inner_nav_content ul li{
    list-style-type:none;
    list-style-display:none;
}

.bordered-box {clear:both;overflow:auto;}

/* 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;}
}