.pills-container-ul {
  display: none;
  /* display: flex; */
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
  padding-bottom: 0;
  width: 100%;
}

.pills-container-ul.selected-present {
  display: flex;
}

.pills-title {
  position: relative;
  padding-right: 0;
  color: var(--info-dark);
  text-transform: uppercase;
  margin-right: 10px;
}

.pills-title,
.each-pill-title {
  font-family: var(--font-bold);
}

.pills-title::after {
  content: ":";
}

/* .pill-close-li { */
.pill-close-li a {
  margin-right: 13px;
}

.pill-more-less-wrap:not(.hide-item)~.pill-close-li,
.pill-close-li.hide-item,
.pill-more-less-wrap:not(.hide-item)~.each-pill-title {
  display: none;
}

.pills-container-ul li a:hover {
  color: var(--primary);
}

a.pill-more-less {
  text-decoration: underline;
  color: var(--primary);
}

.pills-container-ul li.before-more-less {
  margin-right: 5px;
}

.pills-container-ul a.pill-more-less:hover,
.pills-container-ul a.pill-more-less:hover {
  color: #000;
}

.each-pill-title {
  margin-right: 7px;
}

.pill-close:not(:last-child) {
  margin-right: 18px;
}

a.pill-close {
  text-decoration: none;
  background: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/selected-pills/img/RemoveSelected.svg) center right 0 no-repeat;
  padding-right: 22px;
  display: inline-block;
  color: #000;
}

.pills-container-ul li .pill-close:hover {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/selected-pills/img/RemoveSelected-hover.svg);
}

.pills-container-ul li {
  margin-bottom: 5px;
}

/*************************************** list view layout ***************************************/
.pills-container-ul {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--primary);
}

/*************************************** End list view layout ***************************************/

@media screen and (max-width: 1024px) {
  a.pill-close {
    background-size: 10px;
  }
}

@media screen and (max-width: 767px) {
  a.pill-close {
    /* background-size: 9px;
    padding-right: 16px; */
    background-size: 12px;
    padding-right: 19px;
  }
}
