body {
    font-family: sans-serif;
}

h1 {
    font-size: 1.3em;
    font-weight: 300;
}

table.settings {
    text-align: center;
    margin: auto auto 1em auto;
    border-collapse:collapse;
}
table.settings td {
    background: lightgrey;
    border-left: 1px solid white;
    padding: 4px 4px 4px 4px;
    white-space: nowrap;
}

table.main {
    margin: auto;
    border-collapse: collapse;
}

thead tr {
    background: #53df57;
}

tbody tr:nth-child(even) {
    background: #63ff87;
}

.control-col {
    background: white;
}

.error-col {
    background-color: red;
    white-space: normal;
}

thead th {
    border-left: 1px solid white;
    padding: 3px 1px 0 1px;
    white-space: nowrap;
}

thead td {
    border-left: 1px solid white;
    padding: 0 1px 1px 1px;
    white-space: nowrap;
}

tbody td {
    text-align: left;
    border-left: 2px solid white;
    padding: 1px;
    white-space: nowrap;
}

tbody td.dec-col, tbody td.hex-col, tbody td.bin-col, tbody td.oct-col, tbody td.utf8-bin-col {
    text-align: right;
}

table.main span.grp {
    color: black;
    padding: 0 2px 0 2px;
}
table.main span.grp:first-of-type {
    padding: 0 2px 0 0;
}
table.main span.grp:last-of-type {
    padding: 0 0 0 2px;
}

table.main thead tr td span {
    display: grid;
    width: 100%;
}

input[type="button"] {
    width: 100%;
}
