/**
* Block Name: teaser_end_page
*/
section.teaser_end_page.bg_dark {
  color: #fff;
}
section.teaser_end_page.bg_white {
  background-color: transparent;
}
section.teaser_end_page.bg_white:before {
  content: "";
  background-color: #fff;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}
section.teaser_end_page.bg_white .background_img {
  visibility: hidden;
}

section.teaser_end_page .background_img {
  top: 0px;
  left: 0px;
  z-index: -1;
}

section.teaser_end_page .container {
  border-left: 2px solid black;
  border-right: 2px solid black;
}

section.teaser_end_page.bg_dark .container {
  border-color: #fff;
}

section.teaser_end_page .content_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 1;
}

/* Hover */

section.teaser_end_page a {
  position: relative;
}
section.teaser_end_page a:after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0px;
  height: 25px;
  width: 200px;
  background-image: -o-linear-gradient(
    left,
    rgba(0, 181, 226, 0.3),
    rgba(0, 181, 226, 0) 100%
  );
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(0, 181, 226, 0.3)),
    to(rgba(0, 181, 226, 0))
  );
  background-image: linear-gradient(
    to right,
    rgba(0, 181, 226, 0.3),
    rgba(0, 181, 226, 0) 100%
  );
  opacity: 0;
  -webkit-transition: 0.15s linear;
  -o-transition: 0.15s linear;
  transition: 0.15s linear;
  z-index: -1;
}
section.teaser_end_page a:hover::after {
  opacity: 1;
  -webkit-transition: 0.5s ease;
  -o-transition: 0.5s ease;
  transition: 0.5s ease;
}

section.teaser_end_page#zileten span {
  color: #cd0000;
}

section.teaser_end_page#vigier span {
  color: #002f6b;
}

section.teaser_end_page#kopp span {
  color: #ffc72c;
}

section.teaser_end_page#giauque span {
  color: #745942;
}

section.teaser_end_page#apotheke-wyss span {
  color: #039d64;
}

section.teaser_end_page#end-content span {
  color: #f30073;
}

@media (max-width: 575.98px) {
  section.teaser_end_page {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768.98px) {
  section.teaser_end_page .container .row > .col-12:nth-child(n + 2) {
    margin-top: 70px;
  }
}

@media (min-width: 768px) {
  section.teaser_end_page .container .row > .col-12:nth-child(n + 2) {
    border-left: 2px solid black;
  }
  section.teaser_end_page .content_wrapper {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 250px;
  }

  section.teaser_end_page.bg_dark .container .row > .col-12:nth-child(n + 2) {
    border-color: #fff;
  }
}
