.md-sidebar {
    width: 20%;
    padding-top: 0%;
    max-width: 300px;
}

.md-sidebar--primary {
    background-color: #FFFFFF;
    height: 100vh;
}

[dir="ltr"] .md-sidebar__inner {
    padding-right: 0 !important;
    background-color: #FFFFFF;
    border-radius: 5px;
}

[dir=ltr] .md-nav--primary .md-nav__item:not(:first-child) {
    color: black;
    display: block;
    box-sizing: border-box;
    font-size: medium;
}
    
.index {
    color: black;
    display: block;
    box-sizing: border-box;
    font-size: 0.8rem;
    margin: 0;
   padding: .35rem .8rem;
}

[dir=ltr] .md-nav__item small {
    font-size: 15px;
    color: #888;
    display: block;
    margin-top: 2px;
    font-weight: normal;
}

[dir=ltr] .md-nav--primary .md-nav__item>.md-nav__link {
    padding: .7rem .8rem;
    margin: 0;
}

[dir=ltr] .md-nav--primary .md-nav__item .md-nav__item > .md-nav__link {
    margin: .0;
    padding: .7rem .8rem;
}

[dir=ltr] .md-nav__item a small {
    font-size: 15px;
    color: #888;
    display: block;
    margin-top: 2px;
    font-weight: normal;
}

[dir=ltr] .md-nav--primary .md-nav__item:last-child {
    border-bottom: none;
}

[dir=ltr] .md-nav--primary .md-nav__item .md-nav__item {
    font-size: medium;
    border-bottom: none;
}

.md-sidebar--secondary {
    border-radius: 4px;
    height: 40vh;
    width: 13%;
}

.md-nav--secondary {
    padding-top: 1vh;
}

[dir=ltr] .md-nav--secondary .md-nav__item {
    border-bottom: none;
    font-size: 15px;
}

[dir=ltr] .md-nav--secondary .md-nav__item > .md-nav__link {
    padding: .7rem .8rem;
    margin: 0;
}

.md-nav__link {
    box-sizing: border-box;
    align-items: anchor-center;
}



.md-nav__link--active {
    background-color:#ECF2FC;
    color: rgba(52, 104, 164, 1);
    max-width: none;
}

[dir=ltr] .md-nav--primary .md-nav__link:hover {
    background-color: #ECF2FC;
    color: var(--md-default-fg-color);
}

[dir=ltr] .md-nav--primary .md-nav__link--active:hover {
    color: rgba(52, 104, 164, 1);
}

[dir=ltr] .md-nav--primary .md-nav__link--active {
    position: relative;
}

[dir=ltr] .md-nav--primary .md-nav__link--active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: .36rem;
    border-radius: 0 .25rem .25rem 0;
    background-color: rgba(52, 104, 164, 1);
}

[dir=ltr] .md-nav--primary .md-nav__item--active > #__nav_2_label {
    background-color:#ECF2FC;
    color: rgba(52, 104, 164, 1);
    position: relative;
}

[dir=ltr] .md-nav--primary .md-nav__item--active > #__nav_2_label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: .36rem;
    border-radius: 0 .25rem .25rem 0;
    background-color: rgba(52, 104, 164, 1);
}

[dir=ltr] .md-nav--secondary .md-nav__link:hover {
    background-color: #ECF2FC;
    color: var(--md-default-fg-color);
}

[dir=ltr] .md-nav--secondary .md-nav__link--active:hover {
    color: rgba(52, 104, 164, 1);
}

[dir=ltr] .md-nav--secondary .md-nav__link--active {
    position: relative;
}

[dir=ltr] .md-nav--secondary .md-nav__link--active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: .36rem;
    border-radius: 0 .25rem .25rem 0;
    background-color: rgba(52, 104, 164, 1);
}

[dir=ltr] .md-nav--primary {
    align-items: center;
    margin: 0 !important;
}

[dir=ltr] .md-nav--primary .md-nav__list {
    padding: 0 !important;
}

[dir=ltr] .md-nav--secondary .md-nav__list {
    padding: 0 !important;
}

.md-nav--secondary .md-nav__link--active {
    max-width: none;
}

.md-nav__item--nested {
    padding: .5rem 0;
    border-top: solid silver 1px;
    border-bottom: solid silver 1px;
}


.md-sidebar__scrollwrap {
    margin: 0;
}

.md-nav__title {
    display: none;
}

b {
    color: rgb(70, 70, 70);
}

h3 {
    color: rgb(70, 70, 70);
}

#__nav_2_label {
    margin-top:0;
    align-items: center;
    margin-right: 0;
}

.center-icon {
    padding-bottom: 0.3rem;
    display: flex;
    margin-right: 0.55rem;
}

.center-icon > * {
    padding: .0rem .5rem 0 0rem;
}

.md-nav__link svg {
    fill: none;
}

@media screen and (min-width: 76.25em) {
    .md-sidebar--primary {
        width: 18rem;
        min-width: 18rem;
        max-width: 18rem;
        height: 100vh;
        background-color: transparent;
    }

    .md-sidebar--primary .md-sidebar__inner {
        width: 56px;
        height: 100vh;
        overflow: hidden;
        background-color: #FFFFFF;
        transition: width .28s ease;
    }

    .md-sidebar--primary .md-sidebar__scrollwrap {
        height: 100%;
        overflow-y: hidden;
    }

    .md-sidebar--primary:hover .md-sidebar__inner {
        width: 18rem;
    }

    .md-sidebar--primary .md-nav--primary .md-nav__toggle ~ .md-nav,
    .md-sidebar--primary .md-nav--primary .md-nav__item--nested > .md-nav {
        max-height: 40rem;
        opacity: 1;
        overflow: hidden;
        transition: max-height .28s ease, opacity .2s ease;
    }

    .md-sidebar--primary:not(:hover) .md-nav--primary .md-nav__toggle ~ .md-nav,
    .md-sidebar--primary:not(:hover) .md-nav--primary .md-nav__item--nested > .md-nav {
        max-height: 0 !important;
        opacity: 0 !important;
        pointer-events: none;
    }

    .md-sidebar--primary .md-nav__link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: .55rem;
        white-space: nowrap;
    }

    .md-sidebar--primary .md-nav__link .md-ellipsis {
        color: transparent;
        transition: color .2s ease;
    }

    .md-sidebar--primary:hover .md-nav__link .md-ellipsis {
        color: inherit;
    }

    .md-sidebar--primary .index,
    .md-sidebar--primary .center-icon span,
    .md-sidebar--primary .md-nav__item small,
    .md-sidebar--primary .md-nav__item a small {
        opacity: 0;
        max-width: 0;
        overflow: hidden;
        transition: opacity .2s ease;
    }

    .md-sidebar--primary:hover .index,
    .md-sidebar--primary:hover .center-icon span,
    .md-sidebar--primary:hover .md-nav__item small,
    .md-sidebar--primary:hover .md-nav__item a small {
        opacity: 1;
        max-width: 18rem;
        overflow: visible;
    }

    .md-sidebar--primary .center-icon img {
        min-width: 24px;
    }

    .md-sidebar--primary #__nav_2_label {
        gap: .55rem;
        position: relative;
        padding-right: 0;
        background-color: transparent !important;
        overflow: visible;
    }

    .md-sidebar--primary #__nav_2_label::before,
    .md-sidebar--primary #__nav_2_label::after {
        background-color: transparent !important;
    }

    .md-sidebar--primary #__nav_2_label .md-nav__icon {
        display: inline-flex !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity .12s ease, visibility 0s linear;
        transition-delay: 0s, 0s;
        position: absolute;
        right: .55rem;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        z-index: 1;
    }

    .md-sidebar--primary:hover #__nav_2_label .md-nav__icon {
        opacity: 1 !important;
        visibility: visible !important;
        transition-delay: .2s, .2s;
    }

    .md-sidebar--primary:hover #__nav_2_label {
        padding-right: 1.4rem;
    }

    .md-sidebar--primary #__nav_2_label .center-icon > img {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        flex: 0 0 24px !important;
        display: block;
        padding: 0 !important;
        object-fit: contain;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .md-sidebar--primary #__nav_2_label .center-icon {
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .md-sidebar--primary #__nav_2_label .center-icon {
        gap: .55rem;
        margin-right: 0;
        padding-bottom: 0;
        align-items: center;
    }

    .md-sidebar--primary #__nav_2_label .center-icon span {
        transition: none;
    }

    .md-sidebar--primary .md-nav__item--active > #__nav_2_label {
        background-color: #ECF2FC !important;
        color: rgba(52, 104, 164, 1) !important;
    }

    .md-sidebar--primary .md-nav__item--active > #__nav_2_label .center-icon,
    .md-sidebar--primary .md-nav__item--active > #__nav_2_label .center-icon span {
        color: rgba(52, 104, 164, 1) !important;
    }

    .md-sidebar--primary .md-nav__item--active > #__nav_2_label .center-icon > img {
        opacity: 1 !important;
        visibility: visible !important;
        filter: brightness(0) saturate(100%) invert(40%) sepia(19%) saturate(1539%) hue-rotate(172deg) brightness(90%) contrast(89%);
    }

    .md-sidebar--primary .md-nav__item--active > #__nav_2_label .md-nav__icon {
        color: var(--md-default-fg-color) !important;
        filter: none !important;
    }

}
