select.custom-select {
  border: 2px solid #f0f0f0;
  border-radius: 25px;
  padding: 16px 0;
  padding-left: 19px;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
  font-family: "Avenir - Book", Sans-serif;

  appearance: none; /* Standard */
  -webkit-appearance: none; /* Safari & Chrome */
  -moz-appearance: none; /* Firefox */
  background: none; /* Removes default background */
}
select.custom-select.hidden {
  display: none;
}


.custom-select {
  display: inline-block;
  position: relative;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.2;
  width: 100%;
  z-index: 1;
  transition: z-index 0s .2s;
}

.custom-select:focus,
.custom-select *:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.custom-select.open {
  z-index: 2;
  transition: none;
}

.custom-select .placeholder {
  position: relative;
  padding: 30px 0 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #d0d1d1;
  line-height: 1.2;
  resize: none;
  transition: all .2s ease-in-out;
  font-family: var(--body-font);
  cursor: pointer;
  color: white;
  text-align: left;
  font-size: 14px;
  font-size: 0.875rem;
}

.custom-select .placeholder.has-img {
  padding-left: 35px;
}

.custom-select.not-filled+.custom-select .placeholder {
  border-bottom-color: red;
}

/* .custom-select:not(.has-reset) .placeholder::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: 0;
  right: 2px;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  transform: rotate(45deg);
  pointer-events: none;
} */

/* .custom-select.has-reset .placeholder>div.reset {
  position: absolute;
  top: -6px;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  overflow: hidden;
  pointer-events: none;
}

.custom-select.has-reset.isSelected .placeholder>div.reset {
  top: 0;
  pointer-events: auto;
}

.custom-select.has-reset .placeholder>div.reset::before,
.custom-select.has-reset .placeholder>div.reset::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -10px;
  left: -1px;
  margin: auto;
  width: 12px;
  height: 1px;
  background-color: #000000;
}

.custom-select.has-reset.isSelected .placeholder>div.reset::before,
.custom-select.has-reset.isSelected .placeholder>div.reset::after {
  bottom: 0;
}

.custom-select.has-reset .placeholder>div.reset::before {
  transform: rotate(45deg);
}

.custom-select.has-reset .placeholder>div.reset::after {
  transform: rotate(-45deg);
} */

.custom-select .placeholder.has-img span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto !important;
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: cover;
}

.custom-select .options-wrapper {
  position: absolute;
  left: -10px;
  width: calc(100% + 10px);
  max-height: 0;
  transition: all .2s ease-in-out;
  overflow: hidden;
  background-color: white;
  padding-inline: 10px;
  border-left: 1px solid #d0d1d1;
  border-right: 1px solid #d0d1d1;
  border-bottom: 1px solid #d0d1d1;
  opacity: 0;
  z-index: 2;
  text-align: left;
  font-size: 0.75rem;
}

.custom-select.open .options-wrapper,
.custom-select.open .options {
  max-height: 250px;
  opacity: 1;
}

.custom-select .options {
  padding: 10px 0;
  overflow: auto;
}

.custom-select .options::-webkit-scrollbar-track {
  background-color: transparent;
  margin: 15px 0;
}

.custom-select .options::-webkit-scrollbar {
  width: 2px;
  background-color: transparent;
}

.custom-select .options::-webkit-scrollbar-thumb {
  background-color: #d0d1d1;
}

.custom-select .options>div {
  position: relative;
  padding: 5px 10px;
  transition: all .2s ease-in-out;
  cursor: pointer;
  color: #888787;
}

.custom-select .options>div.selected,
.custom-select .options>div:hover {
  color: #000000;
}

.custom-select .options>div.disabled {
  opacity: .5;
  pointer-events: none;
}

.custom-select .options>div[data-value=""] {
  display: none;
}

.custom-select .options>div.has-img {
  padding-left: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.custom-select .options>div.has-img span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  margin: auto;
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: cover;
}

.custom-select .options>div.has-img span::before {
  content: "";
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  border: 1px solid transparent;
  transition: all .2s ease-in-out;
  pointer-events: none;
}

.custom-select .options>div.has-img.selected span::before {
  border-color: var(--black)
}


@media(min-width: 768px) {
  .custom-select .options>div {
    padding: 5px 0px;
  }

  .custom-select .options>div.has-img {
    padding-left: 55px;
  }

  .custom-select .options>div.has-img span {
    left: 20px;
  }

}