.used-truck-form {
  margin: 40px 0;
}

.used-truck-form .col {
  padding: 10px;
}

/* The container must be positioned relative: */

.custom-select {
  position: relative;
  background: #4c4c4c;
  color: #ffffff;
  border-radius: 6px;
  border: none;
}

.select2-container {
  background-color: #fff;
}

.used-truck-form .select2-container .select2-selection--single {
  height: 38px;
}

/* .used-truck-form
    .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    margin-top: 4px;
  } */

.range-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-container > span {
  line-height: 2.5em;
}

/* select::after {
    content: "\f107";
    font-family: FontAwesome;
    display: block;
  } */

/* Style the arrow inside the select element: */

/* .select-wrapper {
    display: inline-block;
  } */

/* .select-wrapper:after {
    display: inline-block;
    content: "\f107";
    margin-left: -25px;
    position: relative;
    color: #ffffff;
    font-family: FontAwesome;
  } */

/* .used-truck-form input[type="text"] {
    background: #4c4c4c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
  } */

/* .used-truck-form .form-control {
    border-color: #aaa;
  } */

.used-truck-form button {
  background-color: #f9a13a;
  border-color: #f9a13a;
  color: white;
}

.vehicle-submit-btn {
  background: #f9a13a;
  color: #4c4c4c;
  border: none;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Customize the label (the container) */
.used-form-container {
  /* display: inline; */
  position: relative;
  padding-left: 40px;
  /* padding-top: 5px; */
  padding-right: 45px;
  cursor: pointer;
  /* font-size: 17px; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#id_listing_type {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

#id_listing_type li {
  position: relative;
  padding-left: 40px;
  /* padding-top: 5px; */
  padding-right: 45px;
  cursor: pointer;
  /* font-size: 17px; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
  margin: 0;
}

/* Hide the browser's default checkbox */
#id_listing_type li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.select2-container--bootstrap4 .select2-selection__clear {
  font-family: sans-serif;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  height: 27px;
  width: 27px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

/* On mouse-over, add a grey background color */
#id_listing_type li:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
#id_listing_type li input:checked ~ .checkmark {
  background-color: #f9a13a;
  border-color: #f9a13a;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
#id_listing_type li input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
#id_listing_type li .checkmark:after {
  top: 8px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
