@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
    /* types: <transition-type>; */
  }
}

p, span, h1, h2, h3, h4, h5, h6, li, a, strong {
    font-variant-ligatures: none !important;
}


/** HEADER **/
.global-header {backdrop-filter: blur(8px);}
#menu-main {overflow: visible; min-height:100%;}
.awb-menu .searchform .fusion-search-form-content .fusion-search-field input {border-width: 0px 0px 1px 0px;}

#menu-main #menu-item-28:hover, #menu-main #menu-item-28 > a:hover {cursor:default;}
#menu-main #menu-item-55:hover, #menu-main #menu-item-55 > a:hover {cursor:default;}

.product-logo, .product-logo img {width:100%;}

.product-category-grid .fusion-grid {justify-content: center;}

/** FOOTER **/
.fusion-footer .abp-footer a {color:var(--awb-color1); text-decoration:none !important;}
.fusion-footer .abp-footer a:hover {color:var(--awb-color2); text-decoration:underline !important;}

.abp-home-hero {
    filter: brightness(1);
    transition: filter 0.06s linear;
}
.abp-home-hero.lightning {
    filter: brightness(2) contrast(1.15) saturate(1.1);
}

/* Mobile */
@media (max-width: 767px) {
	.copyright-breaker {opacity: 0; display: block;}
}


/* Remove bullets from brochure list */
.product-brochures__list, .si-resource-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.product-brochures__item, .si-resource-list__item {
    list-style: none;
    padding-bottom: 10px;
}


.tab-pane .video-shortcode iframe, table.Table {max-width: 100%; box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);}
.tab-content table {width:100%; border-collapse: collapse;}
.tab-content table:not(:has(th)) > tbody > tr:first-child > td {font-weight: bold;background-color: var(--awb-custom_color_1); color:#fff;}
table.Table strong, .tab-content table strong {font-weight:normal;}
table.Table thead th strong, .tab-content table thead th strong {font-weight:400;}
table.Table thead th, .tab-content table thead th {background-color: var(--awb-custom_color_1); color:#fff;}
table.Table th, table.Table td, .tab-content table th, .tab-content table td {text-align: center; padding: 5px; border: 1px solid #ccc;}
table.Table tbody th, table.Table tbody td, .tab-content table tbody th, .tab-content table tbody td {font-size:0.9em;}
table.Table tbody tr:nth-child(even) th, table.Table tbody tr:nth-child(even) td, .tab-content table tbody tr:nth-child(even) th, .tab-content table tbody tr:nth-child(even) td {background-color: var(--awb-color2);}

/* .col5 {
    column-count: 5;
    column-gap: 30px;
    column-rule: 1px solid #ccc;
    text-align: center;
} */
.col5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.col5 > * {
  border-right: 1px solid #ccc;
  padding-right: 15px;
    display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.col5 > *:last-child {
  border-right: none;
}

@media (max-width: 1200px) {
  .col5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .col5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .col5 {
    grid-template-columns: 1fr;
  }
}

.col5 p {margin-bottom:0 !important; break-inside:avoid; orphans: 3; widows: 3;}
.col5 p a {display: contents;}
.col5 img.alignleft {float: none !important; margin: 0 auto !important;}

/* ICONS */

/** Product Details Tabs **/
/* Base styling for all tab icons */
.fusion-tabs .nav-tabs li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fusion-tabs .nav-tabs li .fusion-tab-heading {padding-right:8px;}

/* Create icon placeholder */
.fusion-tabs .nav-tabs li a .fusion-tab-heading::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 32px;
  color: var(--awb-color3);
  top:-32px;
  position: absolute;
}
.fusion-tabs .nav-tabs li a .fusion-tab-heading {color: var(--awb-color3) !important; font-size: 1.25em;}
.fusion-tabs .nav-tabs li.active .fusion-tab-heading::before, 
.fusion-tabs .nav-tabs li:hover .fusion-tab-heading::before, 
.fusion-tabs .nav-tabs li.active .fusion-tab-heading,
.fusion-tabs .nav-tabs li.hover .fusion-tab-heading {
  color: var(--awb-title-active-text-color) !important;
}
.fusion-tabs .nav-tabs li a .fusion-tab-heading::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
}
/* Technical (gear) */
.fusion-tabs .nav-tabs li:nth-child(1) a .fusion-tab-heading::before {content: "\f013";}
/* Installation (tools) */
.fusion-tabs .nav-tabs li:nth-child(2) a .fusion-tab-heading::before {content: "\f7d9";}
/* Packaging (box) */
.fusion-tabs .nav-tabs li:nth-child(3) a .fusion-tab-heading::before {content: "\f49e";}
/* Resources (file) */
.fusion-tabs .nav-tabs li:nth-child(4) a .fusion-tab-heading::before {content: "\f15c";}
/* Media (play) */
.fusion-tabs .nav-tabs li:nth-child(5) a# .fusion-tab-heading::before {content: "\f144";}

.fusion-tabs .tab-pane[aria-labelledby="fusion-tab-technical"] {
  padding-top: 35px !important;
  padding-bottom: 30px !important;
  padding-right: 0px !important;
  padding-left:0px !important;
}
.fusion-tabs .tab-pane[aria-labelledby="fusion-tab-packaging"] {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  padding-right: 0px !important;
  padding-left:0px !important;
}

.tab-content, .abp-pg__main {box-shadow: 0px 20px 20px 0px rgba(0,0,0,0.25);}


/* PDFs */

/* Target links going to AECDaily */
#main a[href*="aecdaily.com"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: text-bottom;
  
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23007cba' viewBox='0 0 24 24'%3E%3Cpath d='M12 3L1 9l11 6 9-4.91V17h2V9L12 3zm0 13L5 12.73v4.18L12 21l7-4.09v-4.18L12 16z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
/* All external links */
#main .external-link::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  vertical-align: text-bottom;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007cba'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3z'/%3E%3Cpath d='M5 5h6v2H7v10h10v-4h2v6H5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
body.page-id-1502 #main .external-link::after {display:none !important;}

/* YouTube video links */
#main a[href*="youtube.com"]::before,
#main a[href*="youtu.be"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -0.125em;

  background-color: var(--link_color);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2s-.2-1.7-.9-2.5c-.9-1-1.9-1-2.4-1.1C16.7 2.3 12 2.3 12 2.3s-4.7 0-8.2.3c-.5.1-1.5.1-2.4 1.1C.7 4.5.5 6.2.5 6.2S.3 8.2.3 10.2v1.6c0 2 .2 4 .2 4s.2 1.7.9 2.5c.9 1 2.1 1 2.6 1.1 1.9.2 8 .3 8 .3s4.7 0 8.2-.3c.5-.1 1.5-.1 2.4-1.1.7-.8.9-2.5.9-2.5s.2-2 .2-4v-1.6c0-2-.2-4-.2-4zM9.7 14.6V7.9l6.5 3.3-6.5 3.4z'/%3E%3C/svg%3E");

  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2s-.2-1.7-.9-2.5c-.9-1-1.9-1-2.4-1.1C16.7 2.3 12 2.3 12 2.3s-4.7 0-8.2.3c-.5.1-1.5.1-2.4 1.1C.7 4.5.5 6.2.5 6.2S.3 8.2.3 10.2v1.6c0 2 .2 4 .2 4s.2 1.7.9 2.5c.9 1 2.1 1 2.6 1.1 1.9.2 8 .3 8 .3s4.7 0 8.2-.3c.5-.1 1.5-.1 2.4-1.1.7-.8.9-2.5.9-2.5s.2-2 .2-4v-1.6c0-2-.2-4-.2-4zM9.7 14.6V7.9l6.5 3.3-6.5 3.4z'/%3E%3C/svg%3E");

  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

#main .product-brochures__link[href*=".pdf" i]::before, #main a[href*=".pdf" i]::before {
    content: "\f1c1" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 6px;
    margin-left: 3px;
    vertical-align: text-top;
    background:none !important;
}
body.search-results #main a[href*=".pdf" i]::before,
body.search-results #main a.external-link::before {
  position: absolute; top:12px; right:0px;
}
body.search-results #main .external-link::after {
  position: absolute; top:30px; right:8px;
}
body.search-results #main .fusion-post-cards .fusion-title {padding-right:20px;}
.noiconindicator a[href*=".pdf" i]::before {display: none;}
#main .noiconindicator .external-link::after {display: none;}
#main a.fusion-button[href*=".pdf" i]::before {color:var(--button_accent_color);}
#main a.fusion-button[href*=".pdf" i]:hover::before {color:var(--button_gradient_top_color);}

.alt-button {background: rgba(255,255,255,0.25) !important; border-color: var(--button_border_hover_color) !important;}
.alt-button span {color: #fff !important;}
.alt-button:hover {background: var(--button_gradient_top_color) !important; border-color: var(--button_border_color) !important; color: var(--button_accent_color) !important;}



.abp-product-breadcrumbs {
    font-size: 12px;
    line-height: 1;
    margin: 10px 0 5px 0 ;
}

.abp-product-breadcrumbs a {
    text-decoration: none;
}

.abp-product-breadcrumbs .si-breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.6;
}

.abp-product-breadcrumbs span {
    font-weight: 600;
}


.product-resources-items {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 5px;
}
.product-resources-header {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 5px !important;
}

/* hide tabs on sound mat */
.single-product.postid-1015 #product-details-tabs {display:none !important;}

.product-card-image img {object-fit:contain !important;}






.brochure-list .si-resource-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Mobile: stack to 1 column */
@media (max-width: 768px) {
    .brochure-list .si-resource-list {
        grid-template-columns: 1fr 1fr;
    }
}

.brochure-list .si-resource-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 👇 Fixed height container */
.brochure-list .si-resource-thumb-wrap {
    border: 1px solid #ddd;
    padding: 6px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;

    height: 220px;              /* 🔥 adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 👇 Make image scale nicely inside */
.brochure-list .si-resource-thumb-wrap img.si-resource-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* keeps full PDF visible */
}

/* Hover effect */
.brochure-list .si-resource-item:hover .si-resource-thumb-wrap {
    border-color: #aaa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

a.si-resource-thumb-wrap:before {display:none !important;}



/** product TABS **/
.product-tabs.horizontal-tabs.clean .tab-content {margin-top: 1px !important;}
.product-tabs .tab-pane.active {background-color:#fff !important;}
.product-tabs .nav-tabs li.active {border-bottom: 3px solid var(--awb-title-active-text-color) !important;}


.woocommerce-product-details__short-description p + ul {margin-top:0px; padding-top:0px;}
.woocommerce-product-details__short-description p:has(+ ul) {margin-bottom: 0;}
.woocommerce-product-details__short-description h4 + ul {margin-top:0px; padding-top:0px;}
.woocommerce-product-details__short-description ul {padding-left:20px;}
.woocommerce-product-details__short-description h4:has(+ ul) {margin-bottom: 0;}
.woocommerce-product-details__short-description h4 {
    border-bottom: 1px solid var(--h4_typography-color);
    margin-bottom: 5px !important;
}

/** portal **/
.abp-order-table {
    width: 100%;
    border-collapse: collapse;
}

.abp-order-table th,
.abp-order-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;;
}
.abp-order-table p {margin-bottom:0px !important;}
.abp-order-table td:nth-child(1) {width:90%}
.abp-order-table td:nth-child(2) {width:10%}

.abp-order-table input {
    width: 80px;
    height: 30px !important;
}
.order-notes {padding:12px 8px 8px 8px;}
.wpcf7-submit {margin-left: 8px;}


.abp-request-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
}

.abp-request-table {
    width: 100%;
    border-collapse: collapse;
}

.abp-request-table th,
.abp-request-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.abp-request-table th {
    text-align: left;
}

.abp-request-notes {
    margin-top: 15px;
}
.portal-order-request form {background-color: #fff; padding: 10px 20px 1px 20px;}


/* Installation accordion styling */

				.si-installation-accordion {
					border: 0px solid #ddd;
					border-radius: 0px;
					overflow: hidden;
				}

				.si-installation-item + .si-installation-item {
					border-top: 1px solid #ddd;
				}

				.si-installation-trigger {
					width: 100%;
					background: #fff;
          color:#333;
					border: 0;
					padding: 16px 20px;
					text-align: left;
					font-size: 16px;
					font-weight: 600;
					cursor: pointer;
					display: flex;
					justify-content: space-between;
					align-items: center;
				}

				.si-installation-trigger:hover {
					background: #efefef;
				}

				.si-installation-trigger::after {
					content: 'VIEW';
          color:#333;
					font-size: 10px;
          font-weight: 600;
					line-height: 1;
					margin-left: 16px;
				}

				.si-installation-item.active .si-installation-trigger::after {
					content: 'HIDE';
				}

				.si-installation-content {
					display: none;
					padding: 20px;
					background: #fff;
				}

				.si-installation-content > *:first-child {
					margin-top: 0;
				}

				.si-installation-content > *:last-child {
					margin-bottom: 0;
				}

button.si-installation-trigger[aria-expanded="true"] {
    background: #efefef;
}


h2.fusion-nothing-found {font-size:2em !important; text-transform: uppercase !important;}
.sharing a i {color:var(--awb-color4) !important;}


/* above Tablet */
@media (min-width: 1025px) {
	
}

/* Tablet */
@media (max-width: 1024px) {
	
}

/* Mobile */
@media (max-width: 767px) {
    html, body {font-size:14px;}
    .ilightbox-holder, .ilightbox-holder[style] {top:0px !important; bottom:0px !important;}
    .ilightbox-container[style] {height:calc(100% - 35px) !important;}
    .fusion-tabs .nav-tabs {padding-top: 50px !important;}
    .fusion-tabs .nav-tabs > li {margin-bottom:0 !important;}
    .fusion-tabs .tab-pane {margin:0 0 0px 0 !important;}
    /* .fusion-tabs .nav-tabs li a .fusion-tab-heading::before {display: none!important;} */

    .tab-pane table {
    width: 100%;
    border-collapse: collapse;
    }

    .tab-pane {
    overflow-x: auto;
    }

    .tab-pane table {
    min-width: 600px; /* adjust based on your table */
    }
  /* Technical (gear) */
  .fusion-tabs .tab-content .fusion-mobile-tab-nav:nth-child(1) .fusion-tab-heading::before {content: "\f013" !important;}
  /* Installation (tools) */
  .fusion-tabs .tab-content .fusion-mobile-tab-nav:nth-child(3) .fusion-tab-heading::before {content: "\f7d9" !important;}
  /* Packaging (box) */
  .fusion-tabs .tab-content .fusion-mobile-tab-nav:nth-child(5) .fusion-tab-heading::before {content: "\f49e" !important;}
  /* Resources (file) */
  .fusion-tabs .tab-content .fusion-mobile-tab-nav:nth-child(7) .fusion-tab-heading::before {content: "\f15c" !important;}
  /* Media (play) */
  .fusion-tabs .tab-content .fusion-mobile-tab-nav:nth-child(9) .fusion-tab-heading::before {content: "\f144" !important;}

  .abp-pg__main a.fusion-lightbox {
    pointer-events: none;
  }
  .col5 {padding-bottom:10px;}
  .product-logo {max-width: 100% !important;}

  .single-post #main h3 {font-size: 1.33em !important; margin-bottom: 5px;}

  .home-post-image[style], .post-image[style] {--awb-aspect-ratio: 2 / 1 !important;}

}

body.search-results #main #content {margin-bottom:0px !important;}
body.single-product #main #content {margin-bottom:0px !important;}
body.single-post #main #content {margin-bottom:0px !important;}
body.page #main #content {margin-bottom:0px !important;}

.ilightbox-holder.dark {background-color:#fff !important;}

/* above Tablet */
@media (min-width: 1025px) {
	.edu-renderings-list .si-resource-list, .si-rendering-list {column-count: 2;}
  .data-sheet-list > p {display: block; text-align: left;}
}

.data-sheet-list {
    display:flex;
    flex-direction:column;
    gap:10px;
}

.tab-content ul.nav-tabs:empty {
    display: none;
}

.nolinebreak {
  white-space: nowrap;
}

@media (min-width: 767px) {
	.product-logo img {max-width:350px;}
  body.postid-1016 .product-logo img {max-width:325px;}
  body.postid-1005 .product-logo img {max-width:320px;}
  body.postid-1008 .product-logo img {max-width:315px;}
  body.postid-1017 .product-logo img {max-width:300px;}
  body.postid-2162 .product-logo img {max-width:270px;}
  body.postid-1014 .product-logo img, body.postid-2936 .product-logo img {max-width:260px;}
  body.postid-1013 .product-logo img {max-width:240px;}
}


.single-product .woocommerce-product-details__short-description .video-shortcode {
    max-width: 250px;
    margin: 0 auto;
}

.single-product.postid-2162 .woocommerce-product-details__short-description .video-shortcode:first-of-type {
  max-width: 450px;
}

.instruction-image-holder {
    display: block;
    float: right;
    position: relative;
}
.instruction-image-holder img {width:100%;}



@media (min-width: 1025px) {
	.instruction-image-holder {max-width:25%;}
  .postid-2162 .tab-content .video-shortcode {max-width: 50%;}
}



