.steps__tabs-box {
  width: 100%;
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.steps__tabs-triggers {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
  border-bottom: 0.125rem solid #001c54;
}

.steps__tabs-trigger {
  color: #001c54;
  background-color: transparent;
  display: flex;
  align-items: center;
  padding-bottom: 0.625rem;
}

.steps__tabs-triggers .steps__tabs-trigger--2 {
  margin-left: 2.125rem;
}

.steps__tabs-trigger--active {
  position: relative;
}

.steps__tabs-trigger--active::after {
  content: "";
  position: absolute;
  bottom: -0.15rem;
  width: 100%;
  height: 0.125rem;
  background: #d00000;
  left: 0;
}

.steps__tabs-trigger-text {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2.4375rem;
  color: #001c54;
  text-transform: capitalize;
}

.steps__tabs-trigger--active .steps__tabs-trigger-text {
  color: #d00000;
}

.steps__tabs-content {
  width: 100%;
  /* height: 27.5rem; */
  position: relative;
  overflow: hidden;
}

.steps__tabs-content-item {
  width: 100%;
  height: 27.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.steps__tabs-content-item--active {
  display: block;
}

.steps__tabs-content-box {
  width: 100%;
  height: 100%;
  position: relative;
}

.steps__tabs-content-step {
  width: 26rem;
  height: 16rem;
  position: absolute;
  opacity: 0;
  transform: translateX(20%);

  transition: all 0.5s;
}

.steps__tabs-content-step--1 {
  background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
    url(/wp-content/themes/malta/img/steps-update/step-1.svg) 4.3rem 1.75rem / 12% 8rem no-repeat;
  left: -2.6rem;
  top: 0.1rem;
}

.steps__tabs-content-step--2 {
  background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
    url(/wp-content/themes/malta/img/steps-update/step-2.svg) 2.6rem 2.6rem / 21% 8rem no-repeat;
  top: 12rem;
  left: 11rem;
}

.steps__tabs-content-step--3 {
  background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
    url(/wp-content/themes/malta/img/steps-update/step-3.svg) 3.5rem 1.75rem / 21% 8rem no-repeat;
  left: 26rem;
}

.steps__tabs-content-step--4 {
  background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
    url(/wp-content/themes/malta/img/steps-update/step-4.svg) 2.7rem 2.5rem / 21% 8rem no-repeat;
  top: 12.1rem;
  left: 39rem;
}

.steps__tabs-content-step--5 {
  background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
    url(/wp-content/themes/malta/img/steps-update/step-5.svg) 3.9rem 1.75rem / 20% 8rem no-repeat;
  left: 54.1rem;
  top: 0.1rem;
}

.steps__tabs-content-item--active .steps__tabs-content-step--1 {
  animation: appearing 0.5s ease-in-out forwards;
}

.steps__tabs-content-item--active .steps__tabs-content-step--2 {
  animation: appearing 0.5s forwards 0.3s;
}

.steps__tabs-content-item--active .steps__tabs-content-step--3 {
  animation: appearing 0.5s forwards 0.6s;
}

.steps__tabs-content-item--active .steps__tabs-content-step--4 {
  animation: appearing 0.5s forwards 0.9s;
}

.steps__tabs-content-item--active .steps__tabs-content-step--5 {
  animation: appearing 0.5s forwards 1.2s;
}

@keyframes appearing {
  0% {
    opacity: 0;
    transform: translateX(20%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.steps__tabs-content-step-icon-text-box {
  position: absolute;
  top: 3.95rem;
  right: 5.65rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.steps__tabs-content-step-icon-text-box--2 {
  top: 5rem;
  right: 7.3rem;
}

.steps__tabs-content-step-icon-text-box--3 {
  right: 6.4rem;
}

.steps__tabs-content-step-icon-text-box--4 {
  top: 5rem;
  right: 7rem;
}

.steps__tabs-content-step-icon-text-box--5 {
  right: 6rem;
}

.steps__tabs-content-step-icon {
  width: 3.875rem;
  height: 3.875rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-bottom: 1rem;
}

.steps__tabs-content-step-icon--1 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-1.svg);
}

.steps__tabs-content-step-icon--2 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-2.svg);
}

.steps__tabs-content-step-icon--3 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-3.svg);
}

.steps__tabs-content-step-icon--4 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-4.svg);

  margin-bottom: 0.99rem;
}

.steps__tabs-content-step-icon--5 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-5.svg);
}

.steps__tabs-content-step-icon--6 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-6.svg);
}

.steps__tabs-content-step-icon--7 {
  background-image: url(/wp-content/themes/malta/img/steps-update/icon-7.svg);
}

.steps__tabs-content-step-text {
  font-weight: 700;
  font-size: 1.12rem;
  color: #001c54;
  text-align: center;
  line-height: 120%;
  width: 10.75rem;
}

.steps__tabs-content-step-text--1 {
  width: 11.5rem;
}

/*-------------Fr/De-------------*/
.steps__tabs-box.de .steps__tabs-content-step-icon-text-box,
.steps__tabs-box.fr .steps__tabs-content-step-icon-text-box {
  right: 2.9rem;
}

.steps__tabs-box.de .steps__tabs-content-step-icon-text-box--2,
.steps__tabs-box.fr .steps__tabs-content-step-icon-text-box--2 {
  right: 3.6rem;
}

.steps__tabs-box.de .steps__tabs-content-step-icon-text-box--3,
.steps__tabs-box.fr .steps__tabs-content-step-icon-text-box--3 {
  right: 2.7rem;
}

.steps__tabs-box.de .steps__tabs-content-step-icon-text-box--4,
.steps__tabs-box.fr .steps__tabs-content-step-icon-text-box--4 {
  right: 3.3rem;
}

.steps__tabs-box.de .steps__tabs-content-step-icon-text-box--5,
.steps__tabs-box.fr .steps__tabs-content-step-icon-text-box--5 {
  right: 2.3rem;
}

.steps__tabs-box.de .steps__tabs-content-step-text,
.steps__tabs-box.fr .steps__tabs-content-step-text {
  width: 17rem;
}

@media (max-width: 991px) {
  .steps__tabs-box-mobile {
    padding-top: 0.5rem;

    height: 52rem;
  }

  .steps__tabs-triggers-mobile {
    width: 100%;
    border-bottom: 0.0625rem solid #001c54;
    display: flex;
    align-items: center;
    position: relative;
    color: #001c54;
    background-color: transparent;
    z-index: 10;
  }

  .steps__tabs-trigger-mobile--1,
  .steps__tabs-trigger-mobile--2 {
    margin-left: 2.125rem;
    padding-bottom: 0.28rem;
  }

  .steps__tabs-trigger-mobile--active {
    position: relative;
  }

  .steps__tabs-trigger-mobile--active::after {
    content: "";
    position: absolute;
    bottom: -0.05rem;
    width: 110%;
    height: 0.0625rem;
    background: #c50000;
    left: -5%;
  }

  .steps__tabs-trigger-text-mobile {
    font-family: "Roboto";
    font-size: 0.75rem;
    font-weight: 700;
    line-height: normal;
    color: #001c54;
    cursor: pointer;
  }

  .steps__tabs-trigger-mobile--active .steps__tabs-trigger-text-mobile {
    color: #d00000;
  }

  .steps__tabs-content-item-mobile {
    width: 17.25rem;
    height: 42.125rem;

    display: none;
  }

  .steps__tabs-content-item-mobile--active {
    display: block;
  }

  .steps__tabs-content-step {
    width: 20rem;
    height: 10.5rem;
  }

  .steps__tabs-content-step--1 {
    background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
      url(/wp-content/themes/malta/img/steps-update/step-1.svg) 3.1rem 0.05rem/10% 7.5rem no-repeat;

    left: -0.313rem;
    top: -0.563rem;
  }

  .steps__tabs-content-step--2 {
    background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
      url(/wp-content/themes/malta/img/steps-update/step-2.svg) 2.4rem 0.25rem / 19% 7rem no-repeat;
    top: 7.5rem;
    left: 5.5rem;
  }

  .steps__tabs-content-step--3 {
    background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
      url(/wp-content/themes/malta/img/steps-update/step-3.svg) 2.75rem -0.1rem/18.5% 7.2rem no-repeat;

    top: 16rem;
    left: -0.3rem;
  }

  .steps__tabs-content-step--4 {
    background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
      url(/wp-content/themes/malta/img/steps-update/step-4.svg) 2.5rem 0.05rem /19% 7.2rem no-repeat;

    top: 24.4rem;
    left: 5.2rem;
  }

  .steps__tabs-content-step--5 {
    background: url(/wp-content/themes/malta/img/steps-update/rectangle.svg) 0 0 / contain no-repeat,
      url(/wp-content/themes/malta/img/steps-update/step-5.svg) 2.85rem -0.2rem /18% 7rem no-repeat;

    top: 33rem;
    left: -0.3rem;
  }

  .steps__tabs-content-item-mobile--active .steps__tabs-content-step--1 {
    animation: appearing 0.5s ease-in-out forwards;
  }

  .steps__tabs-content-item-mobile--active .steps__tabs-content-step--2 {
    animation: appearing 0.5s forwards 0.3s;
  }

  .steps__tabs-content-item-mobile--active .steps__tabs-content-step--3 {
    animation: appearing 0.5s forwards 0.6s;
  }

  .steps__tabs-content-item-mobile--active .steps__tabs-content-step--4 {
    animation: appearing 0.5s forwards 0.9s;
  }

  .steps__tabs-content-item-mobile--active .steps__tabs-content-step--5 {
    animation: appearing 0.5s forwards 1.2s;
  }

  @keyframes appearing {
    0% {
      opacity: 0;
      transform: translateX(20%);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .steps__tabs-content-step-icon-text-box {
    top: 2.5rem;
    right: 4rem;
  }

  .steps__tabs-content-step-icon-text-box--2 {
    top: 2.55rem;
    right: 5.15rem;
  }

  .steps__tabs-content-step-icon-text-box--3 {
    top: 2.3rem;
    right: 5rem;
  }

  .steps__tabs-content-step-icon-text-box--4 {
    top: 2.5rem;
    right: 5rem;
  }

  .steps__tabs-content-step-icon-text-box--5 {
    top: 2.1rem;
    right: 4.8rem;
  }

  .steps__tabs-content-step-icon {
    width: 2.625rem;
    height: 2.625rem;

    margin-bottom: 0.75rem;
  }

  .steps__tabs-content-step-icon--4 {
    margin-bottom: 0.6rem;
  }

  .steps__tabs-content-step-text {
    font-size: 0.825rem;
    letter-spacing: -0.015rem;
  }

  /*-------------Fr/De-------------*/
  .steps__tabs-box-mobile.de .steps__tabs-content-step-text,
  .steps__tabs-box-mobile.fr .steps__tabs-content-step-text {
    font-size: 0.688rem;
  }
}