/**************************************/
/* Default styles for news extension */
/**************************************/
.news {
  padding-left: calc(10% - 15px);
  padding-right: calc(10% - 15px);
}
.news .image-responsive {
  width: 100%;
  height: auto;
}
.news .btn-read-more {
    background-color: #313639;
    margin: 0;
    line-height: 1em;
    font-size: 18px;
    text-transform: lowercase;
    padding: 21px 50px 21px 80px;
    color: #fff;
    background-image: url(elements/arrow-bt-wht.svg);
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 50px center;
    background-size: 16px;
    border-radius: 0;
    position: absolute;
    bottom: 0;
}
.news .extra {
  text-transform: lowercase;
  color: #7B7E80;
  font-size: 16px;
  margin: 15px 0;
  background: #7B7E80;
  margin: 15px 0;
  height: 1px;
  position: relative;
}
.news .extra time {
  margin-top: -15px;
  background: #fff;
  padding-right: 10px;
  height: 31px;
  line-height: 31px;
  font-size: 16px;
  position: absolute;
}
.news .extra .label.label-info {
  right: 0;
  margin-top: -15px;
  background: #fff;
  padding-left: 10px;
  height: 31px;
  line-height: 31px;
  font-size: 16px;
  position: absolute;
}

.news h3 {
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}
.news .news-list-item .bodytext {
  color: #000;
  margin-bottom: 1rem;
}
.news-list-item.startseite {
  padding-bottom: 5rem;
  margin-bottom: 4em;
}

.news .news-list-item .bodytext p {
  margin-bottom: 0;
  color: #000;
}
.news .clear {
  clear: both;
}
.news-single {
  padding: 0;
}
.news-single .img-responsive {
  width: 100%;
  height: auto;
}
.news-single .extra {
  max-width: 50%;
}
.news-single .headline {
  margin-top: 170px;
  padding-bottom: 3rem;
}
.news-single .headerimg {
  /* height: 85vh; */
  /* margin-top: 15vh; */
  overflow: hidden;
}
.news-single .headerimg .thumbnail {
  display: none;
}
.news-single .headerimg .thumbnail:nth-child(1) {
  display: block;
}
.news-single .newscont {
  padding-top: 5rem;
}
.news-single .newscont .btn {
  background-color: #313639;
  margin: 0;
  line-height: 1em;
  font-size: 18px;
  text-transform: lowercase;
  padding: 21px 50px 21px 80px;
  color: #fff;
  background-image: url('elements/news-back.svg');
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: 50px center;
  background-size: 16px;
  border-radius: 0;
}
.news-single .newsgallery .thumbnail {
  margin-top: 30px;
}
.news-single .thumbnail:nth-child(1) {
  display: none;
}
.news .nav ul {
  float: left;
  display: inline;
  margin: 0;
}

.news .nav li {
  float: left;
}

.news .nav a {
  float: left;
  display: block;
}

.news .nav:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.news .article {
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.news .article:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.news .article:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.news .article .news-img-wrap {
  float: left;
  margin: 3px 12px 5px 0;
  background: #fff;
}

.news .article .news-img-wrap a {
  display: block;
  float: left;
  padding: 4px;
  border: 1px solid #ddd;
  background: #fff;
}

.news .article .news-img-wrap img {
  float: left;
  height: auto;
  width: auto;
}

.news .article .teaser-text {
  margin: 0 0 10px 0;
}

.news .article h3 {
  margin-bottom: 0;
}

.news .footer {
  clear: both;
  padding: 10px 0 0 0;
  border-top: 1px solid #eee;
  margin-top: 15px;
  color: #888;
}

.news .footer p {
  line-height: 1em;
}

.news .footer span {
  display: inline-block;
  padding-right: 8px;
  margin-right: 8px;
  border-right: 1px solid #ddd;
}

.news .footer span:last-child {
  border-right: 0;
}

.news .footer .news-category a {
  text-transform: uppercase;
}

.news .no-news-found {
  color: #DB0202;
  font-style: italic;
}

.news .page-navigation p {
  float: left;
}

.news .page-navigation ul {
  float: right;
}

.news .page-navigation ul li {
  float: left;
  display: block;
  padding: 0 2px;
  background: none;
}

.news .page-navigation ul li a {
  display: block;
}

/* category menu view */
.news-category-view ul li {
  padding: 5px 8px;
}

.news-category-view ul li li {
  padding: 2px 8px 2px 12px;
}

.news-category-view > ul > li:nth-child(even) {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.news-category-view .category-desc {
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid #ddd;
}

/* single view */
.news-single .footer {
  margin-bottom: 20px;
  margin-top: 5px;
  padding: 10px 0 0 0;
  border-bottom: 0;
  border-top: 1px solid #eee;
}

.news-single .article .news-img-wrap {
  float: right;
  width: 282px;
  margin: 0 0 0 25px;
}

.news-single .article .news-img-wrap img {
  float: none;
}

.news-single .teaser-text {
  font-size: 15px;
  color: #888;
}

.news-text-wrap {
  margin-bottom: 10px;
}

.news-img-caption {
  color: #888;
}

/* related news + files */
.news-related-wrap {
  display: table;
  margin-top: 20px;
  width: 100%;
}

.news-related {
  width: 50%;
  padding: 15px;
  border: 1px solid #eee;
  display: table-cell;
}

.news-related ul li {
  line-height: 1em;
  margin-bottom: 12px;
}

.news-related ul li span {
  border-right: 1px solid #DDDDDD;
  display: inline-block;
  margin-right: 8px;
  padding-right: 8px;
  color: #888;
}

.news-related ul li span:last-child {
  border-right: 0;
  padding-right: 0;
}

.news-related h4 {
  margin-bottom: 10px;
}

.news-related-files ul li {
  margin-bottom: 20px;
}

.news-related-files .news-related-files-link .jpg {
  background-position: 0 0;
}

.news-clear {
  clear: both;
}
.news-list-item h2 {
  color: #A6192E;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 24px;
}
.startseite:nth-child(1) div h2::before {
  content: '1';
  position: absolute;
  margin-top: -73px;
  background: #A6192E;
  padding: 13px 19px;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

.startseite:nth-child(2) div h2::before {
  content: '2';
  position: absolute;
  margin-top: -73px;
  background: #A6192E;
  padding: 13px 19px;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

.startseite:nth-child(3) div h2::before {
  content: '3';
  position: absolute;
  margin-top: -73px;
  background: #A6192E;
  padding: 13px 19px;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}
.news-list-item ul {
  padding-left: 15px;
  list-style-position: outside;
}
.referenzen {
  display: none;
  margin: 0;
  margin-bottom: 30px;
}
.referenzen .img-responsive {
  width: 100%;
  height: auto;
}
.referenzen h2 {
  font-size: 24px;
  font-weight: 500;
  color: #A6192E;
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
}
.referenzen .lead {
  font-size: 14px;
  line-height: 1.6em;
}
.referenzen h2::after {
  content: '';
  display: block;
  height: 3px;
  background: #A6192E;
  width: 11%;
  margin-top: 20px;
  margin-bottom: 20px;
}
.ce-gallery .image-wrap {
  display: none;
}
.ce-gallery .image-wrap:first-child {
  display: block;
}

@media (max-width: 767px) {
.news {
  padding-left: calc(5% - 15px);
  padding-right: calc(5% - 15px);
}
.news-single {
    padding-left: 5%;
    padding-right: 5%;
}
.news-single .newscont {
    padding-top: 2rem;
}
.news-list-item.startseite {
    padding-bottom: 2rem;
}
.news .btn-read-more {
    width: 100%;
    padding: 21px 25% 21px 25%;
    position: relative;
}
.news-single .newscont .btn {
    padding: 21px 25% 21px 25%;
    background-position: 25% center;
    width: 100%;
}
.news-single .headline {
    margin-top: 70px;
    padding-bottom: 1rem;
  background-position: 25% center;
}
.news-single .extra {
  max-width: 100%;
}
}

@media (min-width: 768px) and (max-width: 991px) {
.news {
  padding-left: calc(5% - 15px);
  padding-right: calc(5% - 15px);
}
.startseite:nth-child(1) div h2::before {
  content: '1';
  position: absolute;
  margin-top: -58px;
  background: #A6192E;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.startseite:nth-child(2) div h2::before {
  content: '2';
  position: absolute;
  margin-top: -58px;
  background: #A6192E;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.startseite:nth-child(3) div h2::before {
  content: '3';
  position: absolute;
  margin-top: -58px;
  background: #A6192E;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.startseite:nth-child(3) {
  display: none;
}
}
@media (min-width: 992px) and (max-width: 1200px) {
.news {
  padding-left: calc(5% - 15px);
  padding-right: calc(5% - 15px);
}
}