* {
    box-sizing: border-box;
}

html {
    overflow: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    overflow: hidden;
    background-color: #f1f1f1;
    padding: 10px;
    margin-bottom: 3px;
}

.header a {
    float: left;
    color: black;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

.header a.logo {
    font-size: 25px;
    font-weight: bold;
    padding-top: 0px;
}

.header a:hover {
    background-color: #ddd;
    color: black;
}

.header a.active {
    background-color: dodgerblue;
    color: white;
}

.header-right {
    float: right;
}

.vmid {
    vertical-align: middle;
}

.login_box {
    display: table;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.right_button_container {
    text-align: right;
}

#wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

#wrapper>div:nth-child(2) {
    padding: 10px;
    height: calc(100vh - 100px);
    overflow-x: hidden;
    overflow-y: scroll;
}

.checkboxclass {
    position: static;
    visibility: hidden;
}

footer {
    width: 100%;
    text-align: right;
    background-color: #f1f1f1;
    padding: 0px 10px;
    margin-top: 3px;
}

footer>p {
    margin: 10px 0px;
}

.visibility_hidden {
    visibility: hidden;
}

input[type=text],
input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.select_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, 110px);
    grid-auto-rows: auto;
    grid-gap: 1px;
}

.select_box label {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.2em 0.2em;
}

@media screen and (max-width: 500px) {
    .header a {
        float: none;
        display: block;
        text-align: left;
    }

    .header-right {
        float: none;
    }
}

.tbl-r05 td:first-child {
    background: #f1f1f1;
}

@media screen and (max-width: 900px) {
    .tbl-r05 {
        width: 80%;
    }

    .tbl-r05 .thead {
        display: none;
    }

    .tbl-r05 tr {
        width: 100%;
    }

    .tbl-r05 td {
        display: block;
        text-align: right;
        width: 100%;
    }

    .tbl-r05 td:first-child {
        background: #f1f1f1;
        color: #000000;
        font-weight: bold;
        text-align: center;
    }

    .tbl-r05 td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        margin-right: 10px;
    }
}

.ui-checkboxradio-label.ui-button {
    line-height: 1.2
}

.tabulator-alert {
    display: none !important;
}