/* Static compatibility layer for the legacy inner-page master layout. */
#header { height: 101px; }
.mainBanner2 { height: 0; margin: 0; }
#container2 {
  position: relative;
  width: 980px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}
#container2 #topColumn { display: none; }
#container2 #leftColumn {
  position: relative;
  float: left;
  width: 200px;
  min-height: 620px;
  top: 0;
  margin-left: 20px;
  margin-right: 20px;
  overflow: visible;
  background: none;
}
#container2 #centerColumn {
  width: 740px;
  float: right;
  top: 0;
  overflow: visible;
  background: none;
}
#container2 #rightColumn { display: none; }
#container2 #breadcrumb {
  display: block;
  position: absolute;
  top: 150px;
  right: 0;
  z-index: 3;
  color: #777;
  font-size: 12px;
}
.indideBanner,
.indideBanner img { display: block; width: 740px; height: 150px; }
.maincenter { width: 740px; margin-bottom: 100px; }
.maincenterZone { padding-right: 0; }
.maincenterZone table { width: calc(100% - 60px); margin: 20px 30px; border-collapse: collapse; }
.adbanner { position: static; margin-top: 0; }
.adbanner li { margin-bottom: 8px; }
.legacy-gallery { display: flex; gap: 8px; margin: 10px 0 20px 30px; }
.legacy-gallery img { width: auto; max-width: 31%; height: auto; margin: 0; }

/* Product category detail pages exported from the archived Access database. */
.product-detail { padding: 8px 30px 28px; }
.product-detail > h1 {
  margin: 6px 0 18px;
  padding: 0 0 8px 14px;
  border-bottom: 1px dotted #bbb;
  color: #0055a6;
  font-size: 22px;
  line-height: 1.4;
}
.product-detail-summary {
  margin: -6px 0 20px 14px;
  color: #555;
  line-height: 1.8;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 12px;
}
.product-detail-card {
  margin: 0;
  padding: 8px;
  border: 1px solid #ddd;
  background: #fafafa;
}
.product-detail-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 8px;
}
.product-detail-images:has(img:only-child) { grid-template-columns: 1fr; }
.product-detail-images img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: contain;
  background: #fff;
}
.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.product-image-button::after {
  content: "\1F50D";
  position: absolute;
  right: 6px;
  bottom: 6px;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgb(0 78 160 / 82%);
  color: #fff;
  font-size: 15px;
  line-height: 28px;
  text-align: center;
  opacity: 0;
  transition: opacity .15s ease;
}
.product-image-button:hover::after,
.product-image-button:focus-visible::after { opacity: 1; }
.product-image-button:focus-visible {
  outline: 3px solid #e79d27;
  outline-offset: 2px;
}
.product-detail-empty .product-image-button { flex: 0 0 150px; }
.product-detail-empty .product-image-button img { width: 150px; height: auto; }
.product-lightbox[hidden] { display: none; }
.product-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  grid-template-rows: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 18px;
  background: rgb(0 0 0 / 88%);
}
.product-lightbox__image {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.product-lightbox__caption {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  color: #fff;
  line-height: 1.5;
  text-align: center;
}
.product-lightbox__close,
.product-lightbox__previous,
.product-lightbox__next {
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 4px;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
}
.product-lightbox__close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 44px;
  height: 44px;
}
.product-lightbox__previous,
.product-lightbox__next { width: 48px; height: 58px; }
.product-lightbox__previous { grid-column: 1; grid-row: 2; }
.product-lightbox__next { grid-column: 3; grid-row: 2; }
.product-lightbox__close:focus-visible,
.product-lightbox__previous:focus-visible,
.product-lightbox__next:focus-visible { outline: 3px solid #e79d27; outline-offset: 2px; }
body.product-lightbox-open { overflow: hidden; }
.product-detail-card figcaption {
  color: #555;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.product-detail-empty {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 10px;
  border: 1px solid #ddd;
  background: #fafafa;
}
.product-detail-empty img { width: 150px; height: auto; }

@media (max-width: 760px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-lightbox {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 8px;
  }
  .product-lightbox__previous,
  .product-lightbox__next { width: 38px; }
}

/* Use one navigation-link size across all preserved inner-page submenus. */
.navLeft a { font-size: 14px !important; }

/* The archived knowledge menu uses deprecated <font size="4"> markup. Modern
   browsers render it larger than the original site, causing the menu labels
   to wrap and expand the left column. */
#GridView1 font[size="4"],
#GridView1 font[size="4"] li {
  font-size: 12px !important;
}

@media (max-width: 1023px) {
  body { min-width: 980px; }
}
