/*
    DEMO STYLE
*/


a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar .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;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #2b303a !important;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 10px 20px 10px 20px;
    background: #F3F7EC;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,.0625) !important;
}

#sidebar ul.components {
    padding: 0 0 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1em;
    display: block;
    border-right: 1px solid rgba(0,0,0,.0625) !important;

}
#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active > a, #sidebar a[aria-expanded="true"] {
    color: #fff;
    background: #363C47;
}


a[data-toggle="collapse"] {
    position: relative;
}

#sidebar a[aria-expanded="false"]::before, #sidebar a[aria-expanded="true"]::before {
    content: '\f105';
    display: block;
    position: absolute;
    right: 20px;
    top:17px;
    font:normal normal normal 14px/1 FontAwesome;
}
#sidebar a[aria-expanded="true"]::before {
    content: '\f107';
}


#sidebar ul ul a {
    font-size: 12px !important;
    padding-left: 30px !important;
    background: #2b303a;
}

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 {
    padding: 10px 20px 20px 20px;
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%;
}
.nav-switcher{
    position: relative;
    float: left;
    top:0px;
    left: 0px;
    display: none;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    .nav-switcher{
        display: block;
    }
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

#sidebar ul li .active{
    background: #fffefe;
    color: #7386d5;
}
.sidebar-logo-text{
    color: #363C47;
    font-weight: bold;
}
.sidebar-header span{
    color: #222 !important;
}
.maximize-button-holder {
    float: left;
}
#sidebar .list-unstyled li ul li a:before{
    content: '- ';
}
#sidebar .sidebar-header span{
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}
#sidebar #logo{
    text-align: center;
}
#sidebar #logo img{
    width: 150px;
}