@charset "UTF-8";

/*
Theme Name: Marlene2.0
Theme URI: https://www.marlene-schoenberger.de
Author: Andreas Gregor
Author URI: https://www.andreasgregor.de
Description: WordPress-Theme für Grüne Kandidat*innen
Requires at least: 5.3
Tested up to: 5.8
Requires PHP: 5.6
Version: 0.1
License: none
License URI: none
Text Domain: msmdb
Tags: none
*/

@import url('lib/fonts/font-awesome.min.css');

@font-face{
	font-family:BereitBold;
	font-style:normal;
	font-weight:400;
	font-display:fallback;
	src:local("BereitBold"),local("BereitBold-Gruen"),url(lib/fonts/BereitBold-Oblique-c0cf923a96d80efdf8bb3cf4b07ab6ef.woff2) format("woff2"),
	url(lib/fonts/BereitBold-Oblique-c54523aeff1d53ab9acc33653047dd7d.woff) format("woff")
}

@font-face {
    font-family: 'SEBLACK';
    src: url('lib/fonts/SEBLACK-Regular.eot');
    src: url('lib/fonts/SEBLACK-Regular.eot?#iefix') format('embedded-opentype'),
         url('lib/fonts/SEBLACK-Regular.woff2') format('woff2'),
         url('lib/fonts/SEBLACK-Regular.woff') format('woff'),
         url('lib/fonts/SEBLACK-Regular.ttf')  format('truetype'),
         url('lib/fonts/SEBLACK-Regular.svg#SEBLACK') format('svg');
}

@font-face {
    font-family: 'SEBLACK Light';
    src: url('lib/fonts/SEBLACK-Light.eot');
    src: url('lib/fonts/SEBLACK-Light.eot?#iefix') format('embedded-opentype'),
         url('lib/fonts/SEBLACK-Light.woff2') format('woff2'),
         url('lib/fonts/SEBLACK-Light.woff') format('woff'),
         url('lib/fonts/SEBLACK-Light.ttf')  format('truetype'),
         url('lib/fonts/SEBLACK-Light.svg#SEBLACK Light') format('svg');
}

@font-face {
    font-family: "Gelasio";
    src: url('lib/fonts/Gelasio-Regular.woff2') format('woff2');
    font-weight: normal;    
}

@font-face {
    font-family: "Gelasio";
    src: url('lib/fonts/Gelasio-Bold.woff2') format('woff2');
    font-weight: bold;
}

:root {
	--headlinefont: "BereitBold", sans-serif;
	--headlinefont2: "SEBLACK Light", sans-serif;	
	--textfont: "Gelasio", "Georgia", serif;

	--primary: 90, 225, 90;	
	--secondary: 20, 65, 120;	
	--tertiary: 10, 50, 30;
	--text: 20, 20, 20;
	--introbg: 240, 240, 240;
}

* {
	box-sizing: border-box;
	hyphens: auto;
    -webkit-hyphens: auto;
}

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html, body {
	margin: 0;
	padding: 0;
	font-family: var(--textfont);
	font-size: 16px;
	color: rgb(var(--text));
}

a,
a:visited {
	color: rgb(var(--secondary));
	text-decoration: none;
	transition: color 0.3s;
	transition: border 0.3s;
}

a:hover {
	color: rgb(var(--primary));
}

p {
	padding-bottom: 1rem;
	max-width: 80ch;
	line-height: 1.4em;
}

strong {
	font-weight: bold;
}

.has-medium-font-size {
	font-family: var(--headlinefont2);
	font-size: 1.7rem !important;
	padding-bottom: 1rem;
	max-width: 80ch;
}

body.archive article.post .has-medium-font-size,
.wp-block-query .has-medium-font-size {
	font-family: var(--textfont);
	font-size: 1.2rem !important;
}

h1 {
	font-family: var(--headlinefont);
	font-weight:400;
	font-size: 3.5rem;
	line-height: 1.2em;
	margin: 0 0 2rem 0;
	padding: 0;
	color: rgb(var(--primary));
	hyphens: none;
    -webkit-hyphens: none;
}

h2 {
	font-family: var(--headlinefont2);
	font-weight: normal;
	font-size: 2.5rem;
	line-height: 1.2em;
	max-width: 60ch;
	margin: 4rem 0 2rem 0;
	padding: 0;
	color: rgb(var(--secondary));
	hyphens: none;
    -webkit-hyphens: none;	
}


h3 {
	hyphens: none;
    -webkit-hyphens: none;
}

.home section#content h2:not(.wp-block-post-title),
.home footer h2 {
	font-family: var(--headlinefont);
	font-weight:400;
	font-size: 2.5rem;
	line-height: 1.2em;
	margin: 4rem 0 2rem 0;
	color: rgb(var(--primary));
}

h4 {
	font-weight: bold;
}


header #cont {
	background: rgb(var(--primary));
	width: 100%;
	height: 160px;
	display: flex;
	padding: 2rem 4rem;
}

header a h2 {
	font-family: var(--headlinefont);
	font-weight:400;
	line-height: 1.2em;
	padding: 0;	
	font-size: 2rem;
	color: #fff;
	margin: 0 4rem 0 0;
}

header a h3 {
	display: none;
}

#logos {
	position: absolute;
	right: 4rem;
	top: 1rem;
	height: 60px;
	display: flex;
	gap: 1rem;
	align-items: center;
}

#logos img {
	height: 50px;
	width: auto;
}

#logos img#bt {
	height: 45px;
}




body.home header #cont {
	background: rgb(var(--primary));
	width: 55%;
	height: 400px;
	display: flex;
	flex-direction: column-reverse;
	align-items: stretch;
	padding: 2rem 4rem;
	align-content: center;
	justify-content: space-between;
}

body.home header a h2 {
	font-size: 3.5rem;
}

body.home header a h3 {
	display: block;
	font-family: var(--headlinefont2);
	color: rgb(var(--text));
	font-size: 1.6rem;
	margin: 0;
}

body.home #logos {
	position: absolute;
	right: 4rem;
	top: 1rem;
	height: 60px;
	display: flex;
	gap: 2rem;
	align-items: center;
}

body.home #logos img {
	height: 60px;
	width: auto;
}

body.home #logos img#bt {
	height: 50px;
}

header > img {
	width: 100%;
	height: auto;
	margin-top: -300px;
	z-index: -1;
	position: relative;
}













#navibutton {
	display: none;
}

#hauptnavi {
	padding-top: 0.5rem;
}

#hauptnavi ul {
	list-style-type: none;
}

#hauptnavi ul li {
	display: inline-block;
	font-family: var(--headlinefont2);
}

#hauptnavi ul li a {
	font-size: 1.6rem;
	margin-right: 1.5rem;
	border-bottom: 0px solid #fff;
}

#hauptnavi ul li a:hover,
#hauptnavi ul li.current-menu-item > a,
#hauptnavi ul li.current-menu-parent > a{
	color: rgb(var(--text));
	border-bottom: 4px solid #fff;
}


#hauptnavi ul li ul {
	display: none;
}

#hauptnavi ul li.current-menu-item ul,
#hauptnavi ul li.current-menu-parent ul {
	display: block;
	position: absolute;
	margin-top: 1rem;
}



section#content {
	padding: 4rem;
	font-size: 1.2rem;
}


body.category #content h1 {
	color: rgb(var(--secondary));
	line-height: 1em;
}

body.category h1 span {
	color: rgb(var(--primary));
	display: block;
}

.catDesc {
	margin: 0rem 0 2rem 0;
}

.catLinks {
	margin: 0rem 0 6rem 0;
}

.wp-block-query {
	margin-bottom: 12rem;
}

article.post,
.wp-block-query li {
	margin-bottom: 6rem;
}

article.post h2,
.wp-block-query h2 {
	margin: 1rem 0 0.3rem 0;
	padding: 0;
	hyphens: none;
    -webkit-hyphens: none;	
}

article.post h2 a,
.wp-block-query h2 a {
	hyphens: none;
    -webkit-hyphens: none;	
}

article.post .cats,
.wp-block-query .cats {
	margin: 0rem 0 2rem 0;
}

article.post .cats a,
.catLinks a,
.wp-block-query .cats a {
	text-transform: lowercase;
}

article.post .cats a:before,
.catLinks a:not(:first-child):before,
.wp-block-query .cats a:before {
	content: '#';
	color: rgb(var(--primary));
}

article.post .picContent,
.wp-block-query .picContent .wp-block-group__inner-container {
	display: flex;
	gap: 2rem;
}

/*
article.post:nth-child(odd) .picContent,
.wp-block-query li:nth-child(even)  .picContent .wp-block-group__inner-container {
	display: flex;
	gap: 2rem;
	flex-direction: row-reverse;
}
*/

a.more-link,
.catLinks a {
	display: inline-block;

	border: 1px solid rgb(var(--primary));
	padding: 1rem 2rem;
	border-radius: 2rem
}

.catLinks a {
	margin: 0 5px 10px 0;
}

a.more-link:hover {
	background: rgb(var(--secondary)); 
	border-color: rgb(var(--secondary)); 
}




footer {
	background: rgb(var(--tertiary));
	color: #fff;
	padding: 4rem;
}

footer a,
footer a:visited {
	color: rgb(var(--primary));
}

footer a:hover {
	color: #fff;
}

footer h2 {
	font-family: var(--headlinefont);
	font-weight: normal;
	font-size: 2.5rem;
	line-height: 1.2em;
	margin: 0rem 0 2rem 0;
	padding: 0;
	color: rgb(var(--primary));
}

ul#menu-socialnav,
ul#menu-footermenu,
.socialnav.wp-block-navigation ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

ul#menu-footermenu {
	margin: 4rem 0 0 0;
}

ul#menu-socialnav li,
ul#menu-footermenu li {
	padding: 0;
	margin: 0 1rem 0 0;
	display: inline-block;
}

.socialnav.wp-block-navigation ul li {
	padding: 0;
	margin: 2rem 0rem 0 0;
}

ul#menu-socialnav li a,
.socialnav.wp-block-navigation ul li a {
	padding: 0.6rem 1rem 0.6rem 0.6rem;
	margin: 0;
	display: block;
	background: rgb(var(--primary));
	color: rgb(var(--secondary));
	border-radius: 55px;
	transition: background 0.3s;
}

ul#menu-socialnav li a::after,
.socialnav.wp-block-navigation ul li a::after {
	content: ' \2192';
}

ul#menu-socialnav li a:hover,
.socialnav.wp-block-navigation ul li a:hover {
	background: #fff;
}

ul#menu-socialnav li a::before,
.socialnav.wp-block-navigation ul li a::before {
	width: 30px;
	height: 30px;
	margin-right: 10px;
	display: inline-block;
	border-radius: 50%;
	color: #fff;
	-webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
	font-size: 22px;
	line-height: 30px;
    text-transform: none !important;
	background-color: rgb(var(--secondary));
	color: rgb(var(--primary));
	transition: background-color 0.3s;
}

ul#menu-socialnav li a:hover::before {
	color: #fff;
}

li.twitter a::before {
    content: "\f099  ";	
}

li.facebook a::before {
    content: "\f09a  ";	
}

li.instagram a::before {
    content: "\f16d  ";	
}

.intro {
	position: relative;
	margin-bottom: 8rem;
}

.intro::before {
	content: '';
	display: block;
	width: 100vw;
	height: 500px;
	position: absolute;
	bottom: -4rem;
	z-index: -11;
	margin-left: -2rem;
	background: rgb(var(--introbg));
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding: 0rem 2rem 2rem 0 !important;
}

.wp-block-media-text div {
	align-self: start !important;
}

.wp-block-media-text.has-media-on-the-right.overlap figure {
	margin-left: -6rem;
	margin-top: 2rem;
}

.wp-block-media-text.dark .wp-block-media-text__content {
	background: rgb(var(--secondary));
	color: #fff;
	padding: 2rem !important;
}

.wp-block-media-text.dark .wp-block-media-text__content h3 {
	font-family: var(--headlinefont2);
	font-weight: normal;
	font-size: 2.5rem;
	line-height: 1.2em;
	margin: 0rem 0 2rem 0;
	padding: 0;
}

.wp-block-button__link,
.wp-block-button__link:visited {
	background: none;
	border: 1px solid rgb(var(--primary));
	color: rgb(var(--secondary));
}

.wp-block-button__link:hover {
	background: rgb(var(--secondary));
	border: 1px solid rgb(var(--secondary));
	color: rgb(var(--primary));
}

.dark .wp-block-button__link {
	background: none;
	color: #fff;
	border: 1px solid #fff;
}

.dark .wp-block-button__link:hover {
	background: rgb(var(--primary));
	color: rgb(var(--secondary));
	border: 1px solid rgb(var(--primary));
}



div#sb_instagram {
	background-color: rgb(var(--introbg));
	width: 100vw;
	padding: 1rem 4rem;
	margin: 0 0 0 -4rem;
}


div#sb_instagram .sbi_follow_btn a {
	color: rgb(var(--secondary)) !important;
	border-radius: 50px;
	font-size: 1rem;
	margin: 2rem;
}


div#sb_instagram .sbi_follow_btn a:hover {
	color: #fff !important;
}

ul.cv {
	list-style-type: none;
	padding: 0 0 0 1rem;
	margin: 0;
	border-left: 2px solid rgb(var(--primary));
}

ul.cv li {
	padding: 0.8rem 0.5rem;
}

ul.cv li::before {
	content: '';
	display: block;
	position: absolute;
	border-radius: 20px;
	background: #fff;
	width: 1em;
	height: 1em;
	border: 2px solid rgb(var(--primary));
	margin-left: -2.3rem;
}

ul.cv li strong {
	display: inline-block;
	min-width: 150px;
}

.wp-block-table th {
	background: rgb(var(--primary));
	text-align: left;
	font-weight: bold;
	padding: 1rem;
}

.wp-block-table tr {
	border-bottom: 1px solid rgb(var(--primary));
}

.wp-block-table td {
	padding: 1rem;
}

.wp-block-group.team {
	background: rgb(var(--introbg));
	padding: 2rem 4rem;
	width: 100vw;
	margin-left: -4rem;
}

iframe {
	border: none !important;
}


.pb-2rem .wp-block-media-text__content {
	margin-top: 2rem;
}



nav.wp-block-query-pagination,
nav.navigation.pagination {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    align-items: center;	
	justify-content: center;	
}

nav.navigation.pagination .nav-links {
	text-align: center;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers {
	margin: 0;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers span,
.wp-block-query-pagination .wp-block-query-pagination-numbers a,
.navigation.pagination span,
.navigation.pagination a {
	display: inline-block;
	border: 1px solid rgb(var(--primary));
	padding: 0.8rem 1.2rem;
	border-radius: 2rem;
	margin: 1rem 5px 1rem 0;
	aspect-ratio: 1 / 1;
}

.wp-block-query-pagination a:hover,
.navigation.pagination a:hover {
	background: rgb(var(--secondary));
	border: 1px solid rgb(var(--secondary));
	transition: all 0.2s;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers span.dots,
.navigation.pagination span.dots {
	border: 0px solid rgb(var(--primary));
	margin: 0;
	padding: 0;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers span.current,
.navigation.pagination span.current {
	border: 1px solid rgb(var(--secondary));
	background: rgb(var(--secondary));
	color: #fff;
}

.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next,
.navigation.pagination .prev,
.navigation.pagination .next {
	display: inline-block;
	border: 1px solid rgb(var(--primary));
	padding: 0.8rem 1.2rem;
	border-radius: 2rem;
	margin: 1rem 0;
	aspect-ratio: auto;
}








@media only screen and (max-width: 49.999em) {

	h1 {
		font-size: 3rem;
		line-height: 1em;
	}

	h2 {
		font-size: 2rem;
	}

	.home section#content h2:not(.wp-block-post-title),
	.home footer h2 {
		font-size: 2rem;
	}

	.has-medium-font-size {
		font-size: 1.3rem !important;
		padding-bottom: 1rem;
	}
	
	a.more-link {
		display: block;
		text-align: center;
	}

	iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	header {
		position: fixed;	
		width: 100vw;
		z-index: 1000;
	}

	body.home header {
		position: static;	
	}	
	
	header #cont,
	body.home header #cont {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column-reverse;
		align-items: stretch;
		padding: 1.5rem;
		align-content: center;
		justify-content: space-between;
	}

	body.home header #cont {
		width: 80%;
	}

	header a h2 {
		font-size: 2rem;
		padding: 0 0 0rem 0;
		margin: 0;
	}
	
	body.home header a h2 {
		font-size: 3rem;
		line-height: 1em;
		padding-bottom: 1rem;
	}
	
	body.home header a h3 {
		max-width: 18ch;
	}
	
	#logos {
		display: none;
	}

	body.home #logos {
		display: block;
		position: absolute;
		width: 20%;
		right: 0rem;
		top: 4.7rem;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 0rem;
		align-items: center;
	}	
	
	#logos img,
	#logos img#bt {
		height: auto;
		width: 30px;
		margin-bottom: 5px;
	}
	
	body.home #logos img {
		height: auto;
		width: 35px;
	}

	body.home #logos img#bt {
		width: 30px;
		margin-bottom: 0;
	}
	
	header > img {
		margin-top: -40px;
	}	



	nav#navi {
		position: absolute;
		top: 0;
		right: 0;
		width: 100vw;
		z-index: 10;
	}

	#navibuttondiv {
		display: block;
		position: absolute;
		right: 0;
		top: 1rem;
		width: 20vw;
		padding: 0;
		margin: 0;
		text-align: center;
	}
	
	#navibutton {
		display: block;
		background: none;
		border: none;
		position: relative;
		width: 30px;
		padding: 0;
		margin: 0 auto;
		text-align: center;
		font-family: var(--headlinefont2);
		font-size: 1.2rem;
		color: rgb(var(--secondary));
	}

	#navibutton::after {
		content: '';
		width: 30px;
		height: 7px;
		position: absolute;
		right: 0;
		top: 25px;
		border-top: 3px solid;
		border-bottom: 3px solid rgb(var(--secondary));
		transition: all 0.3s;
	}	

	#navibutton::before {
		content: '';
		width: 30px;
		height: 20px;
		position: absolute;
		right: 0;
		top: 25px;
		border-bottom: 3px solid rgb(var(--secondary));
		transition: all 0.3s;
	}	

	header nav#navi.open #navibutton::after {
		right: -4px;
		top: 28px;
		border-top: 3px solid #fff0;
		transform: rotate(45deg);
	}

	header nav#navi.open #navibutton::before {
		right: 7px;
		top: 19px;
		border-bottom: 3px solid;
		transform: rotate(-45deg);
	}	




	



	
	#hauptnavi {
		padding: 0rem;
		max-height: 0px;
		overflow: hidden;
		transition: all 0.3s;
	}

	nav#navi.open #hauptnavi {
		max-height: 500px;
		background: rgb(var(--primary));
		padding: 1.5rem 0
	}
	
	#hauptnavi ul li {
		display: block;
		padding: 0.5rem 1.5rem;
	}
	
	#hauptnavi ul li a {
		display: inline-block;
		font-size: 1.6rem;
		border-bottom: 0px solid #fff;
		
	}
	
	#hauptnavi ul li.current-menu-item > a,
	#hauptnavi ul li.current-menu-parent > a {
		color: rgb(var(--text));
		border-bottom: 4px solid #fff;
	}
	
	
	#hauptnavi ul li ul {
		display: none;
	}
	
	#hauptnavi ul li.current-menu-item ul,
	#hauptnavi ul li.current-menu-parent ul {
		display: block;
		position: relative;
		margin-top: 0.5rem;
	}







	

	.intro::before {
		height: 700px;
		bottom: -3rem;
		margin-left: -1.5rem;
	}	

	section#content {
		padding: 8rem 1.5rem 1.5rem 1.5rem;
		font-size: 1rem;
	}

	body.home section#content {
		padding: 1.5rem;
	}

	.home .wp-block-media-text + .wp-block-spacer {
		height: 1.5rem !important;
	}


	.wp-block-button,
	.wp-block-button__link{
		width: 100%;
	}


	img.wp-image-118 {
		margin-bottom: 2rem;
	}


	div#sb_instagram.sbi_width_resp {
		width: 100vw !important;
		margin: 0 0 0 -1.5rem;
		padding: 1rem;
	}


	



	article.post .picContent,
	.wp-block-query .picContent .wp-block-group__inner-container {
		display: flex;
		gap: 2rem;
		flex-direction: column;
	}	

	article.post .picContent img,
	.wp-block-query .picContent .wp-block-group__inner-container img {
		width: 100%;
		height: auto;
	}

	body.single img.wp-post-image {
		max-width: 100%;
		height: auto;
	}
	


	.socialnav.wp-block-navigation ul li {
		display: block;
		width: 100%;
		margin: 1rem 0 0 0
	}

	footer {
		padding: 1.5rem;
	}

	footer ul#menu-socialnav li {
		display: block;
		margin-bottom: 1rem;
	}





	ul.cv li strong {
	    display: block;
	}	


	figure.wp-block-table {
		width: 100%;
		position: relative;
	}

	figure.wp-block-table::before {
		content: '';
		width: 15px;
		height: 100%;
		background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
		position: absolute;
		top: 0;
		right: 0;
	}
	
	figure.wp-block-table table {
		display: block;
		hyphens: none;
		-webkit-hyphens: none;
		overflow-x: auto;
		width: fit-content;
		max-width: 100%;
	}	

	figure.wp-block-table table th,
	figure.wp-block-table table td {
		hyphens: none;
		-webkit-hyphens: none;
	}	


	div.wp-block-group.team {
		width: 100vw;
		margin-right: 0;
		margin-left: -1.5rem;
		padding: 1.5rem;
	}



	
	.navigation.pagination .prev,
	.navigation.pagination .next {
		display: block;
		width: fit-content;
		margin: 1rem auto;
	}
	
}