@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    font-family: 'Poppins', sans-serif;
    background: var(--site-background);
}

#sidebar .menu-section {
    padding: 15px var(--sidebar-section-padding-left) 0;
    background: var(--sidebar-menu-section);
    font-size: 1.4em;
    border-radius: 5px;
    font-weight: bold;
}
#sidebar .menu-section:after {
    content: ""; /* This is necessary for the pseudo element to work. */
    display: block; /* This will put the pseudo element on its own line. */
    width: 80%; /* Change this to whatever width you want. */
    padding-top: 10px; /* This creates some space between the element and the border. */
    border-bottom: 1px solid var(--elements); /* This creates the border. Replace black with whatever color you want. */
}

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

#sidebar a, a:hover, a:focus {
    color: inherit;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.1s;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: var(--sidebar-background);
    color: var(--sidebar-text);
    transition: all 0.3s;
    border-radius: 5px;
}

#sidebar ul.components {
    padding: 10px 0 0 0;
}

#sidebar ul p {
    color: var(--sidebar-menu-text);
    padding: 20px;
}

#sidebar ul li a {
    padding: 10px 10px 10px 0;
    padding-left: var(--sidebar-left-padding);
    font-size: 0.9em;
    display: block;
    color: var(--sidebar-menu-text);
}
#sidebar ul li a:hover {
    color: var(--sidebar-item-hover);
}

#sidebar ul li a:after {
    content: "";
    display: block;
    width: 85%;
    padding-top: 2px;
    border-bottom: 1px solid var(--sidebar-menu-item-underscore);
}

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

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

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    /*background: #ee363b;*/
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0px;
        /*padding-right: 20px;*/
        border-radius: 0px 5px 5px 0px;
    }
}