/**************************************/
/* Default styles for news extension */
/**************************************/
.news {
    padding-bottom: 4em;
}

.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 {
	padding-bottom: 15px;
	margin-bottom: 15px;
	position: relative;
}

.news .article:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

.news .article:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.content.container .news .article .header h3 {
    margin-bottom: 15px;
}

.content.container .news .article .header a {
	text-decoration: none;
	transition: 0.2s;
}

.content.container .news .article .header a:hover {
	color: #82A1C3;
}

.news-divider {
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
}

.news .col-md-12.article .news-divider::before,
.news .col-md-12.article .news-divider::after {
    content: '';
    position: absolute;
    width: 12%;
    height: 1px;
    left: 35%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #82A1C3;
    visibility: visible;
}

.news .col-md-12.article .news-divider::before {
    left: auto;
    right: 35%;
}

.col-md-12.article:last-of-type .news-divider {
    display: none;
}

.news .col-md-12.article .news-img-wrap {
    float: left;
}

.news .col-md-12.article .news-img-wrap img {
    height: auto;
    width: 100px;
}

.news .article .news-img-wrap {
	margin: 3px 12px 5px 0;
	background: #fff;
	overflow: hidden;
}

.news .article .news-img-wrap a {
	display: block;
	padding: 0;
	background: #fff;
}
.news .article .news-img-wrap img {
    width: 100%;
    height: auto;
	max-width: 360px;
	margin: 0 auto;
	display: block;
	transition: 0.4s;
}

.news .article .news-img-wrap a img:hover {
    transform: scale(1.05);
}

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

.termine.article {
    border: 1px solid #eee;
    margin-bottom: 1em;
    padding: 1em;
}

.news-list-author,
.news-list-date {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    display: block;
}

.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: 5px 10px;
    background: #eee;
    margin-left: 10px;
}

.news .page-navigation ul li a {
	display: block;
    text-decoration: none;
}

.news .page-navigation ul li.current {
    background-color: #ccc;
}

.news .page-navigation ul li.current a {
    font-weight: bold;
}

/* 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;
	padding: 10px;
}

/* 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;
	font-size: 1.2em;
}

.news-related-files ul li {
	margin-bottom: 20px;
}

.news-related-files .news-related-files-link .jpg {
	background-position: 0 0;
}

.relatedLink-description {
    font-size: 14px;
    font-style: italic;
}

.news-clear {
	clear: both;
}


.more .t3js-icon {
    color: #fff;
}

.news iframe {
    width: 100%;
    height: 100%;
}

.medialement-alternative-content {
    background-color: #82A1C3;
}

.news-backlink-wrap a.backlink {
    margin-top: 2em;
}

.news-media-description {
    font-size: 75%;
    padding: 5px 10px;
    border-top: 1px solid #ddd;
    line-height: 1;
    color: #fff;
}

.news-media-description p:last-child {
    margin-bottom: 0;;
}

.news .image-caption,
.news-img-description {
    font-size: 75%;
    margin-bottom: 1em;
}

.news .image-caption {
    font-style: italic;
    font-weight: bold;
}

.news .chevron {
    transform: translate(-5px,-1px);
    display: inline-block;
    transition: 0.2s;
}

.news .more:hover .chevron{
    transform: translate(0px,-1px);
}

.news .backlink:hover .chevron{
    transform: translate(-10px,-1px);
}

.news-content-elements {
    margin: 2em auto;
}

.news-content-elements .col-sm-12 {
    float: none;
}

.category-legend {
   color: #343434;
   padding: 8px;
   margin: 2em auto;
}

.news-calendar-table .table-top td{
    border: none;
}

.news-calendar-table .pager li a {
    border-radius: 4px;
    font-size: 14px;
}

.table-top .category-legend {
   border: none;
}

.category-legend-header {
    font-weight: bold;

}
.category-color {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.category-colors {
    text-align: left;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.content.container .pager li > a {
    text-decoration: none;
}

.content.container .news-termine-items-wrapper h3 a {
    text-decoration: none;
}
.content.container .news-termine-items-wrapper h3 {
    font-size:18px;
}

.category-colors .category-title {
    font-size: 75%;
}

.calendar-newsItem .category-colors {
    text-align: left;
    height: auto;
}

.news-infos .category-color {
    width: 24px;
    height: 24px;
}

.category-legend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.category-legend-list li {
    display: flex;
    align-items: center;
    margin: 0 10px 10px 0;
    border: 1px solid #eee;
    background-color: #fff;
    padding-right: 10px;
    font-size: 75%;
}

.news-calendar-table {
    width: 100%;
}

.news-calendar-table th,
.news-calendar-table td {
    border: 1px solid #eee;
    padding: 10px;
}

.news-calendar-table td {
    width: calc(100% / 7);
}

.day-number {

}

.news-calendar-table tr.title {
    background-color: #BDD1E4;
    color: #fff;
}

.news-calendar-table tr.days {
    background-color: #82A1C3;
    color: #fff;
}

.calendar-newsItem {
    text-align: left;
    background-color: #eee;
    height: auto;
    padding: 3px;
    font-size: 12px;
    border-bottom: 1px solid #ddd;
}

.calendar-newsItem .cal-color {
    width: 6px;
    height: 3px;
    margin-right: 2px;
    display: inline-block;
}

.calendar-news-category  {
    line-height: 0;
}

.calendar-news-shortdata {
    display: flex;
    justify-content: space-between;
}

.news-termine-items-wrapper.flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px
}

.col-md-4.termine {
    width: calc(33.333333% - 14px);
    min-width: 300px;
}

.category-colors-header {
    margin: -1em -1em 1em -1em;
    padding: 17px 30px;
    color: #fff;
}

.news-single .category-colors-header {
    margin: 0em 0em 1em 0em;
    padding: 12px 15px;
}

.news-single .news-infos {
    margin-bottom: 1em;
}

.category-colors-header .category-title {
	font-weight: bold;
}

.category-colors-header img {
    margin-right: 1em;
}

.shariff .ical a {
    background-color: rgba(130, 161, 195, 0.9);
}

.shariff .ical a:hover {
    background-color: rgba(130, 161, 195, 1);
}

.shariff .fa-calendar-plus-o {
    width: 35px;
    line-height: 35px;
    text-align: center;
    vertical-align: middle;
    font-size: 21px;
}

.shariff .orientation-horizontal li {
    margin-right: 0 !important;
    margin-left: 3% !important;
}

.teaser-text > div {
    min-height: 80px;
}

@media only screen and (min-width:360px) {
    .shariff .orientation-horizontal li {
	margin-left: 1.8% !important;
	margin-right: 0 !important;
    }
}

@media only screen and (min-width:1024px) {
    .shariff .fa-calendar-plus-o {
	width: 30px;
	line-height: 30px;
    }
  .shariff-button.whatsapp {
    display:none;
  }

}

@media only screen and (max-width:497px) {

	.news-single .gratulationen-detail .news-img-wrap {
		float: none;
		width: 282px;
		margin: 0 auto 25px auto;
	}
}
