/*
 * Z-index:
    # DataGrid header: 1000
    # ReduceFocus: 1001
    # NavBar: 1002
    # simulation-mode-block: 1002
    # SideBar: 1003

*/


:root {
/*    --main-dark-color: #006d77;
    --main-light-color: #83c5be;*/
    --main-dark-color: #4383C4;
    --main-light-color: #41B9EB;
    --sidebar-width: 260px;
    --sidebar-width-neg: -260px;
    --navbar-height: 65px;
    --simulation-mode-block-height: 60px;
}

html {
    scroll-behavior: smooth;
    min-height: 100vh;
}
    /*#region Scroll Bar*/
    html::-webkit-scrollbar {
        width: 10px;
    }

    html::-webkit-scrollbar-track {
        background-color: #f7f7f7;
    }

    html::-webkit-scrollbar-thumb {
        background: linear-gradient(to top, var(--main-light-color) 0%, #146CD7 65%, var(--main-dark-color) 90% );
    }

    html::-moz-scrollbar {
        width: 15px;
    }

    html::-moz-scrollbar-track {
        background-color: white;
    }

    html::-moz-scrollbar-thumb {
        background: linear-gradient(to top, var(--main-light-color) 0%, #146CD7 65%, var(--main-dark-color) 90% );
    }
/*#endregion*/
* {
    font-weight: 400;
    font-size: 16px;
    /*font-family: Roboto,RobotoFallback,"Noto Kufi Arabic",Helvetica,Arial,sans-serif;*/
    font-family: 'Cairo', sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none !important;
}

.simulation-mode-block {
    height: var(--simulation-mode-block-height);
    margin-top: var(--navbar-height);
    position: fixed;
    width: fit-content;
    width: -webkit-fill-available;
    width: -moz-available;
    background-color: #7cb17c;
    color: #c23333;
    text-align: center;
    z-index: 1002;
}

/*Make the devextreme (radio btn, checkbox) border darker*/
.dx-radiobutton-icon::before, .dx-radiobutton-icon, .dx-checkbox.dx-state-readonly .dx-checkbox-icon, .dx-checkbox-icon {
    border-color: #595656 !important;
}

/*align ckeckbox and its text to the top*/
.dx-checkbox-container {
    align-items: start !important;
}
    .dx-checkbox-container .dx-checkbox-icon {
        margin-top: 6px;
    }


/*change the bg of the devextreme popup*/
.dx-overlay-shader {
    background-color: rgba(0, 0, 0, 0.75) !important;
}


/*Make Datagrid header sticky*/
/*div.dx-datagrid-header-panel {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}*/

/*.dx-datagrid-headers.dx-datagrid-nowrap {
    position: sticky;
    top: var(--navbar-height);
    background-color: white;
    z-index: 1000;
}*/

/*Change the color of the readonly fields*/
.Bluelbl .dx-field-label,
.Bluelbl .dx-label,
.Bluetxt .dx-texteditor-input {
    color: #3B85BC;
}

/*Make the overflow of the selected devextreme tab "visible" in order to display the validation errors properly*/
.dx-multiview-wrapper, .dx-multiview-item.dx-item-selected {
    overflow: visible;
}

