/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1200; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #f82c23; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

#mySidenav.active{
    width: 250px;
}

#left-sidebar .side-overlay-logo{
    background-color: white;
    width: 100%;max-height: 200px;
    padding:10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    height: 50px;
}

#left-sidebar .side-overlay-logo img{
  height: 30px;
  width: auto;
}

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

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

/* 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 */
.global-wrap {
    transition: margin-left .5s;
    z-index: 10;
}

#mySidenav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#mySidenav li a {
    display: block;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
}

#mySidenav li a.active {
    background-color: white;
    color: #af1411;
}

#mySidenav li a:hover:not(.active) {
    background-color: #af1411;
    color: white;
}

#custom-navbar{
    transition: margin-left .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;}
}
