﻿
:root {
    --clr-bg-gradient-from: #ECF3FD;
    --clr-bg-gradient-to: #EFF0F2;
    --clr-sidemenu-bg: #ECF3FD;
    --clr-sidemenu-bg-alt: #d5dfed;
    --clr-theme: #055FFD;
    --clr-base: #fff;
    --clr-danger: #E01D33;
    --clr-base-inverse: #000;
    --clr-base-alt: #ecebeb; /* #d3d3d3;*/
    --clr-background: var(--clr-base);
    --clr-background-alt: #EDF6FD;
    --clr-accent-50: #055FFD10;
    --clr-accent-100: #055FFD22;
    --clr-accent-300: #055FFDBB;
    --clr-accent: var(--clr-theme);
    --clr-secondary: #009688; /* #013CBC;*/
    --clr-accent-dark: #013CBC;
    --clr-accent-foreground: var(--clr-base);
    --clr-select-background: #ebfbeb;
    --clr-activetree-background: #dbdbdb;
    --clr-activetree-foreground: #000;
    --clr-background-alt: #ECF3FD;
    --clr-header-background: #1b75bb;
    --clr-header-foreground: var(--clr-base-inverse);
    --clr-background-100: #f7f7f7;
    --clr-background-summary: var(--clr-background-100);
    --clr-background-150: #f3f3f3;
    --clr-background-200: #f1f1f1;
    --clr-background-300: #eee;
    --clr-background-500: var(--clr-text-500);
    --clr-placeholder: #B5B5B5;
    --clr-grid-toolbar-items: var(--clr-text-500);
    --clr-text-100: #eee;
    --clr-text-200: #ddd;
    --clr-text-300: #bbb;
    --clr-text-400: #999;
    --clr-text-500: #707070;
    --clr-text-800: #333;
    --clr-text-900: var(--clr-base-inverse);
    --clr-text: #202022;
    --clr-headertext: #676E76;
    --clr-selecteditem: rgb(229, 231, 235);
    --clr-kpi-down: var(--clr-danger);
    --clr-kpi-up: #2CD9C5;
    --clr-menu-sidebar-text-icon: var(--clr-text-500);
    --header-height: 90px;
    --title-height: 0px;
    --footer-height: 0px;
    --gridpager-height: 56px;
    --gridtoolbar-height: 40px;
    --gridtab-height: 40px;
    --gridheader-height: 32px;
    --gridtallheader-height: 56px;
    --gridextratoolbar-height: 72px;
    --grid-twin-extratoolbar-height: 62px;
    --grid-groupingpanel-height: 50px;
    --grid-guttering-height: 20px;
    --grid-summary-height: 20px;
    --grid-filterbar-height: 40px;
    --grid-aggregates-height: 20px;
    --moinfobar-height: 80px;
     --basic-font: 'Open Sans'; 
    /*--basic-font: 'Inter';*/
    --title-weight: 700;
    --subtitle-weight: 500;
    --text-weight: 400;
    --header-height-sidebar-grid-title: 57px;
    --header-height-sidebar-grid-search: 61px;
    --header-height-sidebar-grid-UserData: 94px;
    --header-height-sidebar-tabHeader: 40px;
    --dialog-s: 600px;
    --dialog-sm: 850px;
    --dialog-m: 1000px;
    --dialog-l: 1300px;
    --input-element-height: 50px;
    --sidebar-width-closed: 90px;
    --sidebar-width-open: 230px;
}

@media (max-width: 1024px) {
    :root {
        --grid-guttering-height: 20px;
        --gridextratoolbar-height: 59px;
        --grid-twin-extratoolbar-height: 59px;
        --gridheader-height: 40px;
        --gridtallheader-height: 50px;
        --gridtoolbar-height: 42px;
        --header-height: 50px;
        --vertical-grid: -20px;
        --gridtab-height: 48px;
        --gridpager-height: 85px;
    }
}




*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

html {
    font-size: 14px;
    font-family: var(--basic-font);
    overscroll-behavior: contain;
    
}

.e-control, .e-css {
    font-family: var(--basic-font);
    font-size: 1rem;
}

html body input.e-input,
html body textarea.e-input,
html body .e-input-group,
html body .e-input-group.e-control-wrapper,
html body .e-input-group.e-disabled,
html body .e-input-group.e-control-wrapper.e-disabled {
    font-family: var(--basic-font)
}
body {
    /* background: var(--clr-background);*/
    overscroll-behavior: contain;
    overflow-x: hidden; /*this will break sticky scroll*/
  
    -webkit-overflow-scrolling: touch;
    background: transparent linear-gradient(90deg, var(--clr-bg-gradient-from) 0%, var(--clr-bg-gradient-to) 100%) 0% 0% no-repeat padding-box;
    min-height: 100vh;
    font-family: var(--basic-font);
    color-scheme: light dark;
}

@media (max-width: 1024px) {
    html {
        overflow-x: hidden;
        font-size: 18px;
        font-weight: 600;
        -webkit-user-drag: none;
        -webkit-overflow-scrolling: touch;
    }

        html .e-bigger .e-grid .e-rowcell,
        html .e-bigger .e-grid .e-summarycell,
        html .e-bigger .e-grid .e-groupcaption,
        html .e-grid.e-bigger .e-rowcell,
        html .e-grid.e-bigger .e-summarycell,
        html .e-grid.e-bigger .e-groupcaption {
            font-size: 1rem;
            font-weight: 600;
        }


        html .e-control .e-css,
        html input.e-input.e-bigger, html .e-bigger input.e-input, html .e-input-group.e-bigger input,
        html .e-input-group.e-bigger input.e-input, html .e-input-group.e-control-wrapper.e-bigger input,
        html .e-input-group.e-control-wrapper.e-bigger input.e-input, html .e-bigger .e-input-group input,
        html .e-bigger .e-input-group input.e-input, html .e-bigger .e-input-group.e-control-wrapper input,
        html .e-bigger .e-input-group.e-control-wrapper input.e-input, html .e-float-input.e-bigger input,
        html .e-float-input.e-bigger input.e-input, html .e-bigger .e-float-input input, html .e-bigger .e-float-input input.e-input,
        html .e-float-input.e-control-wrapper.e-bigger input, html .e-float-input.e-control-wrapper.e-bigger input.e-input,
        html .e-bigger .e-float-input.e-control-wrapper input
        html .e-bigger .e-float-input.e-control-wrapper input.e-input {
            font-size: 1rem;
            font-weight: 600;
        }

    body {
        display: unset;
        overflow-x: hidden;
        -webkit-user-drag: none;
    }

    .e-grid .e-rowcell:not(.e-editedbatchcell):not(.e-updatedtd), .e-grid .e-detailrowcollapse:not(.e-editedbatchcell):not(.e-updatedtd), .e-grid .e-detailrowexpand:not(.e-editedbatchcell):not(.e-updatedtd), .e-grid .e-gridcontent .e-rowdragdrop:not(.e-editedbatchcell):not(.e-updatedtd), .e-grid .e-gridheader .e-rowdragdrop:not(.e-editedbatchcell):not(.e-updatedtd), .e-grid .e-emptyrow:not(.e-editedbatchcell):not(.e-updatedtd) {
        background-color: var(--clr-background);
    }

    .e-bigger .e-grid span.e-headertext {
        color: var(--clr-accent);
        font-size: 0.8rem;
        font-weight: 700;
    }
}

    img.company_header_logo { 
        max-height: 50px;
    }



    #MenuSidebar.e-close .menu-footer-items {
        display: none
    }

    #MenuSidebar.e-close .sidebar-item .e-text {
        display: none
    }

    .navigation-menu-header {
        display: flex;
        align-items: center;
        gap: 30px;
        justify-content: center;
    }

    #MenuSidebar.e-open .navigation-menu-header {
        margin-left: unset;
        justify-content: space-around;
        flex-direction: row-reverse;
    }

    .navigation-menu-header .hamburger-menu {
        cursor: pointer;
    }

    #MenuSidebar.e-open .navigation-menu-header .hamburger-menu {
        position: absolute;
        left: 2rem;
    }

    .product-logo {
        background-image: url(../img/gtrace_logo.png);
        background-repeat: no-repeat;
        background-size: contain;
        height: 30px;
        margin-left: 12px;
        width: 100px;
        background-position: left;
    }


    .navigation-menu-header .hamburger-menu::after {
        content: '\f0c9';
        color: var(--clr-headertext);
        padding-left: 8px;
        font-size: 36px;
        font-weight: 900;
        font-family: 'Font Awesome 6 Free';
    } 

    @media only screen and (max-width: 768px) {
        .navigation-menu-header .hamburger-menu::after {
            padding-left: 0px;
            font-size: 24px;
            position: relative;
            top: 4px;
        }

       
    }


    /******  Docking Sidebar   */

  

 


    *::-webkit-scrollbar {
        width: var(--scrollbar-width);
        height: var(--scrollbar-height);
    }

    *::-webkit-scrollbar-track {
        background: var(--clr-scrollbarbase);
    }

    *::-webkit-scrollbar-thumb {
        background: var(--clr-scrollbar);
        border-radius: 5px;
    }

        *::-webkit-scrollbar-thumb:hover {
            background: var(--clr-scrollbarhover);
        }

    @media (max-width:768px) {

        /* Hide scrollbar for Chrome, Safari and Opera*/
        *::-webkit-scrollbar {
            display: none;
        }

        /*   Hide scrollbar for IE, Edge and Firefox*/
        * {
            -ms-overflow-style: none;
        }
    }
