.sidenav {
    height: 100%; /* 100% Full-height */
    width: 220px; /* 0 width - change this with JavaScript */
    z-index: 998; /* Stay on top */
    left: 0;
    background-color: #2c3756; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    float:left;
    font-family: 'Montserrat','Roboto',"Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 16px;
    text-decoration: none;
    color: #CCC;
    display: block;
    transition: 0.3s;
    display: flex;
    align-items:center;
}

.sidenav a.sub-heading {
    font-size: 16px;
}

.sidenav a.sub-heading.selected {
    background-color:#3c4a71;
    border-right: 3px solid #84bbff;
}

.sidenav a.sub-heading:hover {
    background-color:#3c4a71;
    border-right: 3px solid #84bbff;
}

.sidenav a.heading {
    font-size: 18px;
    font-weight:bold;
    margin-top:16px;
    color: #ffffffe8;
}

.sidenav a.heading:first-child {
    margin-top:10px;
}

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

.sidenav a .glyphicon {
    margin-right:10px;
}

/* Position and style the close button (top right corner) */
.sidenav .sidebar-icon {
    height:21px;
    width:auto;
    margin-right:10px;
}

/* Small Device */

@media screen and (max-width: 800px) {
    .sidenav {
        width: 200px;
    }
    .sidenav a.heading {
        font-size: 16px;
    }
    .sidenav a.sub-heading {
        font-size: 14px;
    }
}

/* Mobile */

@media screen and (max-width: 600px) {
    .sidenav a {
        padding: 11px 8px;
    }
    
    .sidenav {
        width:38px;
    }
    
    .sidenav .sub-heading-text, .sidenav a.heading {
        display:none;
    }
}