.div:has(table.tdata) {
    border: 0;
}

table td,
table th {
    width: fit-content;
    word-break: break-word;
}

.w-half {
    width: 50% !important;
}

.tdata td input {
    max-width: 100% !important;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.theader th {
    border-bottom: 1px solid #EBEBEB;
    height: 16px;
    font-size: 11px;
    background-color: #fff;
    padding: 2px 3px;
    vertical-align: top;
    font-weight: bold;
}

/* .detail-view th, .detail-view td {
    background-color: #f0f0f0;
    width: 100%;
} */

table {
    width: 100%;
    table-layout: fixed;
}

div:has(>table) {
    width: 100%;
    overflow-x: auto;
}

table>thead>tr,
table>tbody>tr {
    max-width: 100%;
}

#result {
    margin-top: 0.5em;
    max-width: 100%;
}

ul.pagination {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li.page-item {
    line-height: normal;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid #d8dcdf;
    background: #d4d4d4 url(images/ui-bg_highlight-hard_100_d4d4d4_1x100.png) 50% 50% repeat-x;
    font-weight: bold;
    color: #1473bd;
    position: relative;
    padding: 0;
    line-height: normal;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    overflow: visible;
}


li.page-item span,
li.page-item a {
    display: block;
    text-align: center;
    padding: .4em 1em;
    text-decoration: none;
}

ul.pagination li.active a {
    color: black;
    text-decoration: underline;
}

.summary {
    margin-bottom: 0.25em;
}

th>a {
    color: white;
}

form>table {
    width: 100%;
    table-layout: auto;
}

form>table>tbody>tr>td {
    background-color: transparent !important;
}

form>table>tbody>tr>td:first-child {
    width: 80px;
}

.button-sm,
.button-sm span {
    font-size: 12px !important;
}

.d-float {
    display: float;
}

.float-end {
    float: inline-end;
}

.input-group {
    display: inline;
}

.file-zoom-dialog {
    display: none;
}

form {
    margin-bottom: 5em;
}

.required label.has-star:after {
    content: "*";
    margin-left: 3px;
    font-weight: 400;
    color: tomato;
}

.error-code-form {
    display: flex;
}

div.has-error {
    border: 1px solid red;
    border-radius: 0.2em;
    padding: 0.2em;
}

.invalid-feedback {
    color: red;
}

.select2-selection {
    margin: 0.1em;
    height: auto !important;
}

.fl-file-preview {
    margin: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 6px;
    float: left;
    text-align: center;
    display: block;
}

.fl-file-content {
    width: 213px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.fl-file-container {
    display: inline-block;
}

.img-icon {
    width: 16px;
    height: 16px;
    margin: 3px;
}

.file-preview {
    display: block;
}

.file-drop-zone {
    display: block;
}

.fileinput-remove {
    display: none;
}

.input-group {
    display: flex;
}

.input-group>.input-group-btn {
    margin: 1em;
    min-width: 100px;
}

.input-group>.input-group-btn>.button {
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button>i {
    margin-right: 0.25em;
}

.kv-fileinput-caption {
    width: 100%;
}