html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.modal-title {
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.25rem;
    padding: 0 1rem;
}

.modal-body {
    padding: 1rem;
}

.modal-button-set {
    margin-top: 1rem;
    display: flex;
    justify-content: right;
}

.modal-button-set>* {
    margin-left: 1rem;
}

#modal-monitor-comment {
    width: 500px;
    border: 1px solid;
}

#monitor-comment-text {
    display: block;
    width: 100%;
    height: 16rem;
    overflow-y: auto;
}

#hdr {
    display: flex;
    line-height: 3.5rem;
    flex-shrink: 0;
    justify-content: space-between;
    padding: 0 1rem;
}

#hdr-title {
    font-size: 1.5rem;
}

#main {
    display: flex;
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

#main>div {
    width: 100%;
}

#main-monitor {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

#monitor-hint {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    padding-bottom: 1rem;
}

#monitor-table {
    width: 100%;
}

#monitor-table>tbody>tr>td,
#monitor-table>tbody>tr>th {
    border: 1px solid;
    text-align: center;
}

.monitor-table-multiline>.theme-btn {
    display: inline-block;
    width: 100%;
}

.monitor-table-singleline>.theme-btn {
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0;
}