﻿/*Paging Control*/
/*.col > .e-pager {
    width: auto;
    float: right;
    margin-right: 6rem;
}*/

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1080;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*k---------SMART-LAYOUT-------------------------k*/
/*.layout {
    --bb-layout-header-height: 40px;
    --bb-layout-header-backgound: #ff7435;
}*/

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.2rem;
}

/*k---------MENU-------------------------k*/

/*Color background submenu*/
.submenu.show.collapse {
    background-color: #fff;
}

.menu.is-vertical {
    padding: 0;
}

.menu .submenu .nav-link {
    border-radius: 0;
}

    .menu .nav .dropdown-menu .nav-link:not(.disabled):hover, .menu .nav .dropdown-menu .nav-link.active, .menu .submenu .nav-link.active, .menu .submenu .nav-link:not(.disabled):hover, .cascade .dropdown-item:not(.disabled):hover, .cascade .dropdown-item.active, .cascade .nav .nav-link:not(.disabled):hover, .cascade .nav .nav-link.active {
        /*background-color: #60aff9; #fddc7f*/
        background-color: #fddc7f;
        color: #00f;
        font-weight: 400;
        /* width: 100%;*/
        /*height: 38px;
        width: 100%;
        padding: 0 0 0 .5rem;*/
    }

.layout.is-page .layout-side {
    right: auto;
}

.scroll {
    overflow: initial;
}

/*Tab Boder* #ff7435      --bb-tabs-item-active-bg /
/*k---------SMART-FORM HEADER-------------------------k*/

/*font-item input*/
input.e-input, textarea.e-input, .e-input-group, .e-input-group.e-control-wrapper {
    font-size: 12px;
}

    input.e-input, .e-input-group input.e-input, .e-input-group input, .e-input-group.e-control-wrapper input.e-input, .e-input-group.e-control-wrapper input, .e-float-input input.e-input, .e-float-input input, .e-float-input.e-control-wrapper input.e-input, .e-float-input.e-control-wrapper input, .e-input-group input.e-input:focus, .e-input-group.e-control-wrapper input.e-input:focus, .e-float-input.e-control-wrapper input:focus, .e-float-input input:focus, .e-input-group.e-input-focus input.e-input, .e-input-group.e-control-wrapper.e-input-focus input.e-input, .e-float-input.e-control-wrapper.e-input-focus input, .e-float-input.e-input-focus input {
        padding-left: 4px;
    }
        /*Height content*/
        input.e-input, .e-input-group input, .e-input-group.e-control-wrapper input, .e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input {
            height: 24px;
        }

            input.e-input, .e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, textarea.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input {
                padding: 2px 0 2px 4px;
            }
    /*Size icon Control Input*/
    .e-input-group .e-input-group-icon, .e-input-group.e-control-wrapper .e-input-group-icon {
        font-size: 14px;
        min-height: 14px;
        min-width: 14px;
        padding: 2px 4px 2px 0px;
    }
/*form Header*/
.smartformheader {
    background-color: #f5f7fa;
}

.d-flex .align-items-center {
    background-color: #f5f7fa; /*rgb(235, 235, 235);*/
}

/*Height Label*/
.col-form-label {
    padding-top: calc(.25rem + var(--bs-border-width)) !important;
    padding-bottom: calc(.25rem + var(--bs-border-width)) !important;
}

.row > * {
    padding-right: calc(var(--bs-gutter-x)*.25) !important;
    padding-left: calc(var(--bs-gutter-x)*.25) !important;
}

.row {
    /* --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;*/
    /*margin-top: calc(-1*var(--bs-gutter-y));*/
    margin-right: calc(-.25*var(--bs-gutter-x));
    margin-left: calc(-.25*var(--bs-gutter-x));
}

/*k---------SMART-FORM Màu viền Border, Active-------------------------k*/
.e-input-group.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled), .e-input-group.e-control-wrapper.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled), .e-float-input.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled), .e-float-input.e-control-wrapper.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled), .e-float-input.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) input:not([disabled]), .e-float-input.e-control-wrapper.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) input:not([disabled]), .e-float-input.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) textarea:not([disabled]), .e-float-input.e-control-wrapper.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) textarea:not([disabled]) {
    border-color: #4f46e5;
}

.e-input-group.e-input-focus:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning):not(.e-error) {
    border-color: #4f46e5;
    border-color: #4f46e5;
    border-radius: 4px;
    box-shadow: 0 0 4px 0px #4f46e5;
}

/*k---------SMART-TABs PAGE Style White-------------------------k*/
.tabs.tabs-border-card .tabs-header {
    position: sticky;
    top: 40px;
    z-index: 100;
    border-bottom-color: var(--bb-tabs-page-active-bg);
    border-bottom-style: solid;
    border-bottom-width: thin;
}
/*Table Page Height*/
.tabs {
    --bb-tabs-item-height: 28px;
}

    .tabs.tabs-card .tabs-item:hover, .tabs.tabs-border-card .tabs-item:hover {
        background-color: var(--bb-layout-header-backgound);
        height: 28px;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
    }

    .tabs.tabs-card .tabs-item.active, .tabs.tabs-border-card .tabs-item.active {
        background-color: var(--bb-layout-header-backgound);
        /*padding: 10px 15px;*/
        height: 28px;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        border-bottom-color: var(--bs-body-bg);
    }

    .tabs.tabs-card > .tabs-header .tabs-item.active, .tabs.tabs-border-card > .tabs-header .tabs-item.active {
        background-color: var(--bb-tabs-page-active-bg); /*var(--bb-layout-header-backgound); #fddc7f  --bb-tabs-item-active-bg*/
        border-width: 0 1px;
    }

    .tabs .tabs-item {
        font-weight: 400;
    }

        .tabs .tabs-item .tabs-item-close {
            right: 0rem;
            top: 2px;
            /*top: 5px;*/
        }

        .tabs .tabs-item:hover {
            color: #00f !important;
            font-weight: 400;
        }

        .tabs .tabs-item.active {
            color: #00f;
            font-weight: 400;
        }

.tabs-item .tabs-item-close {
    width: 16px;
    height: 16px;
}

    .tabs-item .tabs-item-close:hover {
        background-color: #ff7e00d4;
    }
/*.tabs .tabs-item:hover {
                    color: #00f;
                }*/

/*k---------SMART-Tabs Grid-------------------------k*/
/*.e-tab .e-tab-header {
    margin: -6px 0 0;
}*/

.e-tab .e-tab-header {
    height: 28px;
    min-height: 28px;
}

    .e-tab .e-tab-header .e-indicator {
        background: #f2dc92;
    }

.e-tab .e-content > .e-item.e-active {
    border-top: 1px solid #f2dc92;
}

.e-tab .e-tab-header:not(.e-vertical) .e-toolbar-item {
    background: #e2e2e2;
    border-radius: 10px 10px 0 0;
    border: solid;
    border-width: 1px;
    border-color: #fff;
}

    .e-tab .e-tab-header:not(.e-vertical) .e-toolbar-item.e-active {
        background: #f7dc89;
        border-radius: 10px 10px 0 0;
    }

.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover {
    background: rgba(0,0,0,0);
}

.e-tab .e-tab-header .e-toolbar-items {
    min-height: 28px;
    height: 28px;
    border-radius: 10px 10px 0 0;
}

.e-tab .e-tab-header .e-scroll-nav .e-nav-arrow {
    height: 28px;
    line-height: 28px;
    width: 24px;
}

.e-tab .e-tab-header .e-scroll-nav {
    height: 28px;
    min-height: 28px;
}

.e-tab .e-tab-header .e-toolbar-item .e-text-wrap {
    height: 32px !important;
    margin-top: 2px;
}

.e-tab .e-tab-header .e-toolbar-item:not(.e-separator) {
    height: 28px;
    min-height: 28px;
}

.tabs .tabs-body {
    padding: 0;
    flex: 1;
}

/*Height Tab*/
/*.tabs-body-content {
    height: 85vh;
}*/

/*k---------SMART-Tabs PAGE Header Grid-------------------------k*/
/*add some sass rule for Tab drag/drop you can custom those*/
.tab-drag-over {
    animation: drag-tab-item 1s linear infinite;
}

.tab-dragging th[draggable] * {
    pointer-events: none;
}

.tab-drag {
    background-color: var(--bs-secondary);
}

@keyframes drag-tab-item {
    50% {
        background-color: var(--bs-primary);
    }
}

/*Tool Bar Control*/
.e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
    font-size: 12px;
    /*padding: 4px;*/
}

.e-tab .e-tab-header .e-toolbar-item .e-tab-text {
    font-size: 12px;
    margin-bottom: -5px;
    text-transform: inherit;
}
/*END TAB 2*/
/*.row > * {
    padding-right: calc(var(--bs-gutter-x)*.2);
    padding-left: calc(var(--bs-gutter-x)*.6);
}*/

/*.e-splitter.e-splitter-vertical .e-pane.e-scrollable {
    padding-top: 5px;
}*/

/*End table Boder*/

/*END TAB 1*/

.e-control .e-toolbar .e-lib .e-keyboard {
    background-color: var(--bs-body-bg);
}

/*k---------SMART-MÀU HEADER GRID SYNFUSION-------------------------k*/
/*Height header*/
.e-gridheader {
    font-weight: 500 !important;
    color: #1D1E87 !important;
    /*color: var(--mud-palette-primary-darken) !important;*/
    text-overflow: initial !important;
    overflow: initial !important;
    padding-right: 0px !important;
}

.e-grid.sf-grid .e-gridheader table th:not([rowspan="1"]),
.e-grid.sf-grid .e-device .e-gridheader table th:not([rowspan="1"]),
.e-grid.sf-grid .e-gridheader table th:not([rowspan="2"]),
.e-grid.sf-grid .e-device .e-gridheader table th:not([rowspan="2"]) {
    /* padding-bottom: 13px; */
    vertical-align: middle;
    color: royalblue;
}

.e-grid.sf-grid .e-gridheader table th:not([rowspan="2"],[colspan="1"]),
.e-grid.sf-grid .e-gridheader table th:not([rowspan="1"],[colspan="1"]),
.e-grid.sf-grid .e-device .e-gridheader table th:not([rowspan="2"]) {
    /* padding-bottom: 13px; */
    vertical-align: middle;
    /*background-color: #e5e5e5;*/
    color: blue;
}

.e-grid .e-gridheader table th[rowspan], .e-grid.e-device .e-gridheader table th[rowspan] {
    padding-bottom: 4px;
}

/*.e-grid .e-headercell, .e-grid .e-detailheadercell {
    font-size: 12px;
}*/

/*Group header 1st*/
.e-grid .e-headercell, .e-grid .e-detailheadercell {
    font-size: 12px;
    padding: 4px;
    /*height: 28px;*/
    /*padding: 2px;*/
    position: relative;
    /*text-align: left;*/
    /*color: royalblue;*/
    color: royalblue;
}

.e-grid .e-table {
    border-collapse: collapse;
}

.e-grid {
    font-family: inherit;
    font-size: 12px !important;
}

    .e-grid .e-rowcell {
        font-size: 12px;
        line-height: 18px;
        overflow: hidden;
        padding: 2px;
        /*padding: 2px 4px;*/
    }

        .e-grid .e-rowcell:first-child, .e-grid .e-summarycell:first-child {
            padding-left: 4px;
        }

    /*Multiline Grid Cell*/
    .e-grid .e-columnheader .e-headercelldiv { /*Rotate all column headertext*/
        text-align: center !important;
        padding: 0 2px 0 !important;
    }

    .e-grid .e-headercelldiv {
        font-size: 12px;
        font-weight: 400;
        height: 16px;
        line-height: 16px;
        line-height: normal !important;
        margin: -2px;
        overflow: hidden;
        padding: 0 .4em;
        text-align: left;
        text-transform: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /*Grid Height Rows*/
    .e-grid .e-row {
        height: 28px !important;
    }

    /*Grid Border Cell*/
    .e-grid.e-bothlines .e-rowcell {
        /*border-width: 1px 0 1px 1px;*/
        border-width: 0px 0px 1px 1px;
    }

    /*    .e-grid.e-groupdroparea {
        padding: 5px 0 !important;
        min-height: 28px;
    }*/

    /*fix lỗi groupcaption không hiển thị đầy đủ*/
    .e-grid .e-groupcaption {
        overflow: unset;
    }

    /*Grid Color Header */
    /*.e-grid .e-gridheader {
    background-color: #c8d9fd;
    padding-right: 0 !important;
}*/
    /*Color Header Cell*/
    /*.e-headercell {
    font-family: "Bell MT";
    color: red;
    font-size: 5px;
}*/
    /*.e-grid .e-headercell {
    background-color: #0d6efd45;
    padding: 0 2px 0 !important;
}*/

    /*Check box header*/
    /*.e-grid .e-filterdiv, .e-grid .e-fltrtempdiv {
    padding-left: 10px;
}*/

    /*Midle Line*/
    .e-grid .e-gridheader table th[rowspan], .e-grid.e-device .e-gridheader table th[rowspan] {
        /* padding-bottom: 13px; */
        vertical-align: middle;
    }

    /*Heigh Line*/
    .e-grid.e-wrap .e-rowcell, .e-grid.e-wrap .e-columnheader .e-stackedheadercelldiv, .e-grid.e-wrap .e-columnheader .e-headercelldiv, .e-grid.e-wrap .e-columnheader .e-headercell.e-fltr-icon .e-headercelldiv {
        height: auto;
        line-height: normal !important;
        word-wrap: normal;
    }
/*Wrap text header*/
/*.e-grid.e-wrap .e-rowcell, .e-grid.e-wrap .e-columnheader .e-stackedheadercelldiv, .e-grid.e-wrap .e-columnheader .e-headercelldiv, .e-grid.e-wrap .e-columnheader .e-headercell.e-fltr-icon .e-headercelldiv {
    height: auto;
    line-height: 21px;
    overflow-wrap: break-word;
    text-overflow: clip;
    white-space: normal;
    word-wrap: break-word;
    word-wrap: normal;
}*/
/*Grid Column*/
.e-attr {
    background: #5DADE2;
    font-family: "Bell MT";
    color: red;
    font-size: 5px;
}

.e-grid.e-responsive .e-rowcell, .e-grid.e-responsive .e-headercelldiv {
    text-overflow: clip !important;
}

.e-grid.sf-grid .e-gridcontent .e-content.e-yscroll {
    overflow-y: auto;
}

.e-grid.e-wrap .e-columnheader .e-headercelldiv,
.e-grid.e-wrap .e-columnheader .e-headercell.e-fltr-icon .e-headercelldiv,
.e-grid .e-columnheader.e-wrap .e-headercelldiv,
.e-grid .e-columnheader.e-wrap .e-headercell.e-fltr-icon .e-headercelldiv {
    margin-bottom: 0;
    overflow-wrap: break-word;
    text-overflow: clip;
    white-space: normal;
    word-wrap: normal;
}

/*Icon Sắp xếp*/
.e-grid .e-gridheader .e-fltr-icon .e-sortfilterdiv {
    margin: -12px 8px -10px 4px;
}

/*màu cho các row trên grid*/
/*.e-grid .e-altrow {
        background-color: #f9fafb;*/ /* #e7f6f8 rgba(219, 228, 255, 0.27); #eef6f8*/
/*}*/
/*màu cho các Cell UPDATE trên grid*/
/*.e-grid td.e-updatedtd {
    background-color: #dcfce7 !important;
    color: #15803d;
}*/

/*màu cho các row ACTIVE trên grid   #e5e7eb #60aff9 #fdf7d9*/
.e-grid td.e-active {
    /*background: #fddc7f;*/
    background: #fdf0c8;
    color: #00f;
}

.e-grid.e-gridhover .e-row tr:not(.e-disable-gridhover):not(.e-editedrow):not(.e-detailrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell),
.e-grid.e-gridhover .e-row:not(.e-disable-gridhover):not(.e-editedrow):not(.e-detailrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell),
.e-grid.e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-detailrowcollapse:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell),
.e-grid.e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-rowdragdrop:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell),
.e-grid.e-rtl .e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-rowdragdrop:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell),
.e-grid.e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-detailrowexpand:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
    /*background-color: #f3f4f6;*/
    background-color: #fdf0c8;
    color: #111827;
}

/*.e-grid.e-gridhover .e-row tr:hover {
    background-color: #fdf0c8;
    color: unset !important;
}*/

.e-grid .e-groupheadercell {
    font-size: 12px;
    height: 30px;
    margin: 4px 4px 0 0;
    padding: 0;
}
/*#th>#div>#div> .e-icons .e-frame:first-child {
        margin-left: 10px;
    }*/
.e-filterbarcell > .e-filterdiv .e-fltrinputdiv > .e-checkbox-wrapper .e-wrapper > .e-icons .e-frame {
    margin-left: 10px;
}

/*Group Footer*/

/*.e-gridfooter {
    padding-right: 0 !important;
}*/

.e-gridfooter > .e-summarycontent {
    margin-right: -14px;
}
/*.e-grid .e-gridheader {
    position: -webkit-sticky;
    position: sticky;
    top: 180px !important;*/ /* The height of top nav menu. */
/*z-index: 2;
}*/

/*Header Filter*/
.e-grid .e-filtermenudiv {
    font-size: 12px;
}

/*icon header Filter*/
.e-grid .e-gridheader thead .e-icons:not(.e-check):not(.e-stop) {
    font-size: 12px;
}

/*e-splitter*/
.e-splitter.e-splitter-vertical .e-pane.e-scrollable {
    overflow: inherit;
}

/*header Sort*/
.e-grid .e-sortnumber {
    background-color: #e5e7eb;
    color: #4a6ce0;
    margin: 0 2px 0 4px !important;
}
/*filter Checkbox*/
.e-checkbox-wrapper .e-frame.e-check, .e-css.e-checkbox-wrapper .e-frame.e-check {
    background-color: #ffff;
    border-color: #4f46e5;
    color: #4f46e5;
}

div > .e-numeric .e-valid-input .e-input-group .e-control-container .e-control-wrapper > input {
    text-align: right;
    padding-right: 5px;
}

.e-grid .e-cancel::before, .e-grid-menu .e-cancel::before {
    content: "\e7e7";
    color: orangered;
}
/*icon color Export*/

.smart-ico-danger {
    color: orangered !important;
}

.e-grid .e-pdfexport::before, .e-grid-menu .e-pdfexport::before {
    color: orangered !important;
}

.e-grid.e-device .e-headercell {
    padding: 0;
}

/*----------- SMART-SEARCH ----------*/
/*Grid header search*/
.e-grid.e-device .e-filterbarcell {
    padding: 2px;
}

    .e-grid.e-device .e-filterbarcell:first-child {
        padding: 2px;
    }

    .e-grid.e-device .e-filterbarcell:last-child {
        padding: 2px;
    }


/*k---------SMART-SfTreeGrid-------------------------k*/

.parent-bold {
    font-weight: bold;
    background-color: #ffffeb !important;
}

.e-row.parent-bold {
    color: #4000ff !important;
}

.e-rowcell .e-checkbox-wrapper.e-checkbox-disabled .e-label, .e-css.e-checkbox-wrapper.e-checkbox-disabled .e-label {
    margin-left: unset;
}

/*k---------SMART-TABLE-------------------------k*/
.table-cell img {
    width: 46px;
    border-radius: var(--bs-border-radius);
}

.table-cell .progress {
    height: 6px;
    margin-top: .5rem;
}

.user-demo-address {
    margin-top: .25rem;
    font-size: 86%;
    color: #c0c4cc;
}


/*k---------SMART-DIALOG-------------------------k*/
.smart-ddl-header {
    font-size: 12px;
    height: 28px;
    background-color: #f9fafb;
    color: royalblue;
}

.smart-ddl-content {
    font-size: 12px;
}

/*.e-dialog.e-popup {
    width: auto !important;
}*/
/*dialog header*/
.e-dialog .e-dlg-header-content {
    /*padding: 12px 10px 5px;
    background-color: #7a7b7d33;*/
    padding: 5px 10px 0;
    background-color: #7a7b7d33;
    line-height: inherit;
}
    /*dialog content*/
    .e-dialog .e-dlg-header-content + .e-dlg-content {
        padding-top: 10px;
        /*padding: 12px 18px 12px 18px;*/
        padding: 6px 10px !important;
        padding: 1px;
    }

.e-dialog .e-dlg-content {
    /*padding: 4px 6px;*/
    /*padding: 2px;*/
    padding: 16px;
    border-radius: inherit;
}
/*Dialog button*/

.e-footer-content .e-btn.e-flat:not([DISABLED]) {
    background: #e3e1fdde;
}

.e-footer-content .e-btn:hover.e-flat:not([DISABLED]) {
    background: #f7810b;
}

.e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]) {
    background: #e3e1fdde;
    color: rgba(var(--color-sf-primary));
}

.e-footer-content .e-btn:hover.e-primary.e-flat:not([DISABLED]) {
    background: #3ba3fde6;
    color: rgba(var(--color-sf-primary));
}

.e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):focus-visible, .e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):focus, .e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):focus, .e-footer-content .e-btn.e-flat:not([DISABLED]):focus-visible {
    background: #409eff;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #409eff;
}

/*.e-dialog .e-footer-content {
    padding: 10px;
}*/

.e-dialog.e-dlg-resizable {
    padding-bottom: 5px;
}

.e-dialog .e-btn .e-btn-icon.e-icon-dlg-close {
    padding: 8px 0;
}

.e-dialog .e-dlg-header-content {
    border-radius: 6px 6px 0 0;
}

.fa-close, .fa-multiply, .fa-remove, .fa-times, .fa-xmark {
    content: "\f00d";
}

/*DIALOG*/
.head, .item {
    display: table;
    width: 100%;
    margin: auto;
}

.head {
    height: 40px;
    font-size: 15px;
    font-weight: 600;
}

.code, .name {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    /*width: 50%;*/
}

.code {
    width: 120px;
}

.name {
    width: auto;
}

.head .code {
    text-indent: 16px;
}

.head .name {
    text-indent: 10px;
}

.e-dialog.e-dialog-wrap {
    background: #fff;
    /*font-family: Segoe UI;*/
    font-family: var(--font-family);
}

/*k---------SMART-Paper Custom-------------------------k*/
.e-pager .e-pagerdropdown {
    height: 24px;
    margin-right: 0;
    width: 60px;
}

/*k---------SMART-Check box Custom-------------------------k*/

.e-checkbox-wrapper .e-frame, .e-css.e-checkbox-wrapper .e-frame {
    height: 20px;
    line-height: 18px;
    width: 20px;
}

.e-checkbox-wrapper .e-frame, .e-css.e-checkbox-wrapper .e-frame {
    border-color: #6464efbf !important;
}

.e-checkbox-wrapper .e-frame, .e-css.e-checkbox-wrapper .e-frame {
    border: 1px solid;
}

.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check, .e-css.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check {
    background-color: #818cf800;
    color: #4f46e5;
}

.e-checkbox-wrapper .e-check, .e-css.e-checkbox-wrapper .e-check {
    font-size: 12px;
}

.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check, .e-css.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check {
    line-height: 18px;
}

.e-splitter.e-splitter-horizontal .e-pane.e-pane-horizontal, .e-splitter.e-splitter-vertical .e-pane.e-pane-horizontal {
    overflow: inherit;
}


/*----------- SMART-DROPDOWNLIST ----------*/

.e-multi-column.e-ddl.e-popup.e-popup-open .e-dropdownbase .e-list-item {
    display: flex;
}

.e-popup.e-multi-select-list-wrapper .e-list-item .e-checkbox-wrapper {
    align-self: center;
    margin-left: 8px;
}

.e-ddl.e-input-group .e-input-value, .e-ddl.e-input-group .e-input-value:focus {
    font-size: 12px;
    height: 24px;
    padding: 4px 0 4px 4px;
}

.e-multi-select-wrapper {
    font-size: 12px;
    min-height: 24px;
    /*height: 24px;*/
}

    .e-multi-select-wrapper .e-delim-values {
        font-size: 12px;
        line-height: 24px;
    }




/*k---------SMART-BUTTON Custom-------------------------k*/
.e-btn.e-outline, .e-css.e-btn.e-outline {
    background: rgb(69 69 69 / 53%);
    border-color: rgb(69 69 69 / 53%);
    box-shadow: none;
    color: rgba(var(--color-sf-on-surface));
    /* border: 1px solid; */
}

    /*e-button hover*/
    .e-btn.e-outline:hover, .e-css.e-btn.e-outline:hover {
        background: #6987fb;
        border-color: rgba(var(--color-sf-outline));
        box-shadow: none;
        color: rgba(var(--color-sf-on-surface));
    }

.e-btn:focus, .e-css.e-btn:focus {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
    outline: #fff 0 solid;
    outline-offset: 0;
    /*box-shadow: 0 0 4px 0px #4f46e5;*/
    box-shadow: 0 0 1px 1px rgba(255,255,255,.95), 0 0 0 3px #4f46e5;
}

/*--------SMART-BUTTON --------------*/
.e-small .e-btn, .e-small.e-btn, .e-small .e-css.e-btn, .e-small.e-css.e-btn {
    padding: 3px 6px;
    background: #f3f4f6;
    border-color: #d1d5db;
    box-shadow: none;
    color: #374151;
}

    .e-small .e-btn .e-btn-icon.e-icon-left, .e-small.e-btn .e-btn-icon.e-icon-left, .e-small .e-css.e-btn .e-btn-icon.e-icon-left, .e-small.e-css.e-btn .e-btn-icon.e-icon-left {
        margin-left: 0.1em;
        width: 1.5em;
        /*padding: 3px 6px;*/
    }

.e-delete.e-icons.e-btn-icon.e-icon-left {
    color: orangered;
}

    .e-delete.e-icons.e-btn-icon.e-icon-left:before {
        color: orangered;
    }

        .e-delete.e-icons.e-btn-icon.e-icon-left:before > .e-tbar-btn-text:before {
            color: orangered;
        }

    .e-delete.e-icons.e-btn-icon.e-icon-left:hover {
        color: orangered;
    }

.e-update.e-icons.e-btn-icon.e-icon-left {
    color: mediumblue !important;
}

.e-btn:hover::before, .e-css.e-btn:hover::before, .e-small.e-btn:hover::before, .e-small.e-css.e-btn:hover::before {
    color: #ffee10;
    box-shadow: 0 0 2px #ffee10;
    text-shadow: 0 0 2px #ffee10;
}

/*.e-btn:hover, .e-css.e-btn:hover, .e-small.e-btn:hover, .e-small.e-css.e-btn:hover {*/
.e-btn:hover, .e-css.e-btn:hover, .e-small.e-btn:hover, .e-small.e-css.e-btn:hover {
    /*background: #fd9e5491;*/
    border-color: #fc0;
    transform: scale(1.05);
    box-shadow: 0 0 5px #fc0;
}

/* Sticky button styles */
.smart-sticky-btn-bottom {
    position: fixed;
    width: auto;
    bottom: 0px;
    /*background-color: rgba(255, 255, 204, 0.96);*/
    margin-left: 5px;
    cursor: pointer;
    z-index: 9999;
}

/*-------------SMART-ICON ---------------
{
    font-family: "e-icons" !important;
}
*/
/*.e-icon, .e-widget .e-rte-toolbar-icon, .e-background-color, .e-font, .e-widget .e-rte-footericon, .e-resize-handle, .e-ddl-icon {
    font-family: "e-icons" !important;
}*/

/*Màu icon menu Left*/
.blue-color {
    color: blue;
}

.green-color {
    color: green;
}

.teal-color {
    color: teal;
    /*color: var(--bb-layout-headerbar-backgound);*/
}

.yellow-color {
    color: yellow;
}

.red-color {
    color: #ed0000;
}

.e-icons.e-circle-add:before {
    color: #00b242;
}

.e-grid .e-add::before, .e-grid-menu .e-add::before {
    content: "\e805";
    color: #00b242;
}

/*.e-btn.e-flat:active, .e-btn.e-flat.e-active, .e-css.e-btn.e-flat:active, .e-css.e-btn.e-flat.e-active {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #374151;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}*/

.e-btn.e-flat:focus, .e-css.e-btn.e-flat:focus {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
    box-shadow: 0 0 0 2px rgba(255,255,255,.95), 0 0 0 3px #4f46e5;
}
/*.e-small .e-btn, .e-small.e-btn, .e-small .e-css.e-btn, .e-small.e-css.e-btn {
    margin-bottom: 10px !important;
}*/

.smart-ico-info {
    color: #008a2e !important;
}

.e-grid .e-excelexport::before, .e-grid-menu .e-excelexport::before {
    color: #008a2e !important;
}

.smart-ico-success {
    color: mediumblue !important;
}

.fa-magnifying-glass:before, .fa-search:before {
    content: "\f002";
    color: dodgerblue;
}


/*k---------SMART-Color Custom-------------------------k*/

/*.e-groupcaption:nth-of-type(1),*/
/*.e-groupcaption[title~="Ngày"],
.e-groupcaption[title~="giờ"],*/

/*.e-groupcaption[title~="tiêu"],
.e-groupcaption[title~="Chỉ"],
.e-groupcaption[title~="nha"],*/

.e-groupcaption[title~="sổ:"],
.e-groupcaption[title~="tích:"],
.e-groupcaption[title~="nha:"] {
    color: #dc2626 !important;
    font-weight: 400;
}

/*.e-groupcaption:nth-of-type(2),*/
/*.e-groupcaption[title~="Số"],
.e-groupcaption[title~="mẻ"],*/

/*.e-groupcaption[title~="phân"],*/

.e-groupcaption[title~="Nước"],
.e-groupcaption[title~="Nhóm"],
.e-groupcaption[title~="Tên"],
.e-groupcaption[title~="phân"],
.e-groupcaption[title~="mẻ:"],
.e-groupcaption[title~="kho:"],
/*.e-groupcaption[title~="tiêu:"],*/
.e-groupcaption[title~="Bia"],
.e-groupcaption[title~="BBT"],
.e-groupcaption[title~="GOLD"],
.e-groupcaption[title~="STAR"],
.e-groupcaption[title~="SLEEK"],
.e-groupcaption[title~="LON"],
.e-groupcaption[title~="CHAI"] {
    color: #60f !important;
    font-weight: 400;
}


/*------------SMART-OTHER---------------------*/
/*Màu vàng thông báo*/
.smart-criteria {
    font-weight: 500;
    background-color: #ff6;
    color: #00f;
    margin-left: 5px;
}
/*Sổ chi tiết vật tư*/
.smart-ImpExpExists {
    font-weight: 500;
    color: #00f;
    margin-left: 5px;
}


/*TAILWIN*/
.e-splitter.e-splitter-horizontal .e-pane, .e-splitter.e-splitter-vertical .e-pane {
    font-size: 12px;
}


/*REPORT*/
.e-reportviewer-viewer .e-native-toolbar {
    z-index: 1 !important;
}


/*Status màu cho phần Nấu: Màu đỏ: Chưa nhập đủ chỉ tiêu--Màu xanh lá cây: Chưa nhập NVL--Màu xanh dương: Đầy đủ*/

.e-grid .e-gridcontent .e-rowcell.status-red, div > span.status-red {
    color: red;
}

.e-grid .e-gridcontent .e-rowcell.status-green, div > span.status-green {
    color: green;
}

.e-grid .e-gridcontent .e-rowcell.status-blue, div > span.status-blue {
    color: blue;
}

.e-grid .e-gridcontent .e-rowcell.status-orange, div > span.status-orange {
    color: orange;
}

.e-grid .e-gridcontent .e-rowcell.status-yellow, div > span.status-yellow {
    color: yellow;
}

.e-grid .e-gridcontent .e-rowcell.status-indigo, div > span.status-indigo {
    color: indigo;
}

.e-grid .e-gridcontent .e-rowcell.status-violet, div > span.status-violet {
    color: violet;
}

/*Wedget*/

/*.widget .dropdown-menu .dropdown-arrow {
    left: calc(70% - 9px) !important;
}
*/
.dropdown-arrow.arrow-success {
    left: calc(70% - 9px) !important;
}




/*////////////////////////////////////////////////////////////*/
/*//////////////////     MOBILE  --END    ////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*ICON MOBILE*/
@keyframes keyframes1 {
    0% {
        transform: rotate(-1deg);
        animation-timing-function: ease-in;
    }

    50% {
        transform: rotate(1.5deg);
        animation-timing-function: ease-out;
    }
}

@keyframes keyframes2 {
    0% {
        transform: rotate(1deg);
        animation-timing-function: ease-in;
    }

    50% {
        transform: rotate(-1.5deg);
        animation-timing-function: ease-out;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --mud-typography-h6-size: 1rem !important;
        --mud-typography-h6-lineheight: 1.3 !important;
        /*text-align: center !important;*/
    }
    /*hide allowGrouping in mobile view*/
    .e-grid .e-groupdroparea {
        display: none;
    }

    .e-tab .e-tab-header .e-toolbar-item .e-text-wrap {
        margin-top: -5px !important;
    }

    /*Small icon in mobile view*/
    /*.e-small .e-btn.e-round, .e-small.e-btn.e-round, .e-small .e-css.e-btn.e-round, .e-small.e-css.e-btn.e-round {
        zoom: 0.8;
    }*/
    /*.mud-button-label {
        zoom: 0.8;
    }
        h1, h2, h3, h4, h5, h6 {
        zoom: 0.8;
    }*/
    /*Hiddenn text button*/
    /*.e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
            display: none;
        }
    .e-tbar-btn .e-tbar-btn-text {
        display: none;
    }*/

    /*.e-icons-text:after .e-circle-add-text:after .smart-ico-success .e-btn-icon-text:after .e-icon-left :after {
        display: none;
    }

    .e-small .e-btn:after, .e-small.e-btn:after, .e-small .e-css.e-btn:after, .e-small.e-css.e-btn:after {
        display: none;
    }


    .e-icons.e-content.e-btn-icon.e-content {
        display: none;
    }

*/
    /*Hiddenn text button*/
    .e-tbar-btn-text {
        display: none;
    }


    /*Hiddenn text button*/
    .smart-btn-right > .e-small .e-btn, .smart-btn-right > .e-small.e-btn, .smart-btn-right > .e-small .e-css.e-btn, .smart-btn-right > .e-small.e-css.e-btn {
        font-size: 0;
        line-height: 18px;
        padding: 4px;
        /* margin-bottom: 10px !important;*/
    }

    /*Hiddenn text button*/
    .smart-btn-top > .e-small .e-btn, .smart-btn-top > .e-small.e-btn, .smart-btn-top > .e-small .e-css.e-btn, .smart-btn-top > .e-small.e-css.e-btn {
        font-size: 0;
        line-height: 20px !important;
        text-align: center;
        padding: 2px 4px;
        margin-right: 4px;
        margin: 3px 0;
        /* padding: 4px 0;
        margin-right: 8px;*/
    }

    title:hover, title:active, title:focus {
        display: inherit !important;
    }
    /*content:after {
        content: " (" attr(title) ")";
    }

    focus:after {
        content: attr(title);
    }

    button:focus, button:active {
        background-color: pink;
        content: attr(title);
    }

        button:focus:not(:focus-visible) {
            content: attr(title);*/
}




@media screen and (max-width: 480px) {
    .e-tab .e-tab-header .e-scroll-nav {
        height: 28px;
        min-height: 28px;
    }

    .e-tab .e-tab-header .e-toolbar-item .e-text-wrap {
        margin-top: -5px !important;
    }
}

/*sweetalert fix BEHIND popup*/
.swal2-container {
    z-index: 999999;
}

.swal2-popup {
    width: 28em;
    padding: 0.25em;
}
/*@media all and (display-mode: standalone) {
    body {
        background-color: yellow;
    }
}
*/

