body {
    white-space: nowrap;
    margin: 0;
}

#base_nav {
    position: fixed;
    width: 100%;
    z-index: 999;
}

#aside_nav {
    display: flex;
    align-items: center;
    background-color: white;
    overflow: auto;
}

.aside_btn {
    font-size: 18px;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    text-decoration: none;
    color: black;
}

.aside_btn:hover {
    color: #F68026;
}

#nav_sub {
    position: relative;
    max-height: 0;
    overflow-y: hidden;
    transition: all 0.2s;
    opacity: 0.9;
    border-bottom: 1px solid #F68026;
    background-color: white;
}

.nav_sub_div {
    display: flex;
    padding-top: 80px;
    padding-left: 50px;
    padding-bottom: 30px;
    gap: 2rem;
    min-height: 400px;
}

ul {
    list-style: none;
    padding: 0;
}

.aside_btn_choice {
    display: none;
}

.nav_sub_div_sub_title {
    background: #e1d6c3;
    padding: 5px 5px 5px 10px;
    font-size: 1.5em;
    text-align: center;
    min-width: 200px;
}

#main {
    padding-top: 70px;
}

/* new */

#content_load {
    padding: 20px 10px 10px;
}
#modal_loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}
#modal_loading > #spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.my-indicator{
    display:none;
}
.htmx-request .my-indicator{
    display:inline;
}
.htmx-request.my-indicator{
    display:inline;
}
.sub_title {
    border-left: 5px solid black;
    font-weight: bold;
    height: 36px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.li_title {
    margin-top: 20px;
    border-left: 5px solid slategray;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.search_box {
    border-radius: 10px;
    margin: 4px auto auto;
    padding-bottom: 8px;
}
.content_li {
    border-radius: 10px;
    border: 2px solid ghostwhite;
    padding: 5px;
    margin-top: 6px;
    overflow-x: hidden !important;
}
/*data table*/
.my_table_data {
    font-size: 13px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    border-spacing: 0;
    border-collapse: separate;
}
.my_table_data th, .my_table_data td {
    border: 1px solid #d1dae7;
    padding: 4px;
    text-overflow: ellipsis;
    max-width: 160px;
    overflow: hidden;
    height: 32px;
}
.my_table_data tbody {
    vertical-align: inherit;
}
.my_table_data th {
    background-color: #f2f4f7;
    color: rgb(128, 128, 128);
}
.my_table_data.tr_hover tbody tr:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}

/*input table*/
.my_table_input {
    font-size: 13px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 1rem;

    border-spacing: 0;
    border-collapse: separate;
}
.my_table_input th, .my_table_input td {
    border: 1px solid #d1dae7;
    height: 35px;
}
.my_table_input th {
    background-color: #f2f4f7;
    color: rgb(128, 128, 128);
    text-align: center;
}

.col_min {
    min-width: 130px !important;
}
.cell_hover {
    cursor: pointer;
}
.cell_hover:hover {
    background-color: #f9f9f9;
}
.cell_hover_none {
    cursor: default !important;
}
.page_active {
    color: #6c757d;
    background-color: #eeeeee;
}

#tab_load {
    margin-top: 12px;
}

.readonly_text {
    border: 1px solid gainsboro !important;
    height: 30px !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
    font-weight: 400 !important;
    background-color: #f2f4f7;
}

.select2-selection--single {
    height: 100% !important;
    border: 1px solid #ced4da !important;
}

.select2-selection__arrow {
    display: none !important;
}

.data_active {
    background-color: darkgray;
}

/* datatable */
#datatable_load {
    margin-top: 20px;
}

.tabulator-col-content {
    background-color: #f2f4f7;
}

.tabulator-row.tabulator-selectable:hover {
  background-color: #f9f9f9;
}

.tabulator-col-title {
    text-align: center;
}

.tabulator-edit-list-item.focused{
    color: #fff;
    background:#1d68cd;
}

/* bootstrap custom */
.btn-group .input-group {
    flex-wrap: nowrap;
}

/* 2025-09-24 */
/* select readonly */
select[readonly] {
    background-color: #f3f3f3;
    pointer-events: none;
}
