/* BL */

.wr-search {
  margin-bottom: 20px;
}

.item-search {
  display: inline-block;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin: 5px;
  position: relative;
  cursor: pointer;
}

.item-search:last-child .filter-show {
  right: 0px;
  left: inherit;
}

.item-search:last-child .filter-show:after {
  right: 15px;
  left: inherit;
}

.item-search .ft-s {
  display: block;
  padding: 8px 10px;
}

.filter-show {
  display: none;
  background-color: #fff;
  box-shadow: 0 2px 20px rgb(0 0 0 / 50%);
  border-radius: 4px;
  max-width: 600px;
  min-width: 382px;
  left: 0;
  position: absolute;
  padding: 10px;
  top: 53px;
  width: max-content;
  white-space: normal;
  z-index: 3;
}

.filter-show:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: #fff;
  transform: rotate(45deg);
  top: -8px;
  left: 15px;
  box-shadow: -2px -2px 5px -4px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  text-transform: inherit;
}

.filter-button {
  background-color: #fff;
  box-shadow: 0 -4px 8px rgb(0 0 0 / 5%);
  font-size: 0;
  margin: 8px 0px;
  padding: 8px 10px;
  text-align: center;
  display: none;
}

.btn-filter-close {
  border: 1px solid #dd1c1a;
  color: #dd1c1a;
}

.btn-filter-close,
.btn-filter-readmore {
  border-radius: 4px;
  display: inline-block;
  font-size: 14px;
  line-height: 16px;
  margin: 0 5px;
  padding: 10px 0;
  text-align: center;
  width: 170px;
  position: relative;
}

.btn-filter-readmore {
  background-color: #288ad6;
  color: #fff !important;
}

.c-btnbox {
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #333;
  display: flex;
  font-size: 14px;
  justify-content: center;
  margin-bottom: 6px;
  margin-right: 6px;
  border-radius: 5px;
  overflow: hidden;
}

.c-btnbox-pa {
  padding: 10px;
}

.c-btnbox:hover,
.c-btnbox.active {
  border: 1px solid #288ad6;
}

.filter-button a:hover {
  text-decoration: none;
}

.filter-button .btn-filter-readmore:hover {
  color: #ff0;
}

.number {
  background-color: #f89406;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 10px;
  height: 16px;
  line-height: 16px;
  position: absolute;
  top: -8px;
  text-align: center;
  right: 5px;
  width: 16px;
  display: none;
}

.filter-show.show-total {
  width: 900px;
  max-width: 900px;
  padding: 0px;
}

.filter-show-in {
  overflow-y: auto;
  padding: 10px;
  width: 100%;
  max-height: 80vh;
  position: relative;
}

.sl-on {
  font-weight: bold;
  margin-right: 5px;
  display: none;
}

.list-filter-active {
  padding: 10px 90px 0 20px;
  margin-top: 10px;
}

.list-filter-active a:not(.clr-filter) {
  padding: 10px;
  margin-right: 7px;
  margin-bottom: 7px;
  color: #333;
  border: 1px solid #666;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-height: 30px;
}

.list-filter-active a i {
  color: #999;
  padding: 0px 0px 0px 5px;
  font-size: 17px;
}

.show-total-item {
  padding: 10px 20px;
  float: left;
  width: 50%;
}

.show-total-item-all {
  width: 100%;
}

.filter-border {
  border-top: 1px solid #e0e0e0;
  width: 100%;
}

.close-popup-total {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 10px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-popup-total i {
  color: #999;
  padding: 0px 5px 0px 0px;
  font-size: 17px;
}

.filter-show-in::-webkit-scrollbar,
.phukien-scroll::-webkit-scrollbar {
  width: 8px;
  background-color: #f1f1f1;
}

.filter-show-in::-webkit-scrollbar-thumb,
.phukien-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #bdbdbd;
}

.filter-show-in::-webkit-scrollbar-track,
.phukien-scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f1f1f1;
}

.show-total-txt {
  text-transform: capitalize;
  font-weight: bold;
}
