/* Google Font Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.sub-menu {
    color: red;
    margin-right: 10px;
    padding-right: 10px;
}

div.sidebar-lf:not(.open) > ul.nav-list-lf > li > ul {
    display: none;
}

div.sidebar-lf.open > ul > li > a.active {
    background: none;
}

div.sidebar-lf.open > ul.nav-list-lf > li > ul {
    margin-left: 10px;
    padding-left: 10px;
}

div.sidebar-lf.open > ul > li > ul:not(.open) {
    display: none;
}

div.sidebar-lf.open > ul > li::before {
    content: '';
    width: 100px;
    height: 199px;
    background-color: antiquewhite;
}

.sidebar-lf {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 78px;
    background: #11101D;
    padding: 6px 14px;
    z-index: 99;
    transition: all 0.5s ease;
}

    .sidebar-lf.open {
        width: 250px;
    }

    .sidebar-lf .logo-details-lf {
        height: 60px;
        display: flex;
        align-items: center;
        position: relative;
    }

        .sidebar-lf .logo-details-lf .icon-lf {
            opacity: 0;
            transition: all 0.5s ease;
        }

        .sidebar-lf .logo-details-lf .logo_name-lf {
            color: #fff;
            font-size: 20px;
            font-weight: 600;
            opacity: 0;
            transition: all 0.5s ease;
        }

    .sidebar-lf.open .logo-details-lf .icon-lf,
    .sidebar-lf.open .logo-details-lf .logo_name-lf {
        opacity: 1;
    }

    .sidebar-lf .logo-details-lf #btn {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        font-size: 22px;
        transition: all 0.4s ease;
        font-size: 23px;
        text-align: center;
        cursor: pointer;
        transition: all 0.5s ease;
    }

    .sidebar-lf.open .logo-details-lf #btn {
        text-align: right;
    }

    .sidebar-lf i {
        color: #fff;
        height: 60px;
        min-width: 50px;
        font-size: 28px;
        text-align: center;
        line-height: 60px;
    }

    .sidebar-lf .nav-list-lf {
        margin-top: 20px;
        height: 100%;
    }

    .sidebar-lf li {
        position: relative;
        margin: 8px 0;
        list-style: none;
    }

        .sidebar-lf li .tooltip-lf {
            position: absolute;
            top: -20px;
            left: calc(100% + 15px);
            z-index: 3;
            background: #fff;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 15px;
            font-weight: 400;
            opacity: 0;
            white-space: nowrap;
            pointer-events: none;
            transition: 0s;
        }

        .sidebar-lf li:hover .tooltip-lf {
            opacity: 1;
            pointer-events: auto;
            transition: all 0.4s ease;
            top: 50%;
            transform: translateY(-50%);
        }

    .sidebar-lf.open li .tooltip-lf {
        display: none;
    }

    .sidebar-lf input {
        font-size: 15px;
        color: #FFF;
        font-weight: 400;
        outline: none;
        height: 50px;
        width: 100%;
        width: 50px;
        border: none;
        border-radius: 12px;
        transition: all 0.5s ease;
        background: #1d1b31;
    }

    .sidebar-lf.open input {
        padding: 0 20px 0 50px;
        width: 100%;
    }

    .sidebar-lf .bx-search {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        font-size: 22px;
        background: #1d1b31;
        color: #FFF;
    }

    .sidebar-lf.open .bx-search:hover {
        background: #1d1b31;
        color: #FFF;
    }

    .sidebar-lf .bx-search:hover {
        background: #FFF;
        color: #11101d;
    }

    .sidebar-lf li a {
        display: flex;
        height: 100%;
        width: 100%;
        border-radius: 12px;
        align-items: center;
        text-decoration: none;
        transition: all 0.4s ease;
        background: #11101D;
    }

        .sidebar-lf li a:hover {
            background: #FFF;
        }

        .sidebar-lf li a.active {
            background: #1d1b31;
        }

        .sidebar-lf li a .links_name {
            color: #fff;
            font-size: 15px;
            font-weight: 400;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: 0.4s;
        }

    .sidebar-lf.open li a .links_name {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-lf li a:hover .links_name,
    .sidebar-lf li a:hover i {
        transition: all 0.5s ease;
        color: #11101D;
    }

    .sidebar-lf li i {
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        border-radius: 12px;
    }

    .sidebar-lf li.profile {
        position: fixed;
        height: 60px;
        width: 78px;
        left: 0;
        bottom: -8px;
        padding: 10px 14px;
        background: #1d1b31;
        transition: all 0.5s ease;
        overflow: hidden;
    }

    .sidebar-lf.open li.profile {
        width: 250px;
    }

    .sidebar-lf li .profile-details {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .sidebar-lf li img {
        height: 45px;
        width: 45px;
        object-fit: cover;
        border-radius: 6px;
        margin-right: 10px;
    }

    .sidebar-lf li.profile .name,
    .sidebar-lf li.profile .job {
        font-size: 15px;
        font-weight: 400;
        color: #fff;
        white-space: nowrap;
    }

    .sidebar-lf li.profile .job {
        font-size: 12px;
    }

    .sidebar-lf .profile #log_out {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background: #1d1b31;
        width: 100%;
        height: 60px;
        line-height: 60px;
        border-radius: 0px;
        transition: all 0.5s ease;
    }

    .sidebar-lf.open .profile #log_out {
        width: 50px;
        background: none;
    }

.home-section-lf {
    position: relative;
    /*background: #E4E9F7;*/
    min-height: 100vh;
    top: 0;
    left: 78px;
    width: calc(100% - 78px);
    transition: all 0.5s ease;
    z-index: 2;
}

.sidebar-lf.open ~ .home-section-lf {
    left: 250px;
    width: calc(100% - 250px);
}

.home-section-lf .text-lf {
    display: inline-block;
    /* color: #11101d;*/
    font-size: 25px;
    font-weight: 500;
    margin: 18px
}

@media (max-width: 420px) {
    .sidebar-lf li .tooltip-lf {
        display: none;
    }
}
