.teaser {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  overflow: hidden;
}

.teaser__image {
  width: 100%;
  display: none;
}

.teaser__teaser-type {
  top: 0;
  width: 30px;
  height: 30px;
  padding: 6px;
  left: 20px;
  position: relative;
  margin-bottom: -10px;
}

[dir='rtl'] .teaser__teaser-type {
  left: auto;
  right: 20px;
}

.no-image .teaser__teaser-type {
  background: none;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.teaser__teaser-type-icon {
  width: 18px;
  height: 18px;
  display: table;
}

.no-image .teaser__teaser-type-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  fill: #4d4d4d;
}

.teaser__title {
  margin-top: 0;
  margin-bottom: 20px;
  max-height: 2.4em;
  line-height: 1.2;
  overflow: hidden;
}

.teaser__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.teaser__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 1.75rem;
  position: relative;
}

.teaser__content .field--name-field-profile-self-introduction,
.teaser__content .field--name-field-profile-summary {
  margin-bottom: 0.75rem;
}

.teaser__content .field--name-field-profile-self-introduction > *:first-child,
.teaser__content .field--name-field-profile-summary > *:first-child {
  margin-top: 0;
}

.teaser__content .field--name-field-profile-self-introduction > *:last-child,
.teaser__content .field--name-field-profile-summary > *:last-child {
  margin-bottom: 0;
}

.teaser__content .field--name-field-profile-self-introduction + .teaser__content--badges,
.teaser__content .field--name-field-profile-summary + .teaser__content--badges {
  margin-top: -.75rem;
}

.teaser__content-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 100%;
  font-size: 0.875rem;
}

[dir='rtl'] .teaser__content-line {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.teaser__content-type-icon {
  width: 14px;
  height: 14px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 14px;
          flex: 0 0 14px;
  line-height: 21px;
  margin-top: -2px;
  fill: #555555;
  margin-right: 1rem;
}

[dir='rtl'] .teaser__content-type-icon {
  margin-right: 0;
  margin-left: 1rem;
}

.teaser__content-text {
  line-height: 21px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-overflow: ellipsis;
  overflow-x: hidden;
  white-space: nowrap;
  text-align: left;
}

[dir='rtl'] .teaser__content-text {
  -webkit-box-flex: initial;
      -ms-flex-positive: initial;
          flex-grow: initial;
}

.teaser__published {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 0;
}

[dir='rtl'] .teaser__published {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.teaser__published-author {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

[dir='rtl'] .teaser__published-author {
  -webkit-box-flex: initial;
      -ms-flex-positive: initial;
          flex-grow: initial;
}

.teaser__published-date {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 4px;
}

.teaser__badge {
  margin-bottom: 0;
  vertical-align: middle;
  display: inline-block;
  margin-right: 2rem;
}

.teaser--unpublished .teaser__title {
  padding-right: 110px;
}

.teaser--tile.teaser-profile {
  padding: 0;
  text-align: center;
  overflow: hidden;
}

.teaser--tile.teaser-profile .teaser__image {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100px;
          flex: 0 0 100px;
  height: 100px;
  margin-bottom: 70px;
  border-radius: 0;
  text-align: center;
  overflow: visible;
  display: block;
}

.teaser--tile.teaser-profile .teaser__image img {
  display: block;
  margin: 0 auto;
  width: 128px;
  height: 128px;
  border: 9px solid white;
  position: relative;
  top: 36px;
  left: auto;
  background-color: #fff;
}

.teaser--small {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1.5rem 1.25rem 0;
}

.teaser--small .teaser--small__media {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}

.teaser--small .teaser--small__media img {
  border-radius: 5px;
}

.teaser--small .teaser--small__media .teaser--small__type-icon {
  width: 44px;
  height: 44px;
  fill: #343434;
  background-color: #e6e6e6;
  border-radius: 5px;
  padding: .75rem;
}

.teaser--small .teaser--small__title {
  font-size: 1rem;
}

.teaser--small .teaser--small__details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 calc(100% - 60px);
          flex: 0 0 calc(100% - 60px);
  max-width: calc(100% - 60px);
  margin-left: 1rem;
}

[dir='rtl'] .teaser--small .teaser--small__details {
  margin-left: 0;
  margin-right: 1rem;
}

.teaser--small .teaser--small__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #555555;
}

.teaser--small .teaser--small__meta a {
  font-weight: 300;
}

.teaser--small .teaser--small__meta a:hover {
  text-decoration: underline;
}

.teaser--small:last-child {
  padding-bottom: 1.5rem;
}

.teaser--small + .card__actionbar {
  margin-top: 0;
}

.share-button {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

@media (min-width: 600px) {
  .teaser {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    height: 220px;
  }
  .teaser__image {
    display: block;
    height: 220px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 220px;
            flex: 0 0 220px;
    position: relative;
    width: auto;
    padding-top: 0;
  }
  .teaser__teaser-type {
    position: absolute;
    margin-bottom: 0;
    left: 0;
    width: 44px;
    height: 44px;
    padding: 12px;
  }
  [dir='rtl'] .teaser__teaser-type {
    left: auto;
    right: 0;
  }
  .teaser__body {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .teaser:not(.teaser--tile) .teaser__body {
    -webkit-box-flex: 0;
  }
  .teaser--unpublished .status {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
    top: 0;
    padding-top: 185px;
    left: 0;
    z-index: 2;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
  .teaser--unpublished .status:before {
    display: block;
    position: absolute;
    content: '';
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(40%, rgba(0, 0, 0, 0)), color-stop(70%, rgba(0, 0, 0, 0.1)), to(rgba(34, 34, 34, 0.5)));
    background-image: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.1) 70%, rgba(34, 34, 34, 0.5) 100%);
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .teaser--unpublished .teaser__title {
    padding-right: 130px;
  }
}

@media (max-width: 599px) {
  .teaser__image + a .teaser__teaser-type {
    width: 100%;
    display: none;
  }
}

.teaser__teaser-type {
  background-color: #adadad;
  border-radius: 0 0 8px 8px;
}

.teaser__teaser-type-icon {
  fill: white;
}

.teaser__label > * {
  margin-right: .5rem;
  margin-bottom: .5rem;
}

.teaser .teaser__badge:first-child {
  padding-left: 0;
}

.teaser .teaser__badge:first-child.badge-default, .teaser .teaser__badge:first-child.badge-primary, .teaser .teaser__badge:first-child.badge-secondary, .teaser .teaser__badge:first-child.badge-accent, .teaser .teaser__badge:first-child.badge-success, .teaser .teaser__badge:first-child.badge-info, .teaser .teaser__badge:first-child.badge-warning, .teaser .teaser__badge:first-child.badge-danger, .teaser .teaser__badge:first-child.badge-active {
  padding-left: 1em;
}

.teaser .badge__label {
  color: #343434;
}

@media (min-width: 600px) {
  .teaser__image {
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    background: #e6e6e6;
  }
  .teaser__image img {
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
  }
  [dir='rtl'] .teaser__image {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
  }
  .teaser__teaser-type {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 0;
  }
}

.region-sidebar-first .teaser--small__title,
.region-sidebar-second .teaser--small__title {
  font-size: 1.5rem;
  text-align: left;
  line-height: 2.5rem;
}

.region-sidebar-first .teaser--small__title a,
.region-sidebar-second .teaser--small__title a {
  color: #343434;
}

.region-sidebar-first .teaser--small__meta,
.region-sidebar-second .teaser--small__meta {
  font-size: 1.25rem;
}

.group--teaser .teaser__content-type-icon {
  margin-top: 1px;
}

.group--teaser .badge__container {
  font-size: 1.5rem;
}

.group--teaser .badge__icon {
  margin-right: 0.25rem;
  margin-bottom: 3px;
}

.teaser__progress {
  float: right;
}

.teaser__progress-percent {
  width: 125px;
  height: 125px;
  position: relative;
}

.teaser__progress-percent svg {
  width: 125px;
  height: 125px;
  position: relative;
}

.teaser__progress-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 125px;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 3rem;
  color: #004B87;
  font-size: 3rem;
  line-height: 2;
  text-align: center;
}

.teaser__progress circle {
  stroke: #fff;
  transform: translate(5px, 5px);
  fill: none;
  stroke-width: 10px;
  width: 125px;
  height: 125px;
  position: relative;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
}

.teaser__progress circle:nth-child(1) {
  stroke-dashoffset: 0;
  stroke: #004B87;
}

.teaser__progress circle:nth-child(2) {
  stroke: #fff;
}
