/* The container must be positioned relative: */
.custom-drop-down-list {
  position: relative;
  font-family: Arial;
  display: inline-block;
  padding: 0;
  margin: 0;
}

.custom-drop-down-list div {
  background-color: #fff;
  color: #333;
  border: 0;
  font-size: 14px;
}

.custom-drop-down-list select {
  display: none; /*hide original SELECT element: */
}

.custom-drop-down-list div.select-selected {
  padding: 5px 30px 5px 5px;
  margin: 0;
  border-bottom: solid 1px #666;
}
.custom-drop-down-list div.select-items div {
  padding: 5px;
  margin: 0;
}

.select-filter-input {
  padding-left: 5px;
  width: 100%;
  border: 0;
  border-bottom: solid 1px pink;
  outline: none;
}

.select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 10px;
  right: 5px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #333 transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #333 transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  line-height: 18px;
}

/*
.select-items-container {
  position:relative;
  display: contents;
  overflow:hidden;
  height:150px;
  width:150%;
}
*/

/* Style items (options): */
.select-items {
  position: absolute;
  /*background-color: DodgerBlue;
  top: 100%;*/
  left: 0;
  right: 0;
  z-index: 1099;
  height:150px;
  width: 150%;
  overflow-y:scroll;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.select-items div.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
  color: #ff4040;
}
