/**************************************/
/* Default styles for news extension */
/**************************************/
.news .clear {
  clear: both;
}

.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 {
}

.news .article:last-child {

}

.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;
}

.news .article h4 {
  padding-bottom: 0;
  color:#FFF;
}

 .date-cat {
  clear: both;
  padding:0;
  opacity:0.5;
}

 .date-cat > span {
  display: inline-block;
  padding-right: 8px;
  margin-right: 8px;
  border-right: 1px solid #ddd;
}

 .date-cat > span:last-child {
  border-right: 0;
}

 .date-cat .news-list-category span {
  display:inline-block;
}

 .date-cat .news-list-category span:after {
  content:"/"; display:inline-block; padding:0 7px;
}
 .date-cat .news-list-category span:last-child:after {
  content:"";
}

.news .no-news-found {
  color: #DB0202;
  font-style: italic;
}


/* Pagination */
.news-list-view .page-navigation {
  display: flex;
  justify-content: space-between;
}

.news-list-view .page-navigation p {
}

.news-list-view .page-navigation ul {
  display:flex;
}

.news-list-view .page-navigation ul li {
  display: block;
  margin-left:10px;
  padding: 0 10px;
  background:rgba(0,102,118,0.3);
}

.news-list-view .page-navigation ul li a {
  display: block;
  color:rgb(0,102,118);
}

.news-list-view .page-navigation ul li:hover {
  background:rgb(0,102,118);
}

.news-list-view .page-navigation ul li:hover a {
  color:#FFF;
}

.news-list-view .page-navigation ul li.current {
  background:rgb(0,102,118);
  color:#FFF;
}

/* 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;
}



/* list view */
.news-list-view {
  margin-top:10%;
}

.news-list-view .article {
  border-top:1px solid #FFF;
}

.news-list-view .article-inner {
  z-index:5;
  position:relative;
}

.news-list-view .article a {
  padding:15px 15px 15px 0;
  display:block; position:relative;
  color:#FFF;
}

.news-list-view .article:last-child {
  border-bottom:1px solid #FFF;
}

.news-list-view .article a:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #006676, #004551);
    transition: opacity 0.5s ease-out;
    z-index: 2;
    opacity: 0;
  }

.news-list-view .article a:hover:after {
    opacity: 1;
  }

.news-list-view .article .teaser-text {
  height:0; overflow:hidden;
}
.news-list-view .article:hover .teaser-text{
  height:80px;
}


/* archiv -list view */

.archiv .content {
  justify-content:flex-end;
}

.archiv .news-list-view {
  margin-top: 2%;
}

.archiv .news-list-view .article a {
  border-top:none;  
  position: relative;
  width: 100%;
  margin-bottom: 2%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0,102,118,0.3);
}

.archiv .news-list-view .article a:after {
  display:none;
}

.archiv .news-list-view .date-cat {
  color:#555555;
  opacity:1;

}

.archiv .news-list-view .date-cat span {
  border-color:#555555;
}

.archiv .news-list-view h4 {
  color: rgb(0,102,118);
  font-size:1.4rem;
  padding-bottom:0;
}

.archiv .news-list-view .article:hover .teaser-text {
  height:0px;
}







/* 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;
}
