/*
 * Taken from https://getbootstrap.com/docs/4.0/examples/dashboard/dashboard.css
 */


/*
 * Base structure
 */


/* Move down content because we have a fixed navbar that is 3.5rem tall */

body {
    padding-top: 3.5rem;
}


/*
   * Typography
   */

h1 {
    margin-bottom: 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid #eee;
}


/*
   * Sidebar
   */

.sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid #eee;
    transition: all 1s ease;
}

.sidebar.hidden {
    max-width: 0;
    transition: all 1s ease;
}

main {
    transition: all 1s ease;
}

main.active {
    max-width: 100%;
    flex: 0 0 100%;
    transition: all 1s ease;
}


/* Sidebar navigation */

.sidebar .nav {
    margin-bottom: 20px;
}

.sidebar .nav-item {
    width: 100%;
}

.sidebar .nav-item+.nav-item {
    margin-left: 0;
}

.sidebar .nav-link {
    border-radius: 0;
}


/*
   * Dashboard
   */


/* Placeholders */

.placeholders {
    padding-bottom: 3rem;
}

.placeholder img {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}


/*
 * for sidebar
 */

.divider {
    height: 1px;
    width: 100%;
    display: block;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}


/*
 * for main page
 */

.nav-tabs {
    margin-bottom: 1rem;
}