div.select {
  cursor: pointer;
  margin-top: 5px;
  position: relative;
  height: 25px;
  line-height: 21px;
}

/* div.select>select {
  display: none;
} */
div.select>div.options_wrapper {
  width: 100%;
  display: none;
  position: absolute;
  top: calc(25px - 2px);
  background-color: rgb(40, 40, 40);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  box-sizing: border-box;
  border: 2px white solid;
  box-shadow: 0 0 10px black;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* div.select span.option {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */

div.select.open>div.options_wrapper {
  display: block;
}

div.select.open>span.option.selected {
  z-index: 2;
}

div.select.open>.block.format_type {
  z-index: 3;
}

div.select.open {
  /* box-shadow: 0 0 5px rgb(40 40 40); */
  z-index: 1000;
}

div.select>div.options_wrapper>span.option {
  font-family: 'roboto';
  color: white;
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
  border-top: 2px white solid;
  display: block;
  padding-top: 3px;
  padding-bottom: 5px;
  line-height: 15px;
}

div.select>div.options_wrapper>span.option:hover {
  font-family: 'roboto-bold';
}

div.select>div.options_wrapper>span.option:first-child {
  border-top: 0;
}

div.select.open>span.option.selected {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

div.select>span.option.selected {
  border-radius: 3px;
  display: flex;
  background-color: rgb(40, 40, 40);
  border: 2px white solid;
  box-sizing: border-box;
  padding: 0;
  padding-right: 5px;
  color: white;
  font-family: 'roboto';
  font-size: 12px;
  padding-left: 19.36px;
  position: relative;
  width: 100%;
  height: 100%;
}

div.select>span.option.selected::before {
  content: "";
  width: 9.36px;
  height: 5.07px;
  background-image: url(/images/icons/select_arrow.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translate(0, -50%);
}

div.select.open>span.option.selected::before {
  transform: rotate(180deg) translate(0, 50%);
}