div.articlelist.itemgroup li,
div.infosplit,
div.article,
div.inlineArticle {
	background-color: var(--main-elements-background-color);
	box-shadow: var(--box-shadow);
}

/* TODO: Find out where this one is used */
div.articlelist.itemgroup i {
	color: var(--main-text-color);
	background-color: var(--main-elements-background-color);
	text-decoration: none;
}


div.articleContent,
div.articleSummary,
div.infosplit {
	background-color: var(--main-elements-background-color);
}


div.articleContent {
	padding: 1em;
	margin: 0;
}

div.articleContent .content {
	overflow: inherit;
}

div.articleSummary.article-banner {
	padding: 0;
}

div.articleSummary.article-banner img {
	margin: 0;
}

div.article div.articleContent {
	padding-bottom: 1em;
	margin-bottom: 1em;
}

div.article div.articleContent .articleSummary {
	margin-top: 1em;
	margin-bottom: 1em;
	display: flex;
}

div.article div.articleContent .articleSummary > .text,
div.article div.articleContent .articleSummary > .text p {
	font-weight: bold;
}

div.article div.articleContent .articleSummary .picture {
	float: left;
	padding: 0;
	margin: 0;
	margin-right: 1em;
}

div.article div.articleContent .articleSummary .picture.rightalign {
	float: right;
	margin: 0;
	margin-left: 1em;
}

div.article div.articleContent .articleSummary .picture img {
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	max-width: 200px;
}


div.infosplit {
	border-bottom: none;
	overflow: hidden;
	margin-top: 0;
	margin-bottom: 1em;
	display: flex;
	font-size: 1rem;
}

div.pageContent.articlebanner div.infosplit > div {
	display: none;
}

div.infosplit > div > * {
	margin-bottom: 0;
	padding-bottom: 0;
}

div.infosplit div.info {
	padding: 1em;
	flex-grow: 1;
}

div.infosplit.empty div.info {
	padding-bottom: 0;
}

div.infosplit:not(.empty) div.info h1 {
	margin-bottom: 1em;
}

div.infosplit div.info > div {
	padding: 0;
}

div.infosplit div.image {
	flex: 0 0 350px;
	background-size: cover;
	background-color: transparent;
	background-position: center;
	
}

div.infosplit div.icon {
	background-color: var(--header-color);
	color: var(--main-elements-background-color);
	fill: var(--main-elements-background-color);
	text-align: center;
	align-self: center;
}

div.infosplit div.icon i {
	font-size: 150px;
	line-height: 250px;
}

div.infosplit div.icon svg.icon {
	fill: inherit;
	width: 9em;
	height: 9em;
	align-self: center;
	text-align: center;
	padding: 3em;
}


div.articlelist.itemgroup {
	border: none;
}

div.articlelist.itemgroup li {
	background-color: var(--main-elements-background-color);
	margin-bottom: 1em;
}

div.articlelist.itemgroup a {
	padding: 32px 0 32px 5%;
	text-decoration: none;
	height: auto;
	display: flex;
}

div.articlelist.itemgroup i {
	font-size: 32px;
	background-color: transparent;
	margin-top: 2px;
}

div.articlelist.itemgroup a:focus i {
	color: var(--main-elements-background-color);
}

div.articlelist.itemgroup div.info {
	padding-left: 12px;
}

div.articlelist li a h3 {
	font-size: 1rem;
	font-weight: 500;
	background-color: transparent;
	margin-bottom: 0.1em;
}

div.articlelist li a:focus h3 {
	color: var(--main-elements-background-color);
}

.articleHead {
	padding-left: 1.2em;
	padding-top: 1em;
	padding-right: 0;
	margin-top: 0;
}


/*div.group > div.wrapper .inlineArticle:last-of-type{
	margin-bottom: 2em;
}*/

div.inlineArticle {
	display: flex;
	margin-bottom: 1em;
}

div.inlineArticle:empty {
	display: none;
}

div.inlineArticle .articleInfo {
	flex-grow: 100;
	padding: 1em;
}


div.pagewrapper-front div.inlineArticle:last-of-type,
div.pagewrapper-articles div.inlineArticle:last-of-type {
	margin-bottom: 1rem;
}



@media screen and ( max-width: 480px){
	
	div.articleContent {
		padding: .5em;
	}
	
	div.infosplit div.info {
		padding: .5em;
	}
	
	div.article div.articleContent,
	div.inlineArticle .articleInfo {
		padding: .5rem;
	}
	
	
	div.article div.articleContent .articleSummary {
		display: block;
	}
	
	div.article div.articleContent .articleSummary .picture {
		float: unset;
		padding: 0;
		margin: 0;
		margin-right: 0;
	}
	
	div.article div.articleContent .articleSummary .picture img {
		max-width: 100%;
	}
	
	.articleInfo iframe {
		max-width: 100%;
	}
	
	div.inlineArticle,
	div.article {
		margin: 0;
	}
	
	/****  infosplit ****/
	div.infosplit div.info {
		flex-grow: 1;
		padding: .5em;
	}
	
	.articleHead {
		padding-left: 1rem;
	}
}

div.pageContent div:not(.text) > h1:first-of-type {
	background-color: unset;
	color: unset;
}

div.pageContent div:not(.text) > h1:first-of-type {
	background-color: unset;
	color: unset;
}