﻿/* Section with subtle diamond plate pattern */
section#Matrix.section-xs {
  background-color: #e8eaed; /* light gray base */
background-image:
  linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(0,0,0,0.05)),
  linear-gradient(135deg, rgba(255,255,255,0.5) 25%, transparent 25%),
  linear-gradient(225deg, rgba(255,255,255,0.5) 25%, transparent 25%),
  linear-gradient(315deg, rgba(255,255,255,0.5) 25%, transparent 25%),
  linear-gradient(45deg,  rgba(255,255,255,0.5) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Keep your DataTable card clean and raised */
section#Matrix .card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

section#Matrix .card-body {
  padding: 30px;
}
#printsection{display: none;}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
	background-color: #FFD700;
}
/* top-left border-radius */
table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

/* top-right border-radius */
table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.collapsiblea {
  background-color: #3b6a94;       /* pale steel blue */
  border: 1px solid #C0C0C0;       /* defined edge all around */
  display: inline-block;
  color: #fff;
  cursor: pointer;
  padding: 8px 12px;               /* slight padding balance */
  width: 100%;
  text-align: left;
  font-size: 20px;
  border-radius: 8px;              /* <-- rounded corners */
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.collapsiblea:after {
  content: '-';
  color: #A9A9A9;
  font-weight: bold;
  font-size: 18px;
  float: right;
  margin-left: 25px;
}
.collapsible1 {

	border-bottom:1px solid #C0C0C0;
	display:inline-block;
	color:#282828;
  cursor: pointer;
  padding: 5px;
  width: 100%;
  text-align: left;
  font-size: 20px;
}
.collapsible1 .badge {
  background-color: #4a5568;
  color: #fff;
  font-size: 13px;
  margin-left: 8px;
  vertical-align: middle;
  padding: 4px 8px;
  border-radius: 12px;
}
.active1, .collapsible1:hover {
  background-color:#3b6a94;
  color: #fff;
}

.collapsible1:after {
  content: '\25BC';
  color: #000;
  font-size: 18px;
  float: right;
  margin-left: 25px;
}
.collapsible1:hover:after {
  animation: bounceArrow 0.6s infinite;
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
html{
	scroll-behavior: smooth;
}
.active1:after {
  content: "\25B2";
  color: #fff;
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
   background-color: transparent;   /* ← changed from white */
}
.tooltipi {
    display:inline-block;
    position:relative;
    text-align:left;
}

.tooltipi h3 {margin:12px 0;}

.tooltipi .top {
    min-width:120px;
    max-width:210px;
    top:-20px;
    left:50%;
    transform:translate(-30%,-100%);
    padding:8px 15px;
    color:#EEEEEE;
    background-color:#444444;
    font-weight:normal;
    font-size:14px;
    border-radius:12px;
    position:absolute;
    z-index:99999999;
    box-sizing:border-box;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
    display:none;
}

.tooltipi:hover .top {
    display:block;
}

.tooltipi .top i {
    position:absolute;
    top:100%;
    left:30%;
    margin-left:-15px;
    width:30px;
    height:15px;
    overflow:hidden;
}

.tooltipi .top i::after {
    content:'';
    position:absolute;
    width:15px;
    height:15px;
    left:50%;
    transform:translate(-50%,-50%) rotate(45deg);
    background-color:#444444;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
}
.arrowd a {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #000;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.arrowd a:hover {
  opacity: .5;
}
.cardp {
  border-radius: 15px;
  border-style: solid;
  border-color: ivory silver silver white;
padding: 5px 5px 5px 5px;
  background: rgb(255,255,255);
background: radial-gradient(circle, rgba(255,255,255,0.4) 65%, rgba(0,0,0,0.1) 88%) !important;
    color: #000;;
}
.partial-float {
  position: relative;
  left: 60%;         /* Pushes the span 75% from the left edge */
  transform: translateX(-50%); /* Centers the span at that point */
  display: inline-block;
}
.product-description {
  position: relative;
  font-size: 16px;
  line-height: 1.5;
  max-width: 700px;
  margin-bottom: 1em;
}

/* The wrapper limits how much text is visible initially */
.fade-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 35em; /* adjust based on your font size — ~8–10 lines */
  margin-bottom: 10px;
  transition: max-height 0.4s ease;
}

/* The fade only covers bottom of the text area, not the button */
.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  z-index: 1;
}

/* Transparent rounded button */
.toggle-btn {
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  color: #007bff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.toggle-btn:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #0056b3;
  border-color: rgba(0, 0, 0, 0.15);
}
.breadcrumb-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;           /* allows horizontal scroll if really tight */
  white-space: nowrap;        /* prevent line breaks */
  scrollbar-width: none;      /* hide scrollbar (Firefox) */
}
.breadcrumb-nav::-webkit-scrollbar { display: none; } /* hide scrollbar (WebKit) */

.crumb {
  display: inline-block;
  background: #e9ecef;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: #000;
  text-decoration: none;
  max-width: 30vw;            /* prevent giant buttons on mobile */
  overflow: hidden;
  text-overflow: ellipsis;
}

.crumb:hover {
  background: #ced4da;
}

.current {
  background: #007bff;
  color: #fff;
}

/* separators */
.sep {
  color: #888;
  font-weight: bold;
}

/* Small screen tweak: tighter padding + smaller text */
@media (max-width: 576px) {
  .crumb {
    padding: 2px 6px;
    font-size: 0.75rem;
    max-width: 25vw;
  }
}
.owl-carousel .thumbnail {
  width: 110px;
  height: 110px;
  overflow: hidden;
  display: inline-block;
  border-radius: 4px; /* optional */
  margin: 0 auto;
}

.owl-carousel .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.owl-carousel .thumbnail:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.owl-carousel .thumbnail {
  border-radius: 8px;
}
/* ===============================
   Related Carousel Thumbnails
   =============================== */
/* Related box wrapper */
.related-carousel .thumbnail.related-thumb,
.related-carousel .thumbnail.morecat-thumb {
  width: 170px;
  height: 170px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/* Perfect fit behavior */
.related-img,
.morecat-img {
  max-width: 100%;     /* do not exceed box width */
  max-height: 100%;    /* do not exceed box height */
  width: auto;         /* preserve aspect ratio */
  height: auto;        /* preserve aspect ratio */
  object-fit: contain; /* force full visibility */
  object-position: center;
  padding: 6px;
}

/* Hover zoom */
.related-carousel .thumbnail.related-thumb:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.related-carousel .thumbnail.related-thumb:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive scaling */
@media (max-width: 992px) {
  .related-carousel .thumbnail.related-thumb {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .related-carousel .thumbnail.related-thumb {
    width: 120px;
    height: 120px;
  }
}
/* ===============================
   Same Sub-Category Carousel Thumbnails
   =============================== */
/* Related box wrapper */
.subrelated-carousel .thumbnail.subrelated-thumb,
.subrelated-carousel .thumbnail.morecat-thumb {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/* Perfect fit behavior */
.subrelated-img,
.submorecat-img {
  max-width: 100%;     /* do not exceed box width */
  max-height: 100%;    /* do not exceed box height */
  width: auto;         /* preserve aspect ratio */
  height: auto;        /* preserve aspect ratio */
  object-fit: contain; /* force full visibility */
  object-position: center;
  padding: 3px;
}

/* Hover zoom */
.subrelated-carousel .thumbnail.subrelated-thumb:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.subrelated-carousel .thumbnail.subrelated-thumb:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive scaling */
@media (max-width: 992px) {
  .subrelated-carousel .thumbnail.subrelated-thumb {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .subrelated-carousel .thumbnail.subrelated-thumb {
    width: 70px;
    height: 70px;
  }
}

/* ===============================
   PDF GRID (Glassy Industrial Buttons with Animated Reflection)
   =============================== */

.pdf-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 30px auto 50px;
  max-width: 1100px;
}

/* Individual tile */
.pdf-item {
  text-align: center;
  width: 130px;
  position: relative;
}

/* -------------------------------
   Glassy Button Core
   ------------------------------- */
.pdf-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -3px 8px rgba(0,0,0,0.2),
    0 4px 10px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

/* Static gloss layer */
.pdf-icon::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 15%;
  width: 70%;
  height: 35%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

/* Animated light-sweep overlay */
.pdf-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-20deg);
  opacity: 0;
}

/* Hover only affects the button itself */
.pdf-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,0.5),
    inset 0 -3px 8px rgba(0,0,0,0.25),
    0 6px 15px rgba(0,0,0,0.35);
  background-image: linear-gradient(145deg, rgba(160,175,190,0.9), rgba(110,125,140,0.9));
}

/* Trigger reflection animation */
.pdf-icon:hover::after {
  animation: pdf-reflect 1.4s ease-in-out forwards;
  opacity: 1;
}

@keyframes pdf-reflect {
  0% { left: -100%; opacity: 0; }
  25% { opacity: 1; }
  50% { left: 120%; opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

/* Label below icon */
.pdf-label {
  font-size: 13px;
  color: #333;
  font-weight: 600;
  word-break: break-word;
  text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

.pdf-label small {
  display: block;
  color: #555;
  font-weight: normal;
}

/* ===============================
   SDS Field Compatibility (Fixed Hover)
   =============================== */

/* Keep SDS icon HTML framed and centered */
.pdf-sds .pdf-icon {
  position: relative;
  background-color: rgba(40, 167, 69, 0.9) !important;
  background-image: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(0,0,0,0.1));
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Contain raw HTML links/icons */
.pdf-sds .pdf-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  text-decoration: none;
  color: inherit;
  background: transparent;
  z-index: 2;
  position: relative;
}

/* Keep SDS icons consistent size */
.pdf-sds .pdf-icon img,
.pdf-sds .pdf-icon i {
  max-width: 36px;
  max-height: 36px;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* Hover – retain green hue, enhance glassiness */
.pdf-sds .pdf-icon:hover {
  background-color: rgba(40, 167, 69, 0.95) !important;
  background-image: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(0,0,0,0.15));
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,0.5),
    inset 0 -4px 10px rgba(0,0,0,0.3),
    0 6px 15px rgba(0,0,0,0.35);
}

/* Keep reflection animation */
.pdf-sds .pdf-icon:hover::after {
  animation: pdf-reflect 1.4s ease-in-out forwards;
  opacity: 1;
}

/* ===============================
   Color Themes
   =============================== */

.pdf-manual .pdf-icon { background-color: rgba(220, 53, 69, 0.85); }       /* Red */
.pdf-survey .pdf-icon { background-color: rgba(23, 162, 184, 0.85); }     /* Teal */
.pdf-drawing .pdf-icon { background-color: rgba(0, 123, 255, 0.85); }     /* Blue */
.pdf-certificate .pdf-icon { background-color: rgba(255, 193, 7, 0.85); } /* Yellow */
.pdf-sds .pdf-icon { background-color: rgba(40, 167, 69, 0.9); }          /* Green */
.pdf-other .pdf-icon { background-color: rgba(108, 117, 125, 0.85); }     /* Gray */

/* ===============================
   PDF Section Headings (Industrial)
   =============================== */

.pdf-heading-title {
  text-align: center;
  margin: 50px auto 30px;
  position: relative;
}

.pdf-heading-title h4 {
  display: inline-block;
  background: #E0E0E0;
  color: #606060;
  padding: 0 18px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  font-family: 'Roboto Condensed', 'Segoe UI', sans-serif;
}

/* Divider lines */
.pdf-heading-title::before,
.pdf-heading-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 2px;
  background: linear-gradient(to right, transparent, #8c9aa3, transparent);
  transform: translateY(-50%);
}

.pdf-heading-title::before { left: 0; }
.pdf-heading-title::after { right: 0; }
/* ===============================
   Gallery Hover Preview Tooltip
   =============================== */
.gallery-hover-btn {
  position: relative;
  display: inline-block;
}

.gallery-tooltip {
  position: absolute;
  left: 50%;
  bottom: 110%; /* appears above the button */
  transform: translateX(-50%);
  display: none;
  z-index: 99;
}

.gallery-tooltip-inner {
  display: flex;
  gap: 6px;
  background: rgba(240, 240, 240, 0.96);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gallery-tooltip-inner img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-tooltip-inner img:hover {
  transform: scale(1.1);
}

.more-thumbs {
  background: #b7c7d8;
  color: #1e2a33;
  font-weight: 700;
  font-size: 14px;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover trigger */
.gallery-hover-btn:hover .gallery-tooltip {
  display: block;
  animation: fadeInUp 0.25s ease-out;
}

/* Fade animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

/* Optional: If near top of viewport, place tooltip below */
@media (max-height: 600px) {
  .gallery-tooltip {
    bottom: auto;
    top: 110%;
  }
}
/* Ensure the link and button span full width */
.gallery-launch {
  width: 100%;
}

.gallery-hover-btn {
  display: block;
  width: 100%;
  position: relative;
}

.gallery-hover-btn button.collapsible1 {
  width: 100%;
  display: block;
  text-align: left;
}
.video-grid .col-md-3 {
  margin-bottom: 20px;
}
/* ============================
   Q&A Section Styling
   ============================ */
.faq-list {
  margin-top: 10px;
  border-left: 4px solid #3b6a94;
  padding-left: 15px;
}

.faq-item {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #ccc;
}

.faq-question {
  font-size: 19px;
  color: #0b3954;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-answer {
  font-size: 17px;
  color: #222;
  margin-left: 25px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.faq-item:last-child {
  border-bottom: none;
}
/* =======================
   Manual Table "KEY" Icons
   ======================= */
.key-icons {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 15px;
  color: #333;
}

.key-icons .key-icon {
  width: 20px;
  height: auto;
  display: inline-block;
  margin: 0 4px;
  vertical-align: middle;
  object-fit: contain;
  max-width: none !important; /* override Bootstrap */
}
/* ========== Extra Content (A+ Section) ========== */
.extra-html {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.05);
}

.heading-title-extra h4 {
  font-weight: 700;
  color: #333;
  border-bottom: 2px solid #ffc107;
  display: inline-block;
  padding-bottom: 4px;
}

.extra-thumb {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.extra-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.model-group {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* ===== Extra Content Section Styling ===== */
.extra-content-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

/* Limit and style images inside the XBody HTML */
.extra-content-card img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 500px; /* prevents overly tall marketing banners */
  margin: 15px auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  object-fit: contain;
}

/* Prevent images from blowing out to full card width */
.extra-content-card p img,
.extra-content-card div img {
  width: auto;
  max-width: 95%;
}

/* Optional: add light border or pattern separation */
.extra-content-card hr {
  border-top: 1px solid #e2e2e2;
  margin: 25px 0;
}
/* ===============================
   Dimension Icon Hover Preview (Raised)
   =============================== */
.dim-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.dim-preview {
  display: none;
  position: absolute;
  top: -155px;               /* was -130px — now 30 px higher */
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 999;
  pointer-events: none;
}

.dim-icon:hover .dim-preview {
  display: block;
  animation: dimFadeIn .2s ease-out;
}
/* ===============================
   Mobile Model Buttons Grid
   =============================== */
.mobile-model-btn {
  display: block;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.mobile-model-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  text-decoration: none;
}

.mobile-model-img {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 75px;       /* reduced from 140px */
  background-color: #f8f9fa;
}

.mobile-model-label {
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 4px;     /* smaller */
  font-size: 12px;      /* smaller text */
  background: #0975d8;
  color: #fff;
}

.mobile-model-btn {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
@keyframes dimFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
