﻿
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;  
    /*margin-top: -6px;*/
}

#sidebar {
    /*
    margin-top:12px;
    min-width: 250px;
    max-width: 250px;
    */
    position: fixed;
    height: 100vH;
    /*min-width: 200px;*/
    max-width: 200px;
    background: #ffffff; /*default bkgrnd  #323232 */
    color: #999999;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 50px;
    max-width: 100px;
    text-align: center;
}

#sidebar.active .sidebar-header .sidebar-header-exp,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header .sidebar-header-clps {
    display: block;
}

#sidebar .sidebar-header table {
    width: 100%;
}

#sidebar.active .sidebar-header table {
    width: 100%;
}

#sidebar ul li a {
    text-align: left;
    /*font-size: 1.25em;*/
    /*font-weight: 500;*/
    padding: 10px;
    display: block;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #ffd800; /*hoover menu*/
}

#sidebar ul li i {
    text-align: left;
    /*font-size: 1.15em;*/
    margin-right: 10px;
}    

#sidebar.active ul li a {
    text-align: center;
    /*font-weight: 400;*/
    font-size: small;
    /*margin-right: 10px;
    margin-bottom: 5px;*/
    max-width: 100px;
    display: block;
}

#sidebar.active ul li i {
    text-align: center;
    font-weight: 600;
    /*font-size: 1.5em;*/
    /*margin-right: 0;
    margin-bottom: 5px;*/
    display: block;
    }

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
    top: auto;
    bottom: 0px;
    right: 50%;
    -webkit-transform: translateX(50%) translateY(5px);
    -ms-transform: translateX(50%) translateY(5px);
    transform: translateX(50%) translateY(5px);
}

#sidebar .sidebar-header {
    padding: 4px;
    background: #3275ae;
    color: #ffffff;
    font-weight: 600;    
}

#sidebar.active .sidebar-header {
    font-size: small;
    min-width: 100px;
    max-width: 100px;
}

#sidebar .sidebar-header a {
    color: #ffffff;    
}    

#sidebar .sidebar-header .sidebar-header-clps {
    display: none;    
}

#sidebar ul.components {
    /*padding: 5px 0;*/    
}


#sidebar ul li.active > a[aria-expanded="true"] {
    color: #fff;
    background: #3275ae; /*Home menu*/
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
    color: #fff;
    background: #3275ae; /*Home menu*/
}

#sidebar a[aria-expanded="false"]::before {
    content: "\f078";
    display: block;
    position: absolute;
    right: 2px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* must use this font-wight! */
}

#sidebar a[aria-expanded="true"]::before {
    content: '\f077';
    display: block;
    position: absolute;
    right: 2px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* must use this font-wight! */
}


#sidebar ul ul a {
    /*font-size: 0.9em !important;*/
    padding-left: 30px !important;
    background: #999999;            /*submenu*/
    color: #fff;
}

#sidebar ul.CTAs {
    padding: 20px;
}

#sidebar ul.CTAs a {
    text-align: center;
    /*font-size: 0.9em !important;*/
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

#sidebar a.download {
    background: #fff;               /*download*/
    color: #323232;
}

#sidebar ul li.pagelink a {
    background: #7aabd5;
    color: white !important;
}


#sidebar a.article, a.article:hover {
    background: #3275ae !important; /*article*/
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
/*#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}*/
#content {
    padding-top: 20px;
    margin-left: 200px;
    min-height: 100%;
    transition: all 0.3s;
    width: 100%;
}

#content.active {
    margin-left: 100px;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

/*@media (max-width: 1024px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
        font-size: 4px;
    }

    #sidebar ul.components li {
        color:red;
    }

    #sidebar.active {
        margin-left: 0 !important;
        font-size: 1.0em;
    }

    #sidebar.active ul li a {
        text-align: center;
        font-weight: 400;
        font-size: 0.8em;
        margin-right: 0;
        margin-bottom: 5px;
        display: block;
    }

    #sidebar.active ul li a i {
        text-align: center;
        font-weight: 600;
        font-size: large;
        margin-right: 0;
        margin-bottom: 5px;
        display: block;
    }

    #sidebar .sidebar-header h3, #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    
    #sidebarCollapse span {
        display: none;
    }
}*/
