/*Google Pagespeed rec to reduce LCP */
@font-face {
    font-family: 'Bootstrap Icons';
    src: url('/css/fonts/bootstrap-icons.woff2') format('woff2');
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    }

#mainNav {
    font-weight: 500;
}

ul#mainNavDropdown li > a.dropdown-item {
  font-weight: 450;
}

/*modal backdrop*/
.modal-backdrop {
    background-color: black !important; /* Ensures a darker background */
    opacity: 0.5 !important; /* Adjust opacity for a stronger effect */
}

/*pagefind site search styling overrides*/
.pagefind-ui__result-thumb {
  /*max-width: calc(120px * var(--pagefind-ui-scale));*/
  /*same width as site.Params.pagefindThumbnail.width*/
  max-width: calc(415px * var(--pagefind-ui-scale)) !important;
}
.pagefind-ui__result-tag {
  display: none !important;
}
/*End pagefind*/

.navbar {
    /*background-color: #0099CC;*/
    /*background-color: #000000;*/
    /*background-color: #198754;*/
    background-color: #2DA8DF;
    }

.social-icons-footer {
    padding:6px;
    }

.social-icons-footer a {
    color: black;
    }

.social-icons-footer a:hover {
    color: rgb(158, 157, 157);
    }

/*tocbot css overrides*/
.toc-link::before {
    background-color: #fff;
}
.is-active-link {
    font-weight: normal;
}
.is-active-link::before {
    background-color: #fff;
}
/*end tocbot css overrides*/

/*Equipment Carousel*/
/* Lift the indicator bars off the white strip and back over the image */
#equipmentCarousel .carousel-indicators {
  bottom: 3rem;
}

/* Dark bars instead of Bootstrap's default white */
#equipmentCarousel .carousel-indicators [data-bs-target] {
  background-color: #212529;
}
#equipmentCarousel .carousel-indicators .active {
  opacity: 1;
}

/*End Equipment Carousel*/

#TableOfContents ul li a {
    text-decoration: none; /* Remove underline */
    /*color: #333; *//* Change link color */
    display: block; /* Make links block-level for full width */
    padding: 5px; /* Add padding for clickable area */
    /*padding: 12px;*/ /* Add padding for clickable area */
    }
  
#TableOfContents ul li a:hover {
    /*background-color: #ddd; *//* Add hover background color */
    border-radius: 5px; /* Add border radius for rounded corners */
    }
/* Fade-in animation for the rating widget & Buy button */
.star-rating, .buy-button {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
  }
  
  @keyframes fadeIn {
    to { opacity: 1; }
  }
  
  /* Add consistent spacing between all star icons */
  .star-rating i {
    margin-right: 0.25rem;
  }
  
  /* Remove the extra right margin from the last star */
  .star-rating i:last-child {
    margin-right: 0;
  }

/* TT Paddle icons in Toc, Pros & Cons, Features Lists */

/* List containers: remove standard bullets */
.pros ul,
.cons ul,
.features ul,
#tableOfContents ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Apply a hanging indent by adding left padding to each li */
.pros ul li,
.cons ul li,
.features ul li  {
  position: relative;
   margin-bottom: 1em;
  /* The padding reserves space for the icon */
  padding-left: calc(var(--icon-size, 1em) + var(--gutter, 0.5em));
}

#tableOfContents ul li {
  position: relative;
  margin-bottom: 0.5em;/* Optional: add spacing between list items */
  padding-left: calc(var(--icon-size, 1em) + var(--gutter, 0.5em)); /* The padding reserves space for the icon */
  align-items: center; /* Vertically center the icon and text */
}

/* Shared styles for list marker pseudo-elements */
.pros ul li::before,
.cons ul li::before,
.features ul li::before  {
  content: "";
  /* Use absolute positioning so the marker stays in the left reserved area */
  position: absolute;
  left: 0;
  top: 2px;
  transform: none;
  width: var(--icon-size, 1em);
  height: var(--icon-size, 1em);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#tableOfContents ul li::before {
  content: "";
  /* Use absolute positioning so the marker stays in the left reserved area */
  position: absolute;
  left: 2px;
  top: 8px;
  transform: none;
  width: var(--icon-size, 1.2em);
  height: var(--icon-size, 1.5em);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* For the pros list: using success color (#198754) */
.pros ul li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%23198754'><circle cx='7' cy='17' r='2.5'/><circle cx='16' cy='17' r='2.5'/><path d='M10 13.5v-5a2 2 0 0 1 2-2h3v2h-3v5z'/><rect x='5' y='10.5' width='14' height='3' rx='1'/><path d='M17.5 6.5l2 2 1-1-2-2z'/></g></svg>");
}

/* For the cons list: using danger color (#dc3545) */
.cons ul li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%23dc3545'><circle cx='7' cy='17' r='2.5'/><circle cx='16' cy='17' r='2.5'/><path d='M10 13.5v-5a2 2 0 0 1 2-2h3v2h-3v5z'/><rect x='5' y='10.5' width='14' height='3' rx='1'/><path d='M17.5 6.5l2 2 1-1-2-2z'/></g></svg>");
}

/* For the features list: using info color (#0dcaf0) */
.features ul li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%230dcaf0'><circle cx='7' cy='17' r='2.5'/><circle cx='16' cy='17' r='2.5'/><path d='M10 13.5v-5a2 2 0 0 1 2-2h3v2h-3v5z'/><rect x='5' y='10.5' width='14' height='3' rx='1'/><path d='M17.5 6.5l2 2 1-1-2-2z'/></g></svg>");
}

/* For the TOC list: using secondary color (#6c757d) */
#tableOfContents ul li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='3 4 16 16'><g fill='%236c757d'><circle cx='7' cy='17' r='2.5'/><circle cx='16' cy='17' r='2.5'/><path d='M10 13.5v-5a2 2 0 0 1 2-2h3v2h-3v5z'/><rect x='5' y='10.5' width='14' height='3' rx='1'/><path d='M17.5 6.5l2 2 1-1-2-2z'/></g></svg>");
}
/*END custom list markers*/

/*iFrame Manager Button Colors*/
/*Youtube Button Color*/
div[data-service="youtube"] .cll .c-l-b {
  background: rgb(255 0 0 / 84%) !important;
}
 /*Google Maps Button Color*/
div[data-service="googlemaps"] .cll .c-l-b {
  background: rgb(15 157 88 / 84%) !important;
}
/*End iFrame Manager Button Colors */

/*cookieconsent banner overrides*/
/*sizes*/
#cc-main .cm__title {
  font-size: 1em;
}
#cc-main .cm__desc {
  font-size: 0.8em;
}
#cc-main .cm__btns, #cc-main .cm__links {
  padding: 0.5rem 0.5rem;
}
#cc-main .cm__footer {
  padding: 0 0 0;
}
#cc-main .cm__btn {
  font-size: .7em;
  min-height: 30px;
  padding: .5em 1em;
}
/*dark mode */
#cc-main {
  --cc-bg: #161a1c;
  --cc-primary-color: rgb(239, 244, 246);
  --cc-secondary-color: #b1bdc3;
  /*contact us link in preferences center*/
  --cc-contact-link: #b1bdc3;
  /*--cc-btn-primary-bg: #60fed2; */
  /*--cc-btn-primary-bg: #5CB8E7;*/
  --cc-btn-primary-bg: #4dd4ae;
  /*--cc-btn-primary-color: #000;*/
  --cc-btn-primary-color: #000;
  --cc-btn-primary-hover-bg: #198754;
  /*--cc-btn-primary-hover-bg: #4488aa;*/
  --cc-btn-primary-hover-color: rgb(239, 244, 246);;

  --cc-btn-secondary-bg: #242c31;
  --cc-btn-secondary-color: var(--cc-primary-color);
  --cc-btn-secondary-hover-bg: #d4dae0;
  --cc-btn-secondary-hover-color: #000;

  --cc-cookie-category-block-bg: #1e2428;
  --cc-cookie-category-block-border: #1e2428;
  --cc-cookie-category-block-hover-bg: #242c31;
  --cc-cookie-category-block-hover-border: #242c31;
  --cc-cookie-category-expanded-block-hover-bg: #242c31;
  --cc-cookie-category-expanded-block-bg: #1e2428;
  --cc-toggle-readonly-bg: #343e45;
  --cc-overlay-bg: rgba(4, 6, 8, .85) !important;

  --cc-toggle-on-knob-bg: var(--cc-bg);
  --cc-toggle-readonly-knob-bg: var( --cc-cookie-category-block-bg);

  --cc-separator-border-color: #222a30;

  --cc-footer-border-color: #212529;
  --cc-footer-bg: #0f1112;
}
/*cc footer links*/
#cc-main .cm__footer {
  color:#b1bdc3;
}
/*End cookieconsent banner overrides*/

/* Prev / Next in-section navigation cards */
.prev-next-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.prev-next-card:hover,
a:hover > .prev-next-card,
a:focus-visible > .prev-next-card {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Keep the title colour stable on hover so the card doesn't flash the link colour */
.prev-next-card:hover .text-body,
.prev-next-card:focus-within .text-body {
  color: var(--bs-body-color) !important;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .prev-next-card {
    transition: none;
  }
  .prev-next-card:hover {
    transform: none;
  }
}

/*native lightbox*/
.native-lightbox-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}
.native-lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.native-lightbox-dialog[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.native-lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.35s ease;
}

/* slide states */
.native-lightbox-img.slide-out-left {
  transform: translateX(-100%);
}
.native-lightbox-img.slide-out-right {
  transform: translateX(100%);
}
.native-lightbox-img.slide-in-left {
  /* start off-screen-left, then transition to 0 */
  transform: translateX(-100%);
  transition: none;
}
.native-lightbox-img.slide-in-right {
  transform: translateX(100%);
  transition: none;
}
.native-lightbox-caption {
  margin: 0.75rem 0 0;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  max-width: 90vw;
}
.native-lightbox-close,
.native-lightbox-prev,
.native-lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 2;
}
.native-lightbox-close { top: 1rem; right: 1rem; }
.native-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.native-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
/*end native lightbox*/

/*Modal Spin for Native Subscribe Form Popup*/
.modal.spin .modal-dialog {
    transform: scale(.3) rotate(-180deg);
    opacity: 0;
    transition: transform .5s ease-out, opacity .5s ease-out;
}

.modal.spin.show .modal-dialog {
    transform: scale(1) rotate(0);
    opacity: 1;
}

/* hide sitewide subscribe form */
#subscribe-inline-wrapper.subscribe-suppressed { display: none !important; }