body, html {
    width: 100%;
    height: 100%;
}
table {
    width: 100%;
}
table tr {
    height: 28px;
}

table tbody tr {
    cursor: pointer;
}
td {
    text-align: center;
}
td.gray {
    /*background-color: #9c9c9c;*/
    background-color: #8ca5a2;
    color: white;
}

/*.container-2 {*/
/*    width: 100%;*/
/*    height: 180px;*/
/*    z-index: 12;*/
/*    position: relative;*/
/*    overflow: auto;*/
/*    border-bottom: 2px solid #2cb0b5;*/
/*}*/
thead > tr:nth-child(1) > th{
    cursor: default;
}

.btn-box {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: right;
    /*border-left: 1px solid #cccccc;*/
    /*border-right: 1px solid #cccccc;*/
    /*border-bottom: 1px solid #cccccc;*/
    padding: 0 10px;
}
tr > th:first-child {
    box-shadow: none;
}

tr > td:first-child {
    background-color: #2cb0b5;
}

/*tbody tr.on td {*/
/*    border-top : 1px solid black;*/
/*    border-bottom : 1px solid black;*/
/*}*/

/*thead tr th:nth-child(1)::after {*/
/*    content: '●';*/
/*    font-size: 10px;*/
/*    color: #959595;*/
/*}*/

th.asc, th.desc {
    position: relative;
}
th.asc::after {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url(/static/image/chevron-down.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    rotate: 180deg;
    filter: grayscale(100%) brightness(0);
    background-position: center;
    margin-left: 5px;
}

th.desc::after {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url(/static/image/chevron-down.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    filter: grayscale(100%) brightness(0);
    background-position: center;
    margin-left: 5px;
}

.wrap {
    width: 100%;
    height: 100%;
    min-width: 651px;
}

.body-wrap {
    width: 100%;
    height: calc(100% - 40px);
}
.container, .container-2 {
    box-sizing: border-box;
}
.container {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
}
.bottom-box {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-right: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    box-sizing: border-box;
    padding: 0 10px;
}
.button-box {
    display: flex;
    margin-left: auto;
    gap: 10px;
    align-items: center;
}
.container-2 > div:not(.pagination):not(.loading),
.container > div {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
}
.red {
    color: red;
    font-size: 11px;
}
.container-2 {
    width: 100%;
    height: calc(100% - 110px);
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    overflow: auto;
    position: relative;
}
.button.close > img {
    filter: invert(12%) sepia(100%) saturate(10000%) hue-rotate(-15deg) brightness(95%) contrast(105%);
}
.button.search > img {
}
.button {
    padding: 5px;
    width: 60px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: white;
    color: black;
}
.button:hover {
    filter: brightness(1.1);
    cursor: pointer;
}
thead tr th {
    cursor: pointer;
}
#end-tm,
#start-tm {
    padding: 2px;
}
tfoot {
    position: sticky;
    bottom: 0;
    background-color: white;
}

.content {
    width: 100%;
    height: calc(100% - 71px);
    box-sizing: border-box;
}

.content > div {
    width: 100%;
    height: 100%;
    overflow: auto;
}

table tr {
    height: 26px;
}
