﻿body {
    color: #333;
    display: flex;
    justify-content: center;
    font-size: 1.1em;
    font-family: Verdana, YuGothic, sans-serif;
}
#App {
    max-width: 1080px;
}
.formTitle {
    font-weight: bolder;
    font-size: 1.1em;
    margin-bottom: 0.2em;
}
h3, h4 {
    color: #333;
}
h3 {
    font-size: 1.15em;
    margin-bottom: 0.6em;
    margin-top: 1.6em;
}
h4 {
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 0;
    margin-top: 0.15em;
}
a, #BackToCarSearch {
    color: cornflowerblue;
}
button {
    box-sizing: border-box;
    border: none;
    padding: 0.5em 2.2em;
    font-size: 0.8em;
    letter-spacing: 2px;
    color: white;
    background-color: cornflowerblue;
}
input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: none;
}
input:focus {
    outline: none;
}
table {
    width: 100%;
    border: 2px solid #e5e5e5;
    padding: 3px 5px;
}
td {
    border: 1px solid #e5e5e5;
}
td.strong {
    border: 2px solid cornflowerblue;
}
th {
    font-size: 0.8em;
    font-weight: normal;
}
p {
    font-size: 0.85em;
}
.resultTable {
    margin: 0.3em 0 0.6em;
}
.resultTable td {
    font-size: 0.8em;
    font-weight: normal;
}
.fixedWidthTable {
    table-layout: fixed;
}
.ButtonSection {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0.6em 0 1.2em;
}
.ButtonSection button {
    margin-right: 5px;
}
.ButtonSection button:last-child {
    margin-right: 0;
}
.ButtonSection button:hover {
    cursor: pointer;
}
#BackToCarSearch {
    font-size: 0.8em;
    background-color: transparent;
}
.error {
    color: orangered;
    font-size: 0.8em;
}
#message {
    text-align: center;
    font-size: 0.92em;
    font-weight: normal;
}
#partSelection label {
    white-space: nowrap;
    display: inline-block;
    width: 16em;
    font-size: 0.82em;
}
#partSelection .hidden {
    display: none;
}
#partSelection td.partCategory {
    width: 9em;
    font-weight: bold;
    background-color: whitesmoke;
}
#partList {
    border-collapse: collapse;
    border: none;
}
#partList input[type="image"] {
    height: 3em;
}
#partList td {
    border: none;
    padding: 0.4em 0.5em;
}
#partList form {
    margin: 0;
}
#partList tr {
    border-bottom: 1px solid #e5e5e5;
}
#partList th {
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #e5e5e5;
    padding: 0.5em;
}
#partList th:first-child,
#partList th:nth-child(2),
#partList th:last-child {
    width: 16em;
}
#partList th:nth-child(3) {
    width: 26em;
}
#partList th:nth-child(4) {
    width: 12em;
}
