﻿body {
}


.custom-table {
    min-height: 640px
}

.active-menu {
    /*  color: #3C4858;*/
    transition: 0.4s ease;
    color: #ECF0F4;
    border-radius: 15px;
    background-color: none;
}

.current {
    background-color: white !important;
    color: #2e6da4 !important;
    font-weight: bold;
}

.active {
    background-color: white !important;
    color: #2e6da4 !important;
    border-bottom: none !important;
    padding-left: 5px;
}



.fame-leftmenuarea {
    width: 200px;
    transition: width 0.3s ease;
}

    .fame-leftmenuarea.collapsed {
        width: 60px;
    }

    .fame-leftmenuarea .mainmenu li a span {
        display: inline;
    }

    .fame-leftmenuarea.collapsed .mainmenu li a span {
        display: none;
    }

.menu-toggle {
    cursor: pointer;
    font-size: 24px;
    margin: 10px;
}

.mainmenu {
    list-style-type: none;
    margin-top: 80px;
    padding: 14px;
    color: #000;
    line-height: 30px;
}

    .mainmenu a {
        padding: 10px 0 5px 0px !important;
        border-bottom: none !important;
    }

.mainmenu a:hover {
       background:none;

    }


/* Submenu styles */
.submenun {
    display: none; /* Hidden by default */
    padding-left: 0px;
    margin-top: 5px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

    .submenun li {
        list-style-type: none;
        position: relative;
        padding-left: 25px;
        line-height: 30px;
        color: black !important;
        animation: slideInLeft 0.4s ease forwards;
        opacity: 0; /* fallback for unsupported browsers */
    }

.fame-leftmenuarea .mainmenu li a span {
    position: relative;
    top: 3px;
text-decoration:none;
}

.submenun li::before {
    font-family: 'Material Design Icons';
    content: "\f0054";
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 16px;
    color: black;
    line-height: 25px; /* match li height for vertical alignment */
}

.submenun li a {
    font-size: 14px;
    color: black !important;
    border-bottom: none !important;
    padding-left: 5px;
}


    .submenun li a:hover {
        color: #2e6da4 !important;
        text-decoration: none;
    }



.activen {
    display: block !important;
}


.submenun.activen {
    display: block !important;
    /* Optional: include your slide-in animation */
    animation: slideInLeft 0.3s ease;
}

    .submenun.activen li {
        transform: translateX(0);
        opacity: 1;
        display: block !important;
        color: #2e6da4 !important;
    }

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.submenun li:nth-child(1) {
    animation-delay: 0.1s;
}

.submenun li:nth-child(2) {
    animation-delay: 0.2s;
}



@media (max-width: 768px) {

    .fame-wrapper {
        display: block;
    }



    .user-icon {
        font-size: 32px;
        width: 28px;
        height: 28px;
    }


    .container-fluid {
        margin: 0px !important;
    }

    .fame-leftmenuarea {
        display: none !important;
    }

    .fame-contentarea {
        margin-left: 0 !important;
        width: 89% !important;
        box-sizing: border-box;
        padding: 0px;
    }

    .menu-toggle {
        cursor: pointer;
        font-size: 24px;
        margin: 10px;
    }


    .custom-table h3 {
        font-size: 18px
    }
}