body {
    background-color: white;
}

form label {
    display: inline-block;
    width: 8em;
    height: 1.5em;
}

form input {
    height: 1.5em;
    font-size: 1.5em;
    vertical-align: middle;
}

form > input[type=submit] {
    width: 100%;
}

input[type=text], input[type=number], input[type=password] {
    border: 1px solid gray;
    background-color: #f0f0f0;
    border-radius: .2em;
}

dt {
    font-weight: bold;
}

table {
    border-collapse: collapse;
}

td, th {
    text-align: right;
    padding: .5em;
}

th {
    cursor: pointer;
}

th:hover {
    text-decoration: underline;
}

tr {
    height: 2em;
}

tr:nth-child(even) {
    background-color: #f0f0f0;
}

.grp {
    position: relative;
}

.grp a {
    display: inline-block;
    box-shadow: 0 0 3pt 2pt #f0f0f0;
    background-color: #f0f0f0;
    margin: .5em;
    padding: .5em;
}

.grp input.btn {
    display: none;
}

.grp label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.grp input.btn + label {
    position: absolute;
    width: 100%;
    height: 100%;
    outline: 1px solid black;
}

.grp label:active {
    outline-color: red;
}

.grp input.btn + label + .opt {
    visibility: hidden;
}

.grp input.btn:checked + label {
    visibility: hidden;
}

.grp input.btn:checked + label + .opt {
    visibility: visible;
}

.x {
    position: absolute;
    top: -1em;
    right: 0;
    height: 1.5em;
    width: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.x::before, .x::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 0.3em;
    background-color: gray;
}

.x::before {
    transform: rotate(45deg);
}

.x::after {
    transform: rotate(-45deg);
}

.order {
    position: relative;  
}

.order .two, .order .tmp {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order .tmp {
    background-color: #f0f0f0;
    color: fuchsia;
}

.hidden {
    visibility: hidden;
}

.hidden * {
    visibility: hidden !important;
}
