@charset "UTF-8";

.page-details {
  margin: 10px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: auto;
  padding: 0 42px;

  @media(max-width: 1199px) {
    padding: 0 29px;
    margin: 20px 0 36px;
  }
  @media(max-width: 767px) {
    padding: 0 20px;
    margin: 15px 0 28px;
  }

  &.intranet {
    .docnumber, .document-number {
      position: relative;

      &:before {
        @include icon-schloss;
        position: absolute;
        right: 100%;
        top: 50%;
        margin: -16px 10px;
        font-family: "Icons";
        font-size: 30px;
        line-height: 1;
      }
    }
  }
}

.intranet-short-text{
  position: relative;
  background-color: $color-primary-light-04;
  background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  padding: 40px 80px 40px 40px;
  overflow: hidden;

  &:before {
    @include icon-schloss;
    position: absolute;
    right: 1%;
    top: 14%;
    margin: -16px 10px;
    font-family: "Icons";
    font-size: 30px;
    line-height: 1;
  }
}

.breadcrumb-list-wrapper {
  @media(max-width: 999px) {
    width: 100%;
  }
}

.breadcrumb {
  list-style: none;
  font-size: 18px;
  padding: 0;
  margin: 0;
  background-color: inherit;
  border-radius: 0;

  br {
    display: none;
  }

  @media(max-width: 999px) {
    white-space: nowrap;
    overflow: auto;
    max-width: 100vw;
    margin: 0 -20px -10px;
    padding: 0 20px 10px;
  }

  @media(max-width: 767px) {
    font-size: 16px;
    opacity: 1;
  }

  a {
    transition: 0.3s ease;
    @include focusvisible;

    &:hover {
      color: $color-secondary-dark;
      color: var(--theme-color-secondary-intensed, $color-secondary-dark);
    }
  }

  li {
    display: inline-block;

    + li {
      @extend .icon-pfeil-rechts;

      &:before {
        font-family: "Icons";
        margin: -1px 6px 0 3px;
        padding: 0;
        position: relative;
        display: inline-block;
        font-size: 20px;
        vertical-align: top;
        color: inherit;

        @media(max-width: 767px) {
          font-size: 18px;
        }
      }
    }

    &:last-child a {
      text-decoration: none;
    }
  }
}

.docnumber, .document-number {
  margin-left: auto;
  font-size: 18px;
  line-height: 20px;
  padding: 5px 12px;
  margin-right: -14px;
 /* border: 1px solid $color-primary-light-03;
  border: 1px solid var(--theme-color-primary-dimmed-03, $color-primary-light-03);
  border-radius: $radius-md;*/

  @media(max-width: 1199px) {
    margin-right: -12px;
  }


  @media(max-width: 999px) {
    display: none;
  }
}
