body {
    font-family: sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    color: #ebebeb;
    background-color: #2b3e50;
    margin: 80px 15% 50px;
}
nav {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    background-color: #343a40;
    border-bottom: 1px solid #4c545d;
}
nav img {
    display: inline-block;
}
nav > ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding-inline-start: 0;
}
nav > ul > li.logo {
    padding: .2em;
    vertical-align: middle;
    border: none;
}
nav > ul > li.logo img {
    width: 1.7em;
}
nav > ul > li {
    position: relative;
    display: inline-block;
    float: left;
    margin: 0;
    padding: .5em .5em;
    border-left: 1px solid #4c545d;
}
nav > ul > li:hover {
    background-color: rgba(255, 255, 255, .1);
}
nav > ul a {
    text-decoration: none;
    color: #ebebeb;
}
nav > ul a:visited {
    color: #ebebeb;
}
nav > ul > li ul {
    visibility: hidden;
    position: absolute;
    top: 2.1em;
    left: -1px;
    width: 100%;
    padding-inline-start: 0;
    background-color: #343a40;
    border-bottom: 1px solid #4c545d;
    border-left: 1px solid #4c545d;
    border-right: 1px solid #4c545d;
}
nav > ul > li:hover ul {
    visibility: visible;
}
nav > ul > li ul li {
    list-style: none;
    margin: 0;
    padding: .2em;
    white-space: nowrap;
}
nav > ul > li ul li:hover {
    background-color: rgba(255, 255, 255, .1);
}
a {
    color: #01b4ea;
}
a:visited {
    color: #01b4ea;
}
input, textarea {
    padding: .3em;
}
.image-selection {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.image-option {
    flex-grow: 1;
    flex-basis: 10em;
    margin: .5em;
    border-radius: .3em;
    background-color: rgba(255, 255, 255, .1);
    border: 1px solid transparent;
    cursor: pointer;
}
.image-option input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.image-option:hover {
    background-color: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .5);
}
.image-option.checked {
    background-color: rgba(100, 255, 100, .2);
    border: 1px solid rgba(100, 255, 100, .3);
}
.image-option.checked:hover {
    background-color: rgba(100, 255, 100, .3);
    border: 1px solid rgba(100, 255, 100, .5);
}
.image-option .image-container {
    height: 10em;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
table {
    border: none;
    border-spacing: 0;
}
table.zebra td, table.zebra th {
    padding: 2px;
}
table.zebra.spacious td, table.zebra.spacious th {
    padding: 4px 10px;
}
table.zebra thead tr,
table.zebra tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, .1);
}
table.route-points {
    width: 100%;
    user-select: none;
}
table.route-points tbody {
    min-height: 20em;
}
table.route-points tbody tr {
    cursor: pointer;
}
table.route-points tbody td:last-child {
    white-space: nowrap;
}
table.route-points tbody tr.ui-state-disabled:only-child {
    display: table-row !important;
}
select {
    padding: 3px;
}
input[type=submit] {
    font-size: large;
    padding: .8em 1.5em;
    margin: .7em 1.5em;
    background-color: hsl(207, 82%, 38%);
    color: white;
    border-radius: .375em;
    border: 0;
    cursor: pointer;
}
input[type=submit]:hover {
    background-color: hsl(207, 82%, 43%);
}

tr.error > td, label.error {
    color: red;
    font-style: italic;
}
input.error, textarea.error, select.error, .image-selection.error {
    border: red 1px solid;
}
