:root {
  --blue: #66b3e6;
  --lightBlue: hsl(204, 72%, 80%);
  --red: #e6667b;
  --yellow: #e6ad44;
  --color1: #9be8ff;
  --green: #66e691;
  --lightGreen: #b9e9c9;
  --statusColor: #ddd;
  --lightGray: #ddd;
  --gray: #aaa;
  --darkGray: #555;
  --overlay30: rgba(0, 0, 0, 0.3);
}

.selectMultiple {
  /* width: 70%; */
  width: 300px;
  min-width: 200px;
  position: relative;
  margin: 5px;
}

.selectMultiple select {
  display: none;
}
.selectMultiple > div {
  position: relative;
  z-index: 0;
  padding: 8px 0px 2px 25px;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  min-height: 35px;
  /* width: 300px; */
  width: 100%;

  /* box-shadow: 0 4px 16px 0 rgba(22, 42, 90, 0.12);
  transition: box-shadow 0.15s ease; */
}
/* .selectMultiple > div:hover {
  box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.1);
} */
.selectMultiple > div .arrow {
  left: 1px;
  top: 0;
  bottom: 0;
  cursor: pointer;
  width: 28px;
  position: absolute;
}
.selectMultiple > div .arrow:before,
.selectMultiple > div .arrow:after {
  content: "";
  position: absolute;
  display: block;
  width: 2px;
  /* height: 8px; */
  border-bottom: 8px solid #99a3ba;
  top: 43%;
  transition: all 0.15s ease;
}
.selectMultiple > div .arrow:before {
  right: 10px;
  transform: rotate(-130deg);
}
.selectMultiple > div .arrow:after {
  left: 10px;
  transform: rotate(130deg);
}
.selectMultiple > div span {
  color: #99a3ba;
  display: block;
  position: absolute;
  left: 15px;
  cursor: pointer;
  top: 8px;
  line-height: 28px;
  transition: all 0.15s ease;
}
.selectMultiple > div span.hide {
  opacity: 0;
  visibility: hidden;
  transform: translate(-4px, 0);
}
.selectMultiple > div a {
  position: relative;
  text-decoration: none;
  padding: 0 24px 6px 8px;
  line-height: 28px;
  color: #1e2330;
  display: inline-block;
  vertical-align: top;
  margin: 0 6px 0 0;
}
.selectMultiple > div a em {
  font-style: normal;
  color: white;
  display: block;
  white-space: nowrap;
}
.selectMultiple > div a:before {
  content: "";
  left: 0;
  top: 0;
  bottom: 6px;
  width: 100%;
  position: absolute;
  display: block;
  /* background: rgba(228, 236, 250, 0.7); */
  background: var(--blue);
  z-index: -1;
  border-radius: 4px;
}
.selectMultiple > div a i {
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 24px;
  height: 28px;
  display: block;
}
.selectMultiple > div a i:before,
.selectMultiple > div a i:after {
  content: "";
  display: block;
  width: 2px;
  height: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  /* background: #4d18ff; */
  background: white;
  border-radius: 1px;
}
.selectMultiple > div a i:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.selectMultiple > div a i:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.selectMultiple > div a.notShown {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.selectMultiple > div a.notShown:before {
  width: 28px;
  transition: width 0.225s cubic-bezier(0.87, -0.41, 0.19, 1.44) 0.1s;
}
.selectMultiple > div a.notShown i {
  opacity: 0;
  transition: all 0.15s ease 0.15s;
}
.selectMultiple > div a.notShown em {
  opacity: 0;
  transform: translate(-6px, 0);
  transition: all 0.2s ease 0.15s;
}
.selectMultiple > div a.notShown.shown {
  opacity: 1;
}
.selectMultiple > div a.notShown.shown:before {
  width: 100%;
}
.selectMultiple > div a.notShown.shown i {
  opacity: 1;
}
.selectMultiple > div a.notShown.shown em {
  opacity: 1;
  transform: translate(0, 0);
}
.selectMultiple > div a.remove:before {
  width: 28px;
  transition: width 0.2s cubic-bezier(0.87, -0.41, 0.19, 1.44) 0s;
}
.selectMultiple > div a.remove i {
  opacity: 0;
  transition: all 0.15s ease 0s;
}
.selectMultiple > div a.remove em {
  opacity: 0;
  transform: translate(-12px, 0);
  transition: all 0.2s ease 0s;
}
.selectMultiple > div a.remove.disappear {
  opacity: 0;
  transition: opacity 0.25s ease 0s;
}
.selectMultiple > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  z-index: 1;
  position: absolute;
  /* top: 100%; */
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  border-radius: 5px;
  transform: translate(0, 20px) scale(0.8);
  transform-origin: 0 0;
  filter: drop-shadow(0 12px 20px rgba(22, 42, 90, 0.08));
  transition: all 0.2s ease,
    transform 0.2s cubic-bezier(0.87, -0.41, 0.19, 1.44), filter 0.15s ease 0.1s;
}
.selectMultiple > ul li {
  margin-bottom: 0px;
  color: #1e2330;
  background: #fff;
  padding: 8px 15px;
  max-width: 300px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease,
    transform 0.15s ease 0.15s, opacity 0.25s ease 0.15s,
    border-radius 0.15s ease 0.15s;
}
.selectMultiple > ul li:first-child {
  border-radius: 5px 5px 0 0;
}
.selectMultiple > ul li:first-child:last-child {
  border-radius: 5px;
}
.selectMultiple > ul li:last-child {
  border-radius: 0 0 5px 5px;
}
.selectMultiple > ul li:last-child:first-child {
  border-radius: 5px;
}
.selectMultiple > ul li:hover {
  /* background: #4d18ff; */
  background: var(--blue);
  color: #fff;
}
.selectMultiple > ul li:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}
.selectMultiple > ul li.beforeRemove {
  border-radius: 0 0 5px 5px;
}
.selectMultiple > ul li.beforeRemove:first-child {
  border-radius: 5px;
}
.selectMultiple > ul li.afterRemove {
  border-radius: 5px 5px 0 0;
}
.selectMultiple > ul li.afterRemove:last-child {
  border-radius: 5px;
}
.selectMultiple > ul li.remove {
  transform: scale(0);
  opacity: 0;
}
.selectMultiple > ul li.remove:after {
  -webkit-animation: ripple 0.2s ease-out;
  animation: ripple 0.2s ease-out;
}
.selectMultiple > ul li.notShown {
  display: none;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.175s ease, opacity 0.2s ease;
}
.selectMultiple > ul li.notShown.show {
  transform: scale(1);
  opacity: 1;
}
/* .selectMultiple.open > div {
  box-shadow: 0 4px 20px -1px rgba(22, 42, 90, 0.12);
} */
.selectMultiple.open > div .arrow:before {
  transform: rotate(-50deg);
}
.selectMultiple.open > div .arrow:after {
  transform: rotate(50deg);
}
.selectMultiple.open > ul {
  transform: translate(0, 12px) scale(1);
  opacity: 1;
  visibility: visible;
  filter: drop-shadow(0 16px 24px rgba(22, 42, 90, 0.16));
}

@-webkit-keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  25% {
    transform: scale(30, 30);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(50, 50);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  25% {
    transform: scale(30, 30);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(50, 50);
  }
}
