/* ------------- 010-general ------------- */
*, *::before, *::after {
	box-sizing: border-box;
}
html, body {
	height: 100%;
	margin: 0;
	padding: 0;	
}
html {
	font-size: 18px;
}
@media (max-width: 500px) {
	html {
		font-size: 16px;
	}		
}

article, aside, figure, footer, header, hgroup, main, menu, nav, section {

	margin: 0; /* figure has browser default margin */
}	
body {
	/*font-family: 'Varela Round', sans-serif;*/
	font-family: arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
	position: relative; 
	color: #1c1f3c;
	
	/* for header w/ menu */
	/* padding-top: 90px; */
	padding-top: 130px; /* 40px für Marquee */ 
	
	letter-spacing: .5px;
	
	
	/* seen at spiegel.de: No vertical wobbling when grabbed with the mouse. Also might help with On Page Nav links on single psts sometimes not working? */
	overflow-x: hidden;
	overflow-y: scroll;
}
article {
	font-family: georgia, serif;
	font-size: 1.1em;
	letter-spacing: 0;
}


address {
	font-style: normal;
}


h1, h2, h3, h4, h5, h6 {
	font-family: arial, sans-serif;
	line-height: 1.25;
	margin: 1em 0 .8em; 
	/* 28.11.2022: um goldline auch bei centered h's anzuwenden */
	position: relative;
	letter-spacing: 0;
}

/* In addition to the mri-revers-elements (...utilities.css), the following "heading classes" can assist in heading-order-issues, by making heading tags look like another heading tag, e.g. h3 look like h2 */


h1, h2.h1, h3.h1 { 
	font-size: 2.3em;
	line-height: 1;
	letter-spacing: -1.5px;
	hyphens: auto;
}
@media (max-width: 800px) {
	h1, h2.h1, h3.h1 { 
		hyphens: auto;
	}
}


h2, h1.h2, h3.h2 { 
	font-size: 1.5em; 
	margin: 1.5em 0 .7em;
	letter-spacing: -.8px;
}
h3, h1.h3, h2.h3 { 
	font-size: 1.2em; 
	margin: 1.2em 0 .5em;
	letter-spacing: 0;
}
h4 { font-size: 1em }


ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

ul li, ol li {
	margin-bottom: 10px;
}
blockquote {
	font-style: italic;
    padding: 1em 1.4em;
    background: #f5f5f5;
    border-radius: 10px;
}
blockquote footer {
	font-family: arial, sans-serif;
	font-size: 14px;
}

a {
	color: #1878b5;
	text-decoration: none;
}

a.mri-button-link { /* a. = specificity */
	background: #1c1f3c;
	text-align: center; 
	color: #fff;
	padding: 12px 24px;
	border-radius: 10px;
	line-height: 1;
	display: inline-block;
	text-decoration: none;
}
a.mri-button-link-center { /* a. = specificity */
	background: #1c1f3c;
	text-align: center; 
	color: #fff;
	padding: 12px 24px;
	border-radius: 10px;
	line-height: 1;
	display: table; /* least amount of code for centering variable width item, no parent element needed just to center the child, validates with W3C */
	margin: 0 auto;
	text-decoration: none;
}


.mri-goldline:after {
	border-bottom: solid 1px #e0af35;
	content: '';
	display: block;
	padding-bottom: 10px;
	width: 60px;

}
.display-posts-listing a.title:after, 
.mri-blackline:after {
	border-bottom: solid 1px #888;
	content: '';
	display: block;
	padding-bottom: 3px;
	width: 95px;
}
.mri-goldline-center:after {
    border-bottom: solid 1px #e0af35;
    content: '';
    display: block;
    padding-bottom: 10px;
    width: 60px;
    left: 50%;
    position: absolute;
    transform: translate(-50%);
}

/* testdfssfdf  sss sddds dd  fdf vv. vv dfdffdsf  */


/* ------------- 015-images ------------- */
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a img {
	border: none;
}
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; 
	height: auto; 
}
.alignleft, img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright, img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter, img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	
	/* 13.12.2023: Put here instead of wp-caption.aligncenter */
	text-align: center;
}
img.alignleft,
img.alignright {
	margin-bottom: 12px;
}



article > img,
article .wp-caption {
	margin-top: 40px;
	margin-bottom: 40px;
}
/* reset for images inside caption */
.wp-caption img {
	margin-top: 0;
	margin-bottom: 0;
}
/* For images with caption the caption box is centered but not the img child inside it */
.aligncenter img {
	margin: 0 auto;
}



/* center images in posts, let them break out of parent */
/*
.wp-caption {
	margin: 50px auto 50px 50%;
	transform: translateX(-50%);
}
*/
.wp-caption-text {
	font-size: .9em;
    margin: 20px 10px 10px;
    line-height: 1.3;
	font-style: italic;
}


.wp-smiley {
	margin: 0;
}

.mri-inline-img figcaption,
.mri-inline-img img {
	display: inline-block;
}
.post-vergleich-geldanlagen .mri-inline-img img,
.post-best-investments .mri-inline-img img {
	width: 40px;
}


.mri-rating {
	display: inline-block;
	width: 160px;
	height: 38px;
	position: relative;
	background: url('/u/mri-rating.png');
}
.mri-rating::before {
	content: ' ';
	position: absolute;
	height: 38px;
	right: 0;
	top: 0;
	background: hsl(0deg 0% 100% / 70%);
}
.mri-rating-1.mri-rating::before {
	left: 32px;
}
.mri-rating-2.mri-rating::before {
	left: 64px;
}
.mri-rating-3.mri-rating::before {
	left: 96px;
}
.mri-rating-4.mri-rating::before {
	left: 128px;
}
.mri-rating-5.mri-rating::before {
	left: 160px;
}










/* ------------- 020-header ------------- */
header {
    position: fixed;
    /*top: 0; */
    top: 40px; /* 40px für Marquee */
    width: 100%;
	height: 90px;
    z-index: 10;
    background: #fff;
	box-shadow: 0 0 20px -10px #ccc;
	/* To center the .mri-nav inside */
    display: flex;
    justify-content: center;
}
@media (max-width: 800px) {
	/* blurry Logo on Mobile w/ box-shadow. translateX also causes this */
	header {
		box-shadow: none;
	}
}



.mri-logo {
	position: absolute;
	top: 7px;
	left: 35px;
}
	

.mri-headerlinks {
    display: flex;
    position: absolute;
    right: 20px;
    top: 33px;
}

@media (max-width: 600px) { 
	.mri-headerlinks a:first-child,
	.mri-headerlinks a:nth-child(2) {
		display: none;
	}
}

.mri-headerlinks a {
	margin-left: 10px;
	text-decoration: none;
}
.mri-header-phone {
    position: relative;
    padding-left: 30px;
    margin-top: 1px;
}
.mri-header-phone img {
    position: absolute;
    top: -2px;
    left: 0;
}
.mri-header-phone span {
    font-size: 14px;
    letter-spacing: 1px;
    color: #1c1f3c;
}


#mri-mobile-open,
#mri-mobile-close {
	display: none;
	cursor: pointer;
}

.mri-nav {

}
.mri-nav a {
    padding: 57px 5px 6px;
    white-space: nowrap;
	letter-spacing: 1.5px;
	font-size: .9em;
}
@media (max-width: 1199px) { 

	.mri-nav {
		background: #000;
		display: none;
		position: relative;
		width: 320px;
		max-width: 100vw;
		/* make scrollable */
		height: 100vh;
		max-height: 100vh;
		overflow-y: auto;
		margin: 0;
	}
	.mri-logo {
		left: 50%;
		/*transform: translateX( -50% );*/
		transform: translateX( -98px );
		
	}
	.mri-header-phone span {
		display: none;
	}
	#mri-mobile-open {
		display: block;
		position: absolute;
		left: 10px;
		top: 25px;
	}
	.mri-nav a {
		color: #ddd;
		display: block;
		font-size: 14px;
		line-height: 1.1;
		margin: 0 0 1px;
		padding: 17px 20px; /* mobile padding */
		text-transform: uppercase;
	}
	.mri-nav a:hover {
		color: #c4e7fd;
	}
	.mri-mobile-visible .mri-nav {
		display: flex;
		flex-direction: column;
		z-index: 1;
		padding-top: 100px;
	}
	.mri-mobile-visible header {
		display: block; /* was flex to center its child .mri-menu which now doesn't need to be centered anymore */
	}
	.mri-mobile-visible #mri-mobile-close {
		display: block;
		position: absolute;
		right: 20px;
		top: 60px;
	}

}
@media (min-width: 1200px) {
	.mri-nav a {
		color: #1c1f3c;
		display: inline-block;
		line-height: 1.1;
		text-decoration: none;
		position: relative;
		padding: 42px 17px 20px; 
		white-space: nowrap;
	}
	/* animated underline */
	.mri-nav a:after {
		border-bottom: solid 1px #1c1f3c;  
		content: '';
		display: block;
		padding-bottom: 10px;
		transform-origin: 100% 50%;
		transform: scaleX(0);  
		transition: transform 250ms ease-in-out;
	}
	.mri-nav a:hover:after { 
		transform: scaleX(1);
		transform-origin: 0 50%;
	}
}

.mri-display-block {
	display: block;
}



.mri-ticker {
	height: 40px;
	line-height: 40px;
	position: fixed;
	top: 0;
	background: #C4E7FD;
	z-index: 10;
	text-align: center;
	font-size: 15px;
	width: 100%;
}
.mri-ticker > span,
.mri-ticker a span {
	display: none;
}
@media (min-width: 760px) {
	.mri-ticker a span {
		display: inline;
	}
}
@media (min-width: 1000px) {
	.mri-ticker > span {
		display: inline;
	}
	.mri-ticker {
		font-size: 18px;
	}
}







/* ------------- 025-sprite-logos ------------- */
.mri-L {
	display: block;
	overflow: hidden;
	object-fit: none;
}
.mri-L-arrow { width: 30px; height: 30px; object-position: -225px -125px }
.mri-L-check { width: 30px; height: 30px; object-position: -70px -219px }
.mri-L-close { width: 21px; height: 21px; object-position: -225px -175px }
.mri-L-facebook { width: 29px; height: 31px; object-position: -10px -279px }
.mri-L-google-reviews { width: 137px; height: 69px; object-position: -281px -10px }
.mri-L-instagram { width: 29px; height: 31px; object-position: -59px -279px }
.mri-L-instagram-color { width: 29px; height: 31px; object-position: -108px -279px }
.mri-L-linkedin { width: 29px; height: 31px; object-position: -157px -279px }
.mri-L-linkedin-color { width: 29px; height: 31px; object-position: -206px -279px }
.mri-L-mobilemenu { width: 40px; height: 40px; object-position: -10px -219px }
.mri-L-logo-blau { width: 195px; height: 74px; object-position: -10px -125px }
.mri-L-logo-weiss { width: 251px; height: 95px; object-position: -10px -10px }
.mri-L-phone { width: 29px; height: 31px; object-position: -255px -279px }
.mri-L-phone-color { width: 29px; height: 31px; object-position: -304px -279px }
.mri-L-provenexpert { width: 98px; height: 71px; object-position: -281px -99px }
/* ------------- 026-sprite-testimonials ------------- */
.mri-T {
	width: 45px; /* In this sprite, all... */ 
	height: 45px; /* ...images are the same size */
	display: block;
	overflow: hidden;
	object-fit: none;
}
.mri-T-manuel {
    object-position: -10px -10px;
}
.mri-T-ozlem {
    object-position: -75px -10px;
}
.mri-T-peter {
    object-position: -10px -75px;
}
.mri-T-stephan {
    object-position: -75px -75px;
}

/* ------------- 027-sprite-illustrations ------------- */
.mri-I {
	display: block;
	overflow: hidden;
	object-fit: none;
	width: 150px;
	height: 150px;
	
	max-width: none; /* reset default here, in combination with overflow unwanted behavior at smaller window widths */
}
.mri-I-fremdkapitalhebel        { object-position: -10px -10px }
.mri-I-greifbare-investitionen  { object-position: -180px -10px }
.mri-I-inflationsschutz         { object-position: -10px -180px }
.mri-I-sichere-geldanlage       { object-position: -180px -180px }
.mri-I-passives-einkommen       { object-position: -350px -10px }
.mri-I-steigende-mieteinnahmen  { object-position: -350px -180px }
.mri-I-steuervorteile           { object-position: -10px -350px }

/* ------------- 030-frontpage ------------- */
.mri-hero {
	position: absolute;
    /*height: 40%;*/
    left: 10%;
    z-index: 1;
    color: #fff;
    width: 90%;

	/* 19.01.2024 */
    /*top: 61%;*/
	bottom: 7%;


}
.mri-hero-h1 {
    position: absolute;
    /*top: 20%;*/
    top: calc( 20% + 40px ); /* 40px for Marquee */
    left: 10%;
    z-index: 1;
    color: #fff;
    font-size: 50px;
    line-height: 1.4;
    letter-spacing: 3px;
    font-weight: 400;
	
	text-shadow: 0 0 70px #000;
}
.mri-hero-p {
	font-size: 1.4em;
    font-weight: 400;
    letter-spacing: 1px;
	position: absolute;
	left: 10%;
	/*top: 15%;*/
	top: calc( 15% + 40px ); /* 40px for Marquee */
    color: #fff;
	
	/* 19.01.2024 */
	line-height: 1.1;
	
	text-shadow: 0 0 35px #000;
}
.mri-hero figure {
    position: absolute;
    max-width: 260px;
    right: 1%;
    
	/* 19.01.2024*/
	/*top: 0;*/
	bottom: 0;

	
	color: #555;
    line-height: 1.2;
    text-align: center;
    font-size: .8em;

}
@media (max-width: 1080px) {
	.mri-hero figure {
		display: none;
	}
}
.mri-hero figure img {
	display: inline-block;
}
.mri-hero p {
    font-size: 18px;
    line-height: 1.4;
    max-width: 580px;
	margin-bottom: 50px;

	/*19.01.2024*/
	padding-right: 10px;
	
	text-shadow: 0 0 1px #000, 0 0 35px #000;
}

/* 19.01.2024 */
@media (min-width: 601px) and (max-height: 770px) {
	.mri-hero p {
		display: none;
	}
}


@media (max-width: 600px) {
	/* Parent not needed, make child (.mri-button-link) absolute */
	.mri-hero {
		position: static;
		
		/* now needed again or section below moves up and overlaps */
		height: 40%;
	}
	.mri-hero .mri-button-link {
		position: absolute;
		bottom: 10%;
		left: 50%;
		transform: translateX( -50% );
		width: 300px;
	}
	.mri-hero-h1 {
		font-size: 2.2em;
		line-height: 1.3;
		left: 50%;
		top: 55%;
		text-align: center;
		transform: translate( -50%, -50%);
		width: 97%;
		margin: 0;
		letter-spacing: 1px;
	}
	.mri-hero-p {
		text-align: center;
		left: 50%;
		transform: translateX( -50% );
	}
	.mri-hero p {
		display: none;
	}
}

/* Frontpage hero image */
.mri-hero-img {
	object-fit: cover;
	/*height: calc( 100vh - 90px );*/
	height: calc( 100vh - 130px ); /* 40px for Marquee */
	width: 100%;
	position: absolute;
	/*top: 90px;*/
	top: 130px; /* 40px for Marquee */
	bottom: 0;
	left: 0;
	right: 0;
	z-index:-2;
}
/* deactivated */

.mri-hero-img-cover {
	/*height: calc( 100vh - 90px );*/
	height: calc( 100vh - 130px ); /* 40px for Marquee */
	width: 100%;
	position: absolute;
	/*top: 90px;*/
	top: 130px; /* 40px for Marquee */
	bottom: 0;
	left: 0;
	right: 0;
	z-index:-1;
	background: hsl(0deg 0% 0% / 19%)
}



.mri-komplexes-einfach {
	max-width: 1440px; 
    margin: 100vh auto 250px;
    padding: 40px 15px;
}
.mri-komplexes-einfach p {
	font-size: 24px;
	max-width: 600px;
}
.mri-komplexes-1 {
    position: absolute;
    bottom: -100px;
    left: -15px;
    border-radius: 0% 49% 0% 49%;
    z-index: 3;
}
.mri-komplexes-2 {
	position: absolute;
    top: 0;
    right: 40px;
    border-radius: 0% 49% 0% 49%;
    z-index: 2;
}
.mri-ball-1 {
    position: absolute;
    right: -15px;
    bottom: 20%;
    z-index: 3;
    width: 240px;
    height: 240px;
    background-image: linear-gradient(180deg, #1C1F3C 0%, #00000000 100%);
    border-radius: 50%;
}
.mri-ball-2 {
    position: absolute;
    left: 30%;
    bottom: -200px;
    z-index: 2;
    width: 240px;
    height: 240px;
    background-image: linear-gradient(0deg, #16467FA1 0%, #00000000 100%);
    border-radius: 50%;
}

.mri-komplexes {
	position: relative;
}
@media (max-width: 1000px) {
	.mri-komplexes {
		display: none;
	}

	.mri-komplexes-einfach {
		margin: 100vh auto 100px;
	}

	.mri-komplexes-einfach p {
		max-width: none;
	}
}

@media (max-width: 600px) {
	.mri-komplexes-einfach {
		margin: 55vh auto 50px;
	}
	.mri-komplexes-einfach p {
		font-size: 21px;
	}
}






.mri-vorteile {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
@media (max-width: 500px) {
	.mri-vorteile {
		display: block;
	}
}

.mri-vorteile figure {
	margin: 0 20px;
    flex: 0 0 calc(25% - 40px);
	text-align: center;
}
@media (max-width: 480px) {

	.mri-vorteile figure {
		padding-top: 20px;
	}
}
.mri-vorteile figure img {
	display: block;
	margin:0 auto;
}


.mri-was-zeichnet div div {
	padding: 10px 35px 20px;
}
.mri-was-zeichnet h3 {
	min-height: 110px;
}

.mri-was-zeichnet img {
	transform: scale(1.14);
	border-radius: 0 0 10px 10px;
	margin-top: 30px;
}



.mri-immobilie-mit,
.mri-immobilie-ohne {
	list-style-type: none;
	padding: 20px;
}

.mri-immobilie-mit li:before {
    content: "\2713";
    display: block;
    position: absolute;
    left: 0px;
    font-size: 40px;
    color: #318800;
    top: -11px;
}
.mri-immobilie-ohne li:before {
    content: "\2715";
    display: block;
    position: absolute;
    left: 0px;
    font-size: 27px;
    color: #b50000;
    top: -4px;
}

.mri-immobilie-mit li,
.mri-immobilie-ohne li {
	padding-left: 50px; 
	position: relative;
	line-height: 1.4;
	margin-bottom: 15px;
	min-height: 126px;
}




.page h2 {
	font-size: 2em;
	margin-bottom: 40px;
	letter-spacing: -1.2px;
}
.page h2 strong {
    font-weight: 400;
    letter-spacing: 4px;
    font-size: 16px;
    display: block;
	margin-bottom: 15px;

}





.mri-numbers {
	display: grid; 
	grid-gap: 30px; 
	/*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
	grid-template-columns: 1fr 1fr 1fr 1fr;
	
	padding: 20px;
	border: solid 1px #1c1f3c;
	text-align: center;
}
.mri-numbers span {
	font-size: 17px;
	text-transform: uppercase;
	line-height: 1.15;
	min-height: 80px;
	display: block;
}
.mri-numbers strong {
	font-size: 2em;
	display: block;
	font-weight: 400;
	line-height: 1;
}

@media (max-width: 940px) {
	.mri-numbers strong {
		font-size: 1.7em;;
	}
	.mri-numbers span {
		min-height: 100px;
	}
}

@media (max-width: 800px) {
	.mri-numbers {
		display: block; 
		padding: 50px 20px;
	}
	.mri-numbers span {
		min-height: auto;
		margin-bottom: 13px;
	}
	.mri-numbers > div {
		margin-bottom: 50px;
	}
	.mri-numbers > div:nth-child(4) {
		margin-bottom: 0;
	}
	.mri-numbers strong {
		font-size: 3em;
	}
}
@media (max-width: 400px) {
	.mri-numbers strong {
		font-size: 2.7em;
	}
}






dialog.mri-team-card {
	border: solid 1px #1c1f3c;

}








/* ------------- 033-finanzierung ------------- */
.page-immobilienfinanzierung section h2,
.page-real-estate-financing section h2,
.page-finanziamento-immobiliare section h2 {
	margin-top: 0;
	
} 

.page-immobilienfinanzierung section h2 strong,
.page-real-estate-financing section h2 strong,
.page-finanziamento-immobiliare section h2 strong {
    display: block;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
} 



.mri-grid-finance {
	display: grid; 
	grid-gap: 20px 40px; 
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}
@media (max-width: 480px) {
	.mri-grid-finance {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}


/* 16.01.24: alle images before text */
@media (max-width: 924px) {
	.page-immobilienfinanzierung section:nth-of-type(even) .mri-grid-finance > div:first-child,
	.page-real-estate-financing section:nth-of-type(even) .mri-grid-finance > div:first-child,
	.page-finanziamento-immobiliare section:nth-of-type(even) .mri-grid-finance > div:first-child {
		order: 2;
	}
	.page-immobilienfinanzierung .mri-grid-finance > div img,
	.page-real-estate-financing .mri-grid-finance > div img,
	.page-finanziamento-immobiliare .mri-grid-finance > div img {
		margin-bottom: 20px;
	}	
}
/* ------------- 035-kontakt ------------- */
.mri-kontakt.mri-padded { /* specificty */
	margin-bottom: 100px;
}





.mri-kontakt h1 {
	text-align: center;
}
.mri-kontakt p {
	text-align: center;
    font-size: 22px;
    line-height: 1.8;
    max-width: 710px;
    margin: 0 auto 100px;
}


.mri-hub2 {
	
    width: 50%;
	display:table-cell;
	vertical-align:top;

}


/* Hubspot Submit Button doesn't always load. I suspect a race condition between the Google Map nearby. Loading Hubspot first (on the left) although visually on right (on desktop, on mobile again left=top) */
.mri-hubspot {
	order: 2;
	padding: 1px;
	position: relative;
	
	min-height: 1000px; /* Layout fix for absolute height Hubspot form. Else Submit button will be missing sometimes */
	/*display: flex;
	width: 50%;
	*/
}
.mri-google-map {
	width: 50%;
	display: table-cell;
	vertical-align: top;
	padding-right:50px;
}
@media (max-width: 1300px) {
	.mri-google-map {
		display: none;
	}
}




/* ------------- 036-team ------------- */
.page-team h1,
.page-squadra h1 {
	text-align: center;
}
.page-team h1 strong,
.page-squadra h1 strong {
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 2px;
	display: block;
	margin-bottom: 20px;
}



/* ------------- 037-datenschutz ------------- */
/* ------------- 038-impressum ------------- */
/* ------------- 040-layout ------------- */
.mri-padded, 
.mri-width {
	max-width: 1170px;
	margin: 0 auto;
}
.mri-padded {
	padding: 40px 15px;
}

.mri-padded-blog {
	max-width: 720px;
}



@media (max-width: 600px) {
	.mri-padded {
		padding: 30px 20px; 
	}
}

 
.mri-grid-260 {
	display: grid; 
	grid-gap: 40px; 
	grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.mri-grid-420 {
	display: grid; 
	grid-gap: 20px 40px; 
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

@media (max-width: 480px) {
	.mri-grid-420 {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}
@media (max-width: 320px) {
	.mri-grid-260 {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	} 	
}
@media (min-width: 321px) {
	.mri-grid-260 { 
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}


/* https://css-tricks.com/full-width-containers-limited-width-parents/ */
.mri-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.single-post article {
	padding-bottom: 100px;
}
/* ------------- 044-single ------------- */
/* Single View */
.single article img.wp-post-image {
	margin: 0;
}
.single h1 {
	margin: 0 0 25px;
}



.mri-post-meta {
	display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
	line-height: 1;
	font-style: italic;
	font-size: .95em;
	margin-bottom: 30px;
}
.mri-post-meta figure {
    position: relative;
    padding-left: 61px;
    display: flex;
	align-items: center;
}
.mri-post-meta .avatar {
	position: absolute;
	left: 0;
    border-radius: 50%;
}
.mri-post-meta figcaption {
    align-self: center;
	max-width: 126px; /* make names wrap, fits for current names */
	line-height: 1.2;
	letter-spacing: .5px;
}
.mri-post-meta  time {
    margin: 0;
    align-self: center;
    justify-self: center;
	align-items: center;
}
.mri-post-meta  time span {
	color: #999;
}
.mri-post-meta .shariff {
	display: flex;
    margin: 0;
    align-self: center;
    justify-self: end;
	align-items: center;
}
.ShariffHeadline {
	text-align: center;
	color: #999;
}



@media (max-width: 549px) {
	.mri-post-meta time {
		justify-self: end;
	}
	.mri-post-meta .shariff {
		grid-column: span 2;
		justify-self: auto;
	}
	.mri-post-meta {
		grid-gap: 22px;
	}
	.ShariffHeadline {
	    float: left;
		margin: 10px 11px 0 0;
		text-align: left;
	}
	
	
}

/* Change with Engl version, not using full sharif HTML anymore */
.shariff.shariff-align-flex-start ul {
    justify-content: center !important;

}



/* ------------- 045-blog ------------- */
.blog h1 {
	text-align: center;
	margin-bottom: 100px;
}
.blog h1 strong {
	display: block;
    font-size: .6em;
    line-height: 1.3;
    margin-top: 14px;
    letter-spacing: 0;
    font-weight: 400;
}

.blog h2 {
	margin: .6em 0 .4em;
	line-height: 1.15;
}

.mri-entry-date {
	display: block;
    font-size: 1em;
    line-height: 1;
}


.blog .mri-news-index  {
	margin-bottom: 50px;
}


.blog .mri-news-index > a {
	text-decoration: none;
	color: #1c1f3c;
	display: block;
	margin-bottom: 50px;
	position: relative;
}

.blog .mri-news-index > a p {
	margin-top: 0.4em;
    line-height: 1.4;
    font-family: georgia;
    letter-spacing: 0;
}	

.blog .attachment-post-thumbnail {
	margin-bottom: 13px;
    object-fit: cover;
    height: 290px;
}

.mri-blog-grid {
	display: grid; 
	grid-gap: 60px; 
	grid-template-columns: 250px 1fr 350px;

	position: relative; /* this and child (grid column the sticky item is in) need relative */


	justify-items: center; /* adjusted */

	max-width: 1400px;
	margin: 0 auto;
}

@media (max-width: 1460px) {
	.mri-more {
		display: none;
	}
	/* When the right sidebar is gone, remove the last two items in the TOC list as well, as these contain links to headings located inside that right sidebar */
	.ez-toc-list li:last-child,
	.ez-toc-list li:nth-last-child(2) {
		display: none;
	}
	
	.mri-blog-grid {
		grid-template-columns: 250px 1fr;
		max-width: 1100px;
	}
}
	

@media (max-width: 1200px) {

	.mri-blog-grid {
		grid-template-columns: 200px 1fr;
		max-width: 1000px;
	}
}
@media (max-width: 1050px) {

	.mri-toc {
		display: none;
	}
	.mri-blog-grid {
		display: block;
		max-width: 100%;
	}	
	
}


/* new blog page 17.05.2024 */
.mri-blog-index {
	margin: 0 auto 100px;
}
.mri-blog-index ul {
	columns: 200px 4;
	column-gap: 50px;
	max-width: 1000px;
	margin: 100px auto;
}
.mri-blog-index h1,
.mri-blog-index h2 {
	text-align: center;
}
.mri-blog-index h1 strong {
	display: block;
	font-size: 25px;
	font-weight: normal;
	letter-spacing: 0;
	margin: 15px 0;
}
.mri-blog-index h2 {
	scroll-margin-top: 100px;
	margin-bottom: 60px;
}	


.mri-blog-category {
	display: grid;
    grid-gap: 40px;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); /* auto-fill instead of auto-fit makes the columns wrap instead of expanding */
	
	margin-bottom: 100px;
}
.mri-blog-category h3 {
	margin: 0 0 10px 0;
}
.mri-blog-category img {
	float: left;
	margin: 0 20px 10px 0;
}
.mri-blog-category a {
	color: #1c1f3c;
	max-width: 497px;
	line-height: 1.3;
}


@media (max-width: 800px) {
	.mri-blog-category img {
	display: none;
	}
}


@media (max-width: 460px) {
	.mri-blog-category {
		grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
	}
}
@media (max-width: 440px) {
	.mri-blog-category {
		grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); 
	}
}
@media (max-width: 420px) {
	.mri-blog-category {
		grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); 
	}
}
@media (max-width: 400px) {
	.mri-blog-category {
		grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
	}
}



/* ------------- 046-table-of-contents ------------- */
.mri-toc {
	position: relative;
	padding-bottom: 100px;
	padding-top: 16px;

}
.mri-toc > nav {
	position: sticky;
	top: 90px;
	
 	max-height: calc(100vh - 90px);
    overflow-y: auto;	
}

.mri-toc a {
	color: #1c1f3c;
    line-height: 1.05;
    text-decoration: none;
    letter-spacing: 0;
    font-size: .95em;
	
	display: block;
	padding: 7px 10px 6px;
}
.mri-toc a:hover {
	text-decoration: none;
}



.mri-toc h2 {
	display: block;
    font-size: .8em;
    letter-spacing: 2px;
    margin: 1.5em 0 1.5em;
    font-weight: 400;
    text-transform: uppercase;
}


.mri-toc ul {
	line-height: 1;
	list-style: none;
	padding: 0;
}
.mri-toc ul li {
	margin: 0 0 2px 0;
}


.single-post article section[id],
.single-post article h2,
.single-post article h3 {
	scroll-margin-top: 100px;
	scroll-padding-top: 100px;
}



html {
	scroll-behavior: smooth;
}

.mri-toc li.mri-toc-highlight {
	background: #eee;
}
.mri-toc li.mri-toc-highlight a {
	color: #000;
}




/* ------------- 047-display-posts ------------- */
.mri-more {
	position: relative;
	padding-bottom: 100px;
	padding-top: 16px;
}
@media (max-width: 1460px) {
	.mri-more {
		display: none;
	}
}

.mri-more > div {
	/*position: sticky;*/
	top:90px;
}


.mri-more h2 {

    font-size: .8em;
    letter-spacing: 2px;
    margin: 1.5em 0 1.5em;
    font-weight: 400;
    text-transform: uppercase;
}

.mri-more .mri-display-posts  {
	margin-bottom: 50px;
}

.mri-more .mri-display-posts h3 {
	line-height: 1.1;
	font-size: 1em;
	margin: 0 0 4px 0;
}

.mri-more .mri-display-posts time {
	font-size: .8em;
	color: #888;
}


.mri-more .mri-display-posts a {
	display: block;
	/*padding: 0 0 0 115px;*/
	position: relative;
	text-decoration: none;
	color: #1c1f3c;
	min-height: 100px;
	margin-bottom: 30px;
	line-height: 1.1;
}

.mri-more .mri-display-posts img {
	width: 100px;
	height: 100px;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
    object-position: center;
}

.mri-more .mri-display-posts .excerpt {
	font-size: .9em;
	letter-spacing: 0;
	font-family: georgia;
}





/* ------------- 050-content ------------- */
article {
	clear: both;
}

/* tables */
table {
	font-size: .9em;
	line-height: 1.1;
	border-spacing: 0;

}

article table {
	hyphens: auto;	
	margin: 40px auto;
}
/* wrapper around table to allow for easy horizontal scroll if needed without turining table into display:block, bad semantics */
.mri-table-overflow {
	overflow: auto;
}



/* Speziell für diese Seite, evtl. andere auch: Scroll auf mobile verbessern */
.postid-3493 .mri-table-overflow,
.postid-5908 .mri-table-overflow,
.postid-6976 .mri-table-overflow {
	position: relative;
}

.postid-3493 .mri-table-overflow table,
.postid-5908 .mri-table-overflow table,
.postid-6976 .mri-table-overflow table {
	font-family: arial, sans-serif;
	font-size: 15px;
}
.postid-3493 .mri-table-overflow table td,
.postid-5908 .mri-table-overflow table td,
.postid-6976 .mri-table-overflow table td {
	min-width: 115px;
}
.postid-3493 .mri-table-overflow th,
.postid-5908 .mri-table-overflow th,
.postid-6976 .mri-table-overflow th {
	position: sticky;
	left: 0;
	background: #fff;
	z-index: 2;
	min-width: 100px;
}




article table caption {
	caption-side: bottom;
    margin: 20px 10px 10px;
    line-height: 1.3;
	font-style: italic;
}

table caption a {
	color: #6c6c6c;
}

table td,
table th {
	padding: 9px 10px 8px;
}
table th {
	text-align: left;
}
table tr:nth-child(odd) {
	background: #eee;
}
table.mri-no-zebra tr:nth-child(odd) {
	background: none;
}

.mri-table-last-col-right td:last-child,
.mri-table-last-col-right th:last-child {
	text-align: right;
}



/* Call to action inside posts */
.mri-cta {
    padding: 25px 70px 25px 30px;
    line-height: 1.4;
    margin: 40px 0;
    width: 100%;
}

.mri-cta h2 {
	margin: 0;
}

.mri-cta-rand {
    padding: 20px;
    line-height: 1.4;
    margin: 15px 0;
    width: 100%;
    background: #eee;
}


.mri-style-question {
	background: #e5f5ff;
}
.mri-style-question::before {
	position: absolute;
    right: 10px;
    top: -11px;
    content: '?';
    font-size: 123px;
    font-weight: normal;
    display: block;
    font-family: "times new roman", serif;
    color: #ffffff;
    line-height: 1;
}
.mri-style-info {
	background: #f5f5f5;
}
.mri-style-warning {
	background: #ffe6c1;
}
.mri-style-warning::before {
	position: absolute;
    right: -2px;
    top: -21px;
    content: '!';
    font-size: 123px;
    font-weight: normal;
    display: block;
    font-family: "times new roman", serif;
    color: #ffffff;
    line-height: 1;
}



@media (max-width: 900px) {
	.post-vergleich-geldanlagen figure.mri-inline-img img {
		scale: .6;
	}
	.post-vergleich-geldanlagen figure.mri-inline-img figcaption {
		display: block;
	}
}


.mri-td-center td {
	text-align: center;
}



.mri-verbrauchersicht {
	table-layout: fixed;
    width: 100%;
}
.mri-verbrauchersicht th {
	width: 150px;
	text-align: right;
	font-size: .9em;
}
.mri-verbrauchersicht td span {
	display: block;
	height: 15px;
	background: #aaa;
	position: relative;
	margin: 0 auto 3px 0;
}
.mri-verbrauchersicht td span:first-child {
	background: #1c1f3c;
}
.mri-verbrauchersicht td span em {
	position: absolute;
	top: 0;
	left: calc(100% + 5px);
	display: block;
	font-size: .9em;
}



.mri-geldanlage-vergleich tbody tr:not(:first-child) th {
	max-width: 140px;
}





/* ------------- 055-hexagons ------------- */
.mri-hexagons {
/*
	display: grid;
	grid-gap: 20px 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
*/

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  
 }

.mri-hexagons figure {
	/*display: flex;*/
	
	
	position: relative; /* h3 inside is absolute */
	margin: 0 10px;
	
	flex: 0 0 calc(20% - 40px);	
	
}
.mri-hexagons svg {
	margin: 0 auto;
	fill: #C4E7FD;
	cursor: pointer;
	transition: all .7s ease;
}
.mri-hexagons figure > h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    margin: 0;
	text-align: center;
	cursor: pointer;
	transition: all .7s ease;
    width: 178px;

    padding: 90px 0;
}
.mri-hexagons figure:hover svg {
	fill: #1c1f3c;
}
.mri-hexagons figure:hover > h3 {
	color: white;
}
.mri-hexagons dialog {
background: #ffffff;
    /* color: #fff; */
    z-index: 10;
    border: 0;
    box-shadow: 0 0 20px -10px #000;
    transition: all 1.7s ease;
    border-radius: 20px;
    position: absolute;
    top: 0;
    width: 150%;
    max-width: 99vw;
    min-height: 100%;
    transform: translateX(-50%);
    left: 50%;
}

.mri-hexagons dialog p {
	line-height: 1.2;
    font-size: .95em;
	hyphens: auto;
}
.mri-hexagons dialog h3 {
	margin-top: 0;
	padding-right: 35px;
}
.mri-hexagons dialog p {
	margin-bottom: 0;
}
.mri-hexagons button {
	background: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    color: #999;
    font-size: 20px;
    border: none;
    padding: 0;
    cursor: pointer;
	z-index: 10; /* some z-index needed for cursor pointer properly covering whole button */
}




/* ------------- 056-faq ------------- */
/* FAQ Homepage */
details {
    margin: 0 0 10px 0px;
    border: solid 1px #eee;
    padding: 14px;
    border-radius: 6px;
}
details summary {
	cursor: pointer;
}
details[open] summary {
	font-weight: bold;
}
details[open] {
	box-shadow: 0 0 20px -5px #ccc;
}

details p {
	margin: 12px 10px 16px 29px;
	line-height: 1.4;
}
details p:last-of-type {
	margin-bottom: 5px;
}

/* https://css-tricks.com/how-to-animate-the-details-element/ */
summary {
  display: block;
  padding-left: 30px;
  position: relative;
}
summary:before {
  content: '';
  border-width: .4rem;
  border-style: solid;
  border-color: transparent transparent transparent #aaa;
  position: absolute;
  top: 6px;
  left: 6px;
  transform: rotate(0);
  transform-origin: .2rem 50%;
  transition: .5s transform ease;
}
/* THE MAGIC */
details[open] > summary:before {
  transform: rotate(90deg);
}
details summary::-webkit-details-marker {
  display:none;
}


/* ------------- 057-steps ------------- */
.mri-steps {
	list-style-type: none;
	padding-left: 0;
}
.mri-steps li {
	display: flex;
	margin-bottom: 30px;
	grid-gap: 30px;
}
.mri-steps li span {
    flex: 1 1 auto;
    align-self: center; /* Center column content vert. without making column itslef flex (or else children inside start lining up) */
	color: #666;
}
.mri-steps li span em {
	font-style: normal;
}
.mri-steps li:nth-child(even) span {
    justify-content: end;
	text-align: right;
}
.mri-steps li div {
	padding: 40px;
	box-shadow: 0 0 50px -20px #ccc;
	border-radius: 5px;
	width: 50%;
	
	position: relative;
}
/* 17.01.2024 add arrows to step boxes */
.mri-steps li div:after {
	content: ' ';
	position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
	width: 20px;
	height: 20px;
	background: #fff;
}
.mri-steps li:nth-of-type(odd) div:after {
	right: -10px;
}
.mri-steps li:nth-of-type(even) div:after {
	left: -10px;
}
.mri-steps li div h3 {
	margin-top: 0;
}
.mri-steps li div p {
	margin-bottom: 0;
}
@media (max-width: 1000px) {
	.mri-steps li div {
		width: auto;
	}
	.mri-steps li span {
		width: 80px;
	}

}

@media (max-width: 500px) {
	.mri-steps {
		hyphens: auto;
	}
	.mri-steps li div {
		width: auto;
	}
	.mri-steps li span {
		font-style: normal;
		background: #fff;
		border-radius: 50%;
		display: block;
		width: 40px;
		text-align: center;
		z-index: 2;
		
		padding: 1px 10px;
		box-shadow: 0 0 19px -5px #ccc;
	}
	/*
	.mri-steps li:nth-child(odd) div {
		margin-right: 10px;
	}
	.mri-steps li:nth-child(even) div {
		margin-left: 10px;
	}
	*/
	.mri-steps li span em {
		display: none;
	}

}

/* ------------- 058-testimonials ------------- */
/************/
/*******************/
/* There are 2 .rplg-reviews parents, one for the heading with the aggregated rating, one as wrapper for all the reviews */

/* This was apparently chnged with a new plugin version, a breaking change.
Now the first (former) .rplg-review is named .rpi-head and the second (former) .rplg-reviews is named .rpi-content
*/


/*
.rplg-reviews {

	margin-bottom: 150px;
}
*/
.rpi-content {
	margin-bottom: 150px;
}

/*
.rplg-reviews:first-child {
	margin-bottom: 50px;
	text-align: center;
}
*/
.rpi-header {
	margin-bottom: 50px;
	text-align: center;
}


/*
.rplg-reviews .flickity-page-dots {
	bottom: -50px;
}
*/
.rpi-content .flickity-page-dots {
	bottom: -50px;
}




.rplg-review {
	padding: 1px;
	width: 18%; 
	margin-right: 2.5%;
	display: block;
	font-size: .9em;
	line-height: 1.3;
}
@media (max-width: 1300px) {
	.rplg-review {
		width: 23.125%; 
		margin-right: 2.5%;
	}
	
	/*
	.rplg-reviews .flickity-page-dots {
		bottom: -60px;
	}
	*/
	.rpi-content .flickity-page-dots {
		bottom: -60px;
	}
	
	
}
@media (max-width: 1150px) {
	.rplg-review {
		width: 32%; 
		margin-right: 2%;
	}
	
	/*
	.rplg-reviews .flickity-page-dots {
		bottom: -70px;
	}
	*/
	.rpi-content .flickity-page-dots {
		bottom: -70px;
	}	
}
@media (max-width: 900px) {
	.rplg-review {
		width: 48.75%; 
		margin-right: 2.5%;
	}
	
	/*
	.rplg-reviews .flickity-page-dots {
		bottom: -80px;
	}
	*/
	.rpi-content .flickity-page-dots {
		bottom: -80px;
	}	
}
@media (max-width: 700px) {
	.rplg-review {
		width: 100%; 
		margin-right: 0;
	}
	
	/*
	.rplg-reviews .flickity-page-dots {
		display: none;
	}
	*/
	.rpi-content .flickity-page-dots {
		display: none;
	}	
}






.mri-review-name {
	font-weight: 700;
	font-size: 1.1em;
	letter-spacing: 0;
}
.rplg-review span[data-time] {
	color: #888;
}

/*
.rplg-reviews .flickity-prev-next-button {
	top: 50%;
    width: 50px;
    height: 70px;
    transform: translateY(-50%);
}
.rplg-reviews .flickity-prev-next-button.previous {
	left: -60px;
}
.rplg-reviews .flickity-prev-next-button.next {
	right: -60px;
}
.rplg-reviews .flickity-button-icon {
    fill: #1c1f3c;
}
*/
.rpi-content .flickity-prev-next-button {
	top: 50%;
    width: 50px;
    height: 70px;
    transform: translateY(-50%);
}
.rpi-content .flickity-prev-next-button.previous {
	left: -60px;
}
.rpi-content .flickity-prev-next-button.next {
	right: -60px;
}
.rpi-content .flickity-button-icon {
    fill: #1c1f3c;
}




.rplg-more {
	display: none;
}
.rplg-more-toggle {
	color: #1878b5;
	display: block;
}

.flickity-resized-mri .rplg-more {
	display: block;
}
.flickity-resized-mri .rplg-more-toggle {
	display: none;
}



/*
.rplg-review-avatar {
	float: left;
    margin: 0 15px 20px 0;
}
*/
.rpi-img {
	float: left;
    margin: 0 15px 20px 0;
}

/*
.rplg-review .rplg-stars {
	margin: 5px 0 15px;
}
*/
.rplg-review .rpi-stars {
	margin: 5px 0 15px;
}


/*
.rplg-reviews:first-child .rplg-stars {
	margin: 5px 0 0;
	transform: translateX( 7px );
}
.rplg-reviews:first-child .rplg-stars svg {
	width: 30px;
	height: 30px;
	margin-right: 15px;
}
*/
.rpi-header .rpi-stars {
	margin: 5px 0 0;
	transform: translateX( 7px );
}
.rpi-header .rpi-stars svg {
	width: 30px;
	height: 30px;
	margin-right: 15px;
}




.rplg-rating-info a {
	text-decoration: none;
}


/* Equal height hack https://codepen.io/desandro/pen/ZXEGVq */
.flickity-resize .rplg-review { 
  	min-height: 100%;
}


/* Single View, single review */
.single-post .mri-review-text {
	width: auto;
	font-family: georgia;
    line-height: 1.4;
	text-align: left;
}


/*
.single-post .rplg-reviews .rplg-review > div > div {
    letter-spacing: .25px;
	font-style: italic;
}

.single-post .rplg-reviews:first-child .rplg-stars svg {
    width: 20px;
    height: 20px;
    margin-right: 0;
}
.single-post .rplg-reviews:first-child .rplg-stars {
    margin: 3px 0 5px 0;
   	transform: none;
}
*/
.single-post .rpi-content .rplg-review > div > div {
    letter-spacing: .25px;
	font-style: italic;
}

.single-post .rpi-header .rpi-stars svg {
    width: 20px;
    height: 20px;
    margin-right: 0;
}
.single-post .rpi-header .rpi-stars {
    margin: 3px 0 5px 0;
   	transform: none;
}



.single-post .mri-review-name {
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 0;
    font-family: arial;
	line-height: 1;
}
.single-post .rpi-img {
    margin: 0 15px 13px 0;
}


/*
.single-post .rplg-reviews:first-child {
    margin-bottom: 20px;
}
*/
.single-post .rpi-header {
    margin-bottom: 20px;
}


.rpi-header .rpi-stars,
.rpi-content .rpi-stars {
	display: block;
}







/* ------------- 060-footer ------------- */
.mri-footer {
	background: #1c1f3c;
	color: #fff;
	padding: 80px 20px 20px;
	font-size: .9em;
}
.mri-footer h3,
.mri-footer a {
	color: #fff;
}
.mri-footer h3 {
	font-weight: 400;
	letter-spacing: 0;
	font-size:1.3em;
	margin-top: 0;
}

.mri-footer a {
	display: block;
	margin: 20px 0;
	text-decoration: none;
}
.mri-footer-cols-logo a {
	display: inline-block;
	margin: 0;
}
.mri-footer .mri-button-link {
	background: #16467F;
	display: table;
}
.mri-footer-cols {
	max-width: 1440px;
	margin: 0 auto;
	display: grid; 
	grid-gap: 40px; 
	
	/*grid-template-columns: auto 1fr auto 2fr 1fr;*/
	/* neu 25.04.24 Links statt Map in Footer */
	grid-template-columns: auto 1fr auto 1fr 1fr;
}
@media (max-width: 1200px) {
	.mri-footer-cols {
		/*grid-template-columns: auto 1fr auto 2fr;*/
		
		grid-template-columns: auto 1fr auto 1fr;
	}
	.mri-footer-beratung {
		display: none;
	}
}
@media (max-width: 1000px) {
	.mri-footer-cols {
		/*grid-template-columns: 1fr auto 2fr;*/
		
		grid-template-columns: 1fr auto 1fr;
	}
	.mri-footer-logo {
		display: none;
	}
}
@media (max-width: 720px) {
	.mri-footer-cols {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); ;
	}
	.mri-footer-logo, .mri-footer-beratung {
		display: block;
	}
}


.mri-logo-footer {
	margin-bottom: 30px;
}
.mri-footer a.mri-footer-provenexpert,
.mri-footer a.mri-footer-google-reviews,
.mri-footer a.mri-footer-instagram,
.mri-footer a.mri-footer-facebook,
.mri-footer a.mri-footer-linkedin {
	display: inline-block;
}
.mri-footer a.mri-footer-provenexpert {
	margin-right: 13px;
}
.mri-copyright {
	text-align: center;
	letter-spacing: 2px;
	font-size: .8em;
	margin: 50px auto 0;
	color: #eee;
}

.mri-footer a.mri-footer-instagram,
.mri-footer a.mri-footer-facebook {
	margin-right: 20px;
}


/* 5 Logos July 2025 */
.mri-5logos {
	display: flex;
  	flex-wrap: wrap;
  	justify-content:center;
}
.mri-5logos a {
	min-height: 170px;
	vertical-align: bottom;
	display: block;
}


/* ------------- 065-comments ------------- */
#comments {
	margin: 70px 0 0 0; 
}


#comments input,
#comments textarea {
	color: blue;
    padding: 5px 10px;
    font-size: 18px;
}

#comments textarea {
	width: 100%;
}


#comments .form-submit input {
	padding: 10px 20px;
    font-size: 16px;
    letter-spacing: .5px;
    color: #333;
}


.comment-form-comment label {
	display: block;

}/* ------------- 070-author-page ------------- */
.mri-author-header {
	text-align: center; 
	margin-top: 80px;
}
.mri-author-header a {
	margin: 0 15px;
	display: inline-block;
}
.mri-author-header h1 {
	margin: 0 0 5px;
}
.mri-author-header p {
	margin: 0 0 20px;
	text-transform: uppercase;
}


.mri-author-bio img {
	margin: 0 0 20px;
}
.mri-author-bio p:first-of-type {
	margin-top: 0;
}
.mri-author-bio figure {
	max-width: 513px; 
	margin-right: 45px;
	float: left;
	margin: 6px 45px 10px 0;
}
.mri-author-bio figcaption {
	line-height: 1.2;
    font-style: italic;
    color: #888;
    font-size: .9em;
}



.mri-author-index {
	margin-bottom: 100px;
}
.mri-author-index h2 {
	font-size: 1.5em;
	text-align: center;
	margin: 30px auto 60px;
}
.mri-author-index h3 {
	font-size: 1.2em;
	letter-spacing: -.5px;
	margin: 0;
	line-height: 1.1;
}
.mri-author-index a {
	text-decoration: none;
	color: #1c1f3c;
}
.mri-author-index time {
	color: #888;
	font-size: .9em;
}
.mri-author-index .mri-entry-date {
	float: none;
	margin: 0;
	font-size: .9em;
}
.mri-author-index img {
	object-fit: cover;
	height: 235px;
	margin-bottom: 12px;
}







/* ------------- 095-popups ------------- */
/* 22.11.2021  .mri-popup-link z.B auch auf Bilder angewendet, dafür cursor:pointer */
.mri-popup-link {
	cursor: pointer;
}
.mri-popup {
	background: hsla(0, 0%, 0%, 0.5);
    color: #fff;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100001;
    transform: translateX(-100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	backdrop-filter: blur(5px);
}
@media (max-width: 600px) {
	.mri-popup {
		align-items: normal;
	}	
}
@media (max-width: 1100px) {
	.mri-popup {
		display: block;
		padding: 10px;
	}	
}
.mri-popup-inner {
	max-width: 1000px;
	width: 95%;
	padding: 0 20px;
} 
.mri-popup a {
    color: #fff;
}
.mri-popup-title {
    line-height: 1;
    margin: 0 0 35px;
	color: #fff;
	font-size: 28px;
}
.mri-popup p {
    line-height: 1.3;
    margin: 0 0 20px;
}
@media (max-width: 800px) {
	.mri-popup p {
		margin: 0 0 15px;
	}
	.mri-popup h2 {
		margin: 0 0 20px;
		font-size: 22px;
	}
}
@media (max-width: 320px) {
	.mri-popup p {
		margin: 0 0 10px;
	}
	.mri-popup h2 {
		margin: 0 0 10px;
		font-size: 22px;
	}
}
.mri-grid-col-popup-kontakt {
	padding: 0 30px 30px; 
	
	display: flex;
	align-items: center;
}
.mri-grid-col-popup-kontakt > div {
	display: none;
}
/* single cpt pages, remove column span on mlobile */
@media (min-width: 500px) {
	.mri-grid-col-popup-kontakt {
		grid-column: 2 / 6;
	}
}
.mri-popup-kontakt-inner {
    margin: 0 auto;
	top: 0;
	bottom: 0;
    position: absolute;
}  
@media only screen and (min-width: 560px) {
	.mri-popup-kontakt-inner {
		display: grid; 
		grid-gap: 40px; 
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}
.mri-slide-in {
    animation: lc-slide-in 1s forwards;
}
.mri-slide-out {
    animation: lc-slide-out 1s forwards;
}
@keyframes lc-slide-in {
    100% { transform: translateX(0%); }
}    
@keyframes lc-slide-out {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-130%); }
}


.mri-team-card {
    position: fixed;
    height: 100vh;
    max-width: 590px;
    top: 0;
    right: 0;
    border: none;
    padding: 30px;
    overflow-y: scroll;
    background: #fff;
    z-index: 150; /* Bogo language switcher is 100 */
    box-shadow: 0 0 20px -10px #ccc;
    margin: 0 0 0 auto; /* default "auto" => centered on page, "left:" setting required */
    font-size: .9em;
	color: #1c1f3c;
}

.mri-team-card::backdrop {
        backdrop-filter: blur(5px);
		background: #000;
}


.mri-team-card figcaption {
	font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 10px;
	position: relative;
	
	display: block;
	padding-right: 100px;
}
.mri-team-card figcaption strong {
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 1px;
	display: block;
	line-height: 1.3;
}

.mri-team-card button {
	position: absolute;
    top: 10px;
    right: 5px;
    background: none;
    border: none;
    font-size: 20px;
}

.mri-team-card .mri-instagram-link,
.mri-team-card .mri-linkedin-link {
	position: absolute;
	top: 10px;
	width: 35px;
	height: 35px;
	display: block;
	border-radius: 50%;
	border: solid 1px #1c1f3c;
	padding: 1px 2px;
	line-height: 1;
	overflow: hidden; /* Else edges of image inside stick out a bit */
}
.mri-team-card .mri-linkedin-link {
	right: 50px;
}
.mri-team-card .mri-instagram-link {
	right: 4px;
}
.mri-team-card .mri-L {
	filter: grayscale(1);
}
.mri-team-card .mri-L:hover {
	filter: none;
}




	





/* ------------- 100-bogo-language-switcher ------------- */
ul.bogo-language-switcher li {
	list-style: none outside none;
	padding: 0;
	display: inline-block;
	margin: 0 0 0 20px;
}
#wpadminbar #wp-admin-bar-bogo-user-locale .ab-icon::before {
	content: "\f326";
	top: 2px;
} 
.bogoflags,
.bogoflags-before:before {
	display: inline-block;
	width: 20px;
	height: auto;
	background-image: none;
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0 4px;
	vertical-align: top;
} 
.bogoflags {
	margin: 0;
}
.bogoflags-de:before {
	content: "\1F1E9\1F1EA";
}
.bogoflags-gb:before {
content: "\1F1EC\1F1E7";
}
.bogoflags-it:before {
	content: "\1F1EE\1F1F9";
}
.bogoflags-us:before {
	content: "\1F1FA\1F1F8";
}



.bogo-language-switcher {
	position: fixed;
    /*top: 0;*/
    top: 40px; /* 40px for Marquee */
    right: 20px;
    z-index: 100;
    margin: 0;
	padding: 0;
}
.bogo-language-name a {
	color: #777;
    font-size: 14px;
    letter-spacing: 0;
}




body.it-IT ul.bogo-language-switcher li.it-IT {
	display: none;
}
body.en-US ul.bogo-language-switcher li.en-US {
	display: none;
}
body.de-DE ul.bogo-language-switcher li.de-DE {
	display: none;
}





@media (max-width: 500px) {
	.bogo-language-switcher {
		right: 5px;
	}
	ul.bogo-language-switcher li {
		margin: 0 0 0 10px;
	}
	span.bogoflags {
		display: none;
	}
	.bogo-language-name a {
		font-size: 12px;
	}
}



	
	/* ------------- 110-responsive-video-etc ------------- */
/* Videos, iframes etc are wrapped into <div class="lc-video">...</div> container via PHP / WP filter in /inc/responsive-video.php */
.mri-video { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	margin: 30px 0;
}
.mri-video iframe, 
.mri-video object, 
.mri-video embed, 
.mri-video video { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}


/* ------------- 119-carousel-flickity ------------- */
/* Flickity v2.2.1 - https://flickity.metafizzy.co */
.flickity-enabled {
	position: relative;
}
.flickity-enabled:focus { 
	outline: none; 
}
.flickity-viewport {
	overflow: hidden;
	position: relative;
	height: 100%;
}
.flickity-slider {
	position: absolute;
	width: 100%;
	height: 100%;
}
/* draggable */
.flickity-enabled.is-draggable {
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}
.flickity-enabled.is-draggable .flickity-viewport {
	cursor: move;
	cursor: grab;
}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
	cursor: grabbing;
}
/* ---- flickity-button ---- */
.flickity-button {
	position: absolute;
	background: transparent;
	border: none;
	color: #fff;
}
.flickity-button:hover {
	cursor: pointer;
}
.flickity-button:focus {
	outline: none;
	box-shadow: 0 0 0 5px #19F;
}
.flickity-button:active {
	opacity: 0.6;
}
.flickity-button:disabled {
	opacity: 0;
	cursor: auto;
	/* prevent disabled button from capturing pointer up event. #716 */
	pointer-events: none;
}
.flickity-button-icon {
	fill: #ffffff;
}
/* ---- previous/next buttons ---- */
.flickity-prev-next-button {
	top: 50%;
	width: 50px;
	height: 70px;
	/* vertically center */
	transform: translateY(-50%);
}
.flickity-prev-next-button.previous { 
	left: 0; 
}
.flickity-prev-next-button.next { 
	right: 0; 
}
.flickity-prev-next-button .flickity-button-icon {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
/* ---- page dots ---- */
.flickity-page-dots {
	bottom: -25px;
	line-height: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 100%;
}
.flickity-page-dots .dot {
	background: #333;
	border-radius: 50%;
	cursor: pointer;
	display: inline-block;
	height: 10px;
	margin: 0 8px;
	opacity: 0.25;
	width: 10px;
}
.flickity-page-dots .dot.is-selected {
	opacity: 1;
}
/* ------------- 120-carousels ------------- */
.mri-carousel-team { 
	height: 430px; 
} 				
.mri-carousel-team .mri-carousel-cell {
	height: 430px; 
	width: 24.475%; 
	margin-right: .7%;
	display: block;
}
@media (max-width:960px) {	
	.mri-carousel-team .mri-carousel-cell {
		width: 32.5%; 
		margin-right: 1.25%;
	}
}
@media (max-width:680px) {	
	.mri-carousel-team .mri-carousel-cell {
		width: 49%; 
		margin-right: 2%;
	}
}
@media (max-width:480px) {	
	.mri-carousel-team .mri-carousel-cell {
		width: 100%; 
		margin-right: 0;
	}
}
.mri-carousel-team img {
	object-fit: cover;
	height: 333px;
	width: 100%;
	display: block;
	border-radius: 10px;
}
/* no page dots on archive page, no numbers either. Setting in HTML data-flickity='{ "pageDots": false }' didn't work? */
body.archive .flickity-page-dots {
	display: none;
}
/* Bei derzeit 40 Objekten = 40 Punkten brechen Punkte ab 1080 px um. Keine Punkte darunter, andernfalls neu stylen */
@media (max-width:1080px) {
	.mri-carousel-mixed .flickity-page-dots {
		display: none;
	}
}
/*@media (max-width:690px) { */
@media (max-width:960px) {	
	.flickity-page-dots {
		bottom: -37px;
	}
}

.mri-carousel-team h3 {
	margin-top: 8px;
}
.mri-carousel-team h3 strong {
	font-size: 12px;
	letter-spacing: 2px;
	line-height: 1.2;
	display: block;
	font-weight: 400;
	color: #666;
	margin-top: 1px;
}









/* ------------- 125-maps ------------- */
/* ------------- 130-calculator ------------- */
/*
.calculator {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 10px;
}
.calculator input, .calculator select {
	width: 100%;
	padding: 10px;
	margin: 5px 0;
	box-sizing: border-box;
}
.calculator button {
	width: 100%;
	padding: 10px;
	background-color: #007BFF;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.calculator button:hover {
	background-color: #0056b3;
}
.result {
	margin-top: 20px;
}
*/


.mri-annuitaet .form-group {
	margin-bottom: 15px;
}
.mri-annuitaet label {
	display: block;
	margin-bottom: 5px;
}
.mri-annuitaet input, 
.mri-annuitaet select {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
}
.mri-annuitaet button {
	padding: 10px 15px;
	background-color: #007BFF;
	color: #fff;
	border: none;
	cursor: pointer;
}
.mri-annuitaet button:hover {
	background-color: #0056b3;
}
.mri-annuitaet .result {
	margin-top: 20px;
	padding: 10px;
	border: 1px solid #ddd;
}
.mri-annuitaet .radio-group {
	display: flex;
	justify-content: space-around;
	margin-bottom: 20px;
}
.mri-annuitaet table {
	width: 100%;
	border-collapse: collapse;
}
.mri-annuitaet th, 
.mri-annuitaet td {
	padding: 8px;
	text-align: left;
	border: 1px solid #ddd;
}
		
		/* ------------- 130-toggle-panels ------------- */
.mri-toggle-panels > h3 {
    font-size: 12px;
    border-bottom: solid 1px #eee;
    text-transform: uppercase;
    padding: 15px 0 12px;
    margin: 0;	
    letter-spacing: 1.5px;
	cursor: pointer;
	font-weight: 500;
}
.mri-toggle-panels > h3:after {
	content: "\0276F"; 
	font-size: 10px;
	color: #777;
	float: right;
	margin-left: 5px;
	transform: rotate(90deg);
}
.mri-toggle-panels > h3.mri-tab-active:after {
	content: "\0276F"; 
	transform: rotate(-90deg);
}
.mri-toggle-panels > div {
	display: none;
}


.mri-hidden {
	display: none;
}
/* ------------- 160-utilities ------------- */
/* CLEARFIX */
.mri-clearfix::after {
	content: "";
	clear: both;
	display: table;
}

/* JUSTIFY */
.mri-justify {
	hyphens: auto;
    text-align: justify;
}

/* COLUMNS */
.mri-cols {
	column-width: 500px;
	column-gap: 40px;
}
.mri-cols-xs {
	column-width: 300px;
	column-gap: 30px;
}
.mri-cols p:first-child,
.mri-cols-xs p:first-child {
	margin-top: 0;
}

/* SCROLL MARGIN */
.mri-scroll-margin {
	scroll-margin-top: 70px; 
}

/* BUTTONS */
.mri-button {
	background: #1C1F3C;
    color: #fff;
	border-radius: 10px;
    padding: 12px 24px;
	display: inline-block;
	line-height: 1;
}


/* Order of HTML elements inside this container will be visually reversed. Useful for keeping the h1->h2->h3 hierarchy of back-to-back <h3>...</h3><h2>...</h2> headings in correct order in the source code even if visual / readability aspects demand a - visually - reversed oder, example: h3 before h2 */ 
.mri-reverse-elements {
	display: flex;
	flex-direction: column-reverse;
}
.mri-reverse-elements>* {
	margin-bottom: 0; /* margins, e.g. of headings h1-h6, don't collapse if the elements are in two different flex columns */
}

/* ------------- 200-erfassungsbogen ------------- */
.page-id-8632 .wpcf7 input,
.page-id-8632 .wpcf7 select {
	font-size: 15px;
	padding: 3px;
	border: solid 1px #ccc;
	max-width: 99%;
	letter-spacing: 0;
}
.page-id-8632 .wpcf7 input[type=number] {
	font-family: monospace, arial, sans-serif;
}
	
.page-id-8632 .wpcf7 select {
	width: 200px;
	max-width: 99%;
}
.page-id-8632 .wpcf7 select.mri-small-select {
	width: 70px;
}



.page-id-8632 .wpcf7 input:-webkit-autofill,
.page-id-8632 .wpcf7 input:-webkit-autofill:hover, 
.page-id-8632 .wpcf7 input:-webkit-autofill:focus,
.page-id-8632 .wpcf7 textarea:-webkit-autofill,
.page-id-8632 .wpcf7 textarea:-webkit-autofill:hover,
.page-id-8632 .wpcf7 textarea:-webkit-autofill:focus,
.page-id-8632 .wpcf7 select:-webkit-autofill,
.page-id-8632 .wpcf7 select:-webkit-autofill:hover,
.page-id-8632 .wpcf7 select:-webkit-autofill:focus {
	-webkit-text-fill-color: blue;
}


.page-id-8632 .wpcf7 label {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 3px;
	font-size: 15px;
	font-family: monopace, sans-serif;
	letter-spacing: 0;
	max-width: 99%;
}

.page-id-8632 .wpcf7-form ol {
	list-style: none;
    counter-reset: item;
    margin-bottom: 100px;
    position: relative;
    min-height: 1px;
}
.wpcf7cf_repeater_controls {
	position: absolute;
    left: 30px;
    width: 100%;
    bottom: -70px;
    display: block;
}

.page-id-8632 .wpcf7-form li {
	counter-increment: item;
    margin-bottom: 5px;
    position: relative;
    border-radius: 10px;
    background: #ffffff;
    padding: 10px 10px 0;
    box-shadow: 0 0 30px -10px #ccc;
}
.page-id-8632 .wpcf7-form li:before {
	position: absolute;
	top: 12px;
	left: -37px;
	
	content: counter(item);
	background: #C4E7FD;
	border-radius: 50%;
	color: #1c1f3c;
	width: 30px;
	text-align: center;
	display: inline-block;
}

.wpcf7cf_repeater_sub {
    margin-bottom: 10px;
}


.page-id-8632 .wpcf7cf_add,
.page-id-8632 .wpcf7cf_remove {
	background: none;
	border: none;
	font-size: 14px;
	cursor: pointer;
	position: relative;
}
.page-id-8632 .wpcf7cf_add::before,
.page-id-8632 .wpcf7cf_remove::before {
	content: "+";
    font-size: 20px;
    font-weight: bold;
    color: green;
    background: #def7df;
    border-radius: 50%;
    width: 25px;
    display: inline-block;
	cursor: pointer;
	
    position: absolute;
    left: -27px;
    top: 0;	
}
.page-id-8632 .wpcf7cf_remove::before {
	content: "-";
	background: #ffcdcd;
	color: red;
}
.page-id-8632 .wpcf7cf_add::after,
.page-id-8632 .wpcf7cf_remove::after {
    content: " ";
    height: 4px;
    background: #def7df;
    position: absolute;
    top: 18px;
    left: 5px;
    right: 5px;
}
.page-id-8632 .wpcf7cf_remove::after {
    background: #ffcdcd;
}


/* Individual Remover per item */
.mri-remove-repeater {
    position: absolute;
    top: -8px;
    right: -10px;
	background: #ddd;
	color: black;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    padding: 6px;
}
.page-id-8632 .wpcf7-form li:hover .mri-remove-repeater {
	background: #ffcdcd;
	color: red;
}


/* Remove default remover (removes just the last item instead of individual */
.wpcf7cf_remove-container {
	display: none;
}


.page-id-8632 .wpcf7 hr {
	border: dashed 1px #ccc;
}



/* ------------- 230-cookie-notice ------------- */
@media (max-width: 600px) {
	#BorlabsCookieBox ._brlbs-box-plus #CookieBoxTextDescription {
		display: none;
	}
}


.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed {
	display: block;
	margin: 0 auto;

}
.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-thumbnail {
	margin: 0 auto;
}

/* ------------- 275-display-posts-shortcode ------------- */
.display-posts-listing {
	display: grid; 
	grid-gap: 40px; 
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));	
}
.display-posts-listing .excerpt {
	display: block;
}
.display-posts-listing .title {
	font-weight: 400; /* a maybe 500 but this is also H2, gets too fat */
	font-size: 1.6em;
	display: block;
	line-height: 27px;
    margin: 10px 0 20px 0;
	letter-spacing: 1px;
}
.listing-item .excerpt {
	hyphens: auto;
	text-align: justify;
}
.display-posts-listing a:link {
	font-weight: 400;
}
.display-posts-listing .excerpt a:link {
	color: #c48c00;
}
/* ------------- 320-simple-lightbox ------------- */
.slbOverlay, 
.slbWrapOuter, 
.slbWrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.slbOverlay {
  overflow: hidden;
  z-index: 2000;
  background-color: #000;
  opacity: 0.7;
}
.slbWrapOuter {
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 2010;
}
.slbWrap {
  position: absolute;
  text-align: center;
  backdrop-filter: blur(5px);
}
.slbWrap:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.slbContentOuter {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0px auto;
  /*padding: 0 1em;*/
  box-sizing: border-box;
  z-index: 2020;
  text-align: left;
  max-width: 100%;
}
.slbContentEl .slbContentOuter {
  padding: 5em 1em;
}
.slbContent {
  position: relative;
}
.slbContentEl .slbContent {
  background-color: #fff;
  box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.4);
}
.slbImageWrap {
  position: relative;
}
.slbImageWrap:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5em;
  bottom: 5em;
  display: block;
  z-index: -1;
  box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6);
  background-color: #FFF;
}
.slbImage {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  /*padding: 5em 0;*/
  margin: 0 auto;
}
.slbCaption {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  font-size: 1.4em;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.71429em 0;
  color: #fff;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.slbCloseBtn, 
.slbArrow {
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  fill: #fff;
}
.slbCloseBtn:hover, 
.slbArrow:hover {
  opacity: 0.5;
}
.slbCloseBtn {
  font-size: 3em;
  width: 1.66667em;
  height: 1.66667em;
  line-height: 1.66667em;
  position: fixed;
  /*right: -0.33333em;*/
  right: 0;
  top: 0;
  color: #fff;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.slbLoading .slbCloseBtn {
  display: none;
}
.slbLoadingText {
  font-size: 1.4em;
  color: #fff;
  color: rgba(255, 255, 255, 0.9);
}
.slbArrows {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
}
.slbLoading .slbArrows {
  display: none;
}
.slbArrow {
  position: absolute;
  top: 50%;
  margin-top: -5em;
  width: 5em;
  height: 10em;
  opacity: 0.7;
  overflow: hidden;
}
/* Grafim zu Flickity-SVG's geändert, Klick wurde anders nicht registriert */
.slbArrow svg {
	position: relative;
	z-index: -1;
}
.slbArrow.next {
  right: 0;
}
.slbArrow.prev {
  left: 0;
}
.slbIframeCont {
  width: 80em;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
  margin: 5em 0;
}
.slbIframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6);
  background: #000;
}


/* ------------- 330-renditedreieck ------------- */
.mri-renditedreieck {
	font-family: arial, sans-serif;
	table-layout: fixed;
	border-spacing: 1px;
    border-collapse: separate;
	color: #e5e5e5;
	margin: 0;
}
.mri-renditedreieck td, 
.mri-renditedreieck th, 
.mir-renditedreieck caption {
	padding: 3px 3px 2px;
	font-size: 14px;
	text-align: right;
}
.mri-renditedreieck caption {
	text-align: left;
}
.mri-renditedreieck-parent {
	overflow: auto;
}

.mri-rendite-legende span {
	display: inline-block;
	width: 70px;
	padding-left: 5px;
}

/* ------------- 400-talkify ------------- */
.talkify-control-center.modern.attached {
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100%;
}

.talkify-control-center.modern.detached {
    top: 85vh;
    left: 50px;
    width: 275px;
}

    .talkify-control-center.modern.detached .player-settings ul {
        font-size: 13px;
    }

        .talkify-control-center.modern.detached .player-settings ul i {
            font-size: 13px;
        }

    .talkify-control-center.modern.detached span {
        font-size: 13px;
    }

.talkify-control-center.modern {
    position: fixed;
    z-index: 100;
}

    .talkify-control-center.modern button {
        cursor: pointer;
        padding: 10px;
        outline: none;
    }

    .talkify-control-center.modern ul {
        padding: 0;
        margin: 0;
    }

    .talkify-control-center.modern label {
        cursor: pointer;
    }

    .talkify-control-center.modern ul.player-controls {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .talkify-control-center.modern .talkify-playback-controls {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .talkify-control-center.modern .player-controls li {
        font-size: 14px;
    }

    .talkify-control-center.modern .player-controls li {
        list-style: none;
    }

    .talkify-control-center.modern .player-controls > li {
        text-align: center;
        padding: 10px;
    }

    .talkify-control-center.modern .player-controls > li {
        width: 50%;
    }

        .talkify-control-center.modern .player-controls > li:first-child,
        .talkify-control-center.modern .player-controls > li:last-child {
            width: 25%;
        }

    .talkify-control-center.modern.detached .player-controls > li {
        width: 70%;
    }

        .talkify-control-center.modern.detached .player-controls > li:first-child {
            width: 30%;
        }


    .talkify-control-center.modern .player-settings {
        position: relative;
        display: inline-block;
    }

        .talkify-control-center.modern .player-settings > ul {
            display: none;
        }

        .talkify-control-center.modern .player-settings #player-settings-toggle:checked + ul {
            display: block;
        }

        .talkify-control-center.modern .player-settings input[type=range] {
            width: 130px;
        }

        .talkify-control-center.modern .player-settings select {
            border: none;
            width: 150px;
            background: transparent;
            font-size: 13px;
        }

        .talkify-control-center.modern .player-settings ul {
            position: absolute;
            bottom: 53px;
        }

            .talkify-control-center.modern .player-settings ul li {
                display: flex;
                align-items: center;
                line-height: normal;
            }

            .talkify-control-center.modern .player-settings ul button {
                border-radius: 0;
            }

    .talkify-control-center.modern.attached .player-settings ul li > * {
        padding: 10px;
    }

    .talkify-control-center.modern.detached .player-settings ul li > * {
        padding: 7px;
    }

    .talkify-control-center.modern.attached .player-settings ul button {
        width: 42px;
        height: 42px;
    }

    .talkify-control-center.modern.detached .player-settings ul button {
        width: 32px;
        height: 32px;
    }

    .talkify-control-center.modern .player-settings .pitch-icon {
        transform: rotate(-45deg);
    }

    .talkify-control-center.modern progress {
        width: 100%;
        height: 5px;
        border: none;
        display: block;
    }

    .talkify-control-center.modern button {
        text-align: center;
        border: none;
        font-size: 16px;
        background-color: transparent;
    }

    .talkify-control-center.modern .talkify-audio-loading {
        position: relative;
    }

        .talkify-control-center.modern .talkify-audio-loading::after, .talkify-control-center.modern .talkify-audio-loading::before {
            content: '';
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px solid;
            position: absolute;
            left: 0;
            top: 0;
            transform: scale(0);
        }

        .talkify-control-center.modern .talkify-audio-loading::after {
            animation-name: loading-pulse;
            animation-duration: 1s;
            animation-iteration-count: infinite;
            animation-delay: 0.25s;
        }

        .talkify-control-center.modern .talkify-audio-loading::before {
            animation-name: loading-pulse;
            animation-duration: 1s;
            animation-iteration-count: infinite;
        }

    .talkify-control-center.modern button.talkify-play-button,
    .talkify-control-center.modern .talkify-audio-error,
    .talkify-control-center.modern .talkify-audio-loading,
    .talkify-control-center.modern .talkify-pause-button {
        border-radius: 100%;
        height: 40px;
        width: 40px;
        font-size: 18px;
        margin: 0 10px;
    }

    .talkify-control-center.modern li {
        vertical-align: middle;
    }

    .talkify-control-center.modern .talkify-voice-selector {
        margin-left: auto;
        position: relative;
    }

        .talkify-control-center.modern .talkify-voice-selector > label {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

    .talkify-control-center.modern .player-settings li:hover {
        filter: brightness(90%);
        cursor: pointer;
    }

    .talkify-control-center.modern .talkify-voice-selector input[type=checkbox]:checked + .voice-selector {
        display: block;
    }

    .talkify-control-center.modern.attached .talkify-voice-selector {
        text-align: right;
    }

    .talkify-control-center.modern .talkify-voice-selector i {
        /* font-size: 17px; */
        padding: 5px;
    }

    .talkify-control-center.modern.attached .talkify-voice-selector span {
        margin-right: 5px;
        vertical-align: middle;
    }

    .talkify-control-center.modern .voice-selector > li {
        display: block;
        padding: 5px;
        text-align: left;
        transition: all 0.5s;
    }

    .talkify-control-center.modern .voice-selector li input[type=checkbox]:checked + .language {
        display: block;
    }

    .talkify-control-center.modern .voice-selector .language {
        display: none;
        padding: 0;
    }

        .talkify-control-center.modern .voice-selector .language > li {
            margin: auto;
            padding: 2px 5px;
            display: flex;
            align-items: center;
        }

            .talkify-control-center.modern .voice-selector .language > li > div:last-of-type {
                margin-left: auto;
            }

    .talkify-control-center.modern .voice-selector {
        padding: 0;
        ;
        margin: 0;
        position: absolute;
        bottom: 45px;
        right: 0;
        width: 200px;
        max-height: 500px;
        overflow-y: auto;
        display: none;
        box-sizing: border-box;
        border-width: 2px;
        border-style: solid;
        border-bottom-style: none;
    }

        /* width */
        .talkify-control-center.modern .voice-selector::-webkit-scrollbar {
            width: 10px;
        }


    /* Sliders */
    .talkify-control-center.modern .volume-slider, .talkify-control-center.modern .rate-slider {
        position: absolute;
        left: 0;
        top: 20px;
        padding: 5px;
        display: none;
    }

    .talkify-control-center.modern .talkify-volume-button:focus .volume-slider,
    .talkify-control-center.modern .talkify-volume-button:active .volume-slider,
    .talkify-control-center.modern .talkify-volume-slider:hover,
    .talkify-control-center.modern .talkify-rate-button:focus .rate-slider,
    .talkify-control-center.modern .talkify-rate-button:active .rate-slider,
    .talkify-control-center.modern .talkify-rate-slider:hover {
        display: block;
        left: 18px;
        transform: rotate(-90deg);
        transform-origin: left;
    }

    .talkify-control-center.modern .talkify-volume-button, .talkify-control-center.modern .talkify-rate-button {
        position: relative;
    }

    .talkify-control-center.modern input[type=range] {
        /*removes default webkit styles*/
        -webkit-appearance: none;
        /*required for proper track sizing in FF*/
        width: 100px;
        background: transparent;
        border: 0;
        padding: 0;
        outline: none;
    }

    .talkify-control-center.modern .volume-slider,
    .talkify-control-center.modern .rate-slider {
        padding: 10px;
    }

    .talkify-control-center.modern input[type=range]::-webkit-slider-runnable-track {
        height: 10px;
        border: none;
    }

    .talkify-control-center.modern.detached input[type=range]::-webkit-slider-runnable-track {
        height: 5px;
    }

    .talkify-control-center.modern input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 20px;
        width: 10px;
        margin-top: -5px;
    }

    .talkify-control-center.modern.detached input[type=range]::-webkit-slider-thumb {
        margin-top: -2.5px;
    }

    .talkify-control-center.modern.detached input[type=range]::-webkit-slider-thumb {
        height: 10px;
    }

    .talkify-control-center.modern input[type=range]:focus {
        outline: none;
    }

    .talkify-control-center.modern input[type=range]::-moz-range-track {
        width: 100%;
        height: 5px;
        border: none;
    }

    .talkify-control-center.modern input[type=range]::-moz-range-thumb {
        border: none;
        height: 12px;
        width: 12px;
    }

    /*hide the outline behind the border*/
    .talkify-control-center.modern input[type=range]:-moz-focusring {
        outline: 1px solid white;
        -ms-outline-offset: -1px;
        outline-offset: -1px;
    }

    .talkify-control-center.modern input[type=range]::-ms-track {
        width: 75px;
        height: 3px;
        /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
        background: transparent;
        /*leave room for the larger thumb to overflow with a transparent border */
        border-color: transparent;
        border-width: 6px 0;
    }

    .talkify-control-center.modern input[type=range]::-ms-fill-lower {
        border-radius: 10px;
    }

    .talkify-control-center.modern input[type=range]::-ms-fill-upper {
        border-radius: 10px;
    }

    .talkify-control-center.modern input[type=range]::-ms-thumb {
        border: none;
        height: 12px;
        width: 12px;
        -ms-border-radius: 50%;
        border-radius: 50%;
        margin-top: -1px;
    }

/* end sliders */
@keyframes loading-pulse {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        transform: scale(1);
        opacity: 0;
    }
}

@media screen and (max-device-width : 640px), only screen and (max-width : 640px) {
    .talkify-download-button.desktop, .talkify-download-loading.desktop, .talkify-download-error.desktop {
        display: none !important;
    }
}

@media (min-width: 641px) {

    .talkify-download-button.mobile {
        display: none !important;
    }
}
