/*! Map Bootstrap > TYPO3 Styled Content */

//
//  TYPO3 Styled Content Anpassungen
//
iframe {
  max-width: 100%;
  max-height: inherit;
}


#c437 header h2 {
  margin-top: 0;
}


.ce-headline-center {
  text-align: center;
}


// Liste mit Download Links

.ce-uploads {
  list-style: none;
}


.ce-uploads-fileName {
  line-height: 1.2;
  display: block;

  a {
    color: $gray-800;

    &:hover, &:focus {
      text-decoration: none;
      color: $primary;
    }
  }
}


.ce-uploads-description {
  font-size: $font-size-sm;
  color: $gray-600;
  display: block;
}


.ce-uploads-0, .ce-uploads-1 {

  width: fit-content;
  .ce-uploads-element {
    position: relative;
    &:not(:first-child) {
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid $gray-200;
    }
    @include icon('icon', $icons, 'file-pdf');

    &:before {
      color: $primary;
      position: absolute;
      left: -2em;
    }
  }
}


// größere Ansicht mit Vorschaubild
.ce-uploads-2 {

  @include make-row();
  padding-left: 0;
  margin-bottom: 3rem;

  .ce-uploads-element {
    &:before {
      display: none;
    }

    @include make-col-ready();

    @include make-col(6);
    @include media-breakpoint-up(md) {
      @include make-col(4);
    }

    @include media-breakpoint-up(lg) {
      @include make-col(3);
    }

    margin-bottom: 1.5rem;

    > a {
      display: inline-block;
      height: 150px;
      position: relative;

      img {
        padding-right: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        max-height: 100%;
        width: auto;
        bottom: 0px;
        position: relative;
      }
    }

    &:focus, &:hover {
      img {
        top: 1px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
      }

      a {
        color: $primary;
      }
    }

    .ce-uploads-fileName {
      margin-top: ($line-height-base * .5em);
      margin-bottom: ($line-height-base * .25em);
      font-weight: $font-weight-bold;

    }
  }
}

