/*
 * Compatibility layer for the static HTML snapshot supplied with the project.
 * It replaces the layout/slider JS normally provided by WPBakery + Owl Carousel.
 */

/* The source snapshot stored viewport-specific values (e.g. 1665px / -212.5px).
 * Never reuse them literally on a different viewport. */
#home-business-copy > .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
#home-business-copy > .container > .row {
  margin-left: 0;
  margin-right: 0;
}
#home-business-copy > .container > .row > .vc_row:not([data-vc-full-width="true"]) {
  width: min(1240px, calc(100% - 30px));
  margin-left: auto !important;
  margin-right: auto !important;
}
#home-business-copy .vc_row[data-vc-full-width="true"] {
  box-sizing: border-box !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: max(15px, calc((100vw - 1240px) / 2)) !important;
  padding-right: max(15px, calc((100vw - 1240px) / 2)) !important;
}
#home-business-copy .vc_row-full-width {
  display: none !important;
}

/* Saved Owl Carousel markup. The browser snapshot already contains wrappers,
 * a transform from the old viewport. v1.3 removes the saved clone nodes at
 * template level and assets/js/theme.js runs the remaining slides as a lightweight carousel. */
#home-business-copy .owl-carousel {
  position: relative;
  display: block !important;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
}
#home-business-copy .owl-carousel .owl-wrapper-outer {
  width: 100%;
  overflow: hidden;
}
#home-business-copy .owl-carousel .owl-wrapper {
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}
#home-business-copy .owl-carousel .owl-item {
  float: none !important;
  width: 100% !important;
  display: none !important;
  margin: 0 !important;
}
#home-business-copy .owl-carousel .owl-item.sf-owl-active {
  display: block !important;
}
#home-business-copy .owl-carousel .owl-item.cloned {
  display: none !important;
}
#home-business-copy .owl-carousel .owl-nav {
  display: flex !important;
  pointer-events: none;
}
#home-business-copy .owl-carousel .owl-nav.disabled {
  display: none !important;
}
#home-business-copy .owl-carousel .owl-prev,
#home-business-copy .owl-carousel .owl-next {
  pointer-events: auto;
  cursor: pointer;
  font-size: 0 !important;
  line-height: 1;
  user-select: none;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  -webkit-appearance: none;
  appearance: none;
}

#home-business-copy .owl-carousel .owl-prev::after,
#home-business-copy .owl-carousel .owl-next::after {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 38px;
  font-weight: 300;
}
#home-business-copy .owl-carousel .owl-prev::after { content: "‹"; }
#home-business-copy .owl-carousel .owl-next::after { content: "›"; }
#home-business-copy .owl-carousel .owl-dots {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
#home-business-copy .owl-carousel .owl-dots.disabled {
  display: none !important;
}
#home-business-copy .owl-carousel .owl-dot {
  cursor: pointer;
}

/* Legacy animation classes were normally activated by vc-waypoints.js. Content
 * must remain visible even with that plugin removed. */
#home-business-copy .wpb_animate_when_almost_visible,
#home-business-copy .kd-animated,
#home-business-copy .fadeIn,
#home-business-copy .fadeInUp,
#home-business-copy .zoomIn {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation-name: none !important;
}

/* Preserve the old content width on normal Bootstrap/VC sections. */
#home-business-copy .vc_row.container,
#home-business-copy .vc_inner {
  box-sizing: border-box;
}

/* Images saved in the supplied page must not overflow on tablet/mobile. */
#home-business-copy .wpb_single_image img,
#home-business-copy .tt-image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1240px) {
  #home-business-copy .vc_row[data-vc-full-width="true"] {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

@media (max-width: 767px) {
  #home-business-copy > .container > .row > .vc_row:not([data-vc-full-width="true"]) {
    width: 100%;
  }
  #home-business-copy .vc_row[data-vc-full-width="true"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #home-business-copy .owl-carousel .owl-nav {
    display: none !important;
  }
}
