﻿:root {
    --theme-base-color: forestgreen;
}

html {
  font-size: 11px;
}

#layoutSidenav_content * {
    font-size: 12px;
}

#layoutSidenav_content .btn {
    font-size: 12px !important;
}

.before-top {
    margin-top: 60px;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

.text-base {
    color: forestgreen !important;
}

.dx-datagrid-search-panel {
    margin-left: 0px !important;
    margin-bottom: 5px;
}

.custom-grid-header[role="columnheader"] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    background: #004d00 !important;
    padding: 5px !important;
}

.custom-grid-header[role="gridcell"] {
    font-size: 13px;
    padding: 5px !important;
    vertical-align: central
}

.dx-datagrid .dx-header-filter:before {
    content: "\f050 ";
    color: white;
}
.dx-command-select {
    width: 50px !important;
    min-width: 50px !important;
}

.dx-editor-cell.dx-editor-inline-block:not(.dx-command-select)::before{
    padding: 0px !important;
}
.dx-datagrid-borders > .dx-datagrid-pager {    
    padding: 1px;
    font-size: 12px;
}
.dx-datagrid-borders > .dx-datagrid-filter-panel {
    padding: 0px;
}

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 1px !important;
}
.dx-tab {
    padding: 5px 3px !important;    
}
.dx-datagrid-headers .dx-texteditor-input, .dx-datagrid-rowsview .dx-texteditor-input {
    padding: 0px !important;
    min-height: 20px !important;
}
.dx-scrollable-scroll-content {
    background-color: rgb(109 240 109) !important;
    height: 100px;
}
.bg-base {
    background-color: forestgreen;
}

.folder-tree-wrapper {
    background-color: #fff;
    min-height: 100%;
    border-radius: 3px;
}

.folder-tree {
    list-style: none;
    cursor: pointer;
    padding-left: 20px;
}

.folder-tree li {
    margin-bottom: 10px;
    font-size: 14px;
    transition: all .4s ease;
    position: relative;
}

.folder-tree li:hover {
}

.folder-tree li i {
    color: rgb(242, 176, 53);
}

.folder-tree li ul {
    padding-left: 10px;
    padding-top: 8px;
}

.folder-tree ul {
    display: none;
    position: relative;
}

.folder-tree ul:before {
    position: absolute;
    content: '';
    left: -10px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: transparent;
    border-left: dashed 1px #c2c2c2;
    border-bottom: dashed 1px #c2c2c2;
}

.folder-tree li ul li {
    display: block;
    margin-bottom: 8px;
}

.folder-tree .arrow {
    position: absolute;
    top: 18px;
    left: -20px;
    width: 8px;
    height: 8px;
    transition: all .2s ease;
    transform: rotate(-90deg);
}

.folder-tree .arrow i {
    color: #595959;
    transition: all .4s ease;
}

.folder-tree .arrow:hover i {
    color: #292929;
}

.folder-tree li.expanded > ul {
    display: block;
}

.folder-tree li.expanded > .arrow {
    transform: rotate(0deg);
    top: 2px;
    left: -20px;
}

.folder-link {
    font-size: 20px;
    color: black;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0 white, 0 0 0 0 #258cfb;
}

.dx-datagrid-filter-panel .dx-icon-filter {
    color: var(--theme-base-color) !important;
}

.dx-datagrid-filter-panel .dx-datagrid-filter-panel-text, .dx-datagrid-filter-panel-clear-filter {
    color: var(--theme-base-color) !important;
}
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):not(.dx-row-removed) > td {
    background-color: #10ff0026 !important;
    color: unset;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 500px;
    max-width: 4000px;
    margin: 1em auto;
}

#container {
    min-height: 500px;
    max-height: 100%;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}
body {
}

.btn-outline-edit {
    --bs-btn-color: #c5a106 !important;
    --bs-btn-border-color: #c5a106 !important;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #c5a106 !important;
    --bs-btn-hover-border-color: #c5a106 !important;
    --bs-btn-focus-shadow-rgb: 255, 193, 7;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #c5a106 !important;
    --bs-btn-active-border-color: #c5a106 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #c5a106 !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #c5a106 !important;
    --bs-gradient: none;
}

.notify {
    position: relative;
}

.notify-child {
    display: none;
    position: absolute;
    right: -5px;
    top: -8px;
    font-size: 11px !important;
    color: white;
    background: red;
    font-weight: bold;
    border-radius: 10px;
    width: 27px;
    height: 20px;
    padding-top: 2px;
    padding-left: 7px
}

.active-notify-child-9 {
    display: block;
    width: 20px;
}

.active-notify-child-99 {
    display: block;
    width: 20px;
    padding-left: 4px
}

.active-notify-child-999 {
    display: block;
    width: 27px;
    padding-left: 4px
}

.deactive-notify {
    display: none;
}

#customContextMenu ul{
    list-style:none;
    padding:0px;
    margin:0px;
}

#customContextMenu ul li {
    padding:3px;
    text-align: start;
}


.row {
    --bs-gutter-x: 0.8rem !important;
}

.btn-sm, .btn-group-sm > .btn {
    --bs-btn-padding-y: 0.2rem !important;
    --bs-btn-padding-x: 0.25rem !important;
    padding: 3px 5px;
}

.btn {
    --bs-btn-padding-x: 0.2rem !important;
    --bs-btn-padding-y: 0.25rem !important;
}

.dx-datagrid .dx-row > td {
    padding: 5px;
}
.dx-filter-menu.dx-menu .dx-menu-item .dx-menu-item-content {
    padding: 0px;
}

.dx-texteditor-input {
    padding: 5px;
    min-height: 25px;
}
.dx-toolbar-text-auto-hide .dx-button .dx-icon {
    width: 14px;
    height: 14px;
    font-size: 11px;
}

.dx-toolbar .dx-toolbar-items-container {
    height: 30px;
}
.my-2 {
    margin-top: 0.3rem !important;
    margin-bottom: 0.3rem !important;
}

.handsontable .htDimmed {
    color: black !important;
}

.highlight-row {
    background-color: #ffe4b2 !important; /* Màu cam nhạt */
    transition: background-color 0.3s ease;
}

/*.col-md-1{
    height: 25px !important;
}

.col-md-3 {
    height: 25px !important;
}
*/
.modal-header {
    background: lavender;
}

.dx-datagrid-filter-row .dx-editor-cell .dx-editor-with-menu .dx-placeholder::before, .dx-datagrid-filter-row .dx-editor-cell .dx-editor-with-menu .dx-texteditor-input {
    padding-left: 20px !important;
}

.dx-fileuploader-input-wrapper {
    float: left !important;
}

.dx-fileuploader-files-container {
    width: 0% !important;
    padding: 12px 3px 0;
    float: left;
    padding-top: 0px !important;
}
.dx-fileuploader-file-container {
    width: 100%;
    padding: 0px 0 !important;
}
/* hide summary status of data grid*/
.dx-gridbase-a11y-status-container[role="status"] { 
    display: none;
}

/* REPORT */
.dxrd-preview.dxrd-designer-wrapper .dxrd-toolbar-wrapper {
    height: 40px !important;
}

.dxrd-preview.dxrd-designer-wrapper .dxrd-toolbar-wrapper .dxrd-toolbar {
    height: 40px !important;
}

.dxrd-preview.dxrd-designer-wrapper .dxrd-toolbar-wrapper {
    height: 40px !important;
}

.dxrd-designer-wrapper .dxrd-toolbar-wrapper .dxrd-toolbar .dxrd-toolbar-item {
    padding: 4px !important;
}

.dxrd-designer-wrapper .dxrd-toolbar-wrapper .dxrd-toolbar .dxrd-toolbar-item-zoom {
    padding: 4px !important;
}

.dxrd-designer-wrapper .dxrd-toolbar-wrapper .dxrd-toolbar .dxrd-toolbar-item .dxrd-toolbar-item-separator {
    top: 4px !important;
    height: 30px !important;
}

.dxrd-preview.dxrd-designer-wrapper .dxrd-preview-wrapper {
    top: 50px !important;
}