/*Blocks in Tabellen/Spalten */
.wp-block-columns{
	gap:40px;
}
.wp-block-columns > .wp-block-column > .mbgi-block,
.wp-block-columns > .wp-block-column > .wp-block-image{
	margin-bottom: 32px; /*ist auch der horizontale Abstand*/
	padding-bottom: 0px;
	}
	.wp-block-column:not(:first-of-type){
		margin-left: 2em;
	}
	.wp-block-columns > .wp-block-column > *:not(:last-child):not(h2) {
		margin-bottom: 16px !important; /* 1rem */
		padding-bottom: 0;
	}
	.wp-block-columns > .wp-block-column > *:last-child {
		margin-bottom: 0 !important;
		padding-bottom: 0;
	}
	
	.wp-block-columns > .wp-block-column:not(:first-of-type){
		margin-left: 0
	}
	
.wp-block-image {
	margin:0 auto;
	box-sizing: border-box;
	}
	.wp-block-image img {
		max-width: 100%;
		height: auto;
	}
	/*img-left-right*/
	.mbgi-block-bild-lupe.left{
		float: left;
		margin-right:20px
	}
	.mbgi-block-bild-lupe.right{
		float: right;
		margin-left:20px
	}
	.mbgi-block-bild-lupe.right,
	.mbgi-block-bild-lupe.left{
		top: 10px;
		margin-bottom: 0px !important;
		position: relative;
	}
	.wp-block-column .wp-block-image .alignright,
	.wp-block-column .wp-block-image .alignleft{
		margin-top:20px;
	}
	

#content p img{
	float: inline-start;
	margin-right: 10px;
	margin-bottom: 10px;
}
	
	
.post-content h3{
	color: var(--hellgruen);
}

.post-content a {
	text-decoration: underline;
}

.post-content p > a { /* Um nicht alle Links zu treffen */
	color: var(--hellgruen); 
}
.wp-block-columns.has-background,
.wp-block-column.has-background{
	padding:20px !important;	
}

.wp-block-media-text.has-background{
	padding:0
}

.wp-block-media-text p:last-child{
	margin-bottom: 0;	
}

hr {
	margin-top: 30px;
	margin-bottom:30px;
	}
/*
Icon Pfeil nach jedem Link
TODO könnte unerwünschte Nebeneffekte haben zB bei Bildern
*//*
.post-content p > a::after {
	content: "\f061";
    display: inline-block;
    padding: 0 0 0 3px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    font-size: 75%;
    line-height: 100%;
}
.post-content p > a.noLinkIcon::after {
	content: none!important;
}
*/

/*Listen*/
.post-content ol,
.post-content ul {
	margin-bottom: 60px;
	padding-left: 60px;
}

.post-content li:not(:last-of-type) {
	margin-bottom: 16px;
}
.post-content li ul {
	margin-top: 16px;
}
.post-content ol ol,
.post-content ul ul {
	margin-bottom: 0;
	}
	.post-content ol li,
	.post-content ul li {
		color: var(--graublau);
		font-size: 18px;
		line-height: 28px;
		padding-left: 10px;
		
	}
	.post-content ul li {
		list-style-image:url("../images/Logo-bulletpoint.svg")
	}
	.post-content div.mbgi-aktuelles-filter-menu ul li {
		list-style-image: none
	}
	.post-content ol li {
		list-style-type: decimal;
		}
		.post-content ol li ol {
			margin-top: 20px;
			margin-bottom: 20px;
		}
		.post-content ol li::marker {
			color: var(--hellgruen);
		}
		.post-content ol li:last-of-type {
			padding-bottom: 0;
		}

.wp-block-quote p {
	color: var(--hellgruen);
	line-height: 150%;
	font-size: 22px;
	margin-bottom: 60px;
}

.wp-block-verse {
	max-width: 1040px;
	margin: 0 auto;
	color: var(--hellgruen);
	font-family: "Arvo", Helvetica, Arial !important;
	font-weight: 700;
	line-height: 40px;
	font-size: 26px;
	text-align: center;
	margin-bottom: 60px;
	overflow: hidden !important;
}

figure.wp-block-pullquote{
	margin: 0 auto;
	padding-bottom: 10px;
}

.wp-block-pullquote blockquote {
	background-color: var(--hellgruen) !important;
	padding-top: 60px;
	padding-bottom: 60px;
	position: relative;
	margin: 0 0 80px;
	}
	.wp-block-pullquote blockquote:before {
		content: "„";
		font-size: 350px;
		color: #46962B;
		position: absolute;
		right: 0;
		top: -350px;
		font-weight: 700;
	}
	.wp-block-pullquote p {
		color: #ffffff;
		font-size: 26px;
		font-family: "Arvo", Helvetica, Arial;
		line-height: 150%;
		font-weight: 700;
		margin-bottom: 0;
	}
	.wp-block-pullquote cite {
		color: #234A15;
		font-size: 20px;
		font-style: normal;
		font-weight: bold;
	}
	
	@media (max-width:960px) {
		.wp-block-pullquote blockquote {
			padding: 60px 40px;
		}
	}
	
.wp-block-quote {
	background-color: var(--hellgruen) !important;
	padding-top: 60px;
	padding-bottom: 60px;
	position: relative;
	margin: 0 auto 80px;
	max-width: 1280px;
	position: relative;
	text-align: center;
	width: 100%;
	}
	.wp-block-quote.is-style-large {
		padding-top: 60px!important;
		padding-bottom: 60px!important;
	}
	.wp-block-quote:before {
		content: "„";
		font-size: 350px;
		color: #46962B;
		position: absolute;
		right: 0;
		top: -350px;
		font-weight: 700;
	}
	.wp-block-quote p {
		margin-bottom: 20px;
		color: #ffffff;
		font-size: 26px;
		font-family: "Arvo", Helvetica, Arial;
		line-height: 150%!important;
		font-weight: 700;
	}
	.wp-block-quote blockquote {
		margin: 0;
	}
	.wp-block-quote cite {
		color: #234A15;
		font-size: 20px;
		font-style: normal;
		font-weight: bold;
		margin: 0 auto;
		display: block;
		padding-bottom:20px
	}

/*GalleryGrid*/
.post-content .blocks-gallery-grid{
	padding-left: 0;
	margin-bottom:20px;
	}
.post-content > .wp-block-gallery{
	margin-bottom: 80px;
}
	.post-content .blocks-gallery-grid li{
		padding-left:0;
	}
	.post-content .wp-block-gallery .blocks-gallery-item:last-child{
		margin:0;
		}
		
/* Tabellen */ 
.wp-block-table {
	width: 100%;
	}	
	.wp-block-table table {
		margin-bottom: 0;
		}
		.wp-block-table table tbody {
			vertical-align: top;
			}
			.wp-block-table tr td {
				margin: 0;
				padding: 15px 20px;
				/* border-right: 1px solid #ffffff ! ;*/
				border:0;
			}
			.wp-block-table tr:first-of-type td {
				background-color: var(--hellgruen) !important;
				color: #ffffff !important;
				font-weight: 700;
				font-size: 20px;
			}
			.wp-block-table tr:nth-of-type(odd) td {
				background-color: #ECF0F7;
				color: var(--graublau);
			}
			.wp-block-table tr:last-of-type td {
				background-color: #AEBAD0;
				color: #ffffff;
			}
	.wp-block-table figcaption {
		margin-top: 20px; /*Sonderfall margin-top! Wenn nicht ausgefüllt wird figcaption nicht ausgegeben*/
	}


/*Gutenberg Button*/
.wp-block-buttons {
	justify-content: left;
	}
	.wp-block-file .wp-block-file__button:hover,
	.wp-block-buttons > .wp-block-button > a:hover {
		background-color: var(--hellgruen);
		}
	.wp-block-buttons > .wp-block-button {
		margin-bottom: 0;
	}
	.cr_button,
	.wp-block-file .wp-block-file__button,
	.wp-block-button__link {
		background-color: var(--dunkelgruen);
		text-align: center;
		font-family: "PT Sans";
		font-weight: 700;
		font-size: 16px;
		padding: 10px 40px;
		text-decoration: none !important;
		}

	.wp-block-button.add-extern-icon .wp-element-button:after{
		content:"\f35d";
		font-family: 'Font Awesome 6 Free';
		font-weight:700;
		font-size: 14px;
		padding-left: 15px;
	}

/*Formformatiert*/
.wp-block-preformatted{
	font-family: "Arvo", Helvetica, Arial;	
}

/*Code-Block*/
.wp-block-code{
	padding: 20px;
    background-color: var(--cd-gelb);
    font-style: italic;
}

/*Dateiblock*/
.wp-block-file__embed{
	/*display:none; Lässt sich auch im Backend auschalten*/
}

/*iFrame*/
iframe{
	margin: 0 auto;
    display: block;
}

/*Cover*/
.wp-block-cover{
	margin: 0 auto 80px;
    max-width: 1280px;
    position: relative;
    text-align: center;
    width: 100%;
}
.wp-block-cover.alignwide{
	max-width: 100%;
}
.gi-headline-hide .wp-block-cover:nth-child(2){
	/* margin-top:-20px; */
}

/*Abstand nach unten*/
.wp-block-separator,
iframe,
.wp-block-media-text,
.wp-block-cover,
.wp-block-file,
.wp-block-preformatted,
.wp-block-code,
.wp-block-image,
.wp-block-columns,
.wp-block-table,
.wp-block-buttons{
	margin-bottom: 60px;
}

/*Twitter-Plugin*/
#ctf, #sb_instagram{
	max-width: 1360px;
	margin-bottom: 60px;
	}
	.ctf-twitterlink,
	.ctf-author-name,
	.ctf-corner-logo{
		display:none !important;
	}
	.ctf-tweet-actions{
		display: flex;
		justify-content: flex-end;
	}
	#ctf .ctf-header .ctf-header-follow{
		background: #234A15;
	}
	#ctf .ctf-no-bio .ctf-header-text{
		padding-top: 7px;;
	}
	.ctf-header-name{
		font-family: "Arvo", Helvetica, Arial;
		font-size: 20px;
		color: var(--hellgruen);
	}
	#sbi_load .sbi_follow_btn.sbi_custom a,
	#ctf #ctf-more{
		width: 350px;
		max-width: 350px;
		margin: 0 auto;
		display: block;
	}
	.ctf-author-avatar{
		display: none;
	}
	#ctf .ctf-quoted-author-screenname,
	#ctf .ctf-quoted-author-name{
		font-size: 18px;
		font-weight: 400;
	}
	.ctf-quoted-verified svg,
	.ctf-verified svg{
		width: 16px !important;
    	height: 16px !important;
    	vertical-align: -3px !important;
	}
	
	.ctf-quoted-tweet-text{
		font-size: 16px;
	}
	
/*Instagram-Plugin*/
	#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img, 
	#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img, 
	.sb_instagram_header.sbi_medium .sbi_header_img, 
	.sb_instagram_header.sbi_medium .sbi_header_img img,
	#sb_instagram .sb_instagram_header .sbi_header_img_hover, 
	.sb_instagram_header .sbi_header_img_hover,
	.sbi_header_img img,
	#ctf .sbi_header_img{
		width:48px !important;
		height:48px !important;
	}
	#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3, 
	.sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{
		padding-top:7px !important;
		margin-left: 60px !important;
	}
	#sbi_images{
		margin-bottom: 25px;
	}
	#sb_instagram .sbi_photo{
		/* max-height:260px; */
	}
	
	#sb_instagram.sbi_fixed_height{
		height:100% !important;
	}
/*Social-Plugin-Buttons*/
	#sb_instagram #sbi_load .sbi_load_btn,
	#sb_instagram .sbi_follow_btn.sbi_custom a,
	#ctf #ctf-more{
		padding: 12px 20px;
		background-color: var(--dunkelgruen) !important;
		border-radius: 23px;
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		text-decoration: none;
		font-family: "PT Sans", Helvetica, Arial;
		}
		#sb_instagram #sbi_load .sbi_load_btn .sbi_btn_text,
		#sb_instagram .sbi_follow_btn.sbi_custom a span,
		#ctf #ctf-more span{
			color: #fff;
		}
	#sb_instagram #sbi_load .sbi_load_btn:hover,	
	#sb_instagram .sbi_follow_btn.sbi_custom:hover a,
	#ctf #ctf-more:hover{
		background-color: var(--hellgruen) !important;
		}
	#sb_instagram #sbi_load .sbi_load_btn:hover,
	#sb_instagram .sbi_follow_btn.sbi_custom:hover a{
		box-shadow:inset 0 0 10px 20px var(--hellgruen)
	}
	#sb_instagram #sbi_load .sbi_load_btn{
		margin-top:0;
		margin-bottom:40px
	}

/*Classic-Editor img fixes*/
.post-content p > img{
	/* width: auto; *//*Fehler bei kleineren Bildern*/
	}
.post-content p > img.alignleft{
	float:left;
	margin: 0.5em 1em 0.5em 0;
}
.post-content p > img.alignright{
	float:right;
	margin: 0.5em 0 0.5em 1em;
	}


/*Align*/
.has-text-align-center{
	text-align: center !important;
}

/*Hide Standard H1*/
.gi-headline-hide .post-content > h1.post-title{
	display:none;
}

.post-content .wp-block-columns.is-not-stacked-on-mobile{
	flex-wrap: wrap !important;
}