.select3 *,
.select3::before,
.select3::after {
  box-sizing: inherit;
}

.select3 {
  position: relative;
  width: 100%;
  height: 40px;
  display: inline-block;
  box-sizing: border-box;
}

.select3-title,
.select3-item {
  padding: 0 10px;
  font-size: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.select3-title.is-placeholder,
.select3-item.is-placeholder,
.select3-item.is-disabled {
  color: #a4a4a4;
}

.select3-item.is-placeholder,
.select3-item.is-disabled {
  cursor: not-allowed;
}

.select3-title {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid #c5c5c5;
  justify-content: space-between;
}

.select3-title i {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.select3-title i::before,
.select3-title i::after {
  content: '';
  position: absolute;
  top: 13px;
  width: 10px;
  height: 1px;
  background-color: #a4a4a4;
  display: block;
}

.select3-title i::before {
  left: 0;
  transform-origin: right;
  transform: rotate(45deg);
}

.select3-title i::after {
  right: 0;
  transform-origin: left;
  transform: rotate(-45deg);
}

.select3.is-active .select3-title i {
  transform: rotate(180deg);
}

.select3-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 202px;
  margin: -1px 0 0;
  padding: 0;
  border: 1px solid #c5c5c5;
  list-style: none;
  overflow-y: auto;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 20px, 0);
  transition: all 0.4s ease;
}

.select3.is-active .select3-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.select3-item {
  height: 40px;
}

.select3-item:hover {
  background-color: #f6f6f6;
}
