/* EHD Top Navigation */

.ehd-top { 
  background: #eee; 
  width: 100%; 
  height: 46px; 
  position: fixed; 
  transition: top 0.3s; 
  top: 56px; 
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1) !important; 
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ehd-page-top { 
  padding-top: 102px; 
}


.ehd-nav-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; 
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  height: 100%;
}

.ehd-dropdown {
  position: relative;
  width: 220px; 
  font-family: "Open Sans", sans-serif; 
  line-height: 18px; 
  font-size: 14px; 
  display: flex;
  align-items: center;
  height: 100%;
}

.ehd-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  background: #fff; 
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: #333;
  font-weight: 600; 
  border-radius: 4px;
}

.selected-text {
  flex-grow: 1; 
  text-align: center; 
  white-space: nowrap;  
  overflow: hidden;
  text-overflow: ellipsis; 
}

.chevron {
  font-size: 10px;
  color: #666;
}

.ehd-dropdown-menu {
  position: absolute;
  top: calc(100% - 11px); 
  left: 0;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff;
  border-radius: 0 0 4px 4px; 
  border: 1px solid #ccc; 
  border-top: none;
  display: none;
  z-index: 1000;
  box-shadow: 0 10px 16px -4px rgba(0, 0, 0, 0.12), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-height: 45dvh; 
  overflow-y: auto;  
}

@media (min-width: 769px) {
  .ehd-dropdown-menu {
    max-height: 500px; 
  }
}

.ehd-dropdown-menu.open {
  display: block;
}

.ehd-option {
  display: block;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background-color 0.3s ease;
}

.ehd-option:hover {
  background: #f1f1f1;
  color: #0396e6;
}

.ehd-option.is-active {
  display: none !important;
}

@media (max-width: 768px) {
  .ehd-nav-cluster {
    gap: 8px; 
    padding: 0 10px;
  }
  
  .ehd-dropdown {
    width: 32%; 
    font-size: 12px;
  }

  .ehd-dropdown-toggle {
    padding: 4px 6px; 
    gap: 4px;
    font-size: 12px;
  }
  
  .ehd-option {
    padding: 10px 10px; 
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ehd-dropdown-toggle {
    font-size: 11px;
  }
}

/* EHD Pages */

.ehd-content-col { width:314px; margin-left:32.5px; margin-right:32.5px; float:left;}

.ehd-content-col h2, .ehd-product-content h2 { border-bottom:none; line-height:30px; text-transform: none; font-size:22px; } 

.ehd-content-col p { font-size:14px; line-height:20px; }

.ehd-product-content .button { text-decoration:none; }

.ehd-product-content { width:auto; position:relative }

.product-col-left { width:auto; float:left; margin-right:50px; }
.product-col-right { width:400px; float:left; }
.product-col-right img { padding-top:10px; padding-bottom:10px; }

.ehd-product-content ul li, .content-col-1 ul li { margin-bottom:10px;  opacity:0.8 }
.ehd { padding-top:73px; }
.ehd h1 { margin-top:0; padding-top:0; margin-bottom:30px; }
.content-h1 { border:none; margin-bottom:20px }

.ehd a, .ehd-content-col a { text-decoration:none; }
.ehd img { transition:0.3s }
.ehd img:hover { opacity:0.8 }
.button:hover { color:#fff!important; }

.ehd-contents { padding-top:60px; }

.ehd-content-col { margin-bottom:60px; }

.ehd-content-col-spacing-30px { margin-top:30px; margin-bottom:15px!important; }

.resources-content h2 { margin-bottom:-15px}

.ehd-content-button{
    display:inline-block;
    padding:5px 10px;
    border:1px solid #0396e6;
    color:#000;
    text-decoration:none;
	font-family: "Open Sans", sans-serif;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    transition:0.3s;
	margin-right:10px;
}
.ehd-content-button:hover { background:#0396e6; color:#fff!important; }

.resource-img { margin-bottom:20px; width:60%; }

.ehd-product-brochure-resources h2 { font-weight:bold; margin-bottom:10px }
.ehd-product-brochure-resources h3 { font-family: "Open Sans", sans-serif; line-height:20px; font-size:16px; color:#000; font-weight:normal; margin-bottom:10px; }

.resources-grid{
    column-count:3;
    column-gap:40px;
	margin-left:32.5px; margin-right:32.5px; 
}

.resource-category{
    break-inside:avoid;
    margin-bottom:40px;
}

/* Tablet */
@media (max-width: 991px){
    .resources-grid{
        column-count: 2;
        column-gap: 30px;
        margin: 0 20px;
    }
}

/* Mobile */
@media (max-width: 767px){
    .resources-grid{
        column-count: 1;
        column-gap: 0;
        margin: 0 15px;
    }

    .resource-category{
        margin-bottom: 30px;
    }
}

.resource-category h2 { font-weight:bold; margin-bottom:10px; border-bottom:none; line-height:30px; text-transform: none; font-size:22px;}
h3, .resource-category h3 { font-family: "Open Sans", sans-serif; line-height:20px; font-size:16px; color:#000; font-weight:normal; margin-bottom:10px; }

.resources-spacing { margin-bottom:20px; }

.youtube-video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.youtube-video-container::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.youtube-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-video {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9; 
}

.youtube-video img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    pointer-events: none;
}

.youtube-video iframe {
    width: 100%;
    height: 100%; 
    display: block;
}

.ehd-video p { font-family: "Open Sans", sans-serif; font-size:14px; font-weight:bold; } 

.video-copyright-note { font-family: "Open Sans", sans-serif; font-size:11px; margin-top:-10px }

.ehd-product-content-img { margin-top:40px; margin-bottom:20px; }

.ehd-product-video-container { width:600px; margin:20px auto; }

.content-col-1 h2 { display:block; margin-top:10px; margin-bottom:-10px; border-bottom:none; line-height:30px; text-transform: none; font-size:22px; }

.ehd-2-column-container, .ehd-3-column-container { position:relative; }
.ehd-2-column-col { width:45%; float:left; }
.ehd-2-column-col-with-spacing { width:45%; float:left; margin-left:2.5%; margin-right:2.5% }
.col-spacing-left { margin-left:10%; }

.ehd-content-2-column-col { width:40%; margin-left:5%; margin-right:5%; float:left; }

.ehd-content-2-column-col img { margin-top:10px; margin-bottom:10px; }
.ehd-content-2-column-col h3 { font-family: "Open Sans", sans-serif; line-height:20px; font-size:18px; color:#000; font-weight:bold; margin-bottom:10px; }
 
.ehd-content-4-column-wrapper {
  box-sizing: border-box;
  width: 100%;
}

.ehd-content-4-column-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

.ehd-content-4-column-col {
  box-sizing: border-box;
  float: left;
  width: 25%; 
  padding-left: 20px;  
  padding-right: 20px; 
  margin: 0;
}

.ehd-content-4-column-col {
  border-right: 1px solid #e2e8f0; 
}

.ehd-content-4-column-col a { text-decoration:underline; transition:0.3s}
.ehd-content-4-column-col a:hover { text-decoration:none; }

.ehd-content-3-column-col {
  box-sizing: border-box;
  float: left;
  width: 33.33333333333333%; 
  padding-left: 20px;  
  padding-right: 20px; 
  margin: 0;
}

.ehd-content-3-column-col {
  border-right: 1px solid #e2e8f0; 
}

.ehd-content-3-column-col a { text-decoration:underline; transition:0.3s}
.ehd-content-3-column-col a:hover { text-decoration:none; }

.ehd-last-col { border-right: none !important;  }

.content-img img { margin-top:30px; margin-bottom:30px }
.content-img img:hover { opacity:1!important; }

.content-h3 { font-family: "Open Sans", sans-serif; line-height:20px; font-size:18px; color:#000; font-weight:bold; margin-bottom:10px;  }

.ehd-40percent-col { width:40%; float:left; }
.ehd-60percent-col { width:60%; float:left; }
.ehd-50percent-col { width:50%; float:left; }

.content-container table a { color:#000; opacity:0.8; text-decoration:underline; transition:0.3s; font-family: "Open Sans", sans-serif;}
.content-container table a:hover { text-decoration:none; opacity:1;  }

.target-pests { border:1px solid #eee; padding:10px; margin:10px; width:100px; text-align:center; float:left; }
.target-pests span { display:block; font-family: "Open Sans", sans-serif; font-size:14px; line-height:18px; margin-top:10px; }
.target-pests img { max-width:40px; height:auto; }
.target-pests img:hover { opacity:1!important; }

.date-info { opacity:0.5; }

.news-and-articles-thumbnail-img { margin-top:10px; margin-bottom:10px; }

.news-and-articles-thumbnail-img:hover { opacity:1!important }

.product-page-button { text-decoration:none!important; }

.ehd-2-col-centerized { width:900px; margin:10px auto; }

.margin-right-50px-desktop-only { margin-right:50px; }

.small-txt { font-size:12px; line-height:16px; margin:10px auto}

.small-txt a, .txt-link {  color:#000;    opacity: 0.8;
    text-decoration: underline;
    transition: 0.3s;
	font-family: "Open Sans", sans-serif; }
.small-txt a:hover, .txt-link:hover { text-decoration:none; }

.red { color:#ed1c24; opacity:1!important; font-weight:bold; }

.grey-row { background:#eee; }

.margin-right-20px-desktop-only { margin-right:20px; }

.ehd-product-content-col { float:left; width:362px; margin-right:26px; }
.ehd-product-content-col-last { float:left; width:362px; }
.ehd-product-page-resources-col { float:left; margin-right:100px; }

.product-page-h3 { font-family: "Open Sans", sans-serif; line-height:20px; font-size:18px; color:#000; font-weight:bold; margin-bottom:10px; }

@media screen and (max-width: 1250px) { 
	.content-container { width:900px; }
	.ehd-product-content-col, .ehd-product-content-col-last { float:none; margin:10px auto; }

}

@media screen and (max-width: 950px) { 
	.content-container { width:700px; }
	.ehd-2-col-centerized { width:600px; }
}

@media screen and (max-width: 768px) { 
	.content-container { width:90%; }
	.resource-img { width:100%; }
	.product-col-left { float:none; margin:0 auto }
	.product-col-right { width:100%; float:none;  margin:0 auto }
	.ehd-product-video-container { width:100%; }
	.ehd-2-column-col, .ehd-2-column-col-with-spacing { width:100%; float:none; margin:0 auto 30px auto; }
	.col-mobile-final-spacing { margin-bottom:0; }
	.margin-right-20px-desktop-only { margin:none; }
	.ehd-dropdown-menu {
    max-height: 500px; 
  }
	.ehd-content-2-column-col { float:none; margin:10px auto; width:100%; }
	
	.ehd-content-4-column-col, .ehd-content-3-column-col {
    width: 100%;
    float: none;
    padding: 20px 0;
  }
  .ehd-content-4-column-col:not(:last-child), .ehd-content-3-column-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e2e8f0; 
  }
	.ehd-last-col { border-bottom: none !important;  }
	.ehd-40percent-col, .ehd-60percent-col, .ehd-50percent-col {float:none; margin:10px auto; width:100%;}
	.ehd-2-col-centerized { width:90%; margin:10px auto; }
	.margin-right-50px-desktop-only { margin:10px auto }
	.ehd-product-page-resources-col { float:none; margin:0 auto }
}

/* Sub navigation */

.ehd-subpage-nav-background { 
  background: #ddf0f7; 
  padding: 20px 15px; 
}

.ehd-option.is-active {
  color: #000 !important;
  cursor: default;       
  pointer-events: none;  
}

.ehd-subpage-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 0 auto; 
  max-width: 1200px;
  flex-wrap: wrap; 
}

.ehd-subpage-nav .nav-title {
  font-weight: 700;
  color: #000;
  font-size: 20px;
  margin-right: 6px;
  font-family: "Open Sans", sans-serif; 
}

.ehd-subpage-nav .subnav-link {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
  transition: all 0.2s ease;
  white-space: nowrap; 
  padding-bottom: 2px; 
}

.ehd-subpage-nav .subnav-link:hover {
  color: #0396e6;
}

.ehd-subpage-nav .subnav-link.is-active {
  color: #0396e6;   
  font-family: "Raleway", sans-serif;
  font-weight: 600;  
  text-decoration: none;
  cursor: default;
  pointer-events: none; 
  border-bottom: 2px solid #0396e6; 
}

@media (max-width: 768px) {
  .ehd-subpage-nav {
    gap: 12px 20px; /* Reduces spacing on tablets/mobile (12px vertical spacing between wrapped rows, 20px horizontal) */
  }
  
  .ehd-subpage-nav .nav-title {
    width: 100%; /* Forces the main label to sit on its own dedicated top line centered */
    text-align: center;
    margin-right: 0;
    margin-bottom: 8px; /* Push the link grid down slightly */
    font-size: 18px; /* Slightly scaled down text for screens */
  }

  .ehd-subpage-nav .subnav-link {
    font-size: 15px; /* Optimizes readability scale for handheld viewports */
  }
}

@media (max-width: 480px) {
  .ehd-subpage-nav {
    gap: 14px 15px; /* Tighter layout grid for narrow mobile phones */
  }
  
  .ehd-subpage-nav .subnav-link {
    font-size: 14px; 
  }
}

