﻿@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Regular.ttf') format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Medium.ttf') format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Bold.ttf') format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/roboto/Roboto-Regular.ttf') format("truetype");
    font-weight: 400;
}

/* Mobile */
@media (max-width:590px) or (max-height:590px) {
    .rz-body {
        padding: 0.2rem !important;
    }

    .cus-wrapper .cus-wrapper-child.wrapper-padding {
        padding: 1rem;
    }

    .cus-wrapper .cus-wrapper-child:first-child {
        margin-bottom: 1rem;
    }

    .rz-primary:has(.rzi) {
        padding: 0px !important;
    }

    .rz-primary:has(.rzi) .rz-button-text {
        display: none !important;
    }

    .rz-grid-table-fixed .rz-frozen-cell {
        position: inherit !important;
    }
}

/* Tablet */
@media (min-width:600px) {
    .rz-body {
        padding: 0.5rem !important;
    }

    .cus-wrapper .cus-wrapper-child.wrapper-padding {
        padding: 1.5rem;
    }

    .cus-wrapper .cus-wrapper-child:first-child {
        margin-bottom: 1rem;
    }
}

/* Desktop */
@media (min-width:900px) {
    .rz-body {
        padding: 0.5rem !important;margin-bottom: 1rem;
    }

    .cus-wrapper .cus-wrapper-child.wrapper-padding {
        padding: 1.5rem;
    }

    .cus-wrapper .cus-wrapper-child:first-child {
        margin-bottom: 1rem;
    }

    .parent-scroll {
        height: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: auto;
    }
}

body {
    font-family: 'Roboto', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
}

:root {
    --rz-text-font-family: 'Roboto', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    --rz-input-disabled-color: var(--rz-text-color);
    /*--rz-icon-font-family: 'Material Symbols';*/
}
.rz-body > div {
    height: 100%;
}

.rz-dialog {
    width: 400px !important;
}

.rz-dialog-titlebar-close {
    display: none;
}

.rz-text-body1 {
    font-family: 'Roboto', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500;
    /*margin-top: 1rem;*/
}

.rz-radio-button-list-horizontal {
    line-height: 40px;
    display: flex;
}

.rz-calendar button {
    font-size: var(--rz-datepicker-trigger-icon-height) !important;
}

ul.rz-profile-menu {
    padding: 0px !important;
    margin: 0px 0px 0px auto;
    background: none;
}

ul.rz-profile-menu:hover {
    background: var(--rz-panel-menu-hover-background-color);
    border-radius: 50%;
}

.valid.modified:not([type="checkbox"]) {
    outline: none !important;
}

.rz-sidebar {
    position: relative !important;
}

.rz-navigation-item-wrapper button {
    width: 50px;
    height: 50px;
    border-radius: var(--rz-sidebar-toggle-hover-border-radius);
}

.rz-navigation-item-wrapper button i {
    color: #fff;
}

.rz-navigation-item-icon-children {
    display: none !important;
}

ul.rz-profile-menu .rz-navigation-menu {
    margin-top: 8px;
    border: var(--rz-dropdown-panel-border);
    padding: 0px;
}

.rz-growl-message p {
    display: block;
}
/*form > * {
    width: 100%;
}*/
input, button, .rz-colorpicker, .rz-lookup-search input, .rz-spinner, .rz-calendar .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox, .rz-dropdown-item, .rz-menuitem, .rz-autocomplete-list-item, .rz-multiselect-item, .rz-dropdown-items li, .rz-autocomplete-items li, .rz-multiselect-items li {
    font-family: 'Roboto', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
}
input.rz-state-disabled {
    background: var(--rz-layout-background-color);
}
input.rz-state-disabled {
    border: var(--rz-input-disabled-border) !important;
}

button.fake-menu-item {
    width: 100% !important;
    padding: var(--rz-menu-item-padding);
    height: 32px !important;
    text-align: left;
    color: var(--rz-menu-item-color) !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    float: left;
}

button.fake-menu-item:hover {
    background-color: var(--rz-menu-item-hover-background-color) !important;
    border-radius: 0px;
}

button {
    font-weight: 500 !important;
}

button i, .rz-navigation-item-icon, #cus-date-tk-container .rz-card .rzi {
    font-size: 20.5px !important;
}

h4 {
    margin-bottom: 0px !important;
}
h5 {
    margin-bottom: 0px !important;
}


/****** custom *******/

.cus-wrapper .cus-wrapper-child {
    /*background-color: var(--rz-sidebar-background-color);*/
    background-color: var(--rz-card-background-color);
    border-radius: 5px;
}

/*.cus-wrapper-opacity h4 {
    color: #fff !important;
}*/

.cus-line {
    width: 100%;
    height: 1px;
    background-color: #f2f2f2;
    margin-bottom: 1.5rem;
}

#cus-date-tk {
    width: 100%;
    overflow-x: scroll;
    padding: 16px 4px;
    /*margin-bottom: 2rem;*/
}

#cus-date-tk-container {
    width: max-content;
    padding: 4px;
}

#cus-date-tk-container .rz-card {
    color: var(--rz-text-secondary-color);
    width: 100px;
    text-align: center;
    padding: 16px 0;
    margin: 0 4px;
    position: relative;
}

#cus-date-tk-container .rz-card:hover {
    cursor: pointer;
}

#cus-date-tk-container .rz-card.selected, #cus-date-tk-container .rz-card:hover {
    background-color: var(--rz-grid-hover-background-color);
}

#cus-date-tk-container .rz-card.selected .highlight {
    width: 70%;
    height: 4px;
    background-color: var(--rz-primary);
    position: absolute;
    bottom: 3px;
    left: 15%;
    border-radius: 2px;
}

.rz-selectable tbody tr.rz-data-row.rz-state-highlight .rz-cell-data span.rz-badge {
    color: var(--rz-grid-selected-color);
    box-shadow: inset 0 0 0 var(--rz-border-width) var(--rz-grid-selected-color);
}

.rz-selectable tbody tr.rz-data-row .rz-cell-data span:hover {
    cursor: pointer;
}

.rz-variant-outlined.rz-badge-primary.rz-shade-default {
    min-height: 12px;
    min-width: 12px;
}

.rz-variant-outlined.rz-badge-primary.rz-shade-default:hover {
    background-color: var(--rz-primary-lighter);
}
.rz-navigation-item-wrapper {
    white-space: nowrap;
}

/*.rz-button-text {
    margin: 0 2px;
}*/
/*#cus-date-tk-container .rz-card.selected h4, #cus-date-tk-container .rz-card.selected p, #cus-date-tk-container .rz-card.selected i {
    color: var(--rz-grid-selected-color);
}*/
#cus-date-tk-container .rz-text-body1 {
    margin-bottom: 8px !important;
}

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}
.container-search .rz-form-field-content {
    margin: 0 !important;
}
input[disabled=""], textarea[disabled=""] {
    background: var(--rz-layout-background-color) !important;
}
td:has(.background-danger-cell) {
    background-color: var(--rz-danger-lighter);
}
td:has(.background-base-cell) {
    background-color: var(--rz-base-200);
}
th.header-background-danger {
    background-color: var(--rz-danger-lighter) !important;
}
th.header-background-danger .rz-column-title {
    color: var(--rz-on-danger-lighter) !important;
}
th.header-background-success {
    background-color: var(--rz-success-lighter) !important;
}
th.header-background-success .rz-column-title {
    color: var(--rz-on-success-lighter) !important;
}
th.header-background-info {
    background-color: var(--rz-info-lighter) !important;
}
th.header-background-info .rz-column-title {
    color: var(--rz-on-info-lighter) !important;
}
th.header-background-warning {
    background-color: var(--rz-warning-lighter) !important;
}
th.header-background-warning .rz-column-title {
    color: var(--rz-on-warning-lighter) !important;
}
.text-warning-cell {
    color: var(--rz-warning-dark);
}
/*.header-no-flex {
    display: inherit !important;
}*/
/*.cus-nav-header {
    height: 50px;
}*/
:root {
    --rz-body-font-size: 14px;
    --rz-grid-cell-font-size: 14px;
    --rz-panel-menu-item-2nd-level-font-size: 14px;
    --rz-panel-menu-font-size: 14px;
    --rz-panel-menu-font-weight: 500;
    --rz-grid-header-font-weight: 500;
    --rz-scheduler-toolbar-title-font-weight: 500;
    --rz-dialog-title-font-weight: 500;
}

.rz-grid-filter .rz-grid-filter-label {
    font-weight: 500 !important;
}

.rz-growl-title {
    font-weight: 500 !important;
}

b, strong {
    font-weight: 500 !important;
}

.rz-dropdown-label {
    margin-top: 1px;
}
.rz-splitbutton-menu {
    box-shadow: var(--rz-context-menu-box-shadow) !important;
}
.rz-splitbutton-menubutton {
    display: none;
}
/*.rz-alert.rz-info.rz-shade-lighter {
    background-color: var(--rz-panel-menu-item-2nd-level-active-background-color) !important;
}*/


td span i {
    height: 0px;
    position: relative;
    top: 4px;
}

