.filter {
  font-size: 11px;
}
.filter .well {
  padding-top: 5px;
  padding-bottom: 5px;
}
.filter .slider-horizontal {
  margin: 0px 10px;
}
.filter .row {
  line-height: 18px;
  margin-left: -5px;
}
.filter .row label {
  font-weight: normal;
}
.filter .row label.inline {
  margin-right: 1em;
}
.filter .row label:first-child {
  width: 80px;
}
.filter .row input.mileage,
.filter .row input.price {
  width: 100px;
}
.filter .row .inline-group {
  display: inline-block;
  margin-left: 20px;
}
.filter .row .inline-group label {
  width: auto;
  margin-right: 5px;
}
.filter .filter-mobile-summary {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.filter .filter-mobile-summary__body {
  min-width: 0;
}
.filter .filter-mobile-summary__body strong,
.filter .filter-mobile-summary__body span {
  display: inline-block;
  margin-right: 6px;
}
.filter .filter-mobile-summary__body span {
  color: #5d6873;
}
.filter .filter-controls--mobile {
  display: none;
}
@media (max-width: 767px) {
  .filter .well.filter-panel {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 6px;
  }
  .filter .filter-panel.filter-collapsed .filter-controls {
    display: none;
  }
  .filter .filter-mobile-summary {
    display: flex !important;
  }
  .filter .filter-controls--desktop {
    display: none !important;
  }
  .filter .filter-controls--mobile {
    display: block !important;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
  }
  .filter .filter-panel.filter-collapsed .filter-controls--mobile {
    display: none !important;
  }
  .filter .filter-mobile-section {
    padding: 10px 0;
    border-top: 1px solid rgba(90, 106, 122, 0.16);
  }
  .filter .filter-mobile-section:first-child {
    padding-top: 4px;
    border-top: 0;
  }
  .filter .filter-mobile-section__title {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: bold;
    color: #202833;
  }
  .filter .filter-mobile-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .filter .filter-mobile-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(90, 106, 122, 0.28);
    border-radius: 4px;
    background: #fff;
    color: #202833;
    font-weight: normal;
    line-height: 1.2;
  }
  .filter .filter-mobile-chip input {
    margin: 0 6px 0 0;
  }
  .filter .filter-mobile-chip.is-active {
    border-color: #2f80bd;
    background: rgba(47, 128, 189, 0.1);
    color: #135f96;
  }
  .filter .filter-mobile-options--period .filter-mobile-chip {
    flex: 1 1 calc(43%);
    justify-content: flex-start;
  }
  .filter .filter-mobile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .filter .filter-mobile-field {
    display: block;
    margin: 0;
    font-weight: normal;
  }
  .filter .filter-mobile-field span {
    display: block;
    margin-bottom: 3px;
    color: #5d6873;
    font-size: 12px;
  }
  .filter .filter-mobile-field input {
    width: 100%;
    height: 38px;
    padding: 6px 8px;
    border: 1px solid rgba(90, 106, 122, 0.45);
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
  }
  .filter .filter-mobile-check {
    display: flex;
    align-items: flex-start;
    min-height: 34px;
    margin: 8px 0 0;
    font-weight: normal;
    line-height: 1.25;
  }
  .filter .filter-mobile-check input {
    flex: 0 0 auto;
    margin: 2px 8px 0 0;
  }
  .filter .filter-mobile-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(90, 106, 122, 0.16);
  }
  .filter .filter-mobile-actions .btn {
    min-height: 40px;
  }
  .filter .row {
    margin: 8px 0 0;
    line-height: 1.45;
  }
  .filter .row label:first-child {
    display: block;
    width: auto;
    margin-bottom: 4px;
    font-weight: bold;
  }
  .filter .row label.inline,
  .filter .row label.long {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 10px 6px 0;
  }
  .filter .row input[type='checkbox'],
  .filter .row input[type='radio'] {
    margin: 0 4px 0 0;
  }
  .filter .row input.textbox,
  .filter .row input.price {
    width: 96px;
    max-width: calc(28%);
  }
  .filter .row .inline-group {
    display: block;
    margin: 8px 0 0;
  }
  .filter .slider.slider-horizontal {
    width: calc(4%) !important;
    max-width: 330px;
    margin: 0 8px;
  }
}
.pagination li a,
.pagination li span {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.brands div {
  margin: 10px 0;
}
.models div {
  margin: 10px 0;
}
table.lots {
  font-size: 12px;
}
table.lots span {
  display: block;
}
table.lots thead span {
  white-space: nowrap;
}
.bds-lot .row.general,
.jba-lot .row.general,
.asnet-lot .row.general,
.imoto-lot .row.general {
  margin-bottom: 2em;
}
.bds-lot .subheader,
.jba-lot .subheader,
.asnet-lot .subheader,
.imoto-lot .subheader {
  margin-bottom: .5em;
  font-size: 1.2em;
}
.bds-lot .remarks-header,
.jba-lot .remarks-header,
.asnet-lot .remarks-header,
.imoto-lot .remarks-header {
  font-weight: bold;
  text-align: center;
}
.bds-lot table.info,
.jba-lot table.info,
.asnet-lot table.info,
.imoto-lot table.info {
  width: 100%;
  margin-bottom: 1em;
}
.bds-lot table.info th,
.jba-lot table.info th,
.asnet-lot table.info th,
.imoto-lot table.info th,
.bds-lot table.info td,
.jba-lot table.info td,
.asnet-lot table.info td,
.imoto-lot table.info td {
  border-bottom: 1px solid #ddd;
}
.bds-lot table.info tr:last-child td,
.jba-lot table.info tr:last-child td,
.asnet-lot table.info tr:last-child td,
.imoto-lot table.info tr:last-child td,
.bds-lot table.info tr:last-child th,
.jba-lot table.info tr:last-child th,
.asnet-lot table.info tr:last-child th,
.imoto-lot table.info tr:last-child th {
  border-bottom: none;
}
.bds-lot table.info td,
.jba-lot table.info td,
.asnet-lot table.info td,
.imoto-lot table.info td {
  text-align: right;
}
.bds-lot table.price,
.jba-lot table.price,
.asnet-lot table.price,
.imoto-lot table.price {
  @extend table.info;
}
.bds-lot table.price button,
.jba-lot table.price button,
.asnet-lot table.price button,
.imoto-lot table.price button {
  margin: 10px 0;
  width: 100%;
}
.bds-lot table.remarks,
.jba-lot table.remarks,
.asnet-lot table.remarks,
.imoto-lot table.remarks {
  @extend table.info;
  margin-bottom: 1em;
}
.bds-lot table.remarks th,
.jba-lot table.remarks th,
.asnet-lot table.remarks th,
.imoto-lot table.remarks th {
  font-weight: normal;
}
.bds-lot table.remarks tr.section th,
.jba-lot table.remarks tr.section th,
.asnet-lot table.remarks tr.section th,
.imoto-lot table.remarks tr.section th {
  font-weight: bold;
}
.bds-lot table.remarks td,
.jba-lot table.remarks td,
.asnet-lot table.remarks td,
.imoto-lot table.remarks td {
  text-align: left;
}
.bds-lot table.remarks th,
.jba-lot table.remarks th,
.asnet-lot table.remarks th,
.imoto-lot table.remarks th {
  width: 35%;
}
.bds-lot table.remarks td,
.jba-lot table.remarks td,
.asnet-lot table.remarks td,
.imoto-lot table.remarks td {
  width: 65%;
}
.bds-lot .schema-description ul,
.jba-lot .schema-description ul,
.asnet-lot .schema-description ul,
.imoto-lot .schema-description ul {
  padding: 0;
  list-style: none;
}
nav {
  margin-top: 15px;
  border-bottom: 3px solid #eee;
  /*background: #ddd;*/
  background: white;
  font-size: 1.2em;
}
nav a {
  display: inline-block;
  padding: 5px 10px;
}
nav a:hover,
nav a:active,
nav a:visited,
nav a:focus {
  text-decoration: none;
  color: #337ab7;
}
nav a.active {
  background: #eee;
  border-radius: 3px 3px 0 0;
}
.filter {
  margin-top: 10px;
}

