/* Local deterministic overrides for migrated localhost copy. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.tm-boxed-layout,
body.tm-stretched-layout,
body.container-100pr {
  padding: 0 !important;
  background: #fff !important;
}

body.tm-boxed-layout #wrapper,
body.tm-stretched-layout #wrapper,
body.container-100pr #wrapper,
#wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
}

body.container-100pr .container,
body.container-100pr .container-fluid,
body.tm-boxed-layout .container,
body.tm-boxed-layout .container-fluid {
  max-width: 100% !important;
}

/* If frontend JS fails, do not keep the page hidden behind preloader/animation states. */
#preloader {
  display: none !important;
}

.wpb_animate_when_almost_visible {
  opacity: 1 !important;
}

/* Fallback for Revolution Slider on localhost when init scripts are blocked/fail. */
rs-module-wrap,
rs-module,
rs-slides,
rs-slide {
  visibility: visible !important;
  opacity: 1 !important;
}

rs-module-wrap {
  min-height: 420px;
}

/* Prevent Ultimate VC background helper layers from covering content when JS init fails. */
.upb_bg_img {
  display: none !important;
}

/* WPBakery fallback: render full-width rows even if vc_rowBehaviour JS doesn't complete. */
.vc_row[data-vc-full-width="true"],
.vc_row[data-vc-full-width-init="false"],
.vc_row.vc_hidden[data-vc-full-width="true"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Imported VC custom CSS references external demo backgrounds over plain HTTP.
   Remap to the local uploaded copy to preserve original design. */
[class*="vc_custom_160753"] {
  background-image: url("/site/wp-content/uploads/2019/09/iconbox-bg.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

/* Footer map row placed inside footer content. */
.sequimed-map-row {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #21202e;
}

.sequimed-map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 767px) {
  .sequimed-map-embed iframe {
    height: 240px;
  }
}
