/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
.list-unstyled a,
.list-unstyled a:hover,
.list-unstyled a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 1em;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.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
----------------------------------------------------- */

#sidebarLeft {
    width: 400px;
    position: fixed;
    top: 0;
    left: -400px;
    height: 100vh;
    z-index: 999;
    background: white;
    color: black;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebarLeft.active {
    left: 0;
}

#sidebarRight {
    width: 400px;
    position: fixed;
    top: 0;
    left: -400px;
    height: 100vh;
    z-index: 999;
    background: white;
    color: black;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    text-align: left;
}

#sidebarRight.active {
    left: 0;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.sidebar .sidebar-header {
    padding: 20px;
    background: white;
    color: black;
    border-bottom: 1px solid #BABABA;
}

.sidebar-header>h4 {
    margin-bottom: 0px;
}

.sidebar ul.components {
    padding: 0;
    border-bottom: 1px solid #BABABA;
}

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

.sidebar ul li a {
    padding: 10px;
    font-size: 1.3em;
    display: grid;
    text-align: right;
}

#sidebarLeft.sidebar ul li a,
#sidebarRight.sidebar ul li a {
    text-align: left;
    display: inherit;
}

#sidebarLeft.sidebar ul li a .totalChildren,
#sidebarLeft.sidebar ul li a .seeAll,
#sidebarRight.sidebar ul li a .totalChildren,
#sidebarRight.sidebar ul li a .seeAll {
    margin-left: auto;
}

.sidebar a {
    width: 100%;
}

.sidebar ul li a:hover {
    color: white;
    background: #dee2e6;
}

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: 1.1em !important;
    background: white;
}

#sidebarLeft ul ul a {
    padding-left: 2em !important;
}

#sidebarRight ul ul a {
    padding-right: 2em !important;
}

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;
}

li.active a {
    background: #dee2e6;
}


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

#content {
    width: 100%;
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

.btn-info>img {
    height: 64px;
    width: auto;
}

.btn-info {
    background-color: white;
    border-color: #dee2e6;
}

.menuItem {
    display: flex;
}

.menuItemUpvote {
    padding: 5px;
    line-height: 1.5;
    display: flex;
}

.fa-thumbs-up.blue {
    color: #428bca;
    margin: 3px 5px 0 0;
}

.totalChildren {
    display: flex;
    font-weight: bold;
    margin-left: .5em !important;
}

.totalChildren>div {
    text-align: center;
    width: 30px;
}