.rs_authority_search_div {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.rs_authority_search_div::after {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #999999;
  font-weight: 900;
}

.rs_authority_search_div input#rs_authority_search {
  width: 100%;
  font-size: 14px;
  box-sizing: border-box;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d3d3d3 !important;
  border-radius: 4px;
  height: 33px;
  line-height: 20px;
  color: #999999;
  padding: 0px 25px 0px 5px;
}

#rs_authority_search_form #rs_authority__result_list {
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  margin-top: 5px;
  list-style: none;
}

#rs_authority__result_list .rs-authority-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

#rs_authority__result_list .rs-authority-item:hover {
  background: #f5f5f5;
}

#rs_authority__result_list .rs-authority-item .rs-authority-item_name {
  border: 0;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
  cursor: pointer;
  color: #111827;
}

#rs_authority__result_list .rs-authority-item .rs-authority-item_count {
  color: #666;
  font-size: 11px;
}

#rs_authority_search_form #rs_authority__result_message {
  padding: 5px;
  color: #666;
  font-size: 12px;
}

#rs_authority_search_form #rs_authority__result_message.hide {
  display: none;
}

#rs_authority_search_form #rs_authority__result_message.active {
  font-size: 18px;
  font-weight: 600;
}

/* Chrome, Edge, Safari */
#rs_authority__result_list::-webkit-scrollbar {
  width: 8px;
}

#rs_authority__result_list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#rs_authority__result_list::-webkit-scrollbar-thumb {
  background: #e312ea;
  border-radius: 10px;
}

#rs_authority__result_list::-webkit-scrollbar-thumb:hover {
  background: #c10fc6;
}

/* Firefox */
#rs_authority__result_list {
  scrollbar-width: thin;
  scrollbar-color: #e312ea #f1f1f1;
}

.rs_filter-items {
  flex-grow: 1;
}

#rs_filter_style_one .rs_filter-items .rs_filter-item {
  color: #e312ea;
  background-color: #fbe2fc;
  background-color: #fbe2fc;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: 400;
  padding: 8px 13px;
  display: inline-block;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  text-transform: none;
}

#rs_filter_style_one .rs_filter-items .rs_filter-item i {
  color: #e312ea;
  margin-left: 5px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  text-align: center;
  text-transform: none;
}

#rs_filter_style_two .rs_filter-items .rs_filter-item {
  color: #fff;
  background-color: transparent;
  background-image: linear-gradient(
    200deg,
    var(--e-global-color-b242d5c) 15%,
    var(--e-global-color-f7898ac) 100%
  );
  border: none;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 3px;
  font-weight: 400;
  padding: 5px 8px;
  display: inline-block;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  text-transform: none;
}

#rs_filter_style_two .rs_filter-items .rs_filter-item:hover {
  background-color: transparent;
  background-image: linear-gradient(
    200deg,
    var(--e-global-color-f7898ac) 15%,
    var(--e-global-color-b242d5c) 100%
  );
}

#rs_filter_style_two .rs_filter-items .rs_filter-item i {
  color: #fff;
  margin-left: 5px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  font-size: 8px;
  text-align: center;
  text-transform: none;
  line-height: 1;
}
