/* Grid */
.process-number {
  width: 30px;
  height: 30px;
  background-color: #79b632;
  color: #ffffff;
  padding: 0 5px 0 5px;
  text-align: center;
  margin-top: 0px;
}
.fixed-process-number {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 30px;
  height: 30px;
  background-color: #79b632;
  color: #ffffff;
  padding: 0 5px 0 5px;
  text-align: center;
}

.arrow-down,
.arrow-up {
  position: relative;
  height: 0px;
  z-index: -1;
}

.container-arrow-right .field--type-image,
.container-arrow-left .field--type-image {
  position: relative;
  z-index: 0;
}

.container-arrow-right .field--type-image img,
.container-arrow-left .field--type-image img {
  position: relative;
  z-index: 1;
}

.container-arrow-right .field--type-image .field-item {
  position: relative;
  z-index: 1;
}

.container-arrow-right .field--type-image:before {
  content: url(../svg/process.svg);
  position: absolute;
  bottom: 95%;
  width: 200px;
  height: auto;
  left: 70%;
  z-index: 0;
}
.container-arrow-left .field--type-image:before {
  content: url(../svg/process.svg);
  position: absolute;
  bottom: 95%;
  width: 200px;
  height: auto;
  left: 8%;
}

.container-arrow-left .field--type-image:after {
  content: url(../svg/process-arrow.svg);
  position: absolute;
  top: 95%;
  left: 8%;
  width: 200px;
  height: auto;
}
/*** ARROW DOWN ***/
.arrow-down:after {
  content: url(../svg/process-arrow.svg);
  position: absolute;
  top: 95%;
  left: 40%;
  width: 20%;
  height: auto;
}
/*** ARROW UP ***/
.arrow-up:after {
  content: url(../svg/process-arrow.svg);
  position: absolute;
  bottom: 100%;
  right: 40%;
  width: 20%;
  height: auto;
  transform: rotate(180deg);
  transform-box: fill-box;
  transform-origin: center;
}
/*** ARROW RIGHT ***/
.arrow-right {
  position: absolute;
  width: 60px;
  z-index: -1;
  left: 100%;
  top: 5%;
}
.arrow-right:after {
  content: url(../svg/process-arrow-horz.svg);
}
/*** ARROW LEFT ***/
.arrow-left {
  position: absolute;
  width: 60px;
  z-index: -1;
  right: 100%;
  top: 21%;
  transform: rotate(180deg);
  transform-box: fill-box;
  transform-origin: center;
}
.arrow-left:after {
  content: url(../svg/process-arrow-horz.svg);
}
/*
.arrow-up, .arrow-down, .container-arrow-left:before, .container-arrow-right:before{
    display: none;
}
*/
@media screen and (max-width: 1024px) {
  .arrow-right,
  .arrow-left,
  .arrow-up,
  .arrow-down,
  .container-arrow-left:before,
  .container-arrow-right .field--type-image:before,
  .container-arrow-left .field--type-image:before,
  .container-arrow-left .field--type-image:after {
    display: none;
  }
}
@media screen and (min-width: 1025px) {
  .process-number {
    margin-top: 30px;
  }
  .arrow-right,
  .arrow-left {
    display: inline;
  }
  .arrow-up,
  .arrow-down {
    display: flex;
  }
  .arrow-right {
    top: -7%;
  }
  .arrow-left {
    top: 8%;
  }
  .container-arrow-left:before {
    top: -80%;
    left: 10%;
  }
  .container-arrow-left:after {
    bottom: 11%;
  }

  .container-process.paragraph--container > .field-section-items,
  .container-arrow-right.paragraph--container > .field-section-items,
  .container-arrow-left.paragraph--container > .field-section-items {
    position: static;
  }

  .container-process .field--name-field-right-column,
  .container-arrow-right .field--name-field-right-column,
  .container-arrow-left .field--name-field-right-column {
    position: relative;
    z-index: 1;
  }
}

@media screen and (min-width: 1201px) {
  .process-number {
    margin-top: 50px;
  }

  /*** ARROW UP ***/
  .arrow-up:after {
    bottom: 100%;
    right: 40%;
    width: 20%;
  }
  /*** ARROW RIGHT ***/
  .arrow-right {
    width: 60px;
    z-index: -1;
    left: 100%;
    top: 5%;
  }
  /*** ARROW LEFT ***/
  .arrow-left {
    width: 60px;
    right: 100%;
    top: 21%;
  }
  .arrow-right,
  .arrow-left {
    display: inline;
  }
  .arrow-up,
  .arrow-down {
    display: flex;
  }
  .container-arrow-left:after {
    bottom: 15%;
  }
}

@media screen and (min-width: 1440px) {
  .process-number {
    margin-top: 80px;
  }
  /*** ARROW UP ***/
  .arrow-up:after {
    bottom: 100%;
    right: 40%;
    width: 20%;
  }
  /*** ARROW RIGHT ***/
  .arrow-right {
    width: 60px;
    z-index: -1;
    left: 100%;
    top: 10%;
  }
  /*** ARROW LEFT ***/
  .arrow-left {
    width: 60px;
    right: 100%;
    top: 21%;
  }
  .container-arrow-left:after {
    bottom: -18%;
  }
}

@media (min-width: 1024px) {
  .process-grid .row {
    gap: 60px;
  }

  .process-grid .col-6 {
    width: calc(50% - 30px);
  }
  .process-grid .field-section-item:nth-child(2) .row,
  .container-arrow-right .row {
    flex-direction: row-reverse;
  }
}

@media (max-width: 1023px) {
  .process-grid .field-section-items .container .row > *,
  .container-process .container .row > *,
  .container-arrow-right .container .row > *,
  .container-arrow-left .container .row > * {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .container-process .container .row,
  .container-arrow-right .container .row,
  .container-arrow-left .container .row {
    position: relative;
  }

  .container-process .container .process-number,
  .container-arrow-right .container .process-number,
  .container-arrow-left .container .process-number {
    position: absolute;
    top: 1rem;
  }

  .container-arrow-left:after {
    display: none;
  }
}
