/**
 * Default clearfix implementation.
 *
 * @usage
 *    .box {
 *      @include clearfix;
 *    }
 */
/**
 * Casts a string into a number.
 *
 * @param {string} $value
 *    Tje string to cast to a number.
 * @return {$number}
 *    The value as number.
 */
/**
 * Split a string into a list of strings.
 *
 * @param {string} $string
 *    Tje string to be split.
 * @param {string} $delimiter
 *    The boundary string.
 * @return {list} $result
 *    The result list.
 */
.event-teaser {
  border-bottom: 3px solid #DAE6EE;
  border-top: 3px solid #DAE6EE;
  margin-top: -3px;
  padding: 1.5rem;
}
.views-row:first-child .event-teaser {
  margin-top: 1.5rem;
}
.views-row:last-child .event-teaser {
  margin-bottom: 1.5rem;
}
.event-teaser--grey {
  border-bottom: 3px solid #B6CCDF;
  border-top: 3px solid #B6CCDF;
  background-color: #EDEFF8;
}
.event-teaser--grey .tag-pill {
  background: white;
}
@media (min-width: 767px) {
  .event-teaser {
    display: grid;
    grid-template-columns: auto 2fr 1fr;
    grid-template-areas: "img content meta" "img buttons buttons";
    grid-column-gap: 1rem;
    grid-row-gap: 0.5rem;
  }
}
.event-teaser__img {
  margin-bottom: 1rem;
  position: relative;
}
@media (min-width: 480px) {
  .event-teaser__img {
    width: 8rem;
    float: right;
    margin-left: 1rem;
  }
}
@media (min-width: 767px) {
  .event-teaser__img {
    display: block;
    grid-area: img;
    margin-bottom: 0;
    margin-left: 0;
    width: 12rem;
    float: none;
  }
}
@media (min-width: 1200px) {
  .event-teaser__img {
    width: 18rem;
  }
}
.event-teaser__img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}
.event-teaser__img:empty:before {
  font-family: "iconfont";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  speak: none;
  text-decoration: none;
  text-transform: none;
  vertical-align: middle;
  content: "\e00e";
  font-size: 5rem;
  color: #EDEFF8;
  display: block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 5rem;
  height: 5rem;
  z-index: 1;
}
@media (min-width: 767px) {
  .event-teaser__img:empty:before {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    left: 50%;
    top: 0;
    -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
  }
}
.event-teaser__content {
  margin-bottom: 1rem;
}
@media (min-width: 767px) {
  .event-teaser__content {
    grid-area: content;
    margin-bottom: 0;
    margin-right: 2rem;
  }
}
.event-teaser__content h3.is-normal {
  font-weight: bold;
  display: inline;
}
.event-teaser__content .field--name-field-content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.event-teaser__content .field--name-field-content p {
  display: inline;
}
.event-teaser__group-link {
  margin-top: 1em;
}
.event-teaser__group-link a.button--link {
  display: inline;
}
.event-teaser__meta {
  margin-bottom: 1rem;
}
@media (min-width: 767px) {
  .event-teaser__meta {
    grid-area: meta;
    margin-bottom: 0;
  }
}
@media (min-width: 767px) {
  .event-teaser__buttons {
    grid-area: buttons;
    align-self: end;
  }
}
.event-teaser__buttons .button {
  margin-bottom: 0.5rem;
}
.event-teaser__date {
  font-weight: bold;
}
.event-teaser__online_location, .event-teaser__ics_download, .event-teaser__documentation {
  margin-top: 1rem;
}
.event-teaser .tag-pill {
  display: inline;
}
@media (min-width: 767px) {
  .event-teaser--narrow {
    display: block;
  }
  .event-teaser--narrow .event-teaser__img {
    max-width: 10rem;
    float: right;
    margin-left: 1rem;
  }
  .event-teaser--narrow .event-teaser__content,
  .event-teaser--narrow .event-teaser__meta {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}