.ptx-parallax-enabled {
  position: relative;
  --ptx-parallax-offset: 0px;
  --ptx-parallax-base-y: 50%;
  --ptx-overlay-opacity: 0;
  background-position: center calc(var(--ptx-parallax-base-y) + var(--ptx-parallax-offset)) !important;
  transition: background-position 0.08s linear;
  will-change: background-position;
}

.ptx-parallax-enabled.ptx-overflow-hidden {
  overflow: hidden;
}

.ptx-parallax-enabled::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--ptx-overlay-opacity);
}

.ptx-parallax-enabled > .elementor-background-overlay,
.ptx-parallax-enabled > .elementor-container,
.ptx-parallax-enabled > .elementor-column-wrap,
.ptx-parallax-enabled > .elementor-widget-wrap,
.ptx-parallax-enabled > .e-con-inner,
.ptx-parallax-enabled > .e-con,
.ptx-parallax-enabled > .elementor-element-populated {
  position: relative;
  z-index: 1;
}

.ptx-parallax-enabled.ptx-parallax-fixed {
  background-attachment: fixed !important;
  background-position: center center !important;
}

.ptx-parallax-enabled[data-ptx-no-bg="1"] {
  outline: 2px dashed rgba(255, 145, 0, 0.4);
  outline-offset: -2px;
}

body.elementor-editor-active .ptx-parallax-enabled {
  transition: none;
}

@media (max-width: 1024px) {
  .ptx-parallax-enabled.ptx-disable-tablet {
    background-position: center center !important;
    background-attachment: scroll !important;
  }
}

@media (max-width: 767px) {
  .ptx-parallax-enabled.ptx-disable-mobile {
    background-position: center center !important;
    background-attachment: scroll !important;
  }
}


html.elementor-html .ptx-parallax-enabled,
body.elementor-editor-active .ptx-parallax-enabled {
  transition: none;
}

html.elementor-html .ptx-parallax-enabled,
body.elementor-editor-active .ptx-parallax-enabled {
  transition: none;
}

html.elementor-html .ptx-parallax-enabled[data-ptx-editor-preview="1"],
body.elementor-editor-active .ptx-parallax-enabled[data-ptx-editor-preview="1"] {
  background-size: calc(100% + 8px) auto !important;
}
