
[class*="bg-"]:not(.alert):not(.ce_rsce_twocolimagewall):not(.ce_rsce_fullwidthgallery):not(.badge) {
  padding: $basic-gutter 0px;

  @include media-breakpoint-down(md) {
    padding-left: 0rem;
    padding-right: 0rem;
  }

  > *:last-child {
    margin-bottom: 0px !important;
  }

  .content--element:first-child .row-mid-content {
    @include media-breakpoint-down(md) {
      padding-top: 0px;
    }
  }
}


.mod_article .ce_headline + div {
  margin-top: 0px;
}

.content--element {
  position: relative;

  &.content--box {
    z-index: 10;
    padding: 2rem;
  }

  &.border-top {
    padding-top: $basic-gutter;
    margin-top: $basic-gutter;
  }

  &.border-bottom {
    padding-bottom: $basic-gutter;
    margin-bottom: $basic-gutter;
  }
}

.content--box {
  @include content-box();
}

.ce_text {
  figure.float_above {
    text-align: center;
  }
}

.progress {
  background-color: var(--bs-gray-100);
}


&.start {
  .mod_pageimage {
    .page-image--holder {
      min-height: 75vh;
      @include media-breakpoint-up(md) {
        background-attachment: fixed;
      }
    }
  }
}

&:not(.start) {
  .mod_pageimage {
    .page-image--holder {
      min-height: rfs-value(275px);
      margin-bottom: 2rem;
    }
  }
}


.text--wrapper {
  min-height: 100%;

  &.with-image {
    @extend .row;

    &.image-right {
      flex-flow: row-reverse;

      .image {
        @extend .col-lg-6;

        @include media-breakpoint-down(md) {
          margin-top: 1rem;
        }
      }

      .text {
        @extend .col-lg-6;

        @include media-breakpoint-up(md) {
          @include padding-right(35px);
        }
      }
    }

    &.image-left {
      .image {
        @extend .col-lg-6;

        @include media-breakpoint-down(md) {
          margin-top: 1rem;
        }
      }

      .text {
        @extend .col-lg-6;

        @include media-breakpoint-up(md) {
          @include padding-left(35px);
        }
      }
    }
  }
}

.BodyScrollToTop {
  width: rfs-value(60px);
  height: rfs-value(60px);
  line-height: rfs-value(55px);
  text-align: center;
  color: var(--bs-white);
  border: 2px solid var(--bs-secondary);
  background-color: var(--bs-secondary);
  border-radius: 50%;
  margin: 1.5rem auto 0 auto;
  transition: all 0.3s ease;
  @include font-size(45px);
  cursor: pointer;
  bottom: 100px;
  right: 50px;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  box-shadow: $box-shadow;
  z-index: 5;

  &.visible {
    opacity: 1;
    visibility: visible;
  }

  i {
    line-height: rfs-value(56px);
  }

  &:hover {
    color: var(--bs-secondary);
    background-color: var(--bs-white);
  }
}

.video_container {
  position: relative;
  padding-bottom: 56.25%;

  iframe, embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}


.ce_player > .video_container{
  padding-bottom: 0px; 
}
