* {
	@include border-box;
}

body {
	font-family: $normal;
	color: $text;
	font-size: 14px;
}

h2 {

}

h3 {

}

h4 {

}

.richtext {
	font-size: 16px;
	line-height: 1.5em;
	max-width: 600px;

	a {
		color: $link_color;
		text-decoration: none;

		&:hover,
		&:focus {
			color: $link_color_hover;
			text-decoration: underline;
		}
	}

  p {
    margin-bottom: 7px;

    .tsr & {
      margin-bottom: 0;
    }
  }

  ul,
  ol {
    padding-left: 20px;
    margin-bottom: 20px;

    li + li,
    ul,
    ol {
      margin-top: 10px;
    }
  }

  // Formatierungen für die Listen-Zähler
  ol {
    li {
      list-style-type: none;
      counter-increment: item;
      position: relative;

      &:before {
        content: '(' counter(item) ')';
        display: inline-block;
        font-weight: bold;
        text-align: right;
        position: absolute;
        margin-left: -30px;
      }

      li {
        &:before {
          content: counter(item, lower-latin) ')';
        }
      }
    }
  }
}

strong {
	font-weight: bold;
}



.img_container {
  margin-bottom: 20px;
  position: relative;

  img {
    width: 100%;
    height: auto;
  }

  .img_caption {
    padding: 3px 0 15px;
  }

  .img_rights {
    font-size: 15px;

    @media screen and (min-width: $break_cols) {
      position: absolute;
      right: 0;
      margin-top: -22px;
      background: rgba(255, 255, 255, .7);
      padding: 0 5px;
      line-height: 20px;
      color: $text;

      span {
        width: 0;
        max-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        height: 20px;
        line-height: 18px;
        transition: all .15s;
        vertical-align: middle;
      }

      &:hover,
      &:focus {
        span {
          width: auto;
          max-width: 300px;
        }
      }
    }
  }
}

.video_container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom: 20px;

  video,
  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
  }

  .sixteen_ten & {
    padding-bottom: 62.5%;
  }

  .four_three & {
    padding-bottom: 75%;
  }
}

span.hilight_search_result {
  background: yellow;
}
