﻿
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background-color: var(--page-background-color) !important;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        padding: 20px;
        background: #6d7fcc;
    }

.sidebarSection {
    background-color: var(--panel-background-color) !important;
}

.sidebarMenuItem {
    padding-left: 15px;
}


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

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

#sidebar ul li a {
    padding: 5px; /* 10 */
    font-size: 1.1em;
    display: block;
    color: var(--text-color) !important;
}

    #sidebar ul li a:hover {
        color: #7386D5;
        background-color: var(--panel-background-color) !important;
    }

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    background-color: var(--panel-background-color) !important;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

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

#content {
    width: 100%;
    padding-top: 2px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #sidebarCollapse span {
        display: none;
    }
}

/* Additions */
.rounded-circle {
    border-radius: 50% !important;
    /*    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    */
    width: 125px !important;
    height: 125px !important;
    object-fit: cover !important;
}

.initials-circle {
    border-radius: 50%;
    padding: 8px;
    border: 2px solid #666;
    color: #666;
    text-align: center;
    width: 64px;
    height: 64px;
    font-size: 32px;
}

#sidebar .logo {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    padding: 10px;
}

    #sidebar .logo span {
        display: block;
    }


/* controversial stuff */
ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background-color: var(--page-background-color) !important;
}

    ul ul a:hover {
        font-size: 0.9em !important;
        padding-left: 30px !important;
/*        background-color: var(--panel-background-color) !important; */
        background-color: var(--panel-background-color) !important;
        text-decoration: none;
        color: white !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;
}
*/
