.bodytext > img {
  width: 100%;
  .img-responsive();
}

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

.csc-header {
  h1, h2, h3, h4 {
    @media (min-width: @grid-float-breakpoint) {
      margin-top: 0;
    }
  }
}

.csc-header-alignment-center {
  text-align: center;
}



// Liste mit Download Links
.csc-uploads {
  padding-left: 0;
  list-style: none;
}

.csc-uploads-fileName {
  line-height: 1.2;
  display: block;
  a {
    color: @gray-darker;
    &:hover, &:focus {
      text-decoration: none;
      color: @brand-primary;
    }
  }
}

.csc-uploads-description {
  .small();
  color: @gray-dark;
  display: block;
}

// einfache Ansicht mit Titel und Beschreibung
.csc-uploads-0 {
  .csc-uploads-element {
    position: relative;
    margin-top: @line-height-computed / 2;
    margin-left: 20px;
  }
  .csc-uploads-element-pdf a:before {
    &:extend(.icon:before);
    &:extend(.icon-file-pdf:before);
    color: @brand-primary;
    position: absolute;
    left: -20px;
    text-align: left;
  }

}

// größere Ansicht mit Vorschaubild
.csc-uploads-2 {
  .make-row();
  .csc-uploads-element {

    margin-bottom: @grid-gutter-width;

    .make-xs-column(6);
    .make-sm-column(4);
    .make-md-column(3);

    @media screen and (max-width: @screen-xs) {
      &:nth-child(2n+3) {
        clear: left;

      }
    }

    @media screen and (min-width: @screen-xs-max) and (max-width: @screen-sm-max) {
      &:nth-child(3n+4) {
        clear: left;

      }
    }

    @media screen and (min-width: @screen-md) {
      &:nth-child(4n+5) {
        clear: left;

      }
    }

    > a {
      display: inline-block;
      margin-bottom: @line-height-computed / 4;
      height: 160px;
      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: @brand-primary;
      }
    }
    span.csc-uploads-fileName {
      margin-top: @line-height-computed / 2;
      margin-bottom: @line-height-computed / 4;
      a {
        font-weight: bold;
      }
    }
  }
}

/*=============================
=            Menüs            =
=============================*/

ul.csc-menu {
  .nav();
  a {

  }
}

// Standardmenü
ul.csc-menu-def {

}

// z.B. in der Sidebar
ul.csc-menu-def, ul.csc-menu-1 {
  //.nav-pills();
  .nav-stacked();
  li + li {
    margin-top: 0;
  }
}



/*=============================
=            standard Elemente            =
=============================*/

.col > .csc-default + .csc-default {
  margin-top: @line-height-computed*2;
}
