body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(80, 80, 80);
    background-color: var(--wrn-grs);
}

.kon {
    position: absolute;
    top: 40px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background-color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.wdh-det {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    z-index: 0;
    background-color: white;
    overflow-y: auto;
}

.wdh-det.akt {
    z-index: 2;
}

.nam-brg {
    font-weight: bold;
    font-size: 18px;
}

.hrg {
    font-weight: bold;
    font-size: 20px;
    color: rgb(196, 47, 47);
    margin-top: 20px;
}

.wdh-det span {
    font-weight: bold;
    display: block;
    margin: 20px 0 5px 0;
}

.isi {
    white-space: pre-line;
}

.wdh-car {
    position: relative;
    background-color: white;
    box-sizing: border-box;
    height: 50px;
    padding: 10px;
    text-align: right;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.wdh-car input:not([type="checkbox"]):not([type="radio"]) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wdh-car button {
    border: 1px solid var(--wrn-grs);
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: white;
}

.wdh-car input:not([type="checkbox"]):not([type="radio"]):focus,
.wdh-car button:focus {
    border-color: var(--wrn-grs);
}

.wdh-tbl {
    position: absolute;
    left: 10px;
    top: 50px;
    right: 10px;
    bottom: 10px;
    background-color: white;
}

.wdh-tbl.akt {
    z-index: 1;
}

.jdl {
    position: absolute;
    top: -80px;
    box-sizing: border-box;
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: rgb(150, 150, 150);
    cursor: pointer;
    user-select: none;
}

.wdh-tbl:nth-of-type(4) .jdl {
    left: 105px;
}

.wdh-tbl:nth-of-type(5) .jdl {
    left: 210px;
}

.wdh-tbl.akt .jdl {
    background-color: white;
}

.tbl {
    position: absolute;
    top: 0;
    bottom: 39px;
    box-sizing: border-box;
    width: 100%;
    overflow-y: auto;
}

table:first-of-type {
    position: sticky;
    top: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table:nth-of-type(2) tr:hover {
    background-color: rgb(220, 220, 220);
    cursor: pointer;
}

th,
td {
    box-sizing: border-box;
    border: 1px solid var(--wrn-grs);
}

th {
    color: rgb(250, 250, 250);
    background-color: rgb(100, 100, 100);
    height: 30px;
}

th:first-child,
td:first-child {
    width: 50px;
    text-align: center;
}

th:nth-child(3),
td:nth-child(3) {
    text-align: center;
    width: 200px;
}

th:nth-child(3),
td:nth-child(3) {
    text-align: center;
    width: 200px;
}

th:nth-child(4),
td:nth-child(4) {
    width: 120px;
    text-align: center;
}

tr:first-child th,
tr:first-child td {
    border-top: none;
}

td {
    padding: 10px;
    vertical-align: top;
}

.tbl table tr td.ldg-tbl {
    box-sizing: content-box;
    padding: 0;
    border: none;
    background-color: rgb(180, 180, 180);
    height: 100px;
    line-height: 100px;
    font-weight: bold;
    color: rgb(250, 250, 250);
    font-size: 20px;
}

.tbl table tr td.ldg-tbl span {
    animation: kel 1s forwards linear infinite;
    -webkit-animation: kel 1s forwards linear infinite;
}

.ket {
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    text-align: center;
    overflow: hidden;
    transition: .1s;
    background-color: var(--wrn-grs);
    -webkit-transition: .1s;
    -moz-transition: .1s;
    -ms-transition: .1s;
    -o-transition: .1s;
}

.pu button,
.ket button {
    background-color: rgb(100, 100, 100);
    color: rgb(250, 250, 250);
    cursor: pointer;
}

.ket button:disabled {
    background-color: rgb(150, 150, 150);
    color: var(--wrn-grs);
    cursor: default;
}

.ket span:first-of-type {
    position: absolute;
    left: 5px;
}

.ket input {
    width: 70px;
}

.ket button:nth-of-type(3) {
    position: absolute;
    top: 5px;
    right: 5px;
}

.wdh-tbl:nth-of-type(2) .ket span:last-of-type {
    position: absolute;
    right: 5px;
}

.wdh-tbl:nth-of-type(3) .ket span:last-of-type,
.wdh-tbl:nth-of-type(4) .ket span:last-of-type {
    position: absolute;
    right: 40px;
}

.hvr {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 10, 10, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.pu {
    box-sizing: content-box;
    background-color: rgb(250, 250, 250);
    transform: scale(0);
    width: 300px;
    padding: 10px 0;
    border-radius: 5px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    animation: zi .2s 1 forwards;
    -webkit-animation: zi .2s 1 forwards;
    text-align: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.pu .jdl-pu {
    margin-bottom: 50px;
}

.pu .plh {
    top: 40px;
    position: absolute;
    text-align: left;
}

.pu .plh:nth-of-type(2) {
    left: 0;
    width: 150px;
    left: 20px;
}

.pu .plh:nth-of-type(3) {
    left: 180px;
    width: 100px;
}

.pu .inf {
    display: block;
    margin-top: 10px;
}

.pu button {
    margin-top: 10px;
    padding: 0 20px;
}

@media only screen and (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        background-color: rgb(200, 200, 200);
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: rgb(140, 140, 140);
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: rgb(100, 100, 100);
    }
}

@media only screen and (min-width: 768px) and (max-width: 1366px) {
    body {
        box-sizing: initial;
        min-width: 1366px;
        min-height: 500px;
        overflow: auto;
    }
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 3vw;
    }

    .kon {
        top: 10vw;
        right: 2vw;
        bottom: 2vw;
        left: 2vw;
        border-radius: 1.3vw;
        -webkit-border-radius: 1.3vw;
        -moz-border-radius: 1.3vw;
        -ms-border-radius: 1.3vw;
        -o-border-radius: 1.3vw;
    }

    .wdh-det {
        top: 1.8vw;
        left: 1.8vw;
        bottom: 1.8vw;
        right: 1.8vw;
    }

    .nam-brg {
        font-size: 4.5vw;
    }

    .hrg {
        font-size: 5.5vw;
        margin-top: 4vw;
    }

    .wdh-det span {
        margin: 4vw 0 1vw 0;
    }

    .wdh-car {
        height: 11vw;
        padding: 2vw;
        text-align: right;
        border-radius: 1.3vw;
        -webkit-border-radius: 1.3vw;
        -moz-border-radius: 1.3vw;
        -ms-border-radius: 1.3vw;
        -o-border-radius: 1.3vw;
    }

    .wdh-car input:not([type="checkbox"]):not([type="radio"]) {
        box-sizing: border-box;
        width: 85vw;
    }

    .wdh-car button {
        box-sizing: border-box;
        border-width: .2vw;
        color: inherit;
        width: 7vw;
    }

    .wdh-tbl {
        left: 2vw;
        top: 11vw;
        right: 2vw;
        bottom: 2vw;
    }

    .jdl {
        top: -19vw;
        width: 30vw;
        height: 8vw;
        line-height: 8vw;
        border-top-left-radius: 1.3vw;
        border-top-right-radius: 1.3vw;
    }

    .wdh-tbl:nth-of-type(4) .jdl {
        left: 31vw;
    }

    .wdh-tbl:nth-of-type(5) .jdl {
        left: 62vw;
    }

    .tbl {
        bottom: 9.9vw;
    }

    th,
    td {
        border-width: .2vw;
    }

    th {
        height: 7.5vw;
    }

    th:first-child,
    td:first-child {
        width: 8vw;
    }

    th:nth-child(3),
    td:nth-child(3) {
        width: 18vw;
    }

    th:nth-child(4),
    td:nth-child(4) {
        width: 20vw;
    }

    td {
        padding: 1vw;
    }

    .tbl table tr td.ldg-tbl {
        height: 20vw;
        line-height: 20vw;
        font-size: 5vw;
    }

    .ket {
        width: 100%;
        height: 10vw;
        line-height: 10vw;
        padding: 0 2vw;
    }

    .ket span:first-of-type {
        position: absolute;
        left: 1vw;
    }

    .ket input {
        width: 12vw;
    }

    .ket button:nth-of-type(3) {
        position: absolute;
        top: 1.5vw;
        right: 1vw;
    }

    .wdh-tbl:nth-of-type(2) .ket span:last-of-type {
        position: absolute;
        right: 1vw;
    }

    .wdh-tbl:nth-of-type(3) .ket span:last-of-type,
    .wdh-tbl:nth-of-type(4) .ket span:last-of-type {
        position: absolute;
        right: 9vw;
    }

    .pu {
        width: 80vw;
        border-radius: 1.3vw;
        -webkit-border-radius: 1.3vw;
        -moz-border-radius: 1.3vw;
        -ms-border-radius: 1.3vw;
        -o-border-radius: 1.3vw;
        padding: 3vw 0;
        font-size: 3.5vw;
    }

    .pu .jdl-pu {
        margin-bottom: 13vw;
    }

    .pu .plh {
        top: 10vw;
    }

    .pu .plh:nth-of-type(2) {
        width: 40vw;
        left: 3vw;
    }

    .pu .plh:nth-of-type(3) {
        left: 46vw;
        width: 31vw;
    }

    .pu .inf {
        margin-top: 3vw;
    }

    .pu button {
        margin-top: 3vw;
        padding: 0 5vw;
    }
}