/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-size: 1.3125em;
  line-height: 1.3;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: #fff;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 20px;
  right: 20px;
  width: 0;
  height: 0;
/*
  border: 8px solid transparent;
  border-color: #333 transparent transparent transparent;
*/
  border: solid #999;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* 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;
*/
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

/* style the items (options), including the selected item: */
.select-items div {
  color: #777;
  padding: 12px 22px;
	border-left: 1px solid #d0d0d0;
	border-right: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  cursor: pointer;
}
.select-selected {
  color: #777;
  padding: 12px 22px;
	border: 1px solid #d0d0d0;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* 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);
}