/*
Theme Name: HCP Muse Theme
Theme URI:  https://example.com/beaver-starter
Author: Your Name
Description: Minimal starter theme optimised for Beaver Builder and Beaver Themer.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: beaver-starter
*/

body,
h1,
h2 {
  font-family: Arial, Times, serif;
}

body {
  margin: 0;
  padding: 0;
}

a {
  transition: color 0.3s ease-in-out;
  color: #57595c;
  text-decoration: none;
}

a:hover {
  color: #037ec0;
  text-decoration: none;
}

.site-header {
  text-align: center;
  border-bottom: 1px solid #d7d7d7;
}

.site-header .site-container {
  padding-bottom: 15px;
}

@media (min-width: 60rem) {
  .site-header {
    padding: 0.9375rem 0 0;
  }
}

footer.main-footer {
  margin: 50px auto;
  max-width: 62.5rem;
  font-size: 14px;
  color: #57595c;
  text-align: center;
  font-family: Arial, Times, serif;
  padding: 24px;
}
footer.main-footer a {
  transition: color 0.3s ease-in-out;
  color: #57595c;
  text-decoration: none;
}

footer.main-footer a:hover {
  color:#037ec0;
}

footer.main-footer p,
footer.main-footer .menu {
  padding: 0;
  margin: 0;
}
footer.main-footer .menu li a {
  position: relative;
  padding-right: 8px;
  color: #57595c;
}
footer.main-footer .menu li a:hover {
  color: #037ec0;
}

footer.main-footer .menu li:not(:last-of-type) a:after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background-color: #000;
}

footer.main-footer .menu {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
  row-gap: 0;
}

a {
  transition: color 0.3s ease-in-out;
  color: #57595c;
}

a:hover {
  color: #037ec0;
  text-decoration: none;
}

.site-container {
  margin: 0 auto;
  max-width: 62.5rem;
  padding: 0 0.9375rem;
}

body .product-carousel {
  max-width: 100%;
  margin: auto;
}

.product-carousel .tab__content {
  border: 1px solid #e5e5e5;
}

.product-carousel .tab__module .home-tabs {
  margin-bottom: -2px;
}
.product-carousel .tab__module .home-tabs li {
  all: unset;
  margin: 0 !important;
}

.product-carousel .tab__module .home-tabs li a {
  padding: 12px 18px;
  display: block;
  transition: color 0.3s ease-in-out;
  color: #57595c;
  font-size: 14px;
  line-height: 1rem;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.product-carousel .tab__module .home-tabs li.active a {
  border-color: #e5e5e5;
  border-bottom: none;
  background: #fff;
}

.product-carousel .carousel-wrapper {
  padding: 50px 18px;
  position: relative;
}
.product-carousel .carousel-wrapper-center .slick-list {
  padding: 0;
  overflow: hidden;
}

.product-carousel .carousel-wrapper-center .slick-list .book-wrapper {
  transform: none;
  opacity: 1;
}

.product-carousel
  .carousel-wrapper-center
  .slick-list
  .book-wrapper
  .image-wrapper
  a {
  padding: 10px;
}

.product-carousel .carousel-wrapper-center .sp__the-image {
  max-width: 188px;
}

.product-carousel
  .carousel-wrapper-center
  .slick-list
  .book-wrapper
  .book-card__details {
  display: none;
}

.product-carousel .carousel-wrapper-center .slick-dots {
  display: none;
}

.product-carousel .slick-arrow {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

.product-carousel .slick-arrow.slick-next {
  right: 0px;
}

.product-carousel .slick-arrow.slick-prev {
  left: 0px;
}

@media (min-width: 80rem) {
  .site-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.main-footer__inner {
  display: flex;
  gap: 5px;
}

@media (max-width: 767px) {
  .main-footer__inner {
    flex-direction: column;
    align-items: center;
  }

  footer.main-footer {
    padding: 0 0.9375rem !important;
  }
}

/* Book Detail page CSS */

.books {
  overflow-x: hidden;
}
.books a {
  text-decoration: none;
}
.books a:hover {
  text-decoration: none;
}
.books a:visited {
  color: #57595c;
}
.books .hcp-product-info {
  width: 100%;
  margin: 0;
}
.books .product-title {
  font-size: 26px;
  color: #57595c;
  text-transform: uppercase;
}
.books .product-subtitle {
  font-size: 21px;
  color: #57595c;
  text-transform: uppercase;
}
.books .book-contributors {
  font-size: 16px;
  color: #57595c;
  margin-bottom: 15px;
}
.books .book-product-details p span {
  font-weight: 600;
  width: 80px;
  display: inline-block;
  font-size: 14px;
  color: #57595c;
}
.books .book__formats p {
  width: 80px;
  display: inline-block;
  font-size: 14px;
  margin: 0 !important;
  color: #57595c;
}
.books .book-wrapper__left {
  position: relative;
  text-align: center;
}
.books .book-wrapper__left .product-cover {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2),
    0 2px 4px -1px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 99;
  margin-top: 25px;
}
.books .book-wrapper__left .product-enlarge-cover {
  position: relative;
  z-index: 99;
  margin: 20px auto;
  display: inline-block;
  width: 260px;
  background: linear-gradient(#005eb8, #003865);
  border: transparent;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
  text-align: center;
}
.books .book-wrapper__left .product-enlarge-cover:hover {
  color: #0074c9;
  transition: color 0.5s ease;
  text-decoration: none;
}
.books .book-wrapper__left .product-title {
  display: none;
}
.books .book-wrapper__left .product-subtitle {
  display: none;
}
.books .book-wrapper__left .book-contributors {
  display: none;
}
.books .book-wrapper__left .book-product-details {
  display: none;
}
.books .book-wrapper__left .browse-inside {
  position: relative;
  z-index: 99;
}
.books .book-wrapper__left .browse-inside .book-svg {
  width: 32px;
  fill: #fff;
}
.books .book-wrapper__left .browse-inside .btn-browse {
  background: linear-gradient(#005eb8, #003865);
  border: 1px solid #ced4da;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  margin: 1rem 0.5rem 0 0;
  line-height: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
  margin-inline: auto;
  min-width: -moz-fit-content;
  min-width: fit-content;
  gap: 4px;
  text-transform: uppercase;
  cursor: pointer;
}
.books .book-wrapper__left .browse-inside .btn-browse:focus-visible {
  background-color: transparent;
  outline-color: black;
  outline: 1px solid;
  box-shadow: none;
}
.books .product-retailer-wrapper {
  border: 1px solid #57595c;
  background-color: #fff;
  border-radius: 6px;
  position: relative;
  z-index: 99;
}
.books .product-retailer-wrapper .product-retailer-btn {
  text-align: left;
  position: relative;
  display: inline-block;
  width: 100%;
  background: linear-gradient(#005eb8, #003865);
  border: transparent;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
  text-align: center;
}
.books .product-retailer-wrapper .product-retailer-btn:hover {
  color: #0074c9;
  transition: color 0.5s ease;
  text-decoration: none;
}
.books .product-retailer-wrapper .product-retailer-btn::before {
  display: none;
}
.books .product-retailer-wrapper .product-retailer-list {
  max-height: 0px;
  overflow: hidden;
  margin: 0px;
  padding: 0px;
  font-size: 18px;
  background-color: white;
  border-radius: 6px;
  position: relative;
  z-index: 99;
}
.books .product-retailer-wrapper .product-retailer-list li {
  list-style: none;
  padding-inline: 10px;
  padding-block: 5px;
}
.books .product-retailer-wrapper .product-retailer-list li a {
  text-decoration: none;
  color: #454545;
  display: block;
}
.books .product-retailer-wrapper .product-retailer-list li a:hover {
  color: #4f4696;
}
.books .product-retailer-wrapper .product-retailer-list.open {
  max-height: 100%;
}
.books .book-wrapper__right {
  position: relative;
}
.books .book-wrapper__right .product-title {
  text-align: left;
  max-width: 295px;
}
.books .book-wrapper__right .product-subtitle {
  text-align: left;
  margin-bottom: 15px;
}
.books .book-wrapper__right .book-product-details {
  padding: 0;
}
.books .book-wrapper__right .book-contributors {
  text-align: left;
}
.books .book-wrapper__right .product-editions {
  justify-content: space-between;
}
.books .book-wrapper__right .product-editions .product-editions-title {
  margin-bottom: 0;
}
.books .book-wrapper__right .product-editions .format-dropdown {
  padding: 0;
  color: #111;
  font-size: 1.2em;
  margin: 0;
  background-color: #ffffff;
  border: 1px solid #c2c2c2;
  border-radius: 0;
  font-size: 14px;
  position: relative;
  margin-bottom: 10px;
  color: #57595c;
  overflow: hidden;
  display: block;
  min-width: 130px;
  padding: 0.3571428571rem 0;
}
.books .book-wrapper__right .product-editions .format-dropdown:after {
  background: transparent;
  content: '❯';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  backface-visibility: visible;
  pointer-events: none;
  top: 10px;
  right: 10px;
  color: #57595c;
  transform: rotate(90deg);
  padding: 0 0.5714285714rem;
}
.books .book-wrapper__right .product-editions .format-dropdown select {
  border: none;
  height: 30px;
  padding: 0 10px;
  font-size: 14px;
  z-index: 3;
  color: #57595c;
  background-color: transparent;
  width: 120%;
}
.books .book-wrapper__right .product-editions .format-dropdown:focus-within {
  border: 1px dotted #0074c9;
}
.books .book-wrapper__right .product-editions .format-dropdown select {
  font-size: 16px;
  color: #111;
}
.books .book-wrapper__right .product-editions .product-price {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  border-bottom: 1px solid #000;
}
.books .book-wrapper__right .product-editions .product-buy-now {
  display: inline-block;
  width: auto;
  background: linear-gradient(#005eb8, #003865);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-right: 12px;
  transition: background-color 0.2s ease;
  text-align: center;
}
.books .book-wrapper__right .product-editions .product-buy-now:hover {
  color: #037ec0;
  transition: color 0.5s ease;
  text-decoration: none;
}
.books .book-wrapper__right .product-editions .product-retailer-dropdown {
  display: inline-block;
  width: auto;
  padding: 14px 28px;
  font-size: 14px;
  vertical-align: top;
  background: linear-gradient(#005eb8, #003865);
  border: 1px solid #ced4da;
  color: #fff;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
}
.books
  .book-wrapper__right
  .product-editions
  .product-retailer-dropdown
  option {
  color: #000;
}
.books .book-wrapper__right .product-editions .product-retailer-dropdown:focus {
  border-color: #005eb8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}
.books .book-wrapper__right .product-editions .nav-pills .nav-link.active,
.books .book-wrapper__right .product-editions .nav-pills .show > .nav-link {
  background-color: #57595c;
  border: 1px solid #57595c;
  color: #fff;
}
.books .book-wrapper__tabs {
  margin-top: 15px;
}
.books .book-wrapper__tabs .nav-tabs {
  width: 100%;
  margin: 0;
}
.books .book-wrapper__tabs .nav-tabs .nav-item {
  margin-bottom: 0;
}
.books .book-wrapper__tabs .nav-tabs .nav-link {
  border-radius: 0;
  border: none;
  color: #57595c;
  padding: 15px;
  font-size: 14px;
}
.books .book-wrapper__tabs .nav-tabs .nav-link.active {
  background-color: #f5f5f5;
  color: #63666a;
  z-index: 2;
  border: 2px solid #dee2e6;
  border-bottom: none;
  border-radius: 0;
  top: 2px;
  position: relative;
}
.books .book-wrapper__tabs .tab-content {
  width: 100%;
}
.books .book-wrapper__tabs .tab-content .tab-pane {
  background: #f5f5f5;
  padding-bottom: 50px;
  position: relative;
}
.books .book-wrapper__tabs .tab-content .tab-pane.active {
  width: 100%;
  padding: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
  border: none;
  background-color: #f5f5f5;
  border-top: 2px solid #dee2e6;
  margin: 0;
  min-height: 400px;
  z-index: 1;
}
.books .book-wrapper__tabs .tab-content .tab-pane:before,
.books .book-wrapper__tabs .tab-content .tab-pane:after {
  content: '';
  position: absolute;
  bottom: 0;
  background: #f5f5f5;
  border-top: 2px solid #dee2e6;
  top: -2px;
  width: 9999px;
  height: 100%;
}
.books .book-wrapper__tabs .tab-content .tab-pane:before {
  right: 100%;
}
.books .book-wrapper__tabs .tab-content .tab-pane:after {
  left: 100%;
}
.books .book-wrapper__accordin {
  margin-top: 15px;
}
.books .book__heading {
  color: #000;
  margin-block-start: 1em;
  margin-block-end: 1em;
}
.books .author-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0px;
}
.books .author-details .sp__the-author-bio {
  width: 75%;
}
.books .author-details .sp__the-author-bio h3.sp__the-author,
.books .author-details .sp__the-author-bio .sp__the-author.h3 {
  text-align: left;
  color: #000;
}
.books .author-details .sp__the-author-bio h4,
.books .author-details .sp__the-author-bio .h4 {
  margin-top: 0;
}
.books .author-details .sp__the-author-img {
  width: 25%;
}
.books .accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #005eb8;
  box-shadow: inset 0 1 0 #005eb8;
}
.books .product-editions-separate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  flex-direction: column;
}
.books .product-editions-separate .product-editions-title {
  text-transform: none;
  color: #57595c;
  min-width: -moz-fit-content;
  min-width: fit-content;
}
.books .product-editions-separate p {
  color: #57595c;
  margin-bottom: 6px;
  margin-top: 6px;
  padding-inline: 10px;
}
.books .product-editions-separate {
  display: none;
}
.books .book-wrapper__bottom {
  position: relative;
  top: 75%;
}
.books .product__left {
  position: relative;
  width: 60%;
}
.books .product__right {
  width: 31%;
  position: absolute;
  top: -2%;
  margin-top: 5%;
  right: -5%;
}
.books .book__formats {
  width: 100%;
  display: flex;
  margin-bottom: 1em;
  flex-direction: row;
}
.books .book__formats p {
  margin: 0 0.5em 0 0;
  padding-top: 0.3571428571rem;
}
.books .book__formats-current {
  background: #fff;
  border: 2px solid #a8a8a8;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  display: block;
  padding: 0.4em;
  border-bottom-width: 0;
  text-decoration: none;
  color: #57595c;
}
.books .book__formats-current:focus,
.books .book__formats-current:hover {
  text-decoration: none;
  color: #57595c;
}
.books .book__formats-current:after {
  content: '\f0d7';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 1em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1em;
}
.books .book__formats-dropdown-wrapper {
  width: 50%;
}
.books .book__formats-dropdown {
  background: #fff;
  border: 2px solid #a8a8a8;
  overflow: hidden;
  transition: all 0.3s;
  border-top-width: 0;
  max-height: 0;
}
.books .book__formats-dropdown-open {
  max-height: 700px;
}
.books .book__formats-dropdown-option {
  display: block;
  padding: 0.4em;
  text-decoration: none;
  color: #57595c;
}
.books .book__formats-dropdown-option:focus,
.books .book__formats-dropdown-option:hover {
  text-decoration: none;
  background-color: #cccccc;
  color: rgb(62.2122905028, 63.6424581006, 65.7877094972);
}

@media (max-width: 54.8571428571rem) {
  .books .entry-content {
    margin-top: 48px;
  }
  .books .book-wrapper__left {
    display: flex;
    flex-direction: column;
  }
  .books .book-wrapper__left .product-title {
    display: block;
    text-align: center;
  }
  .books .book-wrapper__left .product-subtitle {
    display: block;
    text-align: center;
  }
  .books .book-wrapper__left .book-contributors {
    display: block;
    text-align: center;
  }
  .books .book-wrapper__left .book-product-details {
    display: block;
  }
  .books .book-wrapper__right {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
  }
  .books .book-wrapper__right .product-title {
    display: none;
  }
  .books .book-wrapper__right .product-subtitle {
    display: none;
  }
  .books .book-wrapper__right .book-contributors {
    display: none;
  }
  .books .book-wrapper__right .book-product-details {
    display: none;
  }
  .books .product-enlarge-cover {
    display: none;
  }
  .books .product-buy-now {
    display: block;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .books .product-retailer-dropdown {
    text-align: center;
    margin: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .books .product-editions {
    flex-direction: column !important;
    padding: 0;
  }
  .books .product-editions .product-price {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .books .product-editions .product-detail-tabs {
    margin-top: 16px;
  }
  .books .product-editions-separate {
    flex-direction: row;
    display: none;
  }
  .books .book-wrapper__bottom {
    position: relative;
    top: 0;
  }
  .books .product__left {
    width: 100%;
    display: block;
  }
  .books .product__right {
    position: relative;
    width: 100%;
    top: 0%;
    right: 0%;
  }
  .books .book__formats {
    flex-direction: column;
  }
  .books .book__formats-dropdown-wrapper {
    width: 100%;
  }

  .books .book-wrapper__left .product-cover {
    max-width: 100%;
  }

  .books .book-wrapper__left .product-enlarge-cover {
    width: 100%;
  }
  .book-info-container .accordion-button[aria-expanded='true']::after {
    filter: brightness(100);
  }

  footer.main-footer p,
  footer.main-footer .menu {
    text-align: left;
    margin-bottom: 10px;
  }
}

/* End Books Section */

.book-cover-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* space between items */
}

@media (max-width: 767px) {
  .book-cover-wrapper {
    grid-template-columns: 1fr;
  }
}

.books .book-wrapper__right .product-title {
  max-width: 65%;
  font-weight: bold;
}
.books .book-wrapper__right .product-subtitle,
.books .product-title,
.books .product-subtitle {
  font-weight: bold;
}
.books .book-wrapper__left .product-cover {
  margin-top: 0;
}
.book-info-container {
  margin-top: 50px;
}

.books .book__formats-current:after {
  content: '❯';
  position: absolute;
  pointer-events: none;
  top: 4px;
  right: 10px;
  color: #666;
  transform: rotate(90deg);
  font-weight: 400;
}

footer.main-footer {
  padding: 24px 0;
}

footer.main-footer .menu {
  align-items: flex-start;
  justify-content: flex-start;
}

.product-retailer-list .sr-only {
  display: none;
}

.books .product-retailer-wrapper .product-retailer-list li {
  text-align: center;
}

.books .book-wrapper__left .product-enlarge-cover,
.books .product-retailer-wrapper .product-retailer-btn,
.books .product-retailer-wrapper {
  border-radius: 0;
}

.fl-accordion .fl-accordion-item .fl-accordion-button-icon {
  text-decoration: none;
}

/* Base arrow button */
.slick-prev,
.slick-next {
  width: 44px;
  height: 44px;
  background: #000;
  border-radius: 50%;
  z-index: 10;
}

/* Icon styling */
.slick-prev:before,
.slick-next:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900; /* REQUIRED for solid icons */
  font-size: 26px;
  color: #000;
  opacity: 1;
}

/* Left arrow */
.slick-prev:before {
  content: '\f104'; /* fa-chevron-left */
}

/* Right arrow */
.slick-next:before {
  content: '\f105'; /* fa-chevron-right */
}

/* Position arrows */
.slick-prev {
  left: 0px;
}

.slick-next {
  right: 0px;
}

/* Hover effect */
.slick-prev:hover,
.slick-next:hover {
  color: #57595c;
}

/* Mobile */
@media (max-width: 767px) {
  .slick-prev,
  .slick-next {
    width: 36px;
    height: 36px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .main-footer__inner {
    flex-direction: column;
    padding: 0 16px;
  }

  footer.main-footer p,
  footer.main-footer .menu {
    text-align: center;
  }

  footer.main-footer .menu {
    justify-content: center;
  }
}
