.page-node-type-parallax .pane-page-content {
  padding-top: 80vh;
  padding-bottom: 80vh;
}

.page-node-type-parallax #block-javali-new-theme-local-tasks {
  z-index: 3;
}

.page-node-type-parallax .parallax-wrapper {
  margin-top: 10vh;
  margin-left: auto;
  margin-right: auto;
  max-width: 55vw;
}

.page-node-type-parallax .parallax-draft-back a {
  display: inline-block;
  padding: 5px 20px 7px;
  color: white;
  font-size: 13px;
  font-family: var(--title-font);
  line-height: 20px;
  background-color: #000000;
  border: 0px solid #000000;
  background-color: #000000;
}

.page-node-type-parallax .parallax-draft-back {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 25;
  margin: auto;
}

.page-node-type-parallax .parallax-container {
  padding-top: 50vh;
  padding-bottom: 50vh;
}

.page-node-type-parallax .parallax-container {
  margin-left: 0px !important;
}

.page-node-type-parallax .parallax-text {
  width: 1120px;
}

.page-node-type-parallax .parallax-text p {
  z-index: 3;
}

.page-node-type-parallax .parallax-top-image {
  left: 70%;
  z-index: 2;
}

.page-node-type-parallax .parallax-bottom-image {
  left: 20%;
  z-index: 2;
}

#main-content .parallax-text p,
#main-content .parallax-text {
  color: black;
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: var(--title-font);
  padding-bottom: 50px;
  position: relative;
  z-index: 2;
}

#main-content .parallax-text {
  padding: 3rem 2rem;
}

.parallax-text p {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

.parallax-container .image.section img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}

.parallax-container {
  margin-bottom: 50px;
  position: relative;
  text-align: center;
}

.node-type-landing-page .content-main .field-name-body .parallax-text p,
body .content-main .text .parallax-text p,
.node-type-story-item .content-main .story-section .parallax-text p,
.node-type-story-item .content-main .story-section .parallax-text,
.content-main .parallax-text p,
.content-main .parallax-text {
  color: #fff;
  font-size: 30px;
  line-height: 40px;
  font-family: var(--title-font);
  padding-bottom: 50px;
  position: relative;
  z-index: 2;
}

.content-main .parallax-text p {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

.parallax-container {
  margin: auto;
  position: relative;
  bottom: -100px;
  opacity: 0;
  margin-bottom: 100px;
  z-index: -1;
}

/* new con */

.parallax-top-image {
  display: inline-block;
  z-index: 1;
  position: absolute;
  width: 200px;
  height: 200px;
  left: 70%;
  top: -125px;
}

.parallax-bottom-image {
  display: inline-block;
  z-index: 1;
  position: absolute;
  left: 50px;
  width: 200px;
  height: 200px;
  bottom: -160px;
}

.parallax-container .image.section {
  position: absolute;
}

.parallax-wrapper {
  position: relative;
}

.parallax-container.grey {
  background-color: var(--grey-extra-light);
}

.parallax-container {
  margin-bottom: 0;
  bottom: 0;
  transform: translateY(100px);
  opacity: 1;
}

.javali-parallax-preview {
  z-index: 2;
  position: relative;
}

@media all and (min-width: 1120px) {
  .story-section .parallax-container,
  .page-node-type-landing-page .parallax-container {
    background-color: transparent;
    width: 742px;
    padding: 0 189px;
    background-color: var(--grey-extra-light);
  }
}

@media (max-width: 767px) {
  .parallax-top-image,
  .parallax-bottom-image {
    width: 170px;
    height: 170px;
  }
  .parallax-top-image {
    right: 0;
    left: unset;
  }

  .parallax-bottom-image {
    left: 0;
    bottom: -175px;
  }
}

@media screen and (min-width: 1921px) {
  .story-section .parallax-container,
  section .parallax-container,
  .page-node-type-landing-page .parallax-container {
    width: 850px;
    padding: 0 325px;
  }

  .parallax-wrapper .image {
    width: 300px;
    height: 300px;
  }

  .parallax-top-image {
    left: unset;
    right: -50px;
  }

  #main-content .parallax-text p,
  #main-content .parallax-text {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .parallax-bottom-image {
    left: -50px;
  }
}

@media screen and (min-width: 3441px) {
  .story-section .parallax-container,
  section .parallax-container,
  .page-node-type-landing-page .parallax-container {
    width: 1275px;
    padding: 0 480px;
  }

  .parallax-wrapper .image {
    width: 450px;
    height: 450px;
  }

  .parallax-top-image {
    left: unset;
    right: -75px;
  }

  #main-content .parallax-text p,
  #main-content .parallax-text {
    font-size: 3.75rem;
    line-height: 4.5rem;
  }

  .parallax-bottom-image {
    left: -75px;
  }
}
