
/* The sidebar menu */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 30px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 90px;
    left: 0;
    padding-top: 5px;
    background-color: #ffffff; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    /*   padding-top: 60px;*/ /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    /*margin-top: 10px;*/
}

/* The sidebar links */
.sidebar a {
    padding: 8px 8px 8px 10px;
    text-decoration: none;
    font-size: 15px;
    color: #2b3e50;
    display: flex;
    transition: 0.3s;

}

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

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

/* 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) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}

a.sidebarToggleBtn {
    padding: 10px;
}

.sidebar.sidebar-closed {
    width: 30px;
    background-color: white !important;
}

.sidebar.sidebar-closed {
    width: 30px;
    background-color: white !important;
}

.sidebar.sidebar-opened {
    width: 200px;
}

.main-content.sidebar-closed {
    margin-left: 30px;
    transition: 0.5s;
}

.main-content.sidebar-opened {
    margin-left: 200px;
    transition: 0.5s;
}

.sidebar-closed .side-bar-link span {
    display: none;
}

.sidebar .side-bar-link span {
    margin-left: 20px;
    white-space: nowrap;
}