/*
    ADDITIONAL DEMO STYLE, NOT IMPORTANT TO MAKE THINGS WORK BUT TO MAKE IT A BIT NICER :)
*/
.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    /* don't forget to add all the previously mentioned styles here too */
    width: 250px;
    position: fixed;
    top: 56px;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: linear-gradient(225deg, #e30212 0%, #e30212 50%);
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0px 0px 5px 1px #aeaeae;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 10px;
    border-bottom:2px solid #fff;
}

#sidebar .list-unstyled .components {
    padding: 20px 0;
}

#sidebar .list-unstyled li .sidebar-item {
    color: #fff;
    padding: 10px;
    display: block;
    font-family: Roboto, Arial, sans-serif;
}
#sidebar .list-unstyled li a:hover {
    color: #e30212;
    background: #fff;
}

#sidebar .list-unstyled li.active > a {
    color: #e30212;
    background: linear-gradient(225deg, #fff 0%, #fff 50%);
}

.sidebar-item, .sidebar-item:hover, .sidebar-item:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-item .fas{
    width: 30px;
    height: 25px;
}

.sidebar-item .active :after{
    top: 5px;
    right: 0;
    width: 13px;
    content: 'a';
    height: 29px;
    position: absolute;
    display: inline-block;
    background-position: 0 0;
    background-size: 13px 29px;
    background-repeat: no-repeat;
    background-image: url('/img/sidebar_arrow.png');
}

.list-unstyled .list-unstyled a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

#content {
    width: calc(100% - 250px);
    margin-top: 56px;
    padding: 20px;
    min-height: calc(100% - 56px);
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.active {
    width: 100%;
}