/* Overrides for behavior that WordPress plugins applied with JavaScript. Loaded last on every page. */

/* Divi entrance animations: show content without the animation script. */
.et_animated,
.et-waypoint:not(.et_pb_counters) {
  opacity: 1 !important;
}

/* Smart Slider single-slide banners, rendered without the slider script. */
ss3-force-full-width {
  opacity: 1;
  transform: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.n2-ss-slider .n2-ss-slide,
.n2-ss-slider .n2-ss-slide-background {
  transform: none !important;
}
.n2-ss-slider .n2-ss-layers-container,
.n2-ss-slider .n2-ss-static-slide {
  visibility: visible;
  opacity: 1;
}
.n2-ss-slider .n2-ss-layer-row-inner,
.n2-ss-slider .n2-ss-static-slide div[data-sstype=slide] {
  visibility: visible;
}

/* Google Maps embeds that replace the Divi map module. */
.et_pb_map .tim-map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Secure CRM form iframes are sized by iframe-resizer. */
iframe[data-crm-form] {
  display: block;
  width: 100%;
  border: 0;
}

/* Responsive video embeds (Divi used FitVids). */
.et_pb_video_box iframe,
.et_pb_text iframe[src*="youtube.com/embed"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.tim-html-sitemap {
  columns: 2 18rem;
}

/* Team Showcase revealed its grid with its own script. */
.wpm_main_template {
  display: block !important;
}

/* Smart Slider faded in post-loader backgrounds with its script. */
.n2-ss-feature-post-bg-loader .n2-ss-slide-background {
  opacity: 1;
}
