/* floating-section  */
.floating-section-wrapper {
  width: 200px;
  position: fixed;
  top: 0;
  left: calc(50% + 408px + 50px);
  opacity: 0;
  transition: all 0.4s;
  z-index: 1;
}

.floating-section-wrapper.stickyTitle {
  opacity: 1;
  top: 113px;
  pointer-events: all;
}

.item-single-head {
  margin-bottom: 20px;
}

.item-single-title {
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
  color: #414042;
  border-bottom: 1px solid #dbdbdb;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.item-single-sticky-title {
  font-size: 1.125rem;
  line-height: 1.44;
  margin-bottom: 20px;
  font-weight: 600;
}

.social-share-title,
.item-single-sticky-date {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.item-single-sticky-date {
  line-height: 1.83;
}

.social-media-sharing {
  border-top: 1px solid var(--clr-c1);
  margin-top: 20px;
  padding-top: 10px;
}

.share-btn-wrap .addtoany_share {
  display: none;
}

.share-btn-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  margin-top: 10px;
  font-size: 0;
}

.share-btn-wrap ul li:not(:last-child) {
  margin-right: 10px;
}

.share-btn-wrap ul a {
  font-size: 0;
  display: inline-block;
  width: 25px;
  height: 25px;
  background-position: center;
  background-repeat: no-repeat;
}

.share-btn-wrap .twitter a {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/Twitter.svg);
}

.share-btn-wrap .twitter a:hover {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/twitter_x_hover-01.svg);
}

.share-btn-wrap .linkedin a {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/Linkedin.svg);
}

.share-btn-wrap .linkedin a:hover {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/linked_in_hover-01.svg);
}

.share-btn-wrap .Facebook a {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/Facebook.svg);
}

.share-btn-wrap .Facebook a:hover {
  background-image: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/facebook_hover-01.svg);
}

.date-cat {
  font-size: 12px;
  line-height: 12px;
  font-weight: 700;
  color: #e31837;
}

.item-single-sticky-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.share-btn-wrap>a {
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #414042;
  border-top: 1px solid #dbdbdb;
  padding-top: 15px;
  display: inline-block;
  width: 100%;
}

/*Listing Page Share*/

.floating-section-wrapper.listing-share {
  width: unset;
  left: calc(50% + 570px + 50px);
  display: none;
}

.floating-section-wrapper.listing-share .share-btn-wrap ul {
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.floating-section-wrapper.listing-share .share-btn-wrap>a {
  border: none;
  width: unset;
  margin-bottom: 15px;
}

.floating-section-wrapper.listing-share .share-btn-wrap ul li:not(:last-child) {
  margin: 0;
}

@media (min-width: 1500px) {
  .floating-section-wrapper {
    left: calc(50% + 408px + 100px);
  }

  .floating-section-wrapper.listing-share {
    left: calc(50% + 570px + 100px);
  }
}

@media (max-width: 1300px) {
  .views-element-container:has(.listing-share) {
    padding-left: 70px;
    padding-right: 70px;
  }

  .floating-section-wrapper.listing-share {
    left: auto !important;
    right: 15px;
    /* 373485 */
    /* display: block !important; */
  }
}

@media (max-width: 1300px) {
  .floating-section-wrapper {
    left: calc(50% + 408px + 15px);
  }

  .floating-section-wrapper.listing-share {
    left: calc(50% + 570px + 15px);
  }
}

/* @media (max-width: 1200px) {
  .floating-section-wrapper {
    display: none !important;
  }
  .floating-section-wrapper.listing-share {
        display: none;
    }
} */
@media (max-width: 767px) {

  /* share style change */
  .views-element-container:has(.listing-share) {
    padding-left: 0px;
    padding-right: 0px;
  }

  .floating-section-wrapper.listing-share {
    bottom: 20px;
    top: auto;
  }

  .floating-section-wrapper.listing-share .floating-content {
    padding: 5px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
  }

  .floating-section-wrapper.listing-share .share-btn-wrap {
    display: flex;
    flex-direction: column-reverse;
  }

  .floating-section-wrapper.listing-share a.share-btn {
    font-size: 0;
    margin: 0;
    display: block;
    padding: 0;
    width: 25px;
    height: 25px;
    border: none;
    background: url(/themes/custom/unaids/components/pages/listing-pages/listing-filter/floating-share/img/share-mobile.svg) no-repeat center center transparent;
  }

  .floating-section-wrapper.listing-share .share-btn-wrap ul {
    gap: 5px;
    margin-bottom: 5px;
  }

  .floating-section-wrapper.listing-share .share-icons {
    display: none;
  }
}
