body {
    display: flex;
    width: 100%;
}

.sort-column {
    cursor: pointer;
}

a {
    cursor: pointer;
}

.bg-app {
    background: #35174e !important;
}

#sidebar {
    width: 250px;
    margin-left: -250px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    background: #35174e;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: 0;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:visited,
#sidebar a:link,
#sidebar a:active {
    color: #fff;
    text-decoration: none;
}

#sidebar a[data-toggle="collapse"] {
    position: relative
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul a {
    display: block;
    padding: 10px 15px;
}

#sidebar ul ul a {
    padding-left: 30px;
    font-size: 0.9rem;
}

#sidebar-header {
    display: flex;
    align-items: center;
    padding: 15px;
}

#sidebar-header img {
    width: 80%;
    height: auto;
}

#sidebar .sidebar-toggle {
    color: #fff;
    width: 20%;
    text-align: right;
}

#sidebar li.active>a {
    background: rgba(255, 255, 255, 0.1);
}

#sidebar li>a:hover {
    background: rgba(255, 255, 255, 0.1);
}

#scroll-top {
    position: fixed;
    left: 0;
    bottom: 0;
}

#main {
    width: 100%;
    min-height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.3s;

    padding: 15px;
    margin-right: auto;
    margin-left: auto;
}

#main.active {
    width: calc(100% - 250px);
}

.sidebar-toggle {
    padding: 0;
}

#main.active .sidebar-toggle {
    display: none;
}

#main>.navbar {
    margin-top: -15px;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 15px;
}

@media (min-width: 1200px) {
    #sidebar {
        margin-left: 0;
    }

    #sidebar-header img {
        width: 100%;
    }

    #main {
        width: calc(100% - 250px);
    }

    .sidebar-toggle {
        display: none;
    }
}
