.x-select {
  width: 100%;
  position: relative;
  display: inline-flex;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  line-height: 0.3rem;
  flex-direction: column;
  transition: border 0.5s;
}

.x-select .x-select-title {
  height: 100%;
  flex: 1;
  outline: none;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  margin: 0;
  padding: 0;
  padding-left: 0.1rem;
  padding-right: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.14rem;
  user-select: none;
}

.x-select .x-select-title-multiple {
  cursor: default;
  white-space: normal;
  padding-top: 3px;
  flex-direction: column;
}

.x-select .x-select-title-multiple .x-select-item-multiple {
  background-color: #fafafa;
  border: 1px solid #D9D9D9;
  margin-right: 5px;
  max-width: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  top: 1px;
  padding-right: 20px;
  display: inline-block;
  height: 0.2rem;
  line-height: 0.2rem;
  padding-left: 0.12rem;
  padding-right: 0.2rem;
}

.x-select .x-select-title-multiple .x-select-item-multiple i {
  cursor: pointer;
  position: absolute;
  right: 2px;
  transform: scale(0.6);
  color: #B8B8B8;
}

.x-select .x-select-disabled {
  cursor: not-allowed;
  background-color: #F5F5F5;
}

.x-select .x-select-ul {
  position: absolute;
  margin-top: 0.32rem;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
  max-height: 0rem;
  overflow-y: scroll;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s,max-height 0.5s;
}

.x-select .x-select-ul .x-select-li {
  height: 0.3rem;
  line-height: 0.3rem;
  cursor: pointer;
  padding: 0 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x-select .x-select-ul .x-select-li:hover {
  background-color: rgba(91, 134, 253, 0.1);
}

.x-select .x-select-ul .x-select-li-true {
  font-weight: 400;
  background-color: whitesmoke;
}

.x-select .x-select-ul .x-select-li-disable {
  cursor: not-allowed;
  pointer-events: none;
}

.x-select .x-select-ul-lg {
  margin-top: 0.32rem;
}

.x-select .x-select-ul-lg .x-select-li {
  height: 0.3rem;
  line-height: 0.3rem;
}

.x-select .x-select-ul-md {
  margin-top: 0.26rem;
}

.x-select .x-select-ul-md .x-select-li {
  height: 0.24rem;
  line-height: 0.24rem;
}

.x-select .xicon-angle-left, .x-select .xicon-angle-right {
  position: absolute;
  margin-right: 0.15rem;
  right: 0rem;
  top: 50%;
  transform: translate(50%, -50%) rotate(-90deg);
  cursor: pointer;
  transition: transform 0.5s;
}

.x-select-clicked {
  border: 1px solid #5B86FD;
}

.x-select-clicked .x-select-ul {
  opacity: 1 !important;
  max-height: 1.5rem;
}

.x-select-clicked .x-select-ul-lg {
  max-height: 1.5rem;
}

.x-select-clicked .x-select-ul-md {
  max-height: 1.2rem;
}

.x-select-clicked .xicon-angle-left, .x-select-clicked .xicon-angle-right {
  transform: translate(50%, -50%) rotate(90deg);
}

.x-select-clicked-multiple {
  flex-direction: column;
  line-height: unset;
  justify-content: center;
  min-height: 0.3rem;
}

.x-select-clicked-multiple .x-select-ul {
  margin-top: 0.02rem;
}

.x-select-content-height {
  height: 0.32rem;
  box-sizing: border-box;
}

.x-select-lg {
  height: 0.32rem;
  line-height: 0.3rem;
}

.x-select-md {
  height: 0.26rem;
  line-height: 0.24rem;
}

.x-select-i18n {
  width: 100%;
  position: relative;
  display: inline-flex;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  line-height: 0.3rem;
  flex-direction: column;
  transition: border 0.5s;
}

.x-select-i18n .x-select-title {
  height: 100%;
  flex: 1;
  outline: none;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  margin: 0;
  padding: 0;
  padding-right: 0.1rem;
  padding-left: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.14rem;
  user-select: none;
}

.x-select-i18n .x-select-title-multiple {
  cursor: default;
  white-space: normal;
  padding-top: 3px;
  flex-direction: column;
}

.x-select-i18n .x-select-title-multiple .x-select-item-multiple {
  background-color: #fafafa;
  border: 1px solid #D9D9D9;
  margin-left: 5px;
  max-width: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  top: 1px;
  padding-left: 20px;
  display: inline-block;
  height: 0.2rem;
  line-height: 0.2rem;
  padding-right: 0.12rem;
  padding-left: 0.2rem;
}

.x-select-i18n .x-select-title-multiple .x-select-item-multiple i {
  cursor: pointer;
  position: absolute;
  left: 2px;
  transform: scale(0.6);
  color: #B8B8B8;
}

.x-select-i18n .x-select-disabled {
  cursor: not-allowed;
  background-color: #F5F5F5;
}

.x-select-i18n .x-select-ul {
  position: absolute;
  margin-top: 0.32rem;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
  max-height: 0rem;
  overflow-y: scroll;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s,max-height 0.5s;
}

.x-select-i18n .x-select-ul .x-select-li {
  height: 0.3rem;
  line-height: 0.3rem;
  cursor: pointer;
  padding: 0 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x-select-i18n .x-select-ul .x-select-li:hover {
  background-color: rgba(91, 134, 253, 0.1);
}

.x-select-i18n .x-select-ul .x-select-li-true {
  font-weight: 400;
  background-color: whitesmoke;
}

.x-select-i18n .x-select-ul .x-select-li-disable {
  cursor: not-allowed;
  pointer-events: none;
}

.x-select-i18n .x-select-ul .x-select-lg {
  margin-top: 0.32rem;
}

.x-select-i18n .x-select-ul .x-select-lg .x-select-li {
  height: 0.3rem;
  line-height: 0.3rem;
}

.x-select-i18n .x-select-ul .x-select-md {
  margin-top: 0.26rem;
}

.x-select-i18n .x-select-ul .x-select-md .x-select-li {
  height: 0.24rem;
  line-height: 0.24rem;
}

.x-select-i18n .xicon-angle-left, .x-select-i18n .xicon-angle-right {
  position: absolute;
  margin-left: 0.15rem;
  left: 0rem;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  cursor: pointer;
  transition: transform 0.5s;
}

.x-select-i18n-clicked {
  border: 1px solid #5B86FD;
}

.x-select-i18n-clicked .x-select-ul {
  opacity: 1 !important;
  max-height: 1.5rem;
}

.x-select-i18n-clicked .x-select-ul .x-select-lg {
  max-height: 1.5rem;
}

.x-select-i18n-clicked .x-select-ul .x-select-md {
  max-height: 1.2rem;
}

.x-select-i18n-clicked .xicon-angle-left, .x-select-i18n-clicked .xicon-angle-right {
  transform: translate(-50%, -50%) rotate(90deg);
}

.x-select-i18n-clicked-multiple {
  flex-direction: column;
  line-height: unset;
  justify-content: center;
  min-height: 0.3rem;
}

.x-select-i18n-clicked-multiple .x-select-ul {
  margin-top: 0.02rem;
}

.x-select-i18n .x-select-content-height {
  height: 0.32rem;
  box-sizing: border-box;
}

.x-select-i18n .x-select-lg {
  height: 0.32rem;
  line-height: 0.3rem;
}

.x-select-i18n .x-select-md {
  height: 0.26rem;
  line-height: 0.24rem;
}
