body {
  padding-top: 20px;
  background: #fff;
  font-family: 'Source Sans Pro', sans-serif;
}

.page-header {
  min-height: 80px;
  margin: 10px 0 20px;
  padding: 0 0 9px;
  border-bottom: 1px solid #eee;
}

.brand-logo {
  max-width: 295px;
  max-height: 70px;
}

.header {
  min-height: 101px;
  margin-bottom: 0;
  background-color: #5f5f5f;
}

.header h3 {
  text-align: left;
  color: #f5a623;
}

.header h4 {
  margin-top: 0;
  font-style: italic;
  color: #fff;
}

.language-picker {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 0 0 auto;
  color: #fff;
}

.language-picker label {
  display: block;
  margin: 0 0 5px;
  font-weight: normal;
}

.language-control {
  position: relative;
  height: 45px;
}

#btnLanguageSelector {
  position: relative;
  height: 45px;
  width: 100%;
  border: 2px solid #868686;
  border-radius: 0;
  padding: 0 20px;
  color: #fff;
  background: #616161;
  text-align: left;
}

#btnLanguageSelector .language-selection {
  position: relative;
  top: 5px;
  color: #f5a623;
}

#btnLanguageSelector .language-selection .flag-icon {
  width: 30px;
  margin-right: 5px;
}

#btnLanguageSelector .fa-sort-desc {
  position: absolute;
  top: -10px;
  right: 0;
}

#btnLanguageSelector:hover {
  background: #868686;
}

#languageMenu {
  position: absolute;
  top: 45px;
  z-index: 999;
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  border: 1px solid #5f5f5f;
  background: #5f5f5f;
  box-shadow: -1px 1px 5px 0 #3e4150;
}

#languageMenu a {
  border-radius: 0;
  border-top: 1px solid #6d6d6d;
  color: #fff;
  text-align: left;
}

#languageMenu a:hover,
#languageMenu a:focus {
  background: #697fa0;
}

.language-flag {
  margin-right: 8px;
}

.form-section-panel {
  margin-bottom: 15px;
  padding: 10px;
}

@media (min-width: 768px) {
  #serviceForm > .report-meta-row {
    margin-top: 20px;
  }

  #serviceForm > .report-meta-row .form-section-panel {
    margin-bottom: 0;
  }
}

.section-header {
  margin-top: 15px;
  margin-bottom: 10px;
  color: #f5a623;
  background: #fff;
}

.form-horizontal .control-label {
  padding-top: 7px;
}

.validation-alert {
  margin: 0 0 15px;
  border-color: #b7d7bd;
  color: #356b3f;
  background-color: #eef7ef;
}

.validation-alert.validation-error {
  border-color: #e3b4b4;
  color: #8a3030;
  background-color: #fbefef;
}

.form-control.validation-invalid {
  border-color: #b94a48 !important;
  background-color: #fff5f5;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #d59392 !important;
  outline: 2px solid #b94a48;
  outline-offset: 1px;
}

input[type="checkbox"].validation-invalid,
input[type="radio"].validation-invalid {
  accent-color: #b94a48;
  outline: 2px solid #b94a48;
  outline-offset: 2px;
}

.validation-invalid-group {
  border-color: #b94a48 !important;
  box-shadow: 0 0 6px #d59392;
  outline: 2px solid #b94a48;
  outline-offset: 1px;
}

.vehicle-type-table td {
  vertical-align: middle !important;
}

.vehicle-type-table .vehicle-image-cell {
  width: 38%;
}

.vehicle-type-table .vehicle-radio-cell {
  width: 12%;
}

.vehicle-type-table .vehicle-radio-cell .radio {
  margin: 0;
  text-align: center;
}

.vehicle-type-table img {
  display: block;
  width: 100px;
  max-width: 100%;
  margin: 0 auto;
}

.body-type-table td {
  vertical-align: middle !important;
}

.body-type-table td:nth-child(1) {
  width: 31.5%;
}

.body-type-table td:nth-child(2) {
  width: 13.7%;
}

.body-type-table td:nth-child(3) {
  width: 41.1%;
}

.body-type-table td:nth-child(4) {
  width: 13.7%;
}

.body-type-table .radio {
  margin: 0;
}

.serial-number-image {
  width: 100%;
  max-width: 379px;
}

.serial-number-guidance {
  margin-bottom: 0;
}

.serial-number-guidance td {
  width: 50%;
  text-align: center;
  vertical-align: bottom !important;
}

.serial-number-guidance td:nth-child(2) .serial-number-image {
  max-width: 354px;
}

.serial-number-guidance h4 {
  color: #000;
  text-align: center;
}

.position-diagram {
  display: block;
  width: 61px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.position-orientation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 198px;
  font-size: 1.3em;
}

.file-list input {
  margin: 6px auto;
  max-width: 500px;
}

.submit-row {
  margin: 20px 0;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding: 19px 15px;
}

@media (max-width: 767px) {
  body {
    padding-top: 0;
  }

  .page-header {
    margin-top: 10px;
    padding: 0 15px 9px;
  }

  .page-header .brand-logo {
    max-width: min(100%, 290px);
  }

  .header h3,
  .header h4 {
    text-align: left;
  }

  .language-picker {
    margin: 0 0 5px;
  }

  .position-orientation {
    gap: 4px;
    font-size: 1em;
  }

  .table-responsive {
    border: 0;
  }
}
