/* Keep homepage media inside its headline section, independent of older cached styles. */
.apm-home-hero {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: #20282b !important;
}
.apm-home-hero .fullscreen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.apm-home-hero .fullscreen-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.apm-home-hero .fullscreen-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
  pointer-events: none;
}
.apm-home-hero > .container {
  position: relative;
  z-index: 1;
}
.apm-home-hero .breadcrumb_iner {
  height: 475px;
}
.apm-home-hero .breadcrumb_iner_item {
  padding: 44px 0;
  text-align: center;
}
.apm-home-hero .apm-video-toggle {
  display: block;
  margin: 18px auto 0;
}
.apm-home-hero .apm-video-toggle[hidden] { display: none; }
/* Product navigation must work on touchscreens and without hovering. */
.single_product_item .single_product_text a {
  opacity: 1;
  visibility: visible;
}
.single_product_item:focus-within .single_product_text a {
  opacity: 1;
  visibility: visible;
}
.apm-home-products { padding: 72px 0 56px; }
.apm-home-manufacturing { padding: 56px 0 72px; }
@media (max-width: 767px) {
  .apm-home-hero .breadcrumb_iner { height: 440px; }
  .apm-home-hero h1 { font-size: 30px; line-height: 1.35; }
  .apm-home-hero h1 small { display: inline-block; font-size: 20px; line-height: 1.5; }
  .apm-home-products { padding: 48px 0 32px; }
  .apm-home-manufacturing { padding: 32px 0 48px; }
}

/* Keep menu labels together and leave enough room for the full desktop menu. */
.main_menu .main-menu-item ul li .nav-link {
  white-space: nowrap;
  line-height: 1.4;
}
@media (min-width: 992px) {
  .main_menu .navbar-brand { flex: 0 0 auto; margin-right: 18px; }
  .main_menu .navbar-brand img { width: 132px; height: auto; }
  .main_menu .main-menu-item { min-width: 0; justify-content: flex-end !important; }
  .main_menu .navbar-nav { flex-wrap: nowrap; align-items: center; }
  .main_menu .navbar-nav > .nav-item { flex: 0 0 auto; }
  .main_menu .main-menu-item ul li .nav-link { padding: 30px 12px; font-size: 14px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .main_menu .navbar-brand { margin-right: 12px; }
  .main_menu .navbar-brand img { width: 112px; }
  .main_menu .main-menu-item ul li .nav-link { padding: 28px 8px; font-size: 13px; }
}

/* Consistent section rhythm without the old oversized empty bands. */
.section_padding { padding: 80px 0; }
.section_tittle { margin-bottom: 36px; }
.apm-home-products { padding: 64px 0 32px; }
.apm-home-manufacturing { padding: 32px 0 64px; }
.apm-home-intro { margin-bottom: 32px; }
.apm-home-intro h2 { margin-bottom: 12px; }
.apm-home-intro h4 { margin-bottom: 16px; }
.apm-home-intro p + p { margin-top: 12px; }
.single_product_item { margin-bottom: 28px; }
.single_product_item .single_product_text,
.single_product_item:hover .single_product_text { padding: 20px 0; }
.single_product_item .single_product_text h4 { margin-bottom: 8px; line-height: 1.4; }
.single_product_item .single_product_text h3 { margin-bottom: 8px; line-height: 1.5; }
.single_product_item .single_product_text a { margin-top: 10px; line-height: 1.5; }
#common-questions { padding: 64px 0; }
#common-questions h2 { margin-bottom: 24px; }
#common-questions h3 { margin-bottom: 10px; line-height: 1.4; }
#common-questions p { line-height: 1.8; }
.footer_part { padding: 64px 0 24px; }
.footer_part .single_footer_part h4 { margin-bottom: 16px; }
.footer_part .copyright_part { margin-top: 32px; }
.apm-contact-page #products { padding: 64px 0 24px; }
.apm-contact-page #products .section_tittle { margin-bottom: 0; }
.apm-contact-page .contact-info { margin-bottom: 24px; }
.apm-contact-page .contact-info h4 { line-height: 1.6; }
.apm-contact-page #request-pricing { padding: 24px 0 48px; }
.apm-contact-page #request-pricing h2 { margin-bottom: 16px; }
.apm-contact-page .contact-section { padding-top: 0; }
.apm-contact-page .contact-section iframe { display: block; }
@media (max-width: 767px) {
  .section_padding { padding: 48px 0; }
  .section_tittle { margin-bottom: 24px; }
  .apm-home-products { padding: 40px 0 16px; }
  .apm-home-manufacturing { padding: 24px 0 40px; }
  .apm-home-intro { margin-bottom: 24px; }
  .single_product_item { margin-bottom: 20px; }
  .single_product_item .single_product_text,
  .single_product_item:hover .single_product_text { padding: 16px 0; }
  #common-questions { padding: 44px 0; }
  .footer_part { padding: 44px 0 20px; }
  .footer_part .copyright_part { margin-top: 24px; }
  .apm-contact-page #products { padding: 44px 0 8px; }
  .apm-contact-page #request-pricing { padding: 20px 0 36px; }
}
/* Keep linked section headings clear of the sticky navigation. */
section[id] { scroll-margin-top: 104px; }
@media (max-width: 991px) { section[id] { scroll-margin-top: 116px; } }
