::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.sidebar-dark .nav-group-sub > .nav-item-open > .nav-link:not(.disabled) {
    color: #00bc7e;
}

.nav-sidebar .nav-item:not(.nav-item-divider) {
    margin-bottom: 0px;
}

.page-header-margin {
    margin-top: 50px !important;
}

.page-header-margin .header-elements-md-inline {
    padding-top: 0px !important;
}

.dropdown-auto-width .dropdown-menu {
    min-width: auto;
    width: 100%;
}

#notification .media.active {
    background: #0000000d;
}

#notification .media {
    border-bottom: 1px solid #dddddd;
}

#notification .media:last-child {
    border-bottom: none;
}

.slim-scroll {
    position: relative;
    overflow-y: hidden;
}

.content-chat .media-list-linked a.media.active {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

.content-chat .media-list-linked .media {
    padding: 0.3125rem 0.3125rem !important;
    margin: 0 0.625rem !important;
    border-radius: 0.5rem !important;
}

.content-chat .media-chat-item {
    padding: 0.25rem 1rem !important;
}

.content-chat .media-chat-item:before {
    top: 0.625rem;
}

/*Page header*/

.breadcrumb-line-light {
    color: #1158a9;
    font-size: 0.8rem;
    font-weight: 500;
}

.page-header .breadcrumb-line-component {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    border: 0px;
    /* border-bottom: 1px solid #7fad73; */
    box-shadow: rgb(0 0 0 / 7%) 0px 0px 10px;
    border-left: 0;
}

.breadcrumb-item.active {
    color: #1158a9;
}

table.dataTable {
    width: 100% !important;
}

.dt-buttons {
    display: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(48, 62, 103, 0.03);
}

.dataTables_scrollBody {
    min-height: 70vh !important;
}

table.dataTable thead tr th {
    white-space: nowrap;
    background-color: #1158a9;
}

.dataTable thead .sorting:before {
    display: none;
}

.dataTable thead .sorting:after {
    display: none;
}

.wrapper-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 1px 10px 6px 16px;
}

.wrapper-info .left-info {
    display: flex;
    align-items: center;
}

.wrapper-info .dataTables_length {
    float: none;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 5px;
}

.wrapper-info .dataTables_length select {
    border: 0;
    width: 75px;
}

.wrapper-info .dataTables_info {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    float: none;
}

.wrapper-info .dataTables_paginate {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    float: none;
}

.table.dataTable th {
    padding-top: 0.525rem;
    padding-bottom: 0.525rem;
    color: #fff;
    font-size: 0.728rem;
}

.table td {
    font-size: 0.728rem;
    padding-top: 0.52rem;
    padding-bottom: 0.52rem;
}

.bg-darkblue {
    background-color: #1158a9 !important;
}

.sidebar-light {
    border: 0;
}

.sidebar-dark .nav-sidebar > .nav-item-submenu > .nav-group-sub,
.sidebar-light
    .card[class*="bg-"]:not(.bg-light):not(.bg-white):not(.bg-transparent)
    .nav-sidebar
    > .nav-item-submenu
    > .nav-group-sub {
    background-color: #fff !important;
}

.sidebar-light .nav-sidebar .nav-link,
.sidebar-light
    .card[class*="bg-"]:not(.bg-light):not(.bg-white):not(.bg-transparent)
    .nav-sidebar
    .nav-link {
    color: #1158a9;
    /* font-weight: 500; */
    font-size: 0.795rem;
}

.sidebar-light .nav-sidebar > .nav-item-open > .nav-link:not(.disabled),
.sidebar-light .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: #1255a2;
    color: #1158a9;
}

.sidebar-light .nav-sidebar .nav-item-open > .nav-link:not(.disabled),
.sidebar-light
    .nav-sidebar
    > .nav-item-expanded:not(.nav-item-open)
    > .nav-link,
.sidebar-light
    .nav-sidebar
    > .nav-item-expanded:not(.nav-item-open)
    > .nav-link:hover {
    background-color: #e3ebf6;
    color: #1158a9;
}

.sidebar-light .nav-sidebar .nav-item > .nav-link.active,
.sidebar-light .nav-sidebar .nav-item > .nav-link:hover {
    background-color: #f2f7fd;
    border-right: 2px solid #1158a9;
    color: #1158a9;
}

.sidebar .sidebar-content {
    /* border-right: 1px solid #7fad73; */
    box-shadow: rgb(0 0 0 / 7%) 0px 0px 10px;
}

.sidebar:not(.sidebar-component) .sidebar-content {
    padding-top: 0rem;
}

.navbar-light {
    border: 0;
    box-shadow: 0;
}

.navbar-light .navbar-nav-link {
    color: #fff;
}

.navbar-light .navbar-nav-link:hover,
.navbar-light .navbar-nav-link:focus {
    color: #fff;
}

.navbar-brand {
    padding: 0.2rem 0;
}

.navbar-brand img {
    height: 2.4rem;
    display: block;
}

.content {
    background-color: #f5f6f7 !important;
    padding: 1.25rem 1.25rem 0 1.25rem;
}


.navbar-dark .navbar-nav-link {
    color: #68728c;
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-sidebar .nav-link::after {
    top: 0.6rem;
}

.nav-group-sub .nav-item-submenu > .nav-link:after {
    top: 0.6rem;
}

.navbar-dark .navbar-nav-link:hover {
    color: #68728c;
}

.paginate_button.current {
    background-color: #1158a9 !important;
}

.img_thumb {
    object-fit: cover;
    border: 1px solid #ccc;
}

.fancytree-container ul {
    padding-left: 2.3rem;
}

.card {
    border: 1px solid transparent;
    box-shadow: rgb(0 0 0 / 7%) 0px 0px 10px;
    border-radius: 0.125rem;
    /* box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px; */
}

.card.small-card .card-header {
    padding: 0.45rem 1.25rem;
    background-color: #1158a9 !important;
    border-bottom: 0;
}

.card.small-card .card-header .card-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
}

.card.small-card .card-header .header-elements {
    color: #fff;
}

.card.small-card .card-body {
    padding-bottom: 0.125rem;
}

.hidden {
    display: none !important;
}

/* File Upload */

.file-preview-thumbnails {
    justify-content: center;
}

.file-preview-frame .kv-file-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.75rem;
}

.file-footer-caption {
    white-space: normal;
}

.form-group {
    margin-bottom: 14px;
}

label.form-label {
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.form-control {
    font-size: 0.8rem;
}

.form-control.form-control-sm {
    height: calc(1.6667em + 0.625rem);
    padding: 0.2125rem 0.75rem;
}

.btn {
    border-radius: 0.125rem;
}

.select2 {
    width: 100% !important;
}

.select2-selection {
    border-radius: 0.125rem;
}

.select2-results__option,
.select2-selection--single {
    font-size: 0.825rem;
}

/* Validation */

.required::after {
    content: " *";
    color: #ef5350;
    font-weight: bold;
}

span.error,
label.error {
    position: relative;
    top: 0.2rem;
    color: #ef5350;
    font-size: 0.75rem;
    font-weight: 450;
}

label.error {
    margin-bottom: 0;
}

/* Fancy Tree */

.fancytree-container {
    overflow: hidden;
}

.no-wrap {
    white-space: nowrap;
}

.bg-theme {
    background-color: #1158a9 !important;
    color: #fff;
}
.cursor-pointer {
    cursor: pointer;
}

/* ============================ */
.form-group {
    /* margin-bottom: 10px; */
}
.dataTable thead .sorting,
.dataTable thead .sorting_asc,
.dataTable thead .sorting_asc_disabled,
.dataTable thead .sorting_desc,
.dataTable thead .sorting_desc_disabled {
    padding-right: 2px;
}

.table-scroll {
    position: relative;
    margin: auto;
    overflow: hidden;
}
.table-wrap {
    width: 100%;
    overflow: auto;
}
.table-scroll table {
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    border-spacing: 0;
}
.main-table thead tr th,
.main-table tbody tr td {
    font-size: 12px;
}
.main-table tbody tr.has-input td {
    padding: 0.15rem 0.28rem;
    vertical-align: middle;
}
.main-table thead tr.has-input th {
    padding: 0.42rem 0.35rem;
}
/* .main-table thead tr th{
    padding: 0.30rem 0.25rem;
} */
.table-scroll th {
    padding: 5px 0.25rem;
}
.table-scroll th,
.table-scroll td {
    border: 1px solid #9caeaf;
    white-space: nowrap;
    vertical-align: top;
}
.table-scroll td {
    padding: 5px 0.25rem;
}
.table-scroll thead,
.table-scroll tfoot {
    background: #f9f9f9;
}
.clone {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
.clone th,
.clone td {
    visibility: hidden;
}
.clone td,
.clone th {
    border-color: transparent;
}
/* .clone tbody th {
	visibility:visible;
	color:red;
} */
.clone .fixed-side {
    border: 1px solid #cbd9da;
    background: #fff;
    visibility: visible;
    padding-left: 4px;
    padding-right: 4px;
    /* padding-top: 3px; */
}
.clone thead,
.clone tfoot {
    background: transparent;
}

/* ============= end table scroll ================ */

.filter .form-group {
    margin-bottom: 2px;
}

.bg-no-match {
    background: rgba(48, 62, 103, 0.03);
}
.bg-no-match td {
    color: #333 !important;
}

.input_number {
    height: calc(1.5385em + 0.275rem + 2px);
    padding: 0.4375rem 0.175rem;
    min-width: 32px;
    border-color: #f1f1f1;
}
.khmer_riels {
    padding: 5px;
    background: #76933b;
    color: #fff;
}

#table-scroll tr td {
    vertical-align: middle;
}
.bg-header {
    background: #76933b !important;
}
.has-input td {
    vertical-align: middle;
}
.input_number {
    height: calc(1.5385em + 0.275rem + 2px);
    padding: 0.4375rem 0.175rem;
    min-width: 32px;
    border-color: #f1f1f1;
}
.dataTables_scroll {
    box-shadow: rgb(0 0 0 / 7%) 0px 0px 10px;
    background-color: #fff;
}
.font-10 {
    font-size: 10px !important;
}
/* .form-control{
    border: 1px solid rgb(213, 216, 222);
} */

.card.small-card .card-header {
    background-color: #fff !important;
    color: #1158a9 !important;
    margin-left: -1px;
    margin-top: -1px;
    border-top: 2px solid #1158a9 !important;
    border-left: none !important;
}
.card-border-top {
    border-top: 2px solid #1158a9 !important;
    border-left: none !important;
}
.card .small-card {
    border-top: 2px solid #1158a9 !important;
    border-top: none !important;
}

.card .small-card .card-collapsed {
    border-left: 2px solid #1158a9 !important;
    border-top: none !important;
}
/* .card-border-top{
    border-left: 2px solid #1158a9 !important;
    border-top: none !important;
} */
.card.small-card .card-header .card-title {
    color: #1158a9 !important;
}
.card .list-icons-item {
    color: #1158a9 !important;
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-brand {
        min-width: 18.125rem;
        background: #fff;
    }
}
.navbar-brand {
    margin-right: 0;
}
.navbar {
    padding: 0;
}
.navbar-brand img {
    margin-left: 20px;
}
.table td,
.table th {
    padding: 0.65rem 0.45rem;
}
.form-control.form-control-sm {
    height: calc(1.6667em + 0.525rem);
}
.form-control {
    height: calc(1.4085em + 0.875rem + 2px);
    padding: 0.3375rem 0.875rem;
    border-radius: 2px;
}
.select2-selection--single {
    padding: 0.4375rem 0;
    border-radius: 0;
}
.btn {
    padding: 0.41rem 0.875rem;
}
label.form-label {
    font-size: 0.85rem;
    color: #515050;
}
.select2-results__option,
.select2-selection--single {
    font-size: 0.735rem;
}

.nowrap {
    white-space: nowrap !important;
}
.custom-select {
    height: calc(1.7385em + 0.675rem + 2px);
    line-height: 1.385;
    border-radius: 0;
    font-size: 0.735rem;
}
.input-group-text {
    border-radius: 0;
}
.input-group-text {
    padding: 0.2375rem 0.875rem;
}
.badge {
    padding: 0.1425rem 0.255rem;
}

.leave_bg {
    background: #e7bebe2b !important;
}
.bg-holiday {
    background: #ccdfed !important;
}
.table_description tr td {
    padding: 8px 0;
}
.code-min-width {
    min-width: 65px !important;
}
.table-min-height {
    min-height: 200px;
}
.multiselect {
    font-size: 11px;
}
.td_input {
    padding: 0.22rem 0.25rem !important;
}
.wrapok {
    white-space: normal !important;
}
.table-info {
    font-size: 11px;
}
.leave-striped {
    background: rgb(76 175 80 / 4%);
}
.td_footer {
    background: #e9efde;
}
.bg-total {
    background: #fabf8e !important;
    font-size: 0.9em;
    font-weight: 400;
    text-align: center;
    color: #333 !important;
}

td.usd-icon {
    position: relative;
    text-align: right;
    color: #333;
}
td.usd-icon::before {
    position: absolute;
    content: "$";
    width: 4px;
    height: 2px;
    left: 3px;
    color: #333333c4;
}
.hide {
    display: none;
}
.btnsubmit {
    width: 77px;
    border-radius: 1px;
}
.btn-icon-save {
    font-size: 12px;
    padding: 3px 2px 2px 2px;
}
.btn-customize {
    padding: 0.29rem 0.575rem;
}
.btn-success {
    color: #fff;
    background-color: #1158a9
}

.btn-success:hover {
    color: #fff;
    background-color: #1158a9
}
.select2-selection--single:not([class*=bg-]):not([class*=border-]) {
    min-height: 2.2rem;
}

tr.tr-deleted {
    background: rgb(255, 185, 185) !important;
}

tr.tr-deleted.odd {
    background: rgb(255, 185, 185) !important;
}

tr.tr-deleted.even {
    background: rgb(255, 224, 224) !important;
}
