.floating-btn-wrapper {
  position: absolute;
  background: rgba(35, 31, 32, 0.8);
  width: 210px;
  z-index: 1;
  height: 40px;
  top: 60px;
  display: none;
  left: calc(50% - 294px);
  border-radius: 4px;
  transition: all .9s ease 0s;
  padding: 5px 25px;
  justify-content: space-between;
  align-items: center;
  margin-left: 8px;
}

.floating-btn-wrapper:not(.floating-form-active) {
  display: none !important;
}

.floating-btn-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right-color: rgba(35, 31, 32, 0.8);
}

.floating-btn__close {
  display: inline-block;
  position: absolute;
  top: 1px;
  right: 2px;
  width: 15px;
  height: 15px;
  background: url("/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-filter-btn/img/close-filter-btn.svg") no-repeat center;
  background-size: 8px;
  cursor: pointer;
}

.floating-btn__close:hover {
  /* background-image: url("/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-filter-btn/img/close-filter-btn-hover.svg"); */
  opacity: .5;
}

.floating-btn {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 25px;
  padding: 0 20px;
  font-size: 11px;
  cursor: pointer;
  background-color: transparent;
  color: var(--white);
  line-height: 1;
  padding-top: 4px;
  padding-bottom: 1px;
}

.floating-btn:not(:last-child) {
  margin-right: 10px;
}

.floating-btn:hover {
  background: var(--white);
  color: var(--primary);
}

@media (max-width: 1300px) {
  .views-element-container:has(.listing-share) .floating-btn-wrapper {
    left: 359px;
  }
}

@media (max-width: 1200px) {
  .floating-btn-wrapper {
    left: calc(50% - 190px);
  }
}

@media (max-width: 991px) {
  .floating-btn-wrapper {
    display: none !important;
  }
}
