/* body */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Liberation Sans", Arial, "Odoo Unicode Support Noto", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.login-page {
    background-image: url('../img/bg-login.svg');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    background-color: #ECF0F5;
}

/* table */
.table {
    background-color: #fff !important;
    /* font-size: 14px !important; */
}

table tbody tr {
    cursor: pointer;
}

.table td, .table th {
    padding: 0.5rem 0.3rem !important;
}

table.dataTable>thead>tr>th:not(.sorting_disabled),
table.dataTable>thead>tr>td:not(.sorting_disabled) {
    padding-right: 30px !important;
}

table.table-line>thead>tr>th:not(.sorting_disabled) {
    padding-right: 0.3rem !important;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0 !important;
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:after {
    bottom: 0.6em !important;
}

ul.pagination {
    justify-content: end !important;
}

.page-link {
    padding: 0.4rem .75rem !important;
}

/* table input */
/* .table-line > :not(caption) > * > * { */
    /* padding: 0.5rem 0.3rem; */
    /* background-color: var(--table-bg); */
    /* border-bottom-width: 1px; */
    /* box-shadow: inset 0 0 0 9999px transparent; */
/* } */

.table-line > tbody > tr > td > input, .table-line > tbody > tr > td > select {
    border: none;
    border-radius: 0;
    padding: 0 !important;
    margin: 0;
    width: 100%;
    background-color: transparent !important;
}

.table-line tbody td {
    padding: 0.3rem 0.3rem !important;
}

.table-line .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 23px !important;
}

.table-line .select2-container--default .select2-selection--single {
    border: none !important;
    border-radius: 0;
    padding: 0 !important;
    line-height: inherit !important;
    height: inherit !important;
    background-color: transparent;
}

.table-line .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 20px !important;
}

.table-line tbody td:focus-within {
    --table-accent-bg: none;
    background-color: skyblue;
}

.table-line .textbox {
    border: 0 !important;
}

.table-line tbody, .table-line tbody select, .table-line tbody input {
    font-size: 15px !important;
}

.ui-menu .ui-menu-item-wrapper {
    font-size: 15px;
    font-weight: 500;
}

/* .table-hover>tbody>tr:hover>* {
    background-color: rgba(0, 0, 0, 0.055);
} */

/* form */
form, .form-control {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000 !important;
}

.form-control, .select2-search--dropdown .select2-search__field {
    height: inherit !important;
    padding: .375rem .3rem !important;
    /* line-height: 1.8 !important; */
}

.select2-container--default .select2-selection--multiple {
    min-height: inherit !important;
}

.dropdown-menu {
    font-size: 14px !important;
}

.dropdown-item {
    font-weight: 500 !important;
}

.form-group {
    margin-bottom: 0.5rem !important;
}

.rounded-0 .select2-container--default .select2-selection--single {
    border-radius: 0px !important;
}

/* selec2 */
.select2-container--default .select2-selection--single {
    padding: 0.3rem 0.3rem !important;
    height: 33.5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0px !important;
}

/* header nav */
.main-header .nav-link {
    height: inherit !important;
}

@media (min-width: 768px) {
    .navbar-expand-md {
        height: 40px;
    }
}

.brand-text {
    font-size: 16.9px;
}

.content-header {
    padding: 10px 0.5rem !important;
}

/* text */
.content-header h1 {
    font-size: 18px !important;
}


/* button */
.btn-primary {
    background-color: #3B89C8 !important;
    border-color: #3B89C8 !important;
}

/* card */
.card-header {
    padding: .5rem 1rem !important;
}

.card-body {
    padding: 1rem !important;
}

.card-title {
    font-size: 16px !important;
}

/* alert */
.alert-dismissible .close {
    padding: .5rem 1rem !important;
}

@media screen and (max-width: 767px){
     div.dataTables_wrapper div.dataTables_filter {
        text-align: right !important;
    }
}

/* table column resize */
/* table.dataTable thead th[data-is-resizable=true] {
    border-left: 1px solid transparent;
    border-right: 1px solid #bfbfbf;
} */

table.dataTable thead th.dt-colresizable-hover {
    cursor: col-resize;
    background-color: #eaeaea;
    border-right: 3px solid rgba(0, 0, 0, 0.25);
}

table.dataTable thead th.dt-colresizable-bound-min,
table.dataTable thead th.dt-colresizable-bound-max {
    opacity: 0.2;
    cursor: not-allowed !important;
}

.row-focus {
    background-color: rgba(0, 0, 0, .075);
}

.btn-save-focus:focus-visible{
    background-color: #3B89C8 !important;
    color: white;
}

.textbox-text {
    color: #000 !important;
}