﻿html {
    background: white;
    background-color: white;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    /*margin-bottom: 60px; *//* Margin bottom by footer height */
}
html *,.btn {
    font-size: var(--body-font-size);
    /* font-family: "Open Sans",Arial,sans-serif;*/
    font-family: var(--font-primary);
}

.footer {
 /*   position: fixed;*/
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px; /* Set the fixed height of the footer here */
    line-height: 50px; /* Vertically center the text there */
    border-top: 1px solid #eee;
    background-color:white;
    z-index:2;
}
.disabledOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Gray color with 50% opacity */
    z-index: 999; /* Ensure the overlay appears above other content */
}

.dx-row-lines > td.editableCell {
 /*   border:1px solid black;*/
    background-color:white!important;
}
#cookieConsentdivBlackout {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#cookieConsentdiv {
    z-index: 1000;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 40px 30px 20px 30px;
   /* box-shadow: 0px 3px 10px 5px rgba(0, 0, 0, 0.4);*/
    text-align: center;
}
.gridButton {
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0px 5px 0px 5px;
    height:13px;
}
    .gridButton img {
        width: 18px;
        height: 18px;
    }

#formToolbar  .dx-button-text {
    font-size: 10px;
}
h1 {
    font-size: 1.8em;
}
h2 {
    font-size: 1.4em;
}
h3 {
    font-size: 1.3em;
}
h4 {
    font-size: 1.2em;
}
h5 {
    font-size: 1.1em;
}

.topmenuitem {
    font-size: 10px!important;
}
.menuIcon {
    margin-right: 5px;
}
    .topmenuitem .header-nav-main nav > ul li a.dropdown-toggle:after {
        /* content: none; */
    }
#mainTopNav {
    padding:0;
}
    #mainTopNav .collapse {
        padding: 5px 10px 5px 10px;
        background-color: white;
    }
#formToolbar .dx-button-content {
    padding: 4px 10px;
    height: 26px;
}
#formToolbar .dx-toolbar-item {
    padding:0px 2px
}
#formToolbar {
    border-left: 1px solid #eee;
    padding: 0px 5px 0px 5px;
    background-color: rgba(0,0,0,.02);
}



/* Application menu */

.nav-item:hover {
    background-color: #faf9f8;
    cursor: pointer;
}
 li.sideMenuItem a:hover {
    background-color: rgba(51,51,51,.05);
}
/*@font-face {
    font-family: OpenSans;
    src: url('../fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
}*/
/*----------------------------------------------*/

body {
    /*padding-top: 50px;*/
    /*padding-bottom: 20px;*/
    background-color: white;
    width: 100%;
    min-width: 350px;
    /*height: 100%;*/
}
#languageSelector {
    border-color: transparent;
}
.container-fluid{
    /*padding-left:0px;
    margin-left:0px;*/
}
/*.dx, .dx-widget {
    -webkit-font-smoothing: antialiased !important;
    font-family: OpenSans !important;
}*/
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    /*font-size: 20px;*/
    line-height: 1.4;
}
.Pointer {
    cursor: pointer;
}
/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}
#applicationsButton {
    border: 1px #ccc solid !important;
    height: 40px;
}
/* QR code generator */
#qrCode {
    margin: 15px;
}
#titleRobbonLowRes, #titleRibbonMobile {
    display: none;
}

#titleRobbon, titleRobbonLowRes, titleRibbonLowResMobile, titleRibbonMobile {
    height: 40px;
    align-content: center;
    display: inline-block;
    width: 100%;
    /*background-color: var(--color-primary) !important;*/
}

#titleRibbonLowResMobile {
    display: flex;
}
#workspace {
    height: 100vw;
}
.fontsizesmaller{
    font-size:smaller
}



/* CSS resolution overrides */
@media screen and (max-width: 380px) {
    body {
        /* max-width: 90%;*/
    }
}

    @media screen and (max-width: 767px) {
        body {
            /* max-width: 90%;*/
        }
        /* Hide captions */
        .carousel-caption {
            display: none;
        }

        #titleRobbon {
            display: none;
        }

        #titleRobbonLowRes {
            display: flex;
        }

        html {
            touch-action: pan-y;
        }
        /*#applicationButton {
        display: none;
    }*/
        #workspace {
            height: unset;
        }

        #userbox {
            margin: 3px 10px 0 0;
        }
       
    }

    @media screen and (max-width: 90px) {
        /* Hide captions */
        #userboxTopRight {
            display: none;
        }

        #userboxTopRightSmall {
            display: block !important;
        }

        #titleRobbon {
            display: none;
        }
    }
    /* CSS resolution overrides */
@media print {
  /*  .d-print-none {
        background-color:red;
        display: block !important;
        height: 1px !important;
        max-height: 1px !important;
    } */
}

#renderBody {
    padding-left: 15px;
    padding-top: 5px;
    border-left: 1px solid #eee;
}

.sideMenu {
    width: 120px; /* <-- left side menu width */
    height: 100%;
    /*position: fixed;*/
    z-index: 3;
    /*-moz-box-shadow: inset 1px 0px 3px 0px rgba(0, 0, 0, .5);
    -webkit-box-shadow: inset 1px 0px 3px 0px rgba(0, 0, 0, .5);
    box-shadow: inset 1px 0px 3px 0px rgba(0, 0, 0, .5);
    -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
    -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);*/
    /*padding: 10px;*/
    /*top: 0px;*/
    overflow-y: hidden;
}
.sideMenuBookeeping {
    width: 200px; /* <-- left side menu width */
}
    #drawer div.dx-overlay-content.dx-resizable {
        webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
        box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    }

.sideMenuList {
    z-index: 4;
    text-align: center;
    /*-moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
    -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    width: 117px;*/
}

    #leftMenuItems ul li a {
        color: #777;
    }

    #alertBox {
        z-index: 99999999999999999999;
            background-color: rgba(0,0,0,.5);
    }

    /*    DevExtreme CSS override     */
    .dx-datagrid-headers .dx-header-row, .dx-datagrid-headers .dx-row .dx-header-filter {
        color: rgba(0,0,0,.5);
    }

    .dx-datagrid-headers .dx-header-row {
        font-weight: 600;
        color: rgba(0,0,0,.9);
        background-color: #eee;
    }

    .dx-datagrid-filter-row .dx-editor-cell .dx-texteditor-input {
        background-color: rgba(0,0,0,.02);
    }

    .dx-datagrid .dx-row-alt > td, .dx-datagrid .dx-row-alt > tr > td {
        background-color: rgba(0,0,0,.06);
    }

    .dx-datagrid {
        background-color: transparent;
    }
.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    border-bottom: 1px solid #ccc
}
.dx-datagrid .dx-column-lines > td {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
/*CSS form grid error cells*/
.dx-datagrid-rowsview .dx-data-row .dx-validator.dx-datagrid-invalid .dx-highlight-outline::after {
    background-color: red;
}

.dx-datagrid-rowsview .dx-data-row .dx-validator.dx-datagrid-invalid.dx-focused > .dx-highlight-outline::after {
    background-color: rgba(217,83,79,.4);
} 
.dxTabContainer {

}

.dvYear {
}

.dvEmp {

}


/* system submenu */
@media screen and (max-width: 1999px) {
    .subnav-container {
        position: absolute !important;
        top: unset;
        left: unset;
    }

    .subnav {
        padding: .5rem;
    }

    .subnav-content {
        margin-left: 50px;
    }
}

@media screen and (min-width: 1200px) {
    .subnav {
        float: left;
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .subnav-container {
        position: fixed !important;
        top: 0px;
        left: 0;
        margin: 40px;
    }
}

.subnav {
    overflow: hidden;
}

    .subnav .subnavbtn {
        border: none;
        /*border-right: 1px solid;*/
        outline: none;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: white;
    width: 100%;
    z-index: 1;
    border: 1px solid rgba(0,0,0,.15);
}

    .subnav-content a {
        float: left;
        text-decoration: none;
        float: left;
        /* font-size: 10px; */
        text-align: center;
        padding: 6px 16px;
        text-decoration: none;
    }

.subnav:hover .subnav-content {
    display: block;
}
/* System submenu */

/*disable grid cell edit undo*/
.dx-datagrid-revert-tooltip {
    display: none;
}

.subttt{
    position:relative;
    top:-13px;
    font-style:italic;
}
    .subttt .dx-field-item-label-text {
        color: #777;
    }
.dx-field-item-label-text {
    color: #000;
}
.dx-datagrid {
    line-height: 10px;
}

:root {
    /* =============================================================================
         COLORS
       =============================================================================*/
    --color1: rgba(146, 245, 146, 0.20); /* green */
    --color2: rgba(154, 176, 248, 0.20);
    --color3: #f9f9f9; /* gray */
    --color-black: #333; /* black */
    --color-primary: rgba(235, 164, 234, 0.14); /* green */
    --color-secondary: rgba(146, 245, 146, 0.20); /* rose */
    /* =============================================================================
         TYPOGRAPHY
       =============================================================================*/
    --font-primary: "Open Sans",Arial,sans-serif;
    --font-secondary: "Open Sans",Arial,sans-serif;
    --body-font-size: 12px;
    --root-font-size: 10px;
    --body-line-height: 22px;
}



