/*
    DEMO STYLE
*/


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

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

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

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #e3e3e3;
    color: #434343;
    transition: all 0.3s;
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1; /* Stay on top */
    top: 0;
    height:100%;
}

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

#sidebar .sidebar-header {
    /*padding: 20px;*/
    background: #e0e0e0; 
}

#sidebar .sidebar-header img {
    max-width:250px;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: none !important; 
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: white;
    background: #b3b3b3;
    font-weight:bold;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #868686;
}

#sidebar ul li ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #868686;
}

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: #9c9c9c;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left:250px;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

/*
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
    #content {
        margin-left: 0px;
    }
}
*/

@media (max-width: 768px) {
    #sidebar {
        min-width: 50px;
        max-width: 50px;
    }

    #sidebar .textDesc {
        display: none;
    }

    #content {
        margin-left: 50px;
    }

    ul ul a {
        padding-left: 0px !important;
    }
}