/*
    DEMO STYLE
*/
.wrapper {
    display: flex;
}


.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 {
    margin-top: 80px;
    position: absolute;
    z-index: 999;
    box-shadow: none;
    outline: none !important;
    border: none;
    background-color: #fff;
    color: black;
    padding: 10px;
}
@media only screen and (min-width: 769px) {

    .navbar-btn {
        display: none;
    }
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: #ffffff;
    color: #fff;
    transition: all 0.3s;
    padding-top: 50px;
    padding-bottom: 50px;

}

/*#sidebar.active {
    margin-left: -250px;

}*/

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    margin-top:1em;
    padding: 20px 15px;
}

#sidebar ul p {
    color: #fff;
}

#sidebar ul li a {
    color: black;
    padding: 15px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #d27d4b;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #d27d4b;
}

/*
a[data-toggle="collapse"] {
    position: relative;
}*/

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\f061';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}
a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #d27d4b;
}

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: calc(100% - 250px);
    margin-left: 250px;
    transition: all 0.3s;
    position: relative;
    top: 0;
    right: 0;
    min-height:100vh;
}
#content.active {
    width: 100%;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {

    #sidebar{
        margin-left: -250px;
        margin-top: 40px;
    }

    #sidebar.active {
        margin-left: 0;
        position:fixed;
        z-index: 997;
    }

    #content {
        width: 100%;
        margin-left:0;
    }
    #content.active {
        width: 100%
    }
    #sidebarCollapse span {
        display: block;
    }

    .navbar-btn{

        position:fixed;
    }


}
@media (min-width: 1450px) {

    content {

        width: 1450px;
    }
    }