﻿body {
    /*For entire project*/
}


#TestUIPage
{
    font-family:Elephant;
}

    #TestUIPage .TesingMudGrid
    {
        border:dotted 1px solid;
        padding:10px;
    }

        #TestUIPage .TesingMudGrid .TestMudItemBox {
            height:200px;
            border-radius:10px;
            margin:10px;
        }

        #TestUIPage .TesingMudGrid .TestMudItemBox .SmallBox {
            height: 150px;
        }

/*////////////////////////////////////////////////////////////////////////////////////////////*/

/*#LoginContainer .p-5-percent {
    padding: 5%;
}*/

/* AppBar CSS */

#MainLayout .my-appbar {
    padding: 0 16px;
    background-color: red;
    display: flex;
    justify-content: space-between;
    color: white;
    z-index: 1100;
}

#MainLayout .appbar-title {
    margin-top: 5%;
}

#MainLayout .icons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    right: 0;
}

/* Drawer */

#MainLayout .drawer-container {
    transition: width 0.3s ease-in-out;
    width: 250px;
    height: 100vh;
    background: #f8f8ff;
    overflow: hidden;
}

#MainLayout.drawer-open .drawer-container {
    width: 250px;
}

#MainLayout.drawer-closed .drawer-container {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
}

/* Adjust Main Content */
#MainLayout main {
    flex-grow: 1;
    transition: margin-left 0.3s ease-in-out;
    width: calc(100% - 250px);
}

#MainLayout.drawer-closed main {
    width: 100%;
    margin-left: 0;
}

/* Drawer List Items */
#MainLayout .full-list {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}

#MainLayout .mud-list-item:hover {
    background-color: red;
    color: white;
    width: 100%;
}

#MainLayout .mud-navmenu .mud-list-item.mud-selected {
    background-color: red !important;
    color: white !important;
    width: 100%;
}

/* User Avatar and Footer */
#MainLayout .small-image {
    width: 100px;
    height: auto;
}

#MainLayout .footer-bg {
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    margin-top: auto;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    #MainLayout main {
        width: 100%;
        margin-left: 0 !important;
    }
}

#MainLayout .mud-drawer {
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
    width: 250px;
    height: 100vh;
    background: #f8f8ff;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    display:flex;
    flex-direction:column;
}

#MainLayout.sidebar-closed .mud-drawer {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#MainLayout .mud-drawer .mud-navmenu {
    flex-grow:1;
    display:flex;
    flex-direction:column;
}
            
@media (max-width:768px) {
    #MainLayout .mud-drawer {
        height: 100%;
    }
}