/* Chosen overrides extracted from theme.css */

.chosen-container {
  width: 100% !important;
}
.chosen-container .chosen-results li.active-result {
  clear: both;
  display: list-item;
  cursor: pointer;
  font-weight: normal;
  text-transform: capitalize;
  white-space: nowrap;
}

.chosen-container-single .chosen-single,
input[type="button"],
button[type="button"],
input[type="submit"],
button[type="submit"],
.form-control {
  padding: 10px;
  height: auto;
}
input[type="button"],
button[type="button"],
input[type="submit"],
button[type="submit"] {
  padding: 8px 15px;
}

.chosen-container-single .chosen-single {
  height: auto;
  border-color: #ced5da;
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  white-space: normal;
  min-width: 150px;
}
.material-textbox .chosen-container-single .chosen-single,
.material-textbox .form-control {
  padding: 10px 0;
  border-radius: 0;
  border: none;
  border-bottom: #888 solid 1px;
}
.chosen-container-single .chosen-single span {
  white-space: normal;
}
.chosen-container .chosen-results li.group-result {
  font-size: 1rem;
  color: #000;
}
.big-chosen .chosen-container-single .chosen-single {
  background: #fff;
  font-size: 20px;
  padding: 20px;
  height: auto;
  border: none;
  border-radius: 15px;
}
.chosen-container .chosen-drop {
  border: #aaa solid 1px;
}
.big-chosen .chosen-container .chosen-results {
  max-height: 500px;
}
.big-chosen .chosen-container-single .chosen-search input[type="text"] {
  padding: 7px 20px 7px 5px;
}
.chosen-container-active.chosen-with-drop .chosen-single {
  background-image: none;
  position: relative;
}
.chosen-container-single.chosen-with-drop:after {
  position: absolute;
  content: "";
  height: 2px;
  background: #fff;
  left: 1px;
  z-index: 9999;
  bottom: 0px;
  right: 1px;
}
.chosen-container-single .chosen-single img {
  margin-top: 10px;
}
.chosen-container-single .chosen-single img,
.chosen-results img {
  height: 16px;
  float: right;
}
.chosen-container-single {
  font-size: 1.1rem;
  margin-right: 5px;
  color: #000;
  opacity: 1;
}
.chosen-container-single .chosen-single div b {
  margin-top: 5px;
  height: 80%;
  display: none;
}
#service_id_chosen .chosen-drop {
  width: 500px;
  border-radius: 0 5px 5px 5px;
  padding: 0.5rem;
}
.big-chosen #service_id_chosen .chosen-drop {
  width: 100%;
  border: none;
  border-radius: 0 0 5px 5px;
}

.mx-height {
  max-height: 300px;
  overflow: auto;
}

/* Additional dropdown tweaks */
.chosen-container .chosen-drop {
  margin-top: -1px;
}
.chosen-container-single .chosen-search input[type="text"] {
  padding: 5px 20px 5px 5px;
  border: 1px solid #aaaaaa45;
  background: transparent;
  border-radius: 3px;
}
.chosen-container .chosen-results li {
  display: none;
  margin: 0;
  padding: 10px 6px;
  list-style: none;
  line-height: 25px;
  word-wrap: break-word;
  border-bottom: #eee solid 1px;
  font-size: 14px;
  font-weight: 600 !important;
}
.big-chosen .chosen-container-single .chosen-single {
  border-radius: 0;
}

/* Scrollbar styling for chosen results */
.chosen-container .chosen-results::-webkit-scrollbar {
  width: 10px;
}
.chosen-container .chosen-results::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.chosen-container .chosen-results::-webkit-scrollbar-thumb {
  background: #888;
}
.chosen-container .chosen-results::-webkit-scrollbar-thumb:hover {
  background: #555;
}
