  /*#061b37 capleasing blue*/

.cars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  padding: 25px;
}

.cars > div {
  -webkit-box-shadow: 10px 10px 25px -10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 10px 10px 10px -8px rgba(0, 0, 0, 0.5);
  box-shadow: 10px 10px 10px -8px rgba(0, 0, 0, 0.5);

  border-radius: 0 0 0 0;
  -moz-border-radius: 0 0 0 0;
  -webkit-border-radius: 0 0 0 0;
  border: 0 solid rgb(95, 95, 95);
}

.cars > div:hover {
  -webkit-box-shadow: 10px 10px 10px -3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 10px 10px 10px -3px rgba(0, 0, 0, 0.5);
  box-shadow: 10px 10px 10px -3px rgba(0, 0, 0, 0.5);
}

.car {
  background: rgb(6, 27, 55); /* capleasing-blue */
}


.make {
  /* using flexbox to centering text. */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  padding: 10% 5% 1%;
  color: #ffffff;
  max-height: 150px;
  line-height: normal;
}

.detail-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 15px;
}

.price {
  border-top: 1px solid #ffffff;
  font-weight: bold;
  font-size: x-large;
  text-align: center;
  background-color: white;
  background-color: #ffffff;
  color: rgb(6, 27, 55);
  padding: 8% 0 8% 0;
}

.car-info {
  font-size: small;
  float: left;
  width: calc(100% / 3);
  text-align: center;
  color: #ffffff;
  line-height: 150%;
}

#car-info {
  color: #ffffff;
}


.moms {
  font-size: x-small;
  font-weight: lighter;
}

#variant {
  font-size: small;
  font-weight: lighter;
  color: #ffffff;
}

.bilinfo-thumb {
  width: 100%;
  height: 200px;
  border: 0 solid rgb(95, 95, 95);
  object-position: center center;
  object-fit: cover;
  border-bottom: 1px solid #ffffff;
}

#full-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-position: center center;
  object-fit: cover;
}

.car-data-container {
  padding-top: 10px;
}

.car-img {
  background-color: darkred;
  text-align: center;
}

.car-data {
  background-color: antiquewhite;
  color: #ffffff;
}

.img-grid {
  background-color: green;
  text-align: center;
}

.car-data-tabs {
  background-color: pink;
  text-align: center;
}

.car-data-upper-left, .car-data-upper-right {
  display: inline-block;
  vertical-align: top;
}

#selected-car-price {
  font-weight: bold;
  font-size: large;
  color: #ffffff;
  padding: 10px;
}

#selected-car-mileage, #selected-car-year, #selected-car-motor {
  color: #000000;
  border-top: 1px solid #ffffff;
}

#car-data-text {
  display: inline-block;
  text-align: right;
}


#car-data-data {
  display: inline-block;
  text-align: left;
}

#make {
  margin: 0;
  font-size: x-large;
  font-weight: bold;
  color: white;
}


select.filter-dropdown {
  font-size: 14px;
  line-height: 2;
  color: #32373c;
  border-color: #7e8993;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 24px 0 8px;
  min-height: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #FFF url('https://api.iconify.design/dashicons:arrow-down-alt2.svg') no-repeat right 5px top 55%;

  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
  width: 100%;
  color: #061b37;
}

.dropdown-container {
  width: 96%;
  margin: 0 auto;
  padding: 20px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
  color: #FFF;
  background-color: #051b37;
  border-radius: 5px;
}

.filter-flex{
  padding: 5px 10px 5px 10px;
  height: 100%;
}

.flex-wrapper{
  flex: 1 0 auto;
  padding: 10px;
}

p.filter-text{
  margin: 0;
  padding-bottom: 5px;
  text-align: center;
  color: #FFF;
}

.search-cars-button{
  flex: 1 1 auto;
  padding: 10px;
  flex-basis: 100%;
}

div.filter-inline{
  width: 25%;
  margin: 0 0 0 -10px;
}

.filter-inline, .dropdown-content{
  display: inline-block;
  width: 65%;
  margin: 0 16px 0 0;
  padding: 0 0 0 0;

}

input.widget-input{
  display:table-cell;
  padding: 6px 10px;
  margin: 4px 0;
  box-sizing: border-box;
  border-radius: 5px;
}

input.widget-input{
  width: 100%;
}

.price-input{
  float: right;
  width: 90%;
  display: inline-block;
}

#minPris, #maxPris{
  margin: 0 0 0 -15%;
}

div.filter-year,
div.filter-propellant,
div.filter-price,
div.filter-make{
  padding: 0 25% 0 25%;
}

label {
  text-align: right;
}

#formYearMin {
  margin-bottom: 8px;
}