body { background: #EEE; } /* Change-x */
body.bgwhite { background: #FFF; }

#header {
	background: #FFF;
	box-shadow: 0 1px 8px 0 rgba(0,0,0,0.2);
}
body.header-dockmode #header { /* App-x */
	position: fixed; z-index: 100; left: 0; top: 0;
	width: 100%;
}
#header > .wrapper { max-width: none; } /* App-x */
#beta-info {
	color: #FFF;
	position: absolute; z-index: 1; right: 24px; top: 73px;
}
#topheader {
	display: table;
	width: 100%;
}
#topheader > * {
	display: table-cell;
	padding: 0.5em 0;
	vertical-align: middle;
}
#topheader > *:nth-child(1) { 
	padding-right: 1em;
	width: 160px; 
}
#topheader > *:nth-child(2) {
	height: 41.14px;
	text-align: right;
}
#topheader > *:nth-child(2) > div { display: inline-block; }
#topheader .icon-cta {
	display: inline-block;
	vertical-align: middle;
}
#topheader > *:nth-child(2) > div + div { margin-left: 1em; }
@media screen and (max-width: 380px) {
	#topheader > *:nth-child(1) { width: 110px; }
}
#elas-website { width: 36px; }
#elas-website img {
	display: block;
	height: auto;
	margin-top: -1px;
	width: 100%;
}

#userinfo-container, #userinfo-container .wrapper, .topheader-overlay-container,
.topheader-overlay-container .wrapper { position: relative; z-index: 2; }
#userinfo-abbreviation {
	background: #a24f49;
	border-radius: 50%;
	color: #FFF;
	display: inline-block;
	line-height: 36px;
	text-align: center;
	width: 36px; height: 36px;
}
#userinfo-abbreviation:hover { text-decoration: none; }
#userinfo-abbreviation .material-icons { vertical-align: -6px; }
#userinfo-overlay > .wrapper, .topheader-overlay > .wrapper { max-width: none; } /* App-x */
#userinfo-overlay, .topheader-overlay {
	display: none;
	position: fixed; z-index: 1000; left: 0; top: 57px; right: 0; bottom: 0;
}
#userinfo-overlay-extender, .topheader-overlay-extender {
	height: 57px;
	position: fixed; z-index: 1000; left: 0; top: 0; right: 62px;
}
#userinfo-container.active #userinfo-overlay, .topheader-overlay-container.active .topheader-overlay { display: block; }
.topheader-overlay-container .wrapper { height: 100%; }
#userinfo-box, .topheader-overlay-box {
	background: #FFF;
	border: 1px solid #EEE;
	box-sizing: border-box; box-shadow: -4px 5px 5px -3px #848484;
	display: inline-block;
	position: absolute; z-index: 1; right: 20px; top: 0;
	width: calc(100% - 40px); max-width: 350px;
}
.topheader-overlay-box {
	max-height: 80%;
	overflow: auto;
}
.topheader-overlay-box::-webkit-scrollbar { width: 8px; }
.topheader-overlay-box::-webkit-scrollbar-track-piece { background: #EEE; }
.topheader-overlay-box::-webkit-scrollbar-thumb {
	background-color: #CCC;
	border: 2px solid #EEE;
	border-radius: 2px;
}
#userinfo-arrow, .topheader-overlay-arrow {
	border: 1px solid #EEE;
	display: inline-block;
	position: absolute; z-index: 1; right: 10px; top: -6px;
	transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); -o-transform: rotate(45deg); -ms-transform: rotate(45deg);
	width: 12px; height: 12px;
}
.topheader-overlay-arrow { z-index: 2; }
.topheader-overlay-arrow:before {
	background: #FFF;
	content: '';
	display: block;
	height: 14px;
	position: relative; z-index: 1; left: 1px; top: 1px;
}
#userinfo-arrow:after, .topheader-overlay-arrow:after {
	background: #FFF;
	content: '';
	display: block;
	height: 12px;
	width: 100%;
}
.topheader-overlay-box-inner {
	background: #FFF;
	padding: 1.5em;
	position: relative; z-index: 1;
	text-align: left;
}
#userinfo-table {
	background: #FFF;
	display: table;
	position: relative; z-index: 1;
	width: 100%;
}
#userinfo-table > div {
	display: table-cell;
	padding: 1.5em;
	text-align: left;
	vertical-align: middle;
}
#userinfo-table > div:first-child {
	padding-right: 0.5em;
	width: 50px;
}
#userinfo-table > div:last-child {
	font-weight: 600;
	padding-left: 0.5em;
}
#userinfo-table > div:first-child > span {
	font-size: 3.3em;
	vertical-align: -4px;
}
#userinfo-email {
	font-size: 0.85em; font-weight: normal;
	margin-top: 0.1em;
}
#login-container {
	background: #FFF;
	position: relative; z-index: 1;
	text-align: left;
}
/* App-x */
#darkmode-btn, #previewmode-btn { margin-left: 0.5em; }
#darkmode-btn.inactive, #previewmode-btn.inactive { color: #a7a7a7; }
#darkmode-btn .material-icons, #previewmode-btn .material-icons {
	font-size: 2.8em;
	margin: -14px 0;
	vertical-align: -17px;
}
/* App-x */
/* Lang-x */
#__changelang {
	border: none;
	box-sizing: border-box;
	padding-right: 1.2em!important; padding-left: 1.2em!important;
	width: 100%;
}
/* Lang-x */
#userinfo-links {
	background: #FFF;
	position: relative; z-index: 1;
}
#userinfo-links > * {
	border-top: 1px solid #EEE;
	color: #001722;
	display: block;
	padding: 0.75em 1.5em;
	text-align: left;
}
#userinfo-links > *:hover {
	background: #f7f8fa;
	text-decoration: none;
}
.ring {
	animation: ring 4s .2s ease-in-out infinite; -webkit-animation: ring 4s .2s ease-in-out infinite; -moz-animation: ring 4s .2s ease-in-out infinite;
}
@keyframes ring {
	0% { transform: rotate(0); }
	1% { transform: rotate(30deg); }
	3% { transform: rotate(-28deg); }
	5% { transform: rotate(34deg); }
	7% { transform: rotate(-32deg); }
	9% { transform: rotate(30deg); }
	11% { transform: rotate(-28deg); }
	13% { transform: rotate(26deg); }
	15% { transform: rotate(-24deg); }
	17% { transform: rotate(22deg); }
	19% { transform: rotate(-20deg); }
	21% { transform: rotate(18deg); }
	23% { transform: rotate(-16deg); }
	25% { transform: rotate(14deg); }
	27% { transform: rotate(-12deg); }
	29% { transform: rotate(10deg); }
	31% { transform: rotate(-8deg); }
	33% { transform: rotate(6deg); }
	35% { transform: rotate(-4deg); }
	37% { transform: rotate(2deg); }
	39% { transform: rotate(-1deg); }
	41% { transform: rotate(1deg); }
	43% { transform: rotate(0); }
	100% { transform: rotate(0); }
}

#tutorial-menu { margin-bottom: -8px; }
#tutorial-menu > * {
	display: table;
	width: 100%;
}
#tutorial-menu > * + * { margin-top: 0.8em; }
#tutorial-menu > * > * {
	display: table-cell;
	font-size: 1.1em;
	vertical-align: top;
}
#tutorial-menu > * > *:first-child {
	text-align: left;
	width: 40px;
}
#tutorial-menu a { text-decoration: none; }

.enjoyhint { z-index: 100000000!important; }
body .enjoyhint_close_btn, body .enjoyhint_next_btn, body .enjoyhint_prev_btn {
	background-color: #ff9800;
	border-radius: 2px; border: 0!important;
	color: #FFF;
	font-family: 'Droid Serif', sans-serif; font-size: 1em!important; font-weight: 600;
	line-height: 40px;
	outline: none!important;
	text-decoration: none; text-transform: uppercase; text-align: center;
}
body .enjoyhint_close_btn {
	display: inline-block;
	hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;
	height: auto; min-height: 20px;
	padding: 14px 22px;
}
body .enjoyhint_close_btn:hover, body .enjoyhint_next_btn:hover, body .enjoyhint_prev_btn:hover { background: #34302d; }
body .enjoy_hint_label { font-size: 24px; }
@media screen and (max-width: 640px) {
	body .enjoyhint_close_btn, body .enjoyhint_next_btn, body .enjoyhint_prev_btn { line-height: 35px; }
}

#showmobilemenu { 
	display: none;
	margin-right: 20px; margin-left: 20px; margin-top: 12px; /* Change-x */
	vertical-align: 2px; 
}
#showmobilemenu i {
	color: #FFF; /* Change-x */
	font-size: 1.8em;
}
#logo {
	display: inline-block;
	height: auto;
	width: 70px;
}
#loginbtn {
	background: #66bb6a;
	box-sizing: border-box;
	padding: 12px;
	min-width: 0;
}
#loginbtn:hover { background: #34302d; }
#nav-container { background: #a24f49; }
body.betamode #nav-container { background: #ff9800; }
/* Apps-x */
#nav-container { min-height: 53px; }
#infomenu {
	display: inline-block;
	float: left;
	margin-top: 7px;
	position: relative; z-index: 1; left: 0;
	width: 34px;
}
#infomenu .material-icons { color: #001722; }
#infooverlay {
	background: #FFF;
	box-sizing: border-box;
	box-shadow: 0 12px 8px 0 rgb(0 0 0 / 20%);
	display: inline-block;
	overflow: auto;
	padding: 0.8em;
	transition: left 0.5s;
	position: fixed; top: 0; bottom: 0; left: -400px; z-index: 100;
	width: 100%; max-width: 380px;
}
#infooverlay::-webkit-scrollbar { width: 10px; }
#infooverlay::-webkit-scrollbar-track-piece { background: #EEE; }
#infooverlay::-webkit-scrollbar-thumb {
	background-color: #CCC;
	border: 2px solid #EEE;
	border-radius: 2px;
}
.show-infooverlay #infooverlay { left: 0; }
#infooverlay-header {
	display: block;
	text-align: left;
}
#infooverlay-header:after {
	content: '';
	clear: both;
	display: table;
	overflow: auto;
}
#hide-infomenu {
	color: #001722;
	margin-left: 9px;
}
#home-btn {
	display: none;
	float: right;
	font-size: 1.2em;
	text-decoration: none;
}
.show-homebtn #home-btn { display: inline-block; }
#home-btn:hover { opacity: 0.5; }
#home-btn > span {
	margin-right: 0.25em;
	vertical-align: -6px;
}
#infooverlay-body { padding: 0 0.8em; }
.infooverlay-section {
	background: #FFF;
	margin-top: 40px; margin-left: 0; margin-right: 0;
	padding: 0;
}
.infooverlay-section-title {
	font-size: 1.4em;
	padding-right: 15px; padding-bottom: 0.5em;
	position: relative; z-index: 1;
	text-transform: uppercase;
}
.show-always .infooverlay-section-title { cursor: default; }
.infooverlay-section-body { border-top: 1px solid #001722; }
.open .infooverlay-section-body, .show-always .infooverlay-section-body { display: block; }

.app-links::after {
	content: '';
	clear: both;
	display: table;
	overflow: auto;
}
.app-links > * {
	color: #001722;
	display: inline-block;
	float: left;
	font-size: 1.1em;
	margin: 18px 0;
	min-height: 34px;
	width: 50%;
}
.app-links > *:hover {
	opacity: 0.5;
	text-decoration: none;
}
.app-links > * > div {
	display: table;
	width: 100%;
}
.app-links > * > div > div {
	display: table-cell;
	vertical-align: middle;
}
.app-links > * > div > div:first-child {
	padding-right: 12px;
	width: 32px;
}
.app-links img {
	display: block;
	height: auto;
	width: 100%;
}
@media screen and (max-width: 400px) {
	.app-links > * { width: 100%; }
}
@media screen and (min-width: 1024px) {
	/*#infooverlay { left: 0!important; }*/
	.movemain #main {
		box-sizing: border-box;
		margin-left: 385px;
		width: calc(100% - 385px);
		transition: margin-left 0.5s, width 0.5s;
	}
	.movemain.hide-infooverlay #infooverlay { left: -400px!important; }
	.movemain.hide-infooverlay #main {
		margin-left: 0;
		width: 100%;
	}
}
#nav { max-width: none; }
/* Apps-x */
#nav ul { display: table; }
#nav > ul > li {
	display: table-cell;
	position: relative; z-index: 1;
	vertical-align: middle;
}
#nav > ul > li + li { border-left: 1px solid transparent; }
#nav > ul > li > a {
	box-sizing: border-box;
	min-height: 53px;
}
#nav ul li a { 
	color: #FFF; 
	display: block;
	padding: 1em 1.25em;
	white-space: nowrap;
}
#nav ul li a > i {
	margin-left: 5px; margin-right: -8px; margin-top: -4px;
	vertical-align: -6px;
}

#nav > ul > li.active > a, #nav > ul > li:hover > a {
	background: #34302d; 
	text-decoration: none;
}
#nav ul ul {
	background: #FFF;
	box-shadow: 0 1px 8px 0 rgba(0,0,0,0.2);
	display: none;
	font-size: 0.95em;
	position: absolute; z-index: 1; left: 0; top: 52px;
}
#nav ul ul li + li { margin-top: 1px; }
#nav ul ul a { 
	border-left: 4px solid transparent; border-right: 4px solid transparent;
	color: #001722;
	padding-top: 0.75em; padding-bottom: 0.5em;
	text-transform: uppercase;
}
#nav ul ul li.active > a, #nav ul ul a:hover {
	background: rgba(214, 125, 117, 0.25);
	border-left-color: #a24f49;
	text-decoration: none!important;
}
#nav ul ul ul {
	background: #FFF;
	border-top: 1px solid #001722;
	box-shadow: none;
	display: block;
	position: static;
}
#nav ul ul ul a { padding-top: 0.5em; padding-bottom: 0.4em; }
#nav ul ul ul a > i {
	margin: 0; margin-top: -4px; margin-right: 0.15em;
	transform: none!important;
}
#nav ul ul ul li.active a, #nav ul ul ul a:hover {
	background: #FFF!important;
	border-left-color: transparent;
	color: #a24f49;
}
#nav ul ul ul li.active a i, #nav ul ul ul a:hover i { color: #a24f49; }

#searchbox {
	position: absolute; z-index: 1; right: 20px; bottom: 12px;
	white-space: nowrap;
}
#language-select-container {
	color: #FFF;
	display: inline-block;
	margin-right: 1em;
}
@media screen and (min-width: 1301px) {
	#language-select-container.gotop {
		margin-right: 0;
		position: relative; z-index: 1; top: -4px;
	}
}
#language-select-container > * {
	color: #FFF;
	font-family: 'Arial';
}
#language-select-container .active { text-decoration: underline; }
#searchbox input {
	background: transparent!important; background-color: transparent!important;
	border-bottom: 1px solid #FFF!important;
	box-sizing: border-box;
	color: #FFF;
	margin-right: 10px;
	padding: 4px 8px;
	width: 200px;
}
#searchbox input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #FFF;
	opacity: 1; /* Firefox */
}
#searchbox input:-ms-input-placeholder { color: #FFF; }
#searchbox input::-ms-input-placeholder { color: #FFF; }
#searchbox button {
	background: transparent;
	border-radius: 0;
	min-height: 0; min-width: 0;
	padding: 0;
	vertical-align: -8px;
}
@media screen and (min-width: 1301px) {
	#mobile-search { display: none!important; }
}
@media screen and (max-width: 1300px) {
	#language-select-container {
		margin-right: 0;
		vertical-align: 5px;
	}
	#searchbox input, #searchbox button { display: none!important; }
}
@media (prefers-color-scheme: dark) {
	body #searchbox input {
		border-bottom-color: #e1dcde!important;
		color: #e1dcde;
	}
	body #searchbox input::placeholder { color: #e1dcde; }
	body #searchbox input:-ms-input-placeholder { color: #e1dcde; }
	body #searchbox input::-ms-input-placeholder { color: #e1dcde; }
}
body[data-darkmode="true"] #searchbox input {
	border-bottom-color: #e1dcde!important;
	color: #e1dcde;
}
body[data-darkmode="true"] #searchbox input::placeholder { color: #e1dcde; }
body[data-darkmode="true"] #searchbox input:-ms-input-placeholder { color: #e1dcde; }
body[data-darkmode="true"] #searchbox input::-ms-input-placeholder { color: #e1dcde; }

#main { 
	font-size: 0.95em;
	margin-top: 40px;
}
body.header-dockmode #main { margin-top: 130px; } /* App-x */
#previewmode-hint {
	background: #ff9800;
	color: #FFF;
	font-family: 'Roboto Condensed', sans-serif; font-size: 1.5em;
	margin-bottom: 1em; margin-top: -0.9em;
	padding: 0.5em;
	position: relative; z-index: 1;
	text-align: center; text-overflow: ellipsis;
	white-space: nowrap;
}
#previewmode-hint::before, #previewmode-hint::after {
	background: #ff9800;
	content: '';
	display: block;
	position: absolute; z-index: 1; top: 0; bottom: 0;
	width: 20px;
}
#previewmode-hint::before { left: -20px; }
#previewmode-hint::after { right: -20px; }
#article { min-height: calc(100vh - 256.91px); }
#pre-headline {
	font-size: 1.25em;
	margin-bottom: 0.5em;
}
#article > *:first-child { margin-top: 0; }
#article > *:last-child { margin-bottom: 0; }

#article .mediumform { max-width: 1200px; }
#article .smallform { max-width: 900px; }

#article .box {
	background: #f7f8fa;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
	padding: 1em;
}
#article .box h2 { margin-top: 0; }
#article .box .field input, #article .box .field select { background: #f7f8fa!important; }

body.bgwhite #article h1, body.bgwhite .like-headline {
	border-bottom: 1px solid #a24f49;
	color: #a24f49;
	padding-bottom: 0.25em;
	text-transform: uppercase;
}
body.bgwhite .like-headline { font-size: 2em; }

#overview-container { 
	display: table;
	min-height: calc(100vh - 300px);
	width: 100%;
}
#overview-container > * {
	display: table-cell;
	vertical-align: top;
}
#overview-preview {
	padding-left: 30px;
	width: 500px;
}
#overview-preview.fixed > div { 
	position: fixed; top: 10px;
	width: 500px;
}
#overview-preview .video-container { overflow: visible; }
#overview-preview .video-container iframe { 
	min-height: calc(100vh - 300px);
	overflow: visible;
}
@media screen and (max-width: 1300px) {
	#overview-preview { display: none; }
}

#card-container-filter { text-align: right; }
#card-container-filter > * { 
	display: inline-block; 
	width: 100%; max-width: 300px;
}

#add-container { margin: 2em 0 20px; }
#add-container a { 
	background: none;
	border: 1px dashed #CCC;
	color: #9cabba;
	padding: 1rem; 
}
#add-container a:hover { border-color: #9cabba; }

.mdc-card, #add-container a {
	box-sizing: border-box;
	box-shadow: 0 0.5px 1px 0 rgba(0,0,0,0.2);
	width: 100%;
}
.mdc-card { 
	background: #f7f8fa;
	min-height: 250px;
	padding: 2rem;
}
.mdc-card.inactive { text-decoration: line-through; }
.mdc-card:hover, #add-container a:hover { background: #fafdff; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2); }
.mdc-card.nopadding { padding: 0; }
.mdc-card + .mdc-card { margin-top: 20px; }
.mdc-card h2 { margin-top: 0; }
a.mdc-card, .mdc-card a {
	color: #001722;
	text-decoration: none;
}
.mdc-card.minmalistic {
	min-height: 0; 
	padding: 0;
}
.mdc-card.minmalistic > .liketable > * {
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; 
	padding: 1rem;
	max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mdc-card.minmalistic > .liketable > *.controlcol { 
	text-align: center;
	width: 60px; min-width: 60px;
}
.mdc-card.minmalistic .controlcol a:hover { color: #a24f49; }

.text-loader {
	background: rgba(0, 0, 0, 0.7);
	display: none;
	position: fixed; z-index: 1001; left: 0; top: 0;
	width: 100%; height: 100vh;
}
.text-loader > div {
	display: table;
	width: 100%; height: 100%;
}
.text-loader > div > div {
	color: #FFF;
	display: table-cell;
	font-size: 1.2em;
	text-align: center;
	vertical-align: middle;
}
.text-loader-icon i {
	animation: rotating 0.5s linear infinite; -webkit-animation: rotating 0.5s linear infinite; -moz-animation: rotating 0.5s linear infinite; -ms-animation: rotating 0.5s linear infinite; -o-animation: rotating 0.5s linear infinite;
	font-size: 4em;
}
.text-loader-txt {
	margin-top: 1em;
	padding-left: 20px; padding-right: 20px;
}

.pos-rel { position: relative; z-index: 1; }
.pos-rel .edit-in-popup {
	position: absolute; z-index: 1; right: 0; top: 50%;
	transform: translateY(-50%);
}
.pos-rel .edit-in-popup:hover { opacity: 0.5; }

.text-clearer {
	clear: both;
	display: block;
	height: 1px;
	overflow: auto;
}

#newslist, #fileslist { margin-top: 1em; }
#newslist > *, #fileslist > * { display: block; }
#newslist > *:hover, #fileslist > *:hover { border-bottom-color: #a24f49; }
#newslist > * + *, #fileslist > * + * { margin-top: 0.8em; }
#newslist > * > *, #fileslist > * > * {
	display: table;
	width: 100%;
}
#newslist > * > * > *, #fileslist > * > * > * {
	display: table-cell;
	vertical-align: middle;
}
#newslist > * > * > *:first-child, #fileslist > * > * > *:first-child {
	padding-right: 12px;
	width: 22px;
}
#newslist img, #fileslist img {
	display: block;
	height: auto;
	width: 100%;
}
#fileslist img {
	width: 16px;
	height: auto;
}

.list-item {
	border-bottom: 1px solid #CCC;
	color: #001722;
	padding: 0.5em 0;
	text-decoration: none!important;
}
.list-item + .list-item { margin-top: 0.5em!important; }

.tab-header { text-align: right; }
.tab-header > * {
	background: #FFF;
	box-sizing: border-box;
	display: inline-block;
	line-height: 53px;
	text-align: center;
	width: 40px; height: 40px;
}
.tab-header > *.active {
	background: #BBB;
	color: #FFF;
}
.tab-body > * { display: none; }
.tab-body > *.active { display: block;}

#header { position: relative; z-index: 99; /* Change-x */ }

#client_admin-container {
	margin-top: 4em;
	padding: 0 0.8em;
}
#client_admin-container.fixedBottom {
	position: absolute;
	bottom: 20px;
	left: 0.8em;
	right: 0.8em;
}
#client_admin-title {
	border-bottom: 1px solid #001722;
	color: #001722;
	font-size: 1.4em;
	padding-right: 15px;
	padding-bottom: 0.5em;
	position: relative;
	z-index: 1;
	text-transform: uppercase;
	margin-bottom: 0.5em;
}
body[data-darkmode="true"] #client_admin-title {
	border-color: #e1dcde;
	color: #e1dcde;
}
#client_admin-container a { color: #001722; }
#client_admin-img { margin-bottom: 8px; }
#client_admin-img img {
	display: block;
	height: auto;
	width: 100%; max-width: 150px;
}
body[data-darkmode="true"] #client_admin-container a { color: #e1dcde; }
@media (prefers-color-scheme: dark) {
	body #client_admin-title {
		border-color: #e1dcde;
		color: #e1dcde;
	}
	body #client_admin-container a { color: #e1dcde; }
}

/* START Custom */
.top-news.cnt-2, .top-news.cnt-3 {
	display: -ms-grid; display: grid;
	height: 684px;
	-ms-grid-columns: 2fr 1fr; grid-template-columns: 2fr 1fr;
	-ms-grid-rows: 1fr 1fr; grid-template-rows: 1fr 1fr;
	grid-template-areas:
		"tn-one tn-two"
		"tn-one tn-three";
}
.top-news.cnt-2 > *:first-child, .top-news.cnt-3 > *:first-child {
	border-right: 5px solid transparent;
	grid-area: tn-one;
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	-ms-grid-row-span: 2;
}
.top-news.cnt-2 > *:nth-child(2), .top-news.cnt-3 > *:nth-child(2) {
	border-bottom: 2.5px solid transparent;
	grid-area: tn-two;
	-ms-grid-column: 2;
	-ms-grid-row: 1;
}
.top-news.cnt-3 > *:nth-child(3) {
	border-top: 2.5px solid transparent;
	grid-area: tn-three;
	-ms-grid-column: 2;
	-ms-grid-row: 2;
}

.newsbox-top {
	background: #EEE;
	height: 100%;
	overflow: hidden;
	position: relative; z-index: 1;
	transition: opacity 0.3s ease-in;
}
.newsbox-top:hover { opacity: 0.8; }
.newsbox-top img {
	display: block;
	height: auto;
	position: relative; z-index: 1;
	width: 100%;
}
.newsbox-top-cattitle {
	font-size: 1.8em;
	position: absolute; z-index: 2; left: 0; bottom: 0;
	width: 100%;
}
.newsbox-top-cattitle > * {
	box-sizing: border-box;
	color: #FFF;
	line-height: 1.1em;
}
.newsbox-top-cat {
	background: #a24f49;
	display: inline-block;
	padding: 0.25em 0.5em;
}
.newsbox-top-title {
	background: #383335;
	font-weight: 600; font-size: 1em;
	margin: 0;
	padding: 0.5em 0.5em;
}
@media screen and (max-width: 1920px) {
	.top-news.cnt-2, .top-news.cnt-3 { height: 35.62vw; }
}
@media screen and (max-width: 1179px) {
	.top-news.cnt-2, .top-news.cnt-3 {
		height: auto;
		-ms-grid-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
		-ms-grid-rows: auto auto; grid-template-rows: auto auto;
		grid-template-areas:
			"tn-one tn-one"
			"tn-two tn-three";
	}
	.top-news.cnt-2 > *:first-child, .top-news.cnt-3 > *:first-child {
		border-right: none; border-bottom: 5px solid transparent;
		height: 52.09vw;
		-ms-grid-column-span: 2;
		-ms-grid-row-span: 1;
	}
	.top-news.cnt-2 > *:nth-child(2), .top-news.cnt-3 > *:nth-child(2), .top-news.cnt-3 > *:nth-child(3) { height: 25.76vw; }
	.top-news.cnt-2 > *:nth-child(2), .top-news.cnt-3 > *:nth-child(2) {
		border-bottom: none; border-right: 2.5px solid transparent;
		-ms-grid-column: 1;
		-ms-grid-row: 2;
	}
	.top-news.cnt-3 > *:nth-child(3) { border-top: none; border-left: 2.5px solid transparent; }
}
@media screen and (max-width: 1023px) {
	.newsbox-top-cattitle { font-size: 1.5em; }
}
@media screen and (max-width: 660px) {
	.newsbox-top-cattitle { font-size: 1.2em; }
}
@media screen and (max-width: 550px) {
	.top-news.cnt-2, .top-news.cnt-3 {
		-ms-grid-columns: 1fr; grid-template-columns: 1fr;
		-ms-grid-rows: auto auto auto; grid-template-rows: auto auto auto;
		grid-template-areas:
			"tn-one"
			"tn-two"
			"tn-three";
	}
	.top-news.cnt-2 > *, .top-news.cnt-3 > * {
		border-right: none!important;
		height: 52.99vw!important;
		-ms-grid-column: 1!important;
		-ms-grid-row: 1!important;
		-ms-grid-column-span: 1!important;
		-ms-grid-row-span: 1!important;
	}
	.top-news.cnt-2 > * + *, .top-news.cnt-3 > * + * { border-top: 5px solid transparent!important; }
	.top-news.cnt-3 > *:nth-child(3) { border-left: none; }
}
@media screen and (max-width: 420px) {
	.newsbox-top-cattitle { font-size: 1.1em; }
}
@media (prefers-color-scheme: dark) {
	body .newsbox-top-cattitle > * { color: #e1dcde; }
	body .newsbox-top-cat { background: #d6857a; }
	body .newsbox-top-title { background: #404040; }
	body .newsbox-top { background: #727272; }
}
body[data-darkmode="true"] .newsbox-top-cattitle > * { color: #e1dcde; }
body[data-darkmode="true"] .newsbox-top-cat { background: #d6857a; }
body[data-darkmode="true"] .newsbox-top-title { background: #404040; }
body[data-darkmode="true"] .newsbox-top { background: #727272; }

.news-article-spacer {
	border-top: 2.5px solid #a24f49;
	margin-top: 3em;
}

.news-article {
	color: #001722;
	display: block;
	text-decoration: none!important;
	transition: background 0.3s ease-in;
}
.news-article.no-img > * { padding: 0!important; }
.news-article + .news-article { border-top: 2.5px solid #a24f49; }
.news-article img {
	display: block;
	height: auto;
	transition: opacity 0.3s ease-in;
	width: 100%;
}
.news-article + .top-article img { margin-top: 2em; }
.news-article:hover { background: #FAFAFA; }
.news-article:hover img { opacity: 0.8; }
.news-article > * {
	display: table;
	padding: 2em 0;
	width: 100%;
}
.news-article > * > * {
	display: table-cell;
	vertical-align: middle;
}
.news-article > * > *:first-child { width: 30%; }
.news-article.top-article > * > *:first-child { width: 66.66%; }
.news-article.no-img > * > *:first-child { width: 100%!important; }
.news-article > * > *:last-child {
	font-size: 1.1em;
	padding: 1.5em 2em;
	vertical-align: top;
}
.news-article-categories, .news-article-title, .news-article-teaser, .news-article-published { line-height: 1.25em; }
.news-article-title { font-size: 1.3125em; }
.news-article-categories {
	color: #a24f49;
	font-weight: 600;
}
.news-article-published {
	color: #a24f49;
	font-size: 0.9em;
}
.like-containter {
	color: #a24f49;
	font-size: 1.2em;
	margin-top: 1em;
}
.like-containter .material-icons {
	margin-right: 0.25em;
	vertical-align: -0.2em;
}
.like-containter .material-icons:hover {
	color: #34302d;
	cursor: pointer;
}
@media (prefers-color-scheme: dark) {
	body .like-containter { color: #d6857a; }
	body .like-containter .material-icons:hover { color: #9a4e4b; }
}
body[data-darkmode="true"] .like-containter { color: #d6857a; }
body[data-darkmode="true"] .like-containter .material-icons:hover { color: #9a4e4b; }
@media screen and (max-width: 1179px) {
	.news-article-spacer.no-tablet { border-top: none; }

	.news-article.top-article > *, .news-article.top-article > * > * { display: block; }
	.news-article.top-article > * { padding: 0 0 1.25em!important; }
	body[data-darkmode="true"] .news-article.no-img > * { padding: 0!important; }
	body[data-darkmode="true"] .news-article.top-article > * { padding: 2em 0 0.45em!important; }
	.news-article.top-article > * > * {
		box-sizing: border-box;
		width: 100%!important;
	}
	.news-article.no-top-article.img > * > *:first-child { width: 50%; }
	body[data-darkmode="true"] .news-article.no-top-article.img > * > *:first-child { padding-right: 0; }
}
@media screen and (max-width: 1000px) {
	.news-article.no-top-article.img > * > *:last-child { padding-top: 0; padding-bottom: 0; }
}
@media screen and (max-width: 900px) {
	.news-article.no-top-article.img .news-article-published { margin-top: 1em; }
}
@media screen and (max-width: 767px) {
	.news-article.top-article > * > *:last-child { padding: 1em 0.8em 0!important; }
	.news-article.no-img > * > * { padding: 0.8em!important; }
	body[data-darkmode="true"] .news-article.top-article > * { padding-top: 0.8em!important; }
	body[data-darkmode="true"] .news-article.top-article > * > *:first-child { padding-left: 0.8em; padding-right: 0.8em; }
	body[data-darkmode="true"] .news-article.top-article > * > *:last-child { padding-bottom: 0.4em!important; }

	body[data-darkmode="true"] .news-article.no-top-article.img > * { padding-top: 0.8em!important; padding-bottom: 0.8em!important; }
	body[data-darkmode="true"] .news-article.no-top-article.img > * > :first-child { padding-left: 0.8em; }
	body[data-darkmode="true"] .news-article.no-top-article.img > * > :last-child { padding-right: 0.8em; }
}
@media screen and (max-width: 550px) {
	.news-article.no-top-article.img > * > * {
		display: block;
		padding: 0 0.8em!important;
	}
	.news-article.no-top-article.img > * > *:first-child {
		padding: 0!important;
		width: 100%;
	}
	body[data-darkmode="true"] .news-article.no-top-article.img > * > *:first-child {
		box-sizing: border-box;
		padding: 0.8em 0.8em 0!important;
		width: 100%;
	}
	.news-article.no-top-article.img img { padding: 1em 0; }
	.news-article.no-top-article.img > * { padding-top: 0.8em; padding-bottom: 0.8em; }
	.news-article-categories { font-size: 0.9em; }
	.news-article-title { font-size: 1.1em; }
	.news-article-published { margin-top: 1em; }
}
@media screen and (max-width: 550px) and (prefers-color-scheme: dark) {
	.news-article.no-top-article.img > * > *:first-child {
		box-sizing: border-box;
		padding: 0.8em 0.8em 0!important;
		width: 100%;
	}
}
@media screen and (max-width: 1179px) and (prefers-color-scheme: dark) {
	body .news-article.no-img > * { padding: 0!important; }
	body .news-article.top-article > * { padding: 2em 0 0.45em!important; }
	body .news-article.no-top-article.img > * > *:first-child { padding-right: 0; }
}
@media screen and (max-width: 767px) and (prefers-color-scheme: dark) {
	body .news-article.top-article > * { padding-top: 0.8em!important; }
	body .news-article.top-article > * > *:first-child { padding-left: 0.8em; padding-right: 0.8em; }
	body .news-article.top-article > * > *:last-child { padding-bottom: 0.4em!important; }
	body .news-article.no-top-article.img > * { padding-top: 0.8em!important; padding-bottom: 0.8em!important; }
	body .news-article.no-top-article.img > * > :first-child { padding-left: 0.8em; }
	body .news-article.no-top-article.img > * > :last-child { padding-right: 0.8em; }
}
@media (prefers-color-scheme: dark) {
	body .news-article {
		background: #404040;
		color: #e1dcde;
	}
	body .news-article:hover { background: #343232; }
	body .news-article-categories, body .news-article-published { color: #d6857a; }
	body .news-article + .news-article, body .news-article-spacer {
		border-top: none;
		margin-top: 2em;
	}
	body .news-article > * > *:first-child { padding-left: 2em; padding-right: 2em; }
}
body[data-darkmode="true"] .news-article {
	background: #404040;
	color: #e1dcde;
}
body[data-darkmode="true"] .news-article:hover { background: #393939; }
body[data-darkmode="true"] .news-article-categories, body[data-darkmode="true"] .news-article-published { color: #d6857a; }
body[data-darkmode="true"] .news-article + .news-article, body[data-darkmode="true"] .news-article-spacer {
	border-top: none;
	margin-top: 2em;
}
body[data-darkmode="true"] .news-article > * > *:first-child { padding-left: 2em; padding-right: 2em; }

.button-box {
	padding: 2.5em 0;
	text-align: center;
}

.intern-articles {
	display: flex; flex-direction: row; flex-wrap: wrap;
	margin-left: -1em; margin-top: 1em;
	width: calc(100% + 2em);
}
.intern-articles > * {
	background: #f6f8f7;
	border: 3px solid #f6f8f7;
	box-sizing: border-box;
	margin: 1em;
	padding: 2em;
	text-align: center; text-decoration: none!important;
	transition: background 0.3s ease-in, border-color 0.3s ease-in;
	width: calc(33.3% - 2em);
}
.intern-articles > *:hover {
	background: #FAFAFA;
	border-color: #EEE;
}
.intern-articles .intern-article-title {
	font-size: 1.3125em;
	margin-top: 0;
	text-align: center; text-transform: uppercase;
}
.intern-articles .intern-article-teaser { margin: 1.5em 0; }
.intern-articles .intern-article-teaser, .intern-articles .intern-article-published { color: #001722; }
@media screen and (max-width: 1200px) {
	.intern-articles > * { width: calc(50% - 2em); }
}
@media screen and (max-width: 767px) {
	.intern-articles > * { width: calc(100% - 2em); }
}
@media screen and (max-width: 550px) {
	.intern-articles .intern-article-title { font-size: 1.1em; }
}
@media screen and (max-width: 470px) {
	.intern-articles .intern-article-teaser { display: none; }
	.intern-articles .intern-article-published { margin-top: 1em; }
}
@media (prefers-color-scheme: dark) {
	body .intern-articles > * {
		background: #404040;
		border-color: #404040;
		color: #e1dcde;
	}
	body .intern-articles > *:hover {
		background: #393939;
		border-color: #393939;
	}
	body .intern-articles > * > * { color: #e1dcde; }
	body .intern-articles .intern-article-teaser, body .intern-articles .intern-article-published { color: #e1dcde; }
}
body[data-darkmode="true"] .intern-articles > * {
	background: #404040;
	border-color: #404040;
	color: #e1dcde;
}
body[data-darkmode="true"] .intern-articles > *:hover {
	background: #393939;
	border-color: #393939;
}
body[data-darkmode="true"] .intern-articles > * > * { color: #e1dcde; }

@-moz-keyframes spin {
	100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
	100% { transform:rotate(360deg); -webkit-transform: rotate(360deg); }
}

/* Responsive Images */
.responsiveimages {
	clear: both;
	display: block;
	margin: 2em auto;
	overflow: auto;
	width: 100%; max-width: 1175px;
}
.responsiveimages a {
	border-bottom: none!important;
	display: inline-block;
	float: left;
	margin-left: 0.5%; margin-top: 0.25%; margin-bottom: 0.25%;
	text-decoration: none;
	width: 100%;
}
.responsiveimages a:first-child { margin-left: 0!important; }
.responsiveimages.fullwidth a { margin-left: 0; }
.responsiveimages.portrait a { width: 100%; max-width: 475px; }
.responsiveimages.fiftyfifty a { width: 49.75%; }
.responsiveimages.thirtyfsixtyf a:first-child, .responsiveimages.sixtyfthirtyf a:nth-child(2),
.responsiveimages.sixtyfthirtyfxsec a:nth-child(2), .responsiveimages.sixtyfthirtyfxsec a:nth-child(3), .responsiveimages.sixtyfx2thirtyf .leftside { width: 34.65%; }
.responsiveimages.thirtyfsixtyf a:nth-child(2), .responsiveimages.sixtyfthirtyf a:first-child,
.responsiveimages.sixtyfthirtyfxsec a:first-child { width: 64.45%; }
.responsiveimages.sixtyfx2thirtyf .rightside { width: 64.2%; }
.responsiveimages.sixtyfthirtyfxsec a:nth-child(3) { margin-top: 0.5%; }
.responsiveimages.sixtyfx2thirtyf a { margin-left: 0!important; }
.responsiveimages.sixtyfx2thirtyf a:nth-child(2) { margin-top: 1.5%; }
.responsiveimages.sixtyfx2thirtyf > div {
	display: inline-block;
	float: left;
	height: 100%;
}
.responsiveimages.sixtyfx2thirtyf .rightside { margin-left: 0.5%; }
.responsiveimages a img {
	display: block;
	height: auto;
	vertical-align: middle;
	width: 100%;
}
@media screen and (max-width: 560px) {
	.responsiveimages.sixtyfthirtyfxsec > *, .responsiveimages.sixtyfx2thirtyf .leftside > * { width: 49.75%!important; }
	.responsiveimages.sixtyfthirtyfxsec > *:first-child {
		margin-bottom: 0.5%;
		width: 100%!important;
	}
	.responsiveimages.sixtyfthirtyfxsec > *:nth-child(2) { margin-left: 0!important; }
	.responsiveimages.sixtyfthirtyfxsec > *:nth-child(3) { margin-top: 0!important; }

	.responsiveimages.sixtyfx2thirtyf .leftside { width: 100%; }
	.responsiveimages.sixtyfx2thirtyf .rightside {
		margin-top: 0.5%; margin-left: 0;
		width: 100%;
	}
	.responsiveimages.sixtyfx2thirtyf .leftside > *:nth-child(2) { margin-left: 0.5%!important; margin-top: 0; }
}
@media screen and (max-width: 400px) {
	.responsiveimages.fiftyfifty a {
		margin-left: 0;
		width: 100%;
	}
	.responsiveimages.fiftyfifty a:nth-child(2) { margin-top: 0.5%; }
}

.mat-calendar-wrapper { max-width: 1500px; }
.mat-calendar-container {
	display: table;
	margin: 2em 0;
	width: 100%;
}
.mat-calendar-container > * {
	display: table-cell;
	padding: 10px;
	vertical-align: top;
}
.mat-calendar-container > *:first-child { width: 300px; }
.mat-calendar-container > *:last-child {
	padding-left: 50px;
	position: relative; z-index: 1;
}
.mat-calendar-title {
	font-size: 1.5em; font-weight: 600;
	margin-bottom: 0.8em;
	text-align: center;
}
.mat-calendar { border: none; border-collapse: collapse; }
.mat-calendar tr > * {
	font-size: 1.2em;
	height: 40px;
	text-align: center;
	width: 40px;
}
.mat-calendar tr > *[data-date] { cursor: pointer; }
.mat-calendar .today { background: #fff8bc; }
.mat-calendar tr > td[data-date].active, .mat-calendar tr > td[data-date]:hover {
	background: #a24f49;
	color: #FFF;
}
.mat-calendar-indicator {
	background: #a24f49;
	border-radius: 50%;
	display: block;
	height: 5px;
	margin: 2.5px auto 0;
	width: 5px;
}
.mat-calendar tr > td[data-date].active .mat-calendar-indicator , .mat-calendar tr > td[data-date]:hover .mat-calendar-indicator { background: #FFF; }
.mat-calendar-list-entry {
	display: none;
	font-size: 1.1em;
	width: 100%;
}
.mat-calendar-list-entry.inpast { color: #BBB; }
.mat-calendar-list-entry:nth-child(1), .mat-calendar-list-entry:nth-child(2), .mat-calendar-list-entry:nth-child(3),
.mat-calendar-list-entry:nth-child(4),.mat-calendar-list-entry:nth-child(5) { display: table; }
.mat-calendar-list-entry + .mat-calendar-list-entry { border-top: 1px solid #a24f49; }
.mat-calendar-list-entry > * {
	display: table-cell;
	line-height: 1.25em;
	padding: 0.85em 0;
	vertical-align: top;
}
.mat-calendar-list-entry > *:first-child { padding-left: 0.5em; }
.mat-calendar-list-entry > *:last-child { padding-right: 0.5em; }
.mat-calendar-list-entry-day { width: 80px; }
.mat-calendar-list-entry > *:last-child > * + * { margin-top: 0.45em; }
.mat-calendar-list-container-more {
	margin-top: 1.5em;
	text-align: center;
}
.mat-calendar-dayinfo {
	background: #FFF;
	border: 1px solid #a24f49;
	box-sizing: border-box;
	display: none;
	overflow: auto;
	padding: 25px;
	position: absolute; z-index: 2; left: 50px; top: 0; bottom: 0; right: 0;
}
.mat-calendar-dayinfo-title {
	font-size: 1.5em; font-weight: 600;
	margin-bottom: 1.25em;
	padding-right: 50px;
}
.mat-calendar-dayinfo-title, .mat-calendar-dayinfo-maturities { line-height: 1.25em; }
.mat-calendar-dayinfo-maturities > * {
	background: #f6f8f7;
	padding: 8px 12px;
}
.mat-calendar-dayinfo-maturities > * + * { margin-top: 0.8em; }
.mat-calendar-dayinfo-close {
	margin: 0!important;
	position: absolute; z-index: 1; right: 10px; top: 10px;
}
.mat-calendar-container.daymode .mat-calendar-list-entry, .mat-calendar-container.daymode .mat-calendar-list-container-more { display: none!important; }
.mat-calendar-container.daymode .mat-calendar-dayinfo { display: block; }
@media screen and (max-width: 900px) {
	.mat-calendar-wrapper { padding: 0; }
	.mat-calendar-container > *:first-child { display: none; }
	.mat-calendar-container, .mat-calendar-container > *:last-child { display: block; }
	.mat-calendar-container { margin-top: 0.5em; }
	.mat-calendar-container > *:last-child { padding: 0; }
	.mat-calendar-container.daymode .mat-calendar-list-entry, .mat-calendar-list-entry { display: table!important; }
	.mat-calendar-list-container-more, .mat-calendar-container.daymode .mat-calendar-dayinfo { display: none!important; }

	body[data-darkmode="true"] .mat-calendar-container { margin-top: 2em; }
	body[data-darkmode="true"] .mat-calendar-container > *:last-child { border-left: none!important; }
}
@media screen and (max-width: 900px) and (prefers-color-scheme: dark) {
	body .mat-calendar-container { margin-top: 2em; }
	body .mat-calendar-container > *:last-child { border-left: none!important; }
}
@media (prefers-color-scheme: dark) {
	body .mat-calendar-container > * { background: #404040; }
	body .mat-calendar-container > *:last-child {
		border-left: 40px solid #282828;
		padding-left: 10px;
	}
	body .mat-calendar .today { background: #d6857a; }
	body .mat-calendar-indicator { background: #d6857a; }
	body .mat-calendar tr > td[data-date].active, body .mat-calendar tr > td[data-date]:hover,
	body .mat-calendar tr > td[data-date].active .mat-calendar-indicator,
	body .mat-calendar tr > td[data-date]:hover .mat-calendar-indicator { color: #e1dcde; }
	body .mat-calendar-list-entry + .mat-calendar-list-entry { border-color: #d6857a; }
	body .mat-calendar-dayinfo {
		background: #404040;
		border: none!important;
		left: 0;
	}
	body .mat-calendar-dayinfo-maturities > * { background: #9a4e4b; }
	body .mat-calendar-list-entry.inpast { color: #7c7c7c; }
}
body[data-darkmode="true"] .mat-calendar-container > * { background: #404040; }
body[data-darkmode="true"] .mat-calendar-container > *:last-child {
	border-left: 40px solid #282828;
	padding-left: 10px;
}
body[data-darkmode="true"] .mat-calendar .today { background: #d6857a; }
body[data-darkmode="true"] .mat-calendar-indicator { background: #d6857a; }
body[data-darkmode="true"] .mat-calendar tr > td[data-date].active, body[data-darkmode="true"] .mat-calendar tr > td[data-date]:hover,
body[data-darkmode="true"] .mat-calendar tr > td[data-date].active .mat-calendar-indicator,
body[data-darkmode="true"] .mat-calendar tr > td[data-date]:hover .mat-calendar-indicator { color: #e1dcde; }
body[data-darkmode="true"] .mat-calendar-list-entry + .mat-calendar-list-entry { border-color: #d6857a; }
body[data-darkmode="true"] .mat-calendar-dayinfo {
	background: #404040;
	border: none!important;
	left: 0;
}
body[data-darkmode="true"] .mat-calendar-dayinfo-maturities > * { background: #9a4e4b; }
body[data-darkmode="true"] .mat-calendar-list-entry.inpast { color: #7c7c7c; }

body.content-only #header, body.content-only #footer { display: none!important; }
body.content-only #main { margin-top: 20px!important; margin-bottom: 20px!important; }

/* END Custom */

@media screen and (min-width: 851px) { /*601*/
	/*#header { position: relative; z-index: 99; }*/

	#nav > ul > li:hover > ul { display: block; }
	#nav ul li:hover > a > i {
		-moz-transform: rotate(180deg);
		-webkit-transform: rotate(180deg);
		-o-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		transform: rotate(180deg);
	}
}
@media screen and (max-width: 850px), (any-hover: none) {/*600*/
	#beta-info {
		background: #FF9800;
		left: 0; right: 0; top: 58px;
		padding: 4px 0;
		text-align: center;
	}

	#showmobilemenu { display: inline-block; }
	/* Change-x */
	#showmobilemenu .material-icons:last-child, body.mobilemenu #showmobilemenu .material-icons:first-child { display: none; }
	body.mobilemenu #showmobilemenu .material-icons:last-child { display: inline-block; }
	/* Change-x */

	#nav {
		background: #a24f49;
		height: calc(100vh - 110px); /* Change-x */
		margin-top: 0;
		overflow-y: auto; overflow-x: hidden;
		padding: 0;
		position: fixed; z-index: 2; top: 110px; left: -1550px; /* Change-x */
		transition: left 0.5s ease-in-out; -webkit-transition: left 0.5s ease-in-out; -moz-transition: left 0.5s ease-in-out; -o-transition: left 0.5s ease-in-out;
		width: 100%;
	}
	body.mobilemenu #nav { left: 0; }
	body.showmobilemenu #main { display: none; }
	#nav ul, #nav > ul > li { display: block; }
	#nav > ul > li + li {
		border-left: none;
		margin-top: 1px; 
	}
	#nav ul ul { position: relative; top: auto; }
	#nav > ul > li.active > ul { display: block; }
	#nav > ul > li > a { position: relative; z-index: 1; }
	#nav > ul > li > a i { 
		position: absolute; z-index: 1; right: 1.25em; top: 58%;
		transform: translateY(-50%);
	}
	#nav > ul > li.active > a i {
		-moz-transform: rotate(180deg);
		-webkit-transform: rotate(180deg);
		-o-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		transform: rotate(180deg);
		top: 34%;
	}
	#nav ul ul a { padding-left: 1.75em; }
	
	h1, .likeh1 { 
		font-size: 1.8em;
		line-height: 1em;
		margin-bottom: 1.3em;
	}
	body.bgwhite .like-headline { font-size: 1.5em; }
}
@media screen and (any-hover: none) {
	#nav { left: -4000px; }
}

/* App-x */
body img.darkmode { display: none!important; }
@media (prefers-color-scheme: dark) {
	/* Formulare */
	:root { accent-color: #d6857a; }
	form input[type="text"], form input[type="date"], form input[type="datetime"], form input[type="email"], form input[type="file"],
	form input[type="number"], form input[type="password"], form input[type="search"], form input[type="tel"], form input[type="time"],
	form input[type="url"], form select, form textarea, form input[type="datetime-local"] {
		background: #404040!important;
		background-color: #404040!important;
		color: #e1dcde;
	}
	form .field label { color: #d6857a; }
	form .complexfield > *:first-child i, .checkbox-array-label > .material-icons { color: #e1dcde; }

	/* Layout */
	body a, body.bgwhite #article h1, body.bgwhite .like-headline { color: #d6857a; }
	body a:hover {
		color: #e1dcde;
		opacity: 1!important;
		text-decoration: none!important;
	}
	body a.button, body button, body input[type="submit"], input[type="button"] {
		background-color: #d6857a;
		color: #e1dcde;
	}
	body a.button:hover, body button:hover, body input[type="submit"]:hover, input[type="button"]:hover {
		background-color: #585858;
		color: #e1dcde;
	}
	body {
		background: #282828!important;
		color: #e1dcde;
	}
	body #userinfo-abbreviation {
		background: #e1dcde;
		color: #404040;
		font-weight: 600;
	}
	body #nav-container { background: #9a4e4b; }
	body #nav ul ul, body #nav ul ul ul, body #nav ul ul ul li.active a, body #nav ul ul ul a:hover { background: #f5f5f5!important; }
	#header, #infooverlay, .infooverlay-section, body .card, body #userinfo-box, body .topheader-overlay-box,
	body .topheader-overlay-arrow:before, body #userinfo-arrow:after, body .topheader-overlay-arrow:after, body #userinfo-table, body .topheader-overlay-box-inner,
	body #login-container, body #footer { background: #404040; }

	body #userinfo-box, body .topheader-overlay-box, body #userinfo-arrow, body .topheader-overlay-arrow, body #userinfo-links > * { border-color: #6e6e6e; }

	#hide-infomenu, body .app-links > *, body .list-item, body .list-item > a, body #info-container .tns-controls > *, body .type-news .tns-controls > *, body #userinfo-links > *,
	body #infomenu .material-icons, body #topheader .icon-cta { color: #e1dcde; }
	#hide-infomenu:hover, body .app-links > *:hover, body a.list-item:hover, body .list-item:hover > a, body #info-container .tns-controls > *:hover, body .type-news .tns-controls > *:hover,
	body #infomenu:hover .material-icons {
		color: #e1dcde;
		opacity: 0.7!important;
	}
	#newslist > *:hover { border-color: #e1dcde; }

	body #userinfo-box, body .topheader-overlay-box { box-shadow: none; }
	body #userinfo-links > * { background-color: #404040; }
	body #userinfo-links > *:hover { background: #6e6e6e; }
	#darkmode-container { display: none!important; }
	body #previewmode-btn.inactive:hover { color: #a7a7a7; }
	body #previewmode-btn:hover { color: #d6857a; }

	body .infooverlay-section-body { border-color: #e1dcde; }
	body #tutorial-menu a { color: #e1dcde; }
	body #tutorial-menu a:hover { opacity: 0.7!important; }

	body img { filter: brightness(.9) contrast(1); }
	body img.lightmode { display: none!important; }
	body img.darkmode { display: block!important; }

	/* Text-Farben */
	body #article .dm-text-white { color: #e1dcde; }
	body #article .dm-text-black { color: #404040; }

	/* Popup */
	body .popup-overlay .popup-inner {
        background: #404040;
		color: #e1dcde;
	}

	/* Datatables */
	body table.dataTable tbody tr, body table.DTFC_Cloned thead, body table.DTFC_Cloned tfoot { background: #404040; }
	body table.dataTable thead th, body table.dataTable thead td, body .dataTables_wrapper.no-footer .dataTables_scrollBody { border-color: #e1dcde; }
	body .dtable tbody tr:hover > * { background: #6e6e6e; }
	body .dtable.DTFC_Cloned tbody tr:hover > * { background: #404040; }
	body .dataTables_wrapper .dataTables_length, body .dataTables_wrapper .dataTables_filter,
	body .dataTables_wrapper .dataTables_info, body .dataTables_wrapper .dataTables_processing, body .dataTables_wrapper .dataTables_paginate,
	body .dataTables_wrapper .dataTables_paginate .paginate_button.current, body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { color: #e1dcde!important; }
	body .dataTables_wrapper .dataTables_paginate .paginate_button.current, body.bgwhite #article h1 { border-color: #d6857a!important; }

	/* Tinymce */

	/* Status */
	.status-ok { color: #4eb552!important; }
	.status-warning { color: #ffa117!important; }
	.status-error { color: #ff786e!important; }

	/* Tabs */
	body .tab-header > *, body .tab-header > *:hover {
		background: #e1dcde;
		color: #404040;
	}
	body .tab-header > *.active {
		background: #d6857a;
		color: #e1dcde;
	}

	/* File-Upload */
	body .file-upload-preview .file-upload-delete {
		background: #d6857a;
		color: #e1dcde;
	}

	body #client_admin-title {
		border-color: #e1dcde;
		color: #e1dcde;
	}
}
@media (prefers-color-scheme: dark) and (max-width: 650px) {
	body .card-menu { background: transparent; }
	body #article .card-menu .hide-card { color: #e1dcde; }
}

/* Formulare */
body[data-darkmode="true"] { accent-color: #d6857a; }
body[data-darkmode="true"] form input[type="text"], body[data-darkmode="true"] form input[type="date"], body[data-darkmode="true"] form input[type="datetime"],
body[data-darkmode="true"] form input[type="email"], body[data-darkmode="true"] form input[type="file"], body[data-darkmode="true"] form input[type="number"],
body[data-darkmode="true"] form input[type="password"], body[data-darkmode="true"] form input[type="search"], body[data-darkmode="true"] form input[type="tel"],
body[data-darkmode="true"] form input[type="time"], body[data-darkmode="true"] form input[type="url"], body[data-darkmode="true"] form select,
body[data-darkmode="true"] form textarea, body[data-darkmode="true"] form input[type="datetime-local"] {
	background: #404040!important;
	background-color: #404040!important;
	color: #e1dcde;
}
body[data-darkmode="true"] form .field label { color: #d6857a; }
body[data-darkmode="true"] form .complexfield > *:first-child i, body[data-darkmode="true"] .checkbox-array-label > .material-icons { color: #e1dcde; }

/* Layout */
body[data-darkmode="true"] a, body[data-darkmode="true"].bgwhite #article h1, body.bgwhite[data-darkmode="true"] .like-headline { color: #d6857a; }
body[data-darkmode="true"] a:hover {
	color: #e1dcde;
	opacity: 1!important;
	text-decoration: none!important;
}
body[data-darkmode="true"] a.button, body[data-darkmode="true"] button, body[data-darkmode="true"] input[type="submit"], body[data-darkmode="true"] input[type="button"] {
	background-color: #d6857a;
	color: #e1dcde;
}
body[data-darkmode="true"] a.button:hover, body[data-darkmode="true"] button:hover, body[data-darkmode="true"] input[type="submit"]:hover, input[type="button"]:hover {
	background-color: #585858;
	color: #e1dcde;
}
body[data-darkmode="true"] {
	background: #282828;
	color: #e1dcde;
}
body[data-darkmode="true"] #userinfo-abbreviation {
	background: #e1dcde;
	color: #404040;
	font-weight: 600;
}
body[data-darkmode="true"] #nav-container { background: #9a4e4b; }
body[data-darkmode="true"] #nav ul ul, body[data-darkmode="true"] #nav ul ul ul, body[data-darkmode="true"] #nav ul ul ul li.active a,
body[data-darkmode="true"] #nav ul ul ul a:hover { background: #f5f5f5!important; }
body[data-darkmode="true"] #header, body[data-darkmode="true"] #infooverlay, body[data-darkmode="true"] .infooverlay-section, body[data-darkmode="true"] .card,
body[data-darkmode="true"] #userinfo-box, body[data-darkmode="true"] .topheader-overlay-box,
body[data-darkmode="true"] .topheader-overlay-arrow:before, body[data-darkmode="true"] #userinfo-arrow:after, body[data-darkmode="true"] .topheader-overlay-arrow:after,
body[data-darkmode="true"] #userinfo-table, body[data-darkmode="true"] .topheader-overlay-box-inner, body[data-darkmode="true"] #login-container,
body[data-darkmode="true"] #footer { background: #404040; }

body[data-darkmode="true"] #userinfo-box, body[data-darkmode="true"] .topheader-overlay-box, body[data-darkmode="true"] #userinfo-arrow,
body[data-darkmode="true"] .topheader-overlay-arrow, body[data-darkmode="true"] #userinfo-links > * { border-color: #6e6e6e; }

body[data-darkmode="true"] #hide-infomenu, body[data-darkmode="true"] .app-links > *, body[data-darkmode="true"] .list-item, body[data-darkmode="true"] .list-item > a,
body[data-darkmode="true"] #info-container .tns-controls > *, body[data-darkmode="true"] .type-news .tns-controls > *, body[data-darkmode="true"] #userinfo-links > *,
body[data-darkmode="true"] #infomenu .material-icons, body[data-darkmode="true"] #topheader .icon-cta { color: #e1dcde; }
body[data-darkmode="true"] #hide-infomenu:hover, body[data-darkmode="true"] .app-links > *:hover, body[data-darkmode="true"] a.list-item:hover,
body[data-darkmode="true"] .list-item:hover > a, body[data-darkmode="true"] #info-container .tns-controls > *:hover, body[data-darkmode="true"] .type-news .tns-controls > *:hover,
body[data-darkmode="true"] #infomenu:hover .material-icons {
	color: #e1dcde;
	opacity: 0.7!important;
}
body[data-darkmode="true"] #newslist > *:hover { border-color: #e1dcde; }

body[data-darkmode="true"] #userinfo-box, body[data-darkmode="true"] .topheader-overlay-box { box-shadow: none; }
body[data-darkmode="true"] #userinfo-links > * { background-color: #404040; }
body[data-darkmode="true"] #userinfo-links > *:hover { background: #6e6e6e; }
body[data-darkmode="true"] #darkmode-btn.inactive:hover, body[data-darkmode="true"] #previewmode-btn.inactive:hover { color: #a7a7a7; }
body[data-darkmode="true"] #darkmode-btn:hover, body[data-darkmode="true"] #previewmode-btn:hover { color: #d6857a; }

body[data-darkmode="true"] .infooverlay-section-body { border-color: #e1dcde; }
body[data-darkmode="true"] #tutorial-menu a { color: #e1dcde; }
body[data-darkmode="true"] #tutorial-menu a:hover { opacity: 0.7!important; }

body[data-darkmode="true"] img { filter: brightness(.9) contrast(1); }
body[data-darkmode="true"] img.lightmode { display: none!important; }
body[data-darkmode="true"] img.darkmode { display: block!important; }

/* Text-Farben */
body[data-darkmode="true"] #article .dm-text-white { color: #e1dcde; }
body[data-darkmode="true"] #article .dm-text-black { color: #404040; }

/* Popup */
body[data-darkmode="true"] .popup-overlay .popup-inner {
	background: #404040;
	color: #e1dcde;
}

/* Datatables */
body[data-darkmode="true"] table.dataTable tbody tr, body[data-darkmode="true"] table.DTFC_Cloned thead, body[data-darkmode="true"] table.DTFC_Cloned tfoot { background: #404040; }
body[data-darkmode="true"] table.dataTable thead th, body[data-darkmode="true"] table.dataTable thead td, body[data-darkmode="true"] .dataTables_wrapper.no-footer .dataTables_scrollBody { border-color: #e1dcde; }
body[data-darkmode="true"] .dtable tbody tr:hover > * { background: #6e6e6e; }
body[data-darkmode="true"] .dtable.DTFC_Cloned tbody tr:hover > * { background: #404040; }
body[data-darkmode="true"] .dataTables_wrapper .dataTables_length, body[data-darkmode="true"] .dataTables_wrapper .dataTables_filter,
body[data-darkmode="true"] .dataTables_wrapper .dataTables_info, body[data-darkmode="true"] .dataTables_wrapper .dataTables_processing,
body[data-darkmode="true"] .dataTables_wrapper .dataTables_paginate, body[data-darkmode="true"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-darkmode="true"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { color: #e1dcde!important; }
body[data-darkmode="true"] .dataTables_wrapper .dataTables_paginate .paginate_button.current, body[data-darkmode="true"].bgwhite #article h1 { border-color: #d6857a!important; }

/* Tinymce */

/* Status */
body[data-darkmode="true"] .status-ok { color: #4eb552!important; }
body[data-darkmode="true"] .status-warning { color: #ffa117!important; }
body[data-darkmode="true"] .status-error { color: #ff786e!important; }

/* Tabs */
body[data-darkmode="true"] .tab-header > *, body[data-darkmode="true"] .tab-header > *:hover {
	background: #e1dcde;
	color: #404040;
}
body[data-darkmode="true"] .tab-header > *.active {
	background: #d6857a;
	color: #e1dcde;
}

/* File-Upload */
body[data-darkmode="true"] .file-upload-preview .file-upload-delete {
	background: #d6857a;
	color: #e1dcde;
}
@media screen and (max-width: 650px) {
	body[data-darkmode="true"] .card-menu { background: transparent; }
	body[data-darkmode="true"] #article .card-menu .hide-card { color: #e1dcde; }
}

/* Cards */
.card {
	background: #FFF;
	border-radius: 1px;
	box-shadow: 0 1px 8px 0 rgba(0,0,0,0.2);
	min-height: 200px;
	margin-top: 20px; margin-bottom: 20px;
	padding: 1.65em;
}

@media screen and (max-width: 768px) {
	#footer { margin-top: 65px; }
}

/* Audio Teaser */
.ec-teaser {
	display: block;
	margin: 1em 0;
}
.ec-teaser > *.button {
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif!important; font-size: 1.6em!important; font-weight: 400!important;
	line-height: 1.15em!important;
	text-align: center; text-transform: none!important;
	width: 100%;
}
.ec-teaser.showplayer > *.button { display: none!important; }
.ec-teaser i {
	font-size: 1.8em;
	margin-right: 0.25em;
	vertical-align: middle
}
.ec-teaser audio {
	display: none;
	margin: 0 auto;
	width: 100%;
}
.ec-teaser.showplayer audio { display: block; }

#ec-playaudio {
	align-items: center;
	background: rgba(0,0,0,0.7);
	cursor: pointer;
	display: flex;
	height: 100dvh;
	justify-content: center;
	position: fixed; z-index: 1000; left: 0; top: 0;
	width: 100dvw;
}
#ec-playaudio i {
	color: #FFF;
	font-size: 140px;
}