/*!
Theme Name: Bezahlbarer Wohnraum
Theme URI: http://underscores.me/
Author: Liam Kaufmann
Author URI: http://underscores.me/
Description: Ein Theme für das Bündnis für bezahlbaren Wohnraum Düsseldorf
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bezahlbarerwohnraum
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Bezahlbarer Wohnraum is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0 0 3rem 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: "Inter", Helvetica, Arial, sans-serif;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 1000px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}




.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



/*
------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> EIGENE STYLES <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
------------------------------------------------------------------------------
*/

/*-------------------------------------------------
******************** Allgemein ********************
--------------------------------------------------*/

html{
	font-size: 18px;
	scroll-behavior: smooth;
	scroll-padding-top: 6.8rem;
}

:root {
	--bg-color: white;
	--text-color: #0d0d0d;
	--green-color: #009D87;
	--red-color: #D81B41;
	--offwhite-color: white;
	font-family: Inter, sans-serif;
  	font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
  }

::selection{
	background: var(--green-color);
	color: var(--bg-color);
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-BoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
}

@font-face {
	font-family: 'Alfa_Slab_One';
	src: url('fonts/AlfaSlabOne-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
  }
html{
		font-size: 18px;
}
body{
	font-family: "Inter", Helvetica, Arial, sans-serif;
	color: var(--text-color);
	background: var(--offwhite-color);
	font-size: 1rem;
	line-height: 1.3em;
	margin: 0 !important;
	min-height: 100vh !important;
	width: 100%;
	  overflow-wrap: break-word; /* Break long words */
	  word-wrap: break-word; /* Support for older browsers */
	  word-break: break-word; /* Break long words if needed */
	  hyphens: auto; /* Enable hyphenation if desired */
	font-family: "Inter", Helvetica, Arial, sans-serif;
	color: var(--text-color);
	background: var(--font-color);
	font-size: 1rem;
	line-height: 1.3em;
	margin: 0 !important;
	min-height: 100vh !important;
}
.site-main,
.site{
	background: var(--offwhite-color);	
}


a, a:visited, a:hover{
	color: var(--text-color);
	text-decoration: none;
}

h1{
	font-weight: 400;
	font-size: 2rem;
	margin: 1rem 0 2rem;
	font-family: "Alfa_Slab_One", Times;
	font-style: normal;
	text-transform: normal;
	letter-spacing: 0;
	line-height: 1.1em;
	hyphens: auto;
	webkit-hyphens: auto;
}

h2{
	font-family: "Alfa_Slab_One", Times;
	font-style: normal;
	text-transform: normal;
	line-height: 1.05em;
	letter-spacing: 0em;
	hyphens: auto;
	webkit-hyphens: auto;
}

@media (min-width:1000px){
	html{
		font-size: 22px;
	}
}
@media (min-width:1200px){
	html{
		font-size: 24px;
	}
}
@media (min-width:1600px){
	html{
		font-size: 26px;
	}
}
@media (min-width:2000px){
	html{
		font-size: 36px;
	}
}
@media (min-width:2400px){
	html{
		font-size: 1.5vw;
	}
}


.screen-reader-text{
	background: var(--text-color)!important;
	color: var(--bg-color)!important;
} 
/*-------------------------------------------------
********************** Header ********************
--------------------------------------------------*/

#masthead{	
	position:fixed;
	color: var(--bg-color);
	background:var(--text-color);
	width: 100%;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	font-size: 1rem;
	border-bottom: 1px solid var(--bg-color);
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	height: 3.4rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.site-branding a{
	width: 100%;
	display: block;
	padding: 0.25rem;
	line-height: 0;
}
.admin-bar #masthead{
	top: 32px!important;
}
.main-navigation{
	position: relative;
}
.menu-toggle{
	font-family: "Inter";
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--bg-color);
	background-color: var(--text-color);
	position: absolute;
	right:0px;
	border:none;
	padding: 0.5rem 1rem;
	width: 100%;
	display: block;
	height: 100%;
	height: calc(100% - 2px);
	text-align: right;
	line-height: 1;
	border-bottom: 0px solid;
}
.menu-hauptmenue-container{
	position: fixed;
	background: var(--text-color);
	left: 0;
	right: 0;
	top: 3.4rem;
}



.main-navigation a{
	font-family: "Inter";
	white-space: nowrap;	/*Zeilenumbruch verhindern*/
	padding: 1rem 0.5rem;
	text-align: center;
	border-bottom: 1px solid var(--bg-color);
	font-size: 1.3rem;
	letter-spacing: 0.0em;
}

.main-navigation a, a:visited{
	color: var(--bg-color)
}

.main-navigation a:hover{
	color: var(--text-color);
	background:var(--offwhite-color);
	border-color: var(--text-color)!important;
}


.main-navigation .current-menu-item{
	background:var(--offwhite-color);
}

.main-navigation .current-menu-item a{
	color: var(--text-color)!important;
	border-color: var(--text-color)!important;

}

.menu-item a{
	font-family: "Alfa_Slab_One", Times;
	font-family: "Inter";
	font-weight: 700;
	font-style: normal;
}

#suchfeld{
	display: none;
}
@media (min-width: 1000px){
	.site-branding{
		display: none;
	}
	.search-form{
		flex-direction: row-reverse;
	}
	#suchfeld{
		display: block;
	}
}

/*-------------------------------------------------
********************** Suchfeld **********************
--------------------------------------------------*/

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    position: absolute;
    right: 0;
    opacity: 0;
    width: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    padding: 5px;
    font-size: 16px;
}

.search-label {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.search-button {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
	width: 100%;
	text-align: right;
}

.search-button img {
    width: 3vw; /* Anpassen an deine Bedürfnisse */
    height: 3vw; /* Anpassen an deine Bedürfnisse */
}

.search-submit {
    display: none;
}
.search-form input{
	background: var(--text-color);
	color: var(--bg-color)!important;
	font-family: "Inter";
	font-weight: 600;
	height: 100%!important;
	outline-style: solid;
  	outline-color: var(--green-color);
}
.search-form{
	height: 100%;
}

.search-form.active .search-field {
    width: 100%; /* Anpassen an deine Bedürfnisse */
    opacity: 1;
    padding: 5px;
}

.search-form.active .search-label {
    padding-right: 5px;
}

/*-------------------------------------------------
********************** Suche **********************
--------------------------------------------------*/

.search .site-main{
	max-width: 45rem;
	margin: 0 auto;
}

.search h1.page-title{
	font-family: "Inter";
	font-size: 1rem;
}
.search h1.page-title span{
	font-family: "Alfa_Slab_One";
	font-size: 2rem;
	line-height: 1.1em;
}
.search .entry-footer{
	background: none;
	width: 100%;
}
.search .entry-footer a{
	color: ;
}
.search .entry-summary{
	padding-bottom: 0;
}
.search .entry-summary p{
	margin-bottom: 0rem;
}

/*-----------------------------------------------------
********************** Content ********************
------------------------------------------------------*/

.site{
	background:;
}

.site-main{
	padding: 5rem 1rem 1rem 1rem;
	min-height: 100vh;
}

main{
	min-height: 100vh;
}

main a:visited{
	color:black;
}

h1.entry-title{
	text-align: left;
	hyphens: none;
		webkit-hyphens: auto;
	max-width: 46rem;
	margin-left: auto;
	margin-right: auto;
}

p{
	margin: 1rem 0;
}


@media (min-width: 1000px){
	.site-main{
		padding: 5rem 1rem 1rem 1rem;
		min-height: 80vh;
	}
}




/*-----------------------------------------------------
********************** Aktuelles ********************
------------------------------------------------------*/
.year-filter a,
.year-filter a:visited{
	background: black;
	color: white;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.25rem 0.75rem;
	display: inline-block;
	font-variant-numeric: tabular-nums;
	border: 1px solid black;
}
.year-filter a:hover,
.year-filter a:focus{
	background: white;
	color: black;
	border: 1px solid black;
}
.year-filter a.active{
	background: #009D87!important;
	color: white!important;
	border-color: #009D87;
}
.beitragsbox{
	border: 1px solid black;
	display: grid;
	margin-bottom: 5vh;
	box-sizing: border-box;
	padding: 0.5rem 0.5rem 0;
	height: auto;
	overflow: hidden;
	background: white;
	filter: drop-shadow(0rem 0 0rem grey);
	border-top-radius: 1rem;
}

.beitragsbox:hover{
	color: var(--bg-color);
	background-color:var(--text-color) !important;
}
.beitragsbild {
	line-height: 0;
}
.beitragsbild img{
	width: 100%;
}

.beitragsinfos{
	padding: 0.5rem 0 0;
	display: block;
	position: relative;
	overflow-wrap: break-word; /* Break long words */
	word-wrap: break-word; /* Support for older browsers */
 	word-break: break-word; /* Break long words if needed */
	hyphens: auto; /* Enable hyphenation if desired */
}

.autor_datum{
	font-weight: 600;
	margin-bottom: 0.25rem;
	text-align: left;
}

.beitragsinfos h2{
	margin: 0rem;
	letter-spacing: 0;
	width: 100%;
}

.beitragsauszug{
	margin: 0.25rem 0 0;
	max-height: 4.5rem;
	overflow: hidden;
	font-weight: 400;
}
@media (min-width: 600px){
	.beitrags-container{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
		grid-template-rows: masonry;
	}
	.beitragsbox{
		margin-bottom: 1rem;
	}
}
@media (min-width: 1000px){
	.beitrags-container{
		display: block;
	}
	.autor_datum{
		text-align: left;
	}
	.beitragsbox{
		display: grid;
		grid-template-columns: 1fr 3fr;
		min-height: 0;
		gap: 0.5rem;
		max-width: 46rem;
		margin: 1rem auto 5rem auto;
	}
	.beitragsbild{
		display: flex;
	    justify-content: center; 
	    align-items: top; 
	    margin-bottom: 0.5rem;
	    margin-top: 0rem;
	}
	.beitragsbild img{
		object-fit:contain;
		object-position: top;
	}
	.beitragsinfos{
		padding: 0rem;
		display: block;
		position: relative;
	}
	.beitragsinfos h2{
		font-size: 2rem;
		margin-bottom: 5rem;
		hyphens: none;
		word-break: break-word; 
		overflow-wrap: break-word;
	}
	.beitragsauszug{
	position: absolute;
	bottom: 0;
}
}


/*-----------------------------------------------------
********************** Single Artikel ****************
------------------------------------------------------*/

.single-container{
	padding: 5rem 1rem 1rem;
	display: grid;
}


.artikel{
	margin-right:0rem;
}


.titel-single{
	line-height: 1.025em;
	margin-top: 0;
	margin-bottom: 1rem;
	padding-top: 0.5rem;
	padding-bottom: 0.2rem;
	border-top: 1px solid;
	border-bottom: 1px solid;
	position: sticky;
}

.zusatzinfos h2{
	margin: 1.5rem 0 1rem;
	font-size: 1.6rem;
}
.infobox{
	border: 1px solid black;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
}


.infobox h3{	
	font-family: "Alfa_Slab_One", Times;
	font-style: normal;
	padding-bottom: 1.5vh;
	margin:0;
	font-size: 1.1rem;
	line-height: 1.1em;
	text-transform: normal;
	letter-spacing: 0.04em;
	hyphens: auto;
	webkit-hyphens: auto;
}
.infobox.presse h3{
	padding-bottom: 0;
	font-family: "Inter";
	margin: 0.2rem 0 0.6rem;
	letter-spacing: 0;
	font-size: 1.1em;
}
.infobox.presse .metapresse{
	display: grid;
	grid-template-columns: 1fr auto;
	font-size: 0.8rem;
}
.infobox p{
	margin-top: 0vh;
	margin-bottom: 0vh;
	line-height: 1.2;
}

a .infobox:hover{
	color: var(--bg-color);
	background-color:var(--text-color) !important;
}

.infoblock{
	padding-bottom: 1.5vh;
}


@media (min-width: 1000px){
	.titel-single{
		font-size: 6vw;
	}
	.single-container{
		grid-template-columns: 2fr 1fr;
		gap: 0.5rem;
	}

	.single-spalte{
	}
}

/*-----------------------------------------------------
********************** Presse ****************
------------------------------------------------------*/

/* 
	TODO: 
	- Mobil machen... Hilfe Linus :( 
	- Links innerhalb von Link okay so?

*/

.pressebox{
	border: 1px solid black;
	margin-bottom: 5vh;
	padding: 0.5rem;
	max-width: 46rem;
	margin: 1rem auto 3rem;
}
.pressebox h2{
	margin: 0;
	margin-bottom: 1rem;
}

.pressetabelle {
    width: 100%; /* Tabelle auf volle Breite setzen */
    border-collapse: collapse; /* Linien ohne Abstand */
    margin: 0;
}


.pressebox:hover,
.pressebox:hover .pressetabellenzeitung .infobox{
	color: var(--bg-color) ;
	background-color:var(--text-color) ;
	border-color: var(--bg-color);
}

.pressetabelle h3{
	font-family: "Alfa_Slab_One", Times;
	font-style: normal;
	margin: 0;
}

.pressetabelle td {
    padding: 0rem 0 0.25rem; 
    text-align: left; 
    vertical-align: top;
    display: block;
}

.pressetabelle .pressetabellenzeitung {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.pressebox .pressetabellenzeitung:hover .infobox {
	color: var(--text-color) ;
	background: var(--bg-color)!important;
}

.pressetabelle td h3 {
    margin: 0; 
    text-transform: normal;
    font-family: "Inter";
    font-size: 1.1rem;
}

.pressetabelle tr:last-child {

}
@media(min-width: 600px){
	.pressetabelle {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
	.pressetabelle tr {
		margin-bottom: 0;
	}
}


/*-----------------------------------------------------
********************** Publikation ****************
------------------------------------------------------*/
	.publikationen .beitrags-container{
		text-align: center;
		max-width: 46rem;
		margin: 0 auto;
	}
.publikationsbox{
	border:1px solid black;
	margin: 1rem auto 2rem;
	padding: 1rem 0.5rem 4rem 0.5rem;
	background: white;
	max-width: 46rem;
	position: relative;
}

.publikationsbox img{
	width: 50%;
	line-height: 0;

}
.publikationsbox h2{
	margin: 0 0 0.5rem 0;
	padding: 0 0.5rem;
}
.publikationsbox p{
	margin: 0 0 0.5rem 0;
}
.publikationsbox:hover, .publikationsbox:focus{
	color: var(--bg-color) !important;
	background-color:var(--text-color) !important;
}
.publikationsdownload{
	background: black;
	color: white;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: 0rem;
	text-align: center;
	border: 1px solid;
	margin: 0 auto;
	position: absolute;
	bottom: 0.5rem;
	left: 0.5rem;
	right: 0.5rem;
}
.publikationsdownload p{
	margin: 0;
}
.publikationsdownload:hover{
	background: var(--bg-color);
	color: var(--text-color);
}

@media (min-width: 1000px){
	.publikationen .beitrags-container{
		display: grid;
		grid-template-columns: 1fr 1fr;	
		gap: 2rem;
	}
	.publikationsbox{
		height: 100%;
	}


}


/*-----------------------------------------------------
********************** Termine ****************
------------------------------------------------------*/

.event-container{
	max-width: 46rem;
	margin: 0 auto;
}
.terminbox{
	border: 1px solid black;
	padding: 0.5rem;
	margin: 1rem auto 3rem;
	max-width: 46rem;
}

.terminbox:hover, .terminbox:focus{
	color: var(--bg-color) !important;
	background-color:var(--text-color) !important;
}


.event-container h2{
	margin: 0rem 0 3rem;
}
.termin-links p{
	margin: 0;
	font-weight: 400;
}
.termin-rechts h3{
	margin: 0.5rem 0;
	font-family: "Alfa_Slab_One", Rockwell, sans-serif;
	font-size: 1.3rem;
	line-height: 1.1em;
}


.terminbutton{
	margin:0rem;
	padding: 1rem 1.5rem;
}

.terminbutton[role="button"]{
	color: white;
	background-color: black;
}

.terminbutton p{
	line-height: 1.3em;
	margin: 0
}
.terminbutton .infoblock{
	padding-bottom: 0;
}

.terminbutton[role="button"]:hover, .terminbutton[role="button"]:focus {
    color: var(--text-color) !important;
	background-color:var(--bg-color) !important;
}

#heute {
    scroll-margin-top: 40vh;
	font-weight: bold;
	height: 4px;
	background-color: black;
	margin: 4rem 0
}

@media (min-width: 1000px){
	.terminbox{
		display: grid;
		grid-template-columns: 1fr 3fr;
		margin-bottom: 2rem;
	}
	.termin-links{
		font-weight: bold;
		font-size: 1rem;
		margin: 0;
		display: block;
	}
	.termin-rechts h3{
		margin: 0rem 0 1rem;
		font-family: "Alfa_Slab_One", Rockwell, sans-serif;
		font-size: 1.5rem;
		line-height: 1.1em;
	}

	.terminbutton-container{
	
}

}


/* brauchen wir das noch? */
/*-----------------------------------------------------
********************** WAS TUN SEITE / FAQ Accordeon ******************
------------------------------------------------------*/

.faq-container{
	margin-top:8vh;
}

.accordion {
    background: var(--bg-color);
    cursor: pointer;
    padding: 1px;
    margin: 1px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 15px;
    margin-bottom: 5px;
}

.accordion h2 {
	font-size: 1.5rem;
    padding: 0.3rem;
	padding-left: 2rem;
    margin: 0;
    position: relative; 
}

.accordion h2::before {
    content: '\25B6'; /* Unicode character for a right-pointing arrow */
    font-size: 1rem;
    position: absolute;
    left: -0px;
    transition: transform 0.3s ease; /* Ensure the transition is set for smooth rotation */
}

.accordion.active h2::before {
    transform: rotate(90deg); /* Rotate arrow down */
}

.panel {
    background-color: white;
    display: none;
    overflow: hidden;
}

.panel p {
    margin: 15px 0;
}


details summary{
	font-family: "Inter";
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 1.5em;
}


/*-----------------------------------------------------
******************** Suche *****************
------------------------------------------------------*/

.entry-summary{
	padding-bottom:3rem;
}


/*-----------------------------------------------------
******************** Kontaktformular *****************
------------------------------------------------------*/

.wpcf7-submit{
	display: block!important;
	background-color: var(--green-color)!important; 
	color: var(--bg-color)!important;
	border-radius: 30px!important;
	transition: background-color 0.3s ease!important;
	cursor: pointer;
	font-family: "Inter";
}



/*-----------------------------------------------------
*********** Seitenmenü ( Was-Tun-Button ) ************
------------------------------------------------------*/

.menu-seitenmenue-container {
	position: sticky;
	left: 0rem;
	right: 0;
	bottom: 2rem;
	padding: 0;
	z-index: 100;
	pointer-events: none;
	margin-bottom: 1rem;
}
/* Fallback styles if sticky is not supported */
@supports not (position: sticky) {
  .menu-seitenmenue-container {
    position: fixed;
    bottom: 1rem;
  }
}

#seitenmenu {
	list-style: none;
	padding: 0;
	margin: 0;
	margin: 0;
}

#seitenmenu li{
	margin: 0rem 0;
}

#seitenmenu a {
	display: block;
	margin: 0 auto;
	padding: 1rem 2rem;
	filter: drop-shadow(0.4rem 0.5rem 0rem black);
	background-color: var(--red-color); /* Rot */
	color: var(--bg-color);
	text-decoration: none;
	text-align: center;
	border-radius: 30px;
	transition: background-color 0.3s ease;
	pointer-events: auto;
	width: fit-content;
}

#seitenmenu a:hover {
	background-color: #a60c24; /* Etwas dunkleres Rot beim Hover */
}
@media (min-width: 1000px){
	#seitenmenu a{
		margin: ;
	}
	#seitenmenu a {
		display: block;
		margin: 0 0 0 1rem;
	}
}





@media (min-width: 1000px){
	#masthead{	
		position:fixed;
		color: var(--bg-color);
		background:var(--text-color);
		width: 100vw;
		z-index: 100;
		top: 0;
		left: 0;
		right: 0;
		font-size: 1rem;
		border-bottom: 1px solid var(--offwhite-color);
		min-height: 2rem;
		height: auto;
		display: grid;
		grid-template-columns: 1fr 13rem;
	}
	.menu-toggle{
		display: none;
	}
	#primary-menu{
		display:flex;
		padding-right: 0;
		height: 100%;
	}
	#primary-menu li{
		 flex: 1; /* Allows flexibility */
	}
	.main-navigation a{
		border-right: 1px solid var(--offwhite-color);
		font-size: 1rem;
		border-bottom: 0;
		padding: 0.5rem 1rem;
		height: 100%;
	}
	.menu-hauptmenue-container{
		position: relative;
		background: var(--text-color);
		left: 0;
		right: 0;
		top: 0rem;
		height: 100%;
	}
}



/*-----------------------------------------------------
********************** Footer ********************
------------------------------------------------------*/
footer{
	bottom:0;
	width:100vw;
	color: var(--bg-color);
	background:var(--text-color);
	height:auto;
	border-top: 0.05rem solid var(--bg-color);
	z-index: 10000;
	display: grid;
	grid-template-columns: auto 1fr;
}


footer p{
	margin: 0 0 0 0;
	font-size: 1rem;
	font-weight: 600;
	padding: 0;
	text-align: center;
}
.footer-icons{
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	justify-content: center;
}
footer .wp-block-columns{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0rem;
	margin: 0;
}
footer .wp-block-column .wp-block-image{
	text-align: left;
}
footer .search-form{
	flex-direction: row-reverse;
}
footer .search-button{
	width: 100%;
	text-align: right;
}
footer #suchfeld-footer .search-button img{
	width: 1.5rem;
	height: 1.5rem;
}

footer .widget{
	margin: 0;
}
footer .wp-block-column:nth-child(1),
footer .wp-block-column:nth-child(2){
	display: none;
}
footer .wp-block-column{
	border-left: 0rem solid;
	margin: 0;
	text-align: center;
	border-right: 1px solid;
}
footer .wp-block-column a,
footer .wp-block-column a:visited{
	padding: 0.75rem 0.75rem;
	display: block!important;
	text-align: center;
	color: var(--bg-color);
}
footer .wp-block-column p a,
footer .wp-block-column p a:visited{
	display: inline;
}
footer .wp-block-image{
	margin: 0 0 0 0;
}
footer .wp-block-image{
	height: 100%;
}
footer .wp-block-image a{
	height: 100%;
}
footer .wp-block-image img{
	height: 100%;
	object-fit: contain;
}

@media (min-width: 1000px){
	footer .wp-block-column:nth-child(1),
	footer .wp-block-column:nth-child(2){
		display: block;
	}
	#suchfeld-footer{
		display: none;
	}
	footer {
		display: grid;
		grid-template-columns: 1fr;
	}
	footer .wp-block-columns{
		display: grid;
		grid-template-columns: auto 7fr 1fr;
		grid-template-rows: auto auto;
		gap: 0rem;
		margin: 0;
	}
	footer .wp-block-column:nth-child(1){
		border-right: 0;
		grid-row: 1 / 3;
	}
	footer .wp-block-column:nth-child(2){
		border-right: 0;
		grid-row: 1 / 3;
		display: grid;
		align-items: center;
	}
	footer .wp-block-column:nth-child(3){
		border-left: 1px solid;
		border-right: 0;
		border-bottom: 1px solid;
	}
	footer .wp-block-column:nth-child(4){
		border-left: 1px solid;
		border-right: 0;
	}
	footer p{
	text-align: left;
}
	footer .wp-block-column:nth-child(2) p{
		padding: 0.5rem;
	}
	footer .wp-block-column:nth-child(1) p{
		text-align: left;
		padding-top: ;
	}
	footer .wp-block-column:nth-child(1) a,
	footer .wp-block-column:nth-child(2) a{
		text-align: left;
		padding: 0;
	}
	footer .wp-block-column p{
		padding: 0rem;
	}
	footer .wp-block-column a,
	footer .wp-block-column a:visited{
	padding: 0.5rem 0.75rem;
	text-align: left;
}
}






/*Gutenberg*/
.wp-block-columns{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0;
}
.wp-block-table {
	margin: 0.5rem 0 1rem;
}
.wp-block-table td{
	border: 0;
	border-bottom: 1px solid;
}



/*Startseite*/
.home .site-main .wp-block-columns{
	background: var(--bg-color);
	border: 1px solid;
	padding: 0.5rem 1.5rem;
	max-width: 50rem;
	margin: 0 auto;
}


/*Default Pages*/
.page-template-default .site-main{
	max-width: 46rem;
	margin: 0 auto;
}
