.custom-select {
  position: relative;
}

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

.select-selected:after, .select-selected:before {
  content: "";
  position: absolute;
  background-color: hsla(0, 0%, 0%, 0.9);
  border-radius: 5px;
  height: 7px;
  width: 2px;
  transform: rotate(45deg);
  top: 1.375rem;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  right: 1.5625rem;
  transform: rotate(45deg);
}

.select-selected:before {
  right: 1.875rem;
  transform: rotate(-45deg);
}

.select-selected.select-arrow-active:after {
  right: 1.875rem;
}

.select-selected.select-arrow-active::before {
  right: 1.5625rem;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}

.select-selected {
  padding: 14px 20px;
  border-radius: 0.75rem;
  border: 1px solid var(--light-gray);
  background: var(--white);
  position: relative;
  z-index: 2;
}

.select-box {
   position:absolute;
  top: calc(100% - 0.75rem);
  left: 0;
  right: 0;
  z-index: 3;
  background-color: #fff;
  border-radius: 0 0 0.75rem 0.75rem;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: 0.2s ease-out;
  max-height:500px;
  overflow-y:auto;
  border-top: none;
}

/* Style items (options): */
.select-items {
  padding-top: 0.75rem;
  max-height: 100%;
}

.select-items::-webkit-scrollbar {
  width: 2px;
  background-color: var(--light-gray);
  border-radius: 5px;
  height: 200px;
  z-index: -10;
}

.select-items::-webkit-scrollbar-thumb {
  background: var(--dark-gray);
  border-radius: 5px;
}

/* Hide the items when the select box is closed: */
.select-hide {
  /* display: none; */
  max-height: 0;
  border-bottom: none;
}

.select-items div:hover,
.same-as-selected {
  background: var(--light-brand);
}

.placeholder {
  color: var(--dark-gray);
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.select-selected.select-arrow-active {
  border: 1px solid var(--brand-colour);
}

/*# sourceMappingURL=custom-select.css.map */
