/* SELECT */
.select {
  position: relative;
}

.select__item {
  position: relative;
}

.select__title {
  cursor: pointer;
  color: #000;
  border: 1px solid #8BD1F0;
  background-color: #fff;
  border-radius: 5px
}

.select__title span {
  font-size: 21px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  color: #505050;
}

.select__title input {
  padding: 0 10px;
  font-size: 17px;
}

.select__title input+.select__value {
  padding: 0px 10px;
}

.select__value {
  display: flex;
  font-size: 14px;
  height: 56px;
  padding: 0px 20px;

  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.select__value span img {
  width: 20px;
  height: 20px;
}

/* ARROW IN SELECT */
.select__value:before {
  content: "";
  display: inline-block;
  transition: all 0.3s ease 0s;
  width: 24px;
  height: 24px;
  background: url("../image/select-icon.svg") center / 100% no-repeat;
}

.select__input {
  width: 100%;
  background-color: transparent;
  height: 100%;
  color: #000;
}

.select__options {
  color: #000;
  position: absolute;
  top: 70%;
  border-radius: 0 0 5px 5px;
  min-width: 100%;
  overflow: auto;
  max-height: 200px;
  left: 0;
  background-color: #fff;
  border-top: 0;
  border: 1px solid #d9d9d9;
  border-top: 0;
  font-size: 20px;
  padding: 10px 0px 5px 0px;
}

.select__option {
  cursor: pointer;
  padding: 15px 15px 5px;
  margin: 0px 0px 0px 0px;
}

.select__option img {
  width: 20px;
  height: 20px;
}

@media (min-width: 992px) {
  .select__option:hover {
    background: #d9d9d9;
  }
}


.select._placeholder .select__value input:not([type=submit]).select__input,
.select._placeholder .select__value span {
  color: #ccc;
}

.select._active {
  z-index: 5;
}

/* ACTIVE ARROW IN SELECT */
.select._active .select__value:before {
  transform: rotate(-180deg);
}

.select._active .select__title {
  border-radius: 5px 5px 0 0;
  position: relative;
  z-index: 5;
}

.select._active .select__options {
  display: block;
}

.select._no-options .select__title {
  border-radius: 20px;
}

.select._no-options .select__options {
  padding: 0;
  background-color: transparent;
  border: 0;
}

[data-select-wrap].error .select__title {
  border: 1px solid #F03D3E;
}