* {
    font-size: 18pt;
    font-family: Arial, Helvetica, sans-serif;
}

.car {
    width: 100px
}

#blue.car {
    src: 'blue.png'
}

#drivers {
    list-style-type: none;
    display: none;
}

.button {
    background-color: rgb(24, 197, 93);
    color: white;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight:bold;
    border-radius: 10px;
    display: block;
    width: 150px;
    height: 40px;
    line-height: 40px;
    font-size: 20pt;
    user-select: none;
}

.button:hover {
    background-color: rgb(23, 168, 81);
}

.button:active {
    background-color: rgb(24, 197, 93);
}

#next {
    margin-right: 30px;
}

#reset, .remove {
    background-color: rgb(190, 32, 53);
}

#reset:hover, .remove:hover {
    background-color: rgb(149, 20, 37)
}

#reset:active, .remove:active {
    background-color: rgb(190, 32, 53)
}

table {
    border-collapse: collapse;
}

td {
    text-align: center;
    padding: 10px;
    border: none;
}

#drivers tr:nth-child(odd) {
    background-color: rgb(230, 230, 230);
}

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

#drivers tr.heading {
    background-color:rgb(7, 58, 117);
    color: white;
    font-weight:bold;
}

.add .selector {
    display: inline-block;
}

.approach, .corner {
    border-right-style: dashed;
    border-right-width: 3px;
    border-right-color:rgb(173, 173, 173)
}

.max-speed {
    border-left-style: dashed;
    border-left-width: 3px;
    border-left-color:rgb(173, 173, 173)
}

td.empty {
    background-color: white;
}

.flag {
    height: 50px;
}

.flag-select-holder {
    margin: 0;
    width: 800px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.add {
    margin-top: 40px;
}

body {
    background-color: white;
}

.selector {
    background-color: white;
    border: 3px solid white;
    border-radius: 10px;
}

.selector:hover {
    cursor: pointer;
}

.selector.added {
    visibility: hidden;
}

.flag-selector {
    background-color: white;
    border: 3px solid white;
    border-radius: 10px;
    width: 150px;
    height: 80px;
    text-align: center;
    padding: 10px;
    display: inline-block;
    position: relative;
}

.flag-selector:hover {
    cursor: pointer;
}

.selected {
    background-color: rgb(212, 238, 255);
    border: 3px solid rgb(70, 181, 255);
}

.buttons {
    display: none;
    margin-top: 30px;
}

.buttons.enabled {
    display: flex;
}

#inputs {
    display: none;
}

input {
    width: 600px;
}

td.label {
    text-align: right;
}

#error {
    margin-top: 40px;
    color: red;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

img {
    vertical-align: middle;
}

.flag-selector img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 50px;
}

#add {
    margin-top: 30px;
}

.add .prompt {
    margin-bottom: 20px;
}

.disabled, .disabled:hover, .disabled:active {
    background-color: gray;
    cursor:default;
}

#drivers tr:nth-child(odd) .highlighted {
    background-color: rgb(212, 212, 100);
}

#drivers tr:nth-child(even) .highlighted {
    background-color: rgb(250, 250, 126);
}

#speed-plus, #corner-plus, #speed-minus, #corner-minus {
    margin-bottom: 10px;
    display: inline-block;
    background-color: rgb(24, 116, 197);
}

#speed-plus:hover, #corner-plus:hover {
    background-color: rgb(17, 91, 155);
}

#speed-plus:active, #corner-plus:active {
    background-color: rgb(24, 116, 197);
}

.total-speed, .total-corner {
    text-align: center;
    padding: 10px;
}
