﻿
@media only screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}

details summary {
    cursor: pointer;
    display: block;
    text-decoration:double;
}

    details summary::marker {
        display: none;
        
    }
    details summary:hover {
        color: hotpink;
    }


summary:hover,
summary:hover::before {
    color: green;
    border-color: crimson;
}
/*Background*/
.mybg {
    background: #eef5db !important;
}

 
 
@media print {
    /* Hide sidebar, header, footer, navigation, and any non-essential elements */
    header,
    footer,
    form,
    aside.sidebar-wrapper,
    .e-sidebar,
    .e-grid .e-toolbar,
    .e-numericitem,
    .e-pager,
    .e-pagercontainer,
    .e-icons,
    .no-print, /* Any button or element with 'no-print' class */
    .top-navbar-right {
        display: none !important;
    }

    /* Make body and html take full width/height and remove margins */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #fff !important;
    }

    /* Container and main content wrapper adjustments */
    .wrapper, .page-content, .container, .row, .col-md-12 {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* If you want table borders to appear clearly on paper */
    table {
        border-collapse: collapse !important;
        width: 100%;
    }

        table th, table td {
            padding: 8px;
        }
}

 
 

 
/*for tab control*/
div.login-logout-tab div.card-header {
    padding: 0px 0px 12px 0px;
}

div.login-logout-tab ul.nav-tabs {
    margin: 0px 0px -12px 0px;
}

div.login-logout-tab li.nav-item {
    width: 50%;
}

div.login-logout-tab a.nav-link {
    font-size: 25px;
    color: #495057;
    text-align: center;
}

div.card-content {
    padding: 10px 20px;
}

 


/*Button*/
.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
}

/*Hyperlink*/
.no-a-decoration, .no-a-decoration:hover {
    text-decoration: none;
    color: inherit;
}



.e-bigger {
    font-size: x-large;
}

.main-content {
    margin-left: 290px;
    overflow-y: auto;
    height: 92vh;
}


/*BreadCrumb*/
.e-breadcrumb a, .e-breadcrumb a:hover {
    text-decoration: none !important;
    color: rgb(171, 163, 152) !important;
    co
}

/*Button*/
.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
}

/*Hyperlink*/
.no-a-decoration, .no-a-decoration:hover {
    text-decoration: none;
    color: inherit;
}

/*Grid*/
/* Enhanced Syncfusion Grid Header Styling */

.e-grid {
    border: 0;
    border-radius: 5px;
}

.e-grid .e-gridcontent, .e-grid {
    background-color: #fff;
}

       

          

.e-grid .e-gridpager {
    border-top: solid 1px;
}

.e-grid .e-pagercontainer {
     
    /*  background-color: rgb(171, 163, 152);*/
}

.e-grid .e-content table {
    padding: 5px 5px;
    border-radius: 5px;
}

.e-pagercontainer .e-icons {
    
    border: none !important;
}

.e-pager .e-numericitem {
    color: #212b36;
     
}

.e-pager .e-numericitem:not(.e-currentitem) {
    border: none !important;
}

.e-pager .e-numericitem:hover {
    color: #fff;
}

.e-pager .e-numericitem.e-currentitem {
    color: #fff;
    border: none !important;
    /* background-color: rgb(171, 163, 152);*/
}

.e-pager div.e-icons:not(.e-disable) {
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.e-grid .e-pager {
    padding-left: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


.e-grid .e-gridheader {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.e-grid .e-headertext {
    padding: 10px 5px !important;
}
.e-grid .e-headercell {
    background-color: #eef5db !important;
    font-weight: bold !important;
    font-size: 14px !important;
    color: #000 !important;
    border-bottom: 2px solid #eef5db !important;
}

.custom-grid .e-gridheader .e-headercell {
    background-color: #eef5db;
}
 /* Style the toolbar background and text */
.e-grid .e-toolbar {
    background-color: #eef5db !important;
    border-bottom: 0px;
}

.e-grid .e-toolbar .e-tbar-btn .e-tbar-btn-text {
    color: #333 !important;
    font-weight: 600;
}

/* Increase print button size inside toolbar */
    .e-grid .e-toolbar .e-tbar-btn {
        padding: 6px 14px !important;
        font-size: 14px !important;
        height: 36px !important;
        background: #eef5db;
    }

/* Style the search input in the grid toolbar */
.e-grid .e-toolbar .e-search input.e-input {
    height: 36px !important;
    font-size: 14px !important;
    padding: 2px 12px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    background:#fff;
}
/*SideBar*/
#sidebar {
    background-color: rgba(72, 84, 95, 0.12) border-right: 1px dashed rgba(75,82,85,0.24);
    padding: 10px 20px;
    overflow: hidden;
}

    #sidebar .e-menu-wrapper {
        width: 100%;
        background-color: inherit;
    }

#sidebar-toggler {
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #808080;
}

    #sidebar-toggler:hover {
        cursor: pointer;
        background-color: #48545f14;
        transform: scale(1.05) translateZ(0px);
    }

#sidebar.e-close {
    padding-left: 10px;
    padding-right: 10px;
}

    #sidebar.e-close .app-logo {
        display: none;
    }

    #sidebar.e-close .e-anchor-wrap, #sidebar.e-close .e-menu-item.e-menu-caret-icon {
        font-size: 0px;
    }

    #sidebar.e-close .profile-wrapper .titles {
        display: none !important;
    }


    #sidebar.e-open .e-anchor-wrap,
    #sidebar.e-close .e-menu-icon, #sidebar.e-open .e-menu-icon {
        visibility: visible;
    }

#sidebar.e-open .profile-wrapper .titles, #sidebar.e-open .app-logo {
    display: flex;
}

#sidebar.e-sidebar.e-right.e-close {
    visibility: visible;
    transform: translateX(0%);
}

#sidebar.e-open #sidebar-toggler:before {
    content: '\f100'
}

#sidebar.e-close #sidebar-toggler:before {
    content: '\f101'
}

/*Widget*/
.card rounded-2 {
    border-radius: 1rem;
    background-color: #d9d8d4;
    color: #424d3c
}

    .card rounded-2.summary > div:first-child {
        padding: 1rem;
        border-top-left-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }

        .card rounded-2.summary > div:first-child i {
            font-weight: bold;
        }

    .card rounded-2.income > div:first-child {
        color: #65da41;
    }

    .card rounded-2.expense > div:first-child {
        color: #ff4e48;
    }

    .card rounded-2.balance > div:first-child {
        color: #2aa1ff;
    }

    .card rounded-2.chart {
        padding: 3px;
        max-height: 350;
    }



/*---------UL----------------*/

.toggle {
    cursor: pointer;
    font-weight: bold;
    margin-right: 5px;
    display: inline-block;
    width: 20px;
}

.collapse {
    display: none;
    margin-left: 20px;
}

    .collapse.show {
        display: block;
    }

.folder {
    cursor: pointer;
}
ul {
    list-style-type: none;
    color: #888;
}

ul span.folder {
    color: #534b18;
    font: 1.3rem sans-serif;
    text-transform: capitalize;
    cursor: pointer;
}


    ul span.folder:hover,
    ul span.folder:hover::before,
    ul span.folder:hover + ul.nested > li,
    ul span.folder:hover + ul.nested li::after,
    ul span.folder:hover + ul.nested ul.nested::before,
    ul span.folder:hover + ul.nested::before {
        color: crimson;
        border-color: crimson;
    }


ul.nested {
    position: relative;
    max-height: 0;
    overflow: hidden;
    /* transition: .4s ease-in-out; */
}

ul.nested::before {
    position: absolute;
    content: "";
    left: 7.2%;
    top: .32rem;
    width: 1.5rem;
    height: 100%;
    border-left: 1.3px solid #00ff2a;
    transition: 2s ease-in-out;
}


ul.nested li {
    position: relative;
    padding-left: 3rem;
    transition: .2s ease-in-out;
}

ul.nested li::after {
    position: absolute;
    content: "";
    left: 7.5%;
    top: .32rem;
    width: 1.5rem;
    height: 1rem;
    border-bottom: 1.3px solid #00ff2a;
    transition: .2s ease-in-out;
}

ul span.folder::before,
li.file-html::before,
li.file-css::before,
li.img::before {
    display: inline-block;
    margin-right: .4rem;
    font: 1.8rem sans-serif;
    transition: .2s ease-in-out;
}

ul span.folder::before {
    content: '\1f5c0';
    color: #d6ded8;
}

ul span.folder.active::before {
    content: '\1f5c1';
}

li.file-html::before {
    content: '\1F5B9';
    color: yellow;
}

li.file-css::before {
    content: '\1F5CB';
    color: deepskyblue;
}

li.img::before {
    content: '\1F5BB';
    color: #f800ff;
}


