﻿.sidebar {
    position: fixed;
    left: -60px;
    top: 100px;
    height: 100%;
    margin-left: 8px;
    width: 100px;
    display: inline-block;
    z-index: 988;
    border: solid 1px navy;
    overflow-x: hidden;
    background: coral; /*#161a2d;*/
    padding: 0px 10px;
    /*  transition: all 0.4s ease;*/
    box-sizing: border-box;
}

.sidebar:hover {
    width: 260px;
}
@media screen and (max-width: 460px) {
    .sidebar:hover {
        width: 100px;
    }
}

    .sidebar-links h4 {
        color: #fff;
        font-weight: 500;
        white-space: nowrap;
        margin: 0px 0;
        padding-left: 10px;
        position: relative;
    }

    /*.sidebar-links h4 span {
    opacity: 0;
}

.sidebar:hover .sidebar-links h4 span {
    opacity: 1;
}
*/
    .sidebar-links .menu-separator {
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        transform: scaleX(1);
        transform: translateY(-50%);
        background: #4f52ba;
        transform-origin: right;
        transition-delay: 0.2s;
    }

    .sidebar:hover .sidebar-links .menu-separator {
        transition-delay: 0s;
        transform: scaleX(0);
    }

    .sidebar-links {
        list-style: none;
        margin-top: 10px;
        height: 80%;
        overflow-y: auto;
        scrollbar-width: none;
    }

        .sidebar-links::-webkit-scrollbar {
            display: none;
        }

        .sidebar-links li a {
            display: flex;
            align-items: center;
            gap: 0 20px;
            color: #fff;
            font-weight: 500;
            white-space: nowrap;
            padding: 15px 10px;
            text-decoration: none;
            transition: 0.2s ease;
        }

            .sidebar-links li a:hover {
                color: #161a2d;
                background: #fff;
                border-radius: 4px;
            }
