
a {
    text-decoration: none;
}

.fa-solid, .fas {
    font-weight: normal;
}

li {
    list-style: none;
}

body {
    /*font-family: 'Outfit', serif;*/
    /*background-color: #eafcff;*/
}

.wrapper {
    display: flex;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}

#sidebar {
    width: 80px;
    min-width: 80px;
    transition: all 0.25s ease-in-out;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    /*border-right: 1px solid #ddd;*/
}

#sidebar.expand {
    width: 200px;
    min-width: 200px;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

.toggle-btn {
    width: 30px;
    height: 30px;
    /*
    color: #fff;*/
    border-radius: 0.425rem;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #3b7ddd; */
}

.toggle-btn i {
    color: #fff;
}

#sidebar.expand .sidebar-logo,
#sidebar.expand a.sidebar-link span {
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.sidebar-logo a {
    color: #000;
    font-size: 1.15rem;
    font-weight: normal;
}

.sidebar-nav {
    padding: 0.7rem 0;
    flex: 11 auto;
    z-index: 10;
}

a.sidebar-link {
    padding: .625rem 1rem;
    /*color: #000;*/
    color: var(--bs-body-color);
    border-radius: var(--bs-border-radius-lg);
    display: block;
    white-space: nowrap;
    font-weight: normal;
    /*border-left: 3px solid transparent;*/
}
html[data-bs-theme="dark"] a.sidebar-link {
    color: #fff;
}

.sidebar-link i, .dropdown-item i {
    width:1.5em;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 90px;
    background-color: #0e2238;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover > .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown .sidebar-dropdown {
    left: 130px;
}

#mobile-menu .sidebar-link[data-bs-toggle=collapse]::after,
#sidebar.expand .sidebar-link[data-bs-toggle=collapse]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: '';
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#mobile-menu .sidebar-link[data-bs-toggle=collapse].collapsed::after,
#sidebar.expand .sidebar-link[data-bs-toggle=collapse].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.sidebar-dropdown .sidebar-link {
    position: relative;
    padding-left: 1rem;
    margin-left: 1rem;
    transition: all 0.5s;
}

.sidebar-dropdown a.sidebar-link::before {
    /*content: '';
    height: 0.125rem;
    width: 0.375rem;
    background-color: #FFFFFF80;
    position: absolute;
    left: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;*/
}

.sidebar-dropdown a.sidebar-link:hover {
    /*background: transparent;*/
    /*border-left: 3px solid transparent;*/
    /*padding-left: 2rem;
    color: #7277f2;*/
}

.navbar {
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid #ddd;
    /*box-shadow: 0 0 2rem 0 rgba(33,37,41,.1);*/
}

.navbar-expand .navbar-collapse {
    min-width: 200px;
}

.avatar {
    height: 40px;
    width: 40px;
}

.sidebar-item:not(.active) > a.sidebar-link:hover {
    background-color: var(--bs-tertiary-color);
    /*background-color: #ddd;*/ /*rgba(255,255,255,0.75);*/
    /*border-left: 3px solid #3b7ddd;*/
}

/*
html[data-bs-theme="dark"] a.sidebar-link:hover {
    color: #000;
}
*/

.sidebar-item.active > a.sidebar-link {
    background-color: var(--bs-body-bg);
}

/*
html[data-bs-theme="dark"] .sidebar-item.active > a.sidebar-link {
    color: #000;
}
*/

.sidebar-item.active > a.sidebar-link:hover {
    /*background-color: #ddd;*/ /*rgba(255,255,255,0.75);*/
    /*border-left: 3px solid #3b7ddd;*/
}

.sidebar-nav .sidebar-item .dropdown-divider {
    border-bottom: 1px solid #d9d9d9;
    margin-left: 1rem;
}

.sidebar-nav > .sidebar-item > .dropdown-divider {
    margin: 10px;
    border-bottom: 0px solid transparent;
}

#sidebar .avatar {
    background-color: #ccc;
}

.avatar .badge.badge-rt {
    top: -10px !important;
    right: -10px !important;
}

.ws-status span {
    color: #000;
    font-weight: normal;
}

#top-navigation {
    display: flex;
    flex-direction: column;
}

html[data-bs-theme="dark"] #sidebar {
    background-color: var(--bs-offcanvas-bg);
}
html[data-bs-theme="dark"] #content,
html[data-bs-theme="dark"] #bottom-nav {
    --bs-bg-opacity: 1;
    /*background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;*/
}

/*html[data-bs-theme="light"] #top-navigation,
html[data-bs-theme="light"] #sidebar,
html[data-bs-theme="light"] #content,
html[data-bs-theme="light"] #bottom-nav {
    background-color: #eafcff;
}*/

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-secondary:visited,
html[data-bs-theme="dark"] .btn-outline-secondary .ws-status {
    color: #fff;
}