.sidenav {
    height: 100%; /* 100% Full-height */
    width: 250px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: -250px;
    background-color: #333; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 0px;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
.sidenav a {
    padding: 8px 8px 8px 25px;
    text-decoration: none;
    font-size: 14px;
    color: #818181;
    display: block;
    transition: 0.3s
}
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}
.sidenav ul {
    list-style: none;
    padding-left: 0px;
}
.sidenav .collapsed {
    position: relative;
    display: none;
    top: 0px;
    left: 0px;
    background-color: #222;
}

.sidenav-header {
    height: 50px;
    padding: 12px 10px 10px 25px;
    font-size: 20px;
    color: white;
    background-color: #444;
}
.sidenav-header img {
    width: 1.5em;
    height: 1.5em;
    vertical-align: bottom;
}

.sidenav-footer {
    position: absolute;
    bottom: 0;
    color: #818181;
    padding-left: 25px;
}

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

@media (max-width: 768px) {
    .sidenav-header {
        padding: 20px 10px 10px 25px;
        height: 65px;
    }
}
