
/* ---------------------------------------------------
    sidebar-wrapper STYLE
----------------------------------------------------- */
.navbar {
   /* margin-left: 5px;*/
}
.wrapper {

    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}


#sidebar-wrapper {


    color: #fff;
    transition: all 0.250s cubic-bezier(0.945, 0.020, 0.270, 0.665) ;
    transform-origin: bottom left;

    margin-left: -19rem !important;
    height: 100%;
    z-index: 999;
}
#sidebar-wrapper .sidebar-header {
    padding: 0 !important;
}
.threedot {
    height: 100vh !important;

    width: 20px !important;
    display: flex;
    align-items: center;
    z-index: 1025;
}
.threedot div{
    background: #cacaca !important;
    height: 100vh;
    width:20px;
    position: fixed;
}
.threedot div:after{
    content: '\2807';
    font-size: 2.5em;
    color: #fefefe;
    position: absolute;
    top:50%;

}
#sidebar-background {
    overflow: auto;
    background: #ccc;
    height: 100%;
    width: 19rem;

}
#sidebar-wrapper .list-group {


    padding-top: 3rem !important;
}

#sidebar-wrapper ul {

}

#sidebar-wrapper.active {
   /* margin-left: -19rem !important;*/
    margin-left: 0rem !important;
   /* transform: rotateY(100deg) ;*/
}

#sidebar-wrapper .sidebar-wrapper-header {
    padding: 20px;
    background: #bbb;
}

/* Level 1 Container */
#sidebar-wrapper ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
    /*width: 90%;*/
    /*margin: auto;*/
    margin-left: 10px;
    margin-bottom: 10px;
}

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

#sidebar-wrapper ul li {
    background: #f1f1f1;
}

#sidebar-wrapper ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    height: 60px;
    background: #fff;
    color: #333;
    box-shadow: 0 0 12px rgba(0,0,0,.04);
    margin-bottom: 10px;
}
#sidebar-wrapper ul li a:hover {
    color: #FF2626;
    background: #fff;
}

#sidebar-wrapper ul li.active > a, #sidebar-wrapper ul li > a {
    color: #333;
    background: #ffffff;
}
#sidebar-wrapper ul li.active > a[aria-expanded="true"],#sidebar-wrapper ul li > a[aria-expanded="true"] {
    color: #666;
    background: #f1f1f1;
    box-shadow: none;
}

.dropdown-toggle {
    background: #fff;
}

/* Sub Menus */

#sidebar-wrapper ul li ul, #sidebar-wrapper ul li ul li ul {
    width: 100%;
    position: relative;
    background: #f1f1f1;
    /*box-shadow: 0 0 9px rgba(0,0,0,.16);*/
    margin-bottom: 10px;
    padding-bottom: 10px;
    transition: all .7s ease-in-out;
}
#sidebar-wrapper ul li ul li, #sidebar-wrapper ul li ul li ul li {
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 0 19px rgba(0,0,0,.08);
    transition: all .7s ease-in-out;
}
#sidebar-wrapper ul li ul li:hover, #sidebar-wrapper ul li ul li ul li:hover {
    box-shadow: 0 0 19px rgba(0,0,0,.24);
    transition: all .3s ease-in-out;
}







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: #6d7fcc;
}

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

#sidebar-wrapperCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
    z-index: 1000;
}

#sidebar-wrapperCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all .3s ease-in-out;;
    transition-delay: 0.2s;
}

#sidebar-wrapperCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebar-wrapperCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebar-wrapperCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebar-wrapperCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar-wrapper {

        margin-left: -19rem  !important;

    }
     #sidebar-wrapper.active {
         margin-left: 0 !important;
         min-width: 19rem;
        /* transform: rotateY(0deg);*/

      }
    #page-content-wrapper {
        min-width: 0 !important;
        width: 100%;
        margin-left: 5px;

    }
    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
    .threedot div:after{
        content: '\2807';
        font-size: 2.5em;
        color: #fefefe;
        position: absolute;
        top:20px;

    }
    #sidebar-wrapperCollapse span:first-of-type,
    #sidebar-wrapperCollapse span:nth-of-type(2),
    #sidebar-wrapperCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebar-wrapperCollapse.active span {
        margin: 0 auto;
    }
    #sidebar-wrapperCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebar-wrapperCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebar-wrapperCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }


}