/*!
Theme Name: Kirche der Stille
Theme URI: http://underscores.me/
Author: Gerhard Janke
Author URI: https://pastorix.de/
Description: Theme für die »Kirche der Stille«
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: kds
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.

Kirche der Stille 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

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


/* league-spartan-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/league-spartan-v15-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/league-spartan-v15-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/league-spartan-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/league-spartan-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/league-spartan-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/league-spartan-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/league-spartan-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/league-spartan-v15-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/league-spartan-v15-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




@font-face {
    font-family: 'Quilon';
    src: url('fonts/subset-Quilon-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quilon';
    src: url('fonts/subset-Quilon-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quilon';
    src: url('fonts/subset-Quilon-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quilon';
    src: url('fonts/subset-Quilon-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



:root {
	--earth: rgba(246, 240, 235, 1);
	--earth800: rgba(75, 69, 65, 1);
	--nature: rgba(21, 68, 67, 1);
	--nature400: rgba(59, 113, 112, 1);
	--nature600: rgba(18, 56, 55, 1);
	--clay: rgba(204, 116, 74, 1);
	--spirit: rgba(82, 47, 137, 1);
}

/*--------------------------------------------------------------
# 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.67em 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: inherit;
	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
--------------------------------------------- */

html, body {
	font-size: 10px;
	background: var(--earth);
}


body,
button,
input,
select,
optgroup,
textarea {
	color: #000000;
	font-family: 'League Spartan';
	font-weight: 400;
	font-size: 2rem;
	line-height: 1.2;
}



h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Quilon';
	text-transform: uppercase;
	font-size: 3rem;
	font-weight: normal;
	color: var(--nature);
	clear: both;
	margin: 0;
}

p {
	margin: 0;
}

b, strong {
	font-weight: 600;
}

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 {

}

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

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

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: var(--nature);
}

a:visited {
	color: var(--nature);
}

a:hover {
	color: var(--clay);
}

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
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */

.site-header {
	padding: 4vw 6vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: solid 8px var(--clay);
}

.site-branding {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 230px;
}

.site-branding #logo {
	fill: var(--nature);
	width: 100%;
}

.site-branding a {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
}




/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	background: var(--earth);
}

.main-navigation ul {
	display: flex;
	column-gap: 2em;
	list-style: none;
	margin: 0;
	padding-left: 0;
	font-weight: 500;
	font-size: 2.2rem;
}


.main-navigation li {
	position: relative;
	display: flex;
	flex-direction: column;
	border-bottom: solid 3px transparent;
}

.main-navigation > ul > li.current_page_item,
.main-navigation > ul > li.current_page_parent,
.main-navigation > ul > li:hover {
	border-bottom: solid 3px var(--clay);
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: var(--nature);
	transition: all 1s;
}

.main-navigation > ul > li > ul {
	position: absolute;
	z-index: 10;
	top: 2em;
	display: grid;
	grid-template-columns: max-content;
	padding: 0 2em 0 2em;
	background: rgb(225, 213, 203);
	max-height: 0;
	opacity: 0;
	transition: all 0.6s;
	overflow: hidden;
}


.main-navigation > ul > li:hover > ul {
	padding: 1em;
	opacity: 1;
	max-height: 600px;	
}	

.main-navigation > ul > li > ul > li {
  justify-self: stretch;
  padding: 4px 8px;
  background: var(--earth);
  transition: all 1s;
}

.main-navigation > ul > li > ul > li.current_page_item, .main-navigation > ul > li > ul > li:hover {
	background-color: var(--nature);
}

.main-navigation > ul > li > ul > li.current_page_item a, .main-navigation > ul > li > ul > li:hover a {
	color: var(--clay);
}







.burgermenu {
	display: none;
	height: 60px;
	justify-content: center;
	align-items: center;
	column-gap: 8px;
	font-size: 1.6rem;
	color: var(--nature);
}

.burger {
	all: unset;
	order: 2;
	height: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	z-index: 200;
	box-sizing: content-box;
	cursor: pointer;
	transition: all 1s;
	z-index: 40;
}

.burger ~ p {
	margin: 0;
	transition: opacity 1s;
	transition-delay: 0.8s;
	opacity: 1;
}

.burger.active ~ p {
	opacity: 0;
}

.bar {
	width: 60%;
	height: 7%;
	left: 20%;
	border-radius: 10px;
	background: var(--nature);
	position: absolute;
	transition: all 0.8s;
	-webkit-transition: all 0.8s;
    -webkit-transition-delay: 0.8s; /* Safari */
    transition-delay: 0.8s;
	transform: rotate(0deg);
}

.bar1 {
	top: 25%;
}
.bar2 {
	top: 45%;
}
.bar3 {
	top: 65%;
}

.burger.active .bar1 {
	transform: rotate(45deg);
	top:  45%;
}
.burger.active .bar2 {
	transform: rotate(45deg);
	top:  45%;
}
.burger.active .bar3 {
	transform: rotate(-45deg);
	top:  45%;
}


/* Front-Page
--------------------------------------------- */

.thumbnail-container {
	aspect-ratio: 1440 / 500;
	overflow: hidden;
}

.thumbnail-container img {
	object-fit: cover;
	object-position: 50% 50%;
}

section {
	padding: 8vw 6vw;
	container-type: inline-size;
}

section.intro {
	background: var(--earth);
}

section.intro h1, section.frontangebote h2 {
	font-family: 'League Spartan';
	font-weight: 500;
	font-size: max(1.6rem,1.6cqi);
}

section.frontangebote h2 {
	text-align: right;
}

section.intro .linie, section.frontangebote .linie {	
	width:100%;
	display: flex;
}

section.intro .linie div, section.frontangebote .linie div {
	height: 3px;
	margin: 2cqi 0;
}

section.intro .linie .clay, section.frontangebote .linie .clay {
	background: var(--clay);
	width: 70%;
}

section.intro .linie .space, section.frontangebote .linie .space {
	width: 30%;
}

section.frontangebote .linie div.clay {
	order: 2;
}	

section.intro p, section.frontangebote > p {
	font-family: 'Quilon';
	font-size: max(2.3rem,3.8cqi);
	line-height:1;
	color: var(--nature);
}

section.frontangebote > p {
	text-align: right;
	max-width: max(85cqi,900px);
	float: right;
	margin: 0 0 5cqi 0;
}

section.eventslider {
	position: relative;
	padding: 2vw 6vw;
	background: rgba(255,255,255,0.5);
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 4cqi;
}

section.eventslider div {
	overflow: hidden;
}

section.eventslider .info h2 {
	font-size: max(4rem,5cqi);
	text-transform: none;
	line-height: 1;
	color: var(--clay);
}

section.eventslider div.slider {
	display: flex;
	column-gap: 3cqi;
}

section.eventslider div.slider .slide {
	background: #dfc188;
	width: 300px;
	aspect-ratio: 1;
}

section.eventslider .arrows {
	position: absolute;
	bottom: 2vw;
	left: 6vw;
	height: 40px;
	width: 80px;
	background: orange;
}

section.eventslider a {
	display: block;
	color: var(--earth);
	text-decoration: none;
	background: var(--nature);
	height: 4rem;
	line-height: 4rem;
	border-radius: 2em;
	padding: 0 1.5em;
	width: fit-content;
	align-self: end;
	position: absolute;
	bottom: 2vw;
	right: calc( 50vw + 2cqi );
}

/*
section.eventslider .info h2 br {
	display: none;
}
*/


section.newsletterformular {
	padding: 2vw 6vw;
	background: var(--clay);
	line-height: 1.2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 50px;
}

section.newsletterformular h2 {  
  font-size: max(3rem,3.5cqi);
  text-transform: none;
  grid-column-start: 1;
  grid-column-end: span 2;
  margin: 0 0 1em 0;
}

section.newsletterformular form#newsletter, section.newsletterformular p {
	align-self: center;
}

form#newsletter,  form#newsletter input,  form#newsletter button {
	all: unset;
}

form#newsletter label, form#newsletter input {
	display: none;
}

form#newsletter input#email {
	display: block;
}

form#newsletter {
	background: #fff;
	line-height: 50px;
	height: 50px;
	border-radius: 25px;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

form#newsletter input {
	padding: 0 20px;
	flex-grow: 2;
	width: calc( 100% - 80px );
}

form#newsletter button {
	background: var(--earth);
	height: 50px;
	border-radius: 25px;
	padding: 0 30px;
	cursor: pointer;
	width: 80px;
}

.newsletterformular p {
	font-size: max(1.3cqi, 1.6rem);
	max-width: max(24cqi,300px);
}


.abofeedback {
display: block !important;
	background: var(--nature);
	position: fixed;
	top: 100px;
	width: 90vw;
	max-width: 600px;
	left: 50vw;
	padding: 30px;
	z-index: 10000;
	color: #fff;
	transform: translateX(-50%);
	animation: flyout 10s ease-out forwards;
}

.abofeedback a {
	color: #fff;
}

@keyframes flyout {
  0% {
	transform: translateX(-50%);
	opacity: 1;
  }

  90% {
	transform: translateX(-50%);
	opacity: 1;
  }
  100% {
	transform: translateX(-300vw);
	opacity: 0;
  }

}

article.dieangebote {
	width: 100%;
	line-height: 1.2;
	container-type: inline-size;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5cqi;
}

section.eiangebot {
	container-type: inline-size;
	background: rgba(204, 116, 74, 0.6);
	padding: 3cqi 2cqi 3cqi 2cqi;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
}

section.eiangebot h3 {
	font-size: 12cqi;
	margin-bottom: 1em;
}

section.eiangebot p {
	line-height: 1.2;
	margin-bottom: 1.5em;
}

section.eiangebot:nth-of-type(1), section.eiangebot:nth-of-type(6) {
	background: rgba(204, 116, 74, 0.2);
}

section.eiangebot:nth-of-type(2), section.eiangebot:nth-of-type(5) {
	background: rgba(204, 116, 74, 0.4);
}

section.eiangebot a {
	display: block;
	color: var(--earth);
	background: var(--nature);
	height: 4rem;
	line-height: 4rem;
	border-radius: 2em;
	padding: 0 1.5em;
	width: fit-content;
	align-self: end;
}

section.foerderverein {
	position: relative;
	margin-bottom: 10vw;
	display: block;
}

section.foerderverein .halbkreis {
	width: 40vw;
	aspect-ratio: 1/2;
	border-radius: 80vw 0 0 80vw;
	background: rgba(21, 68, 67, 0.5);
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: -10vw;
}

section.foerderverein img {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
}

section.foerderverein .foerdervereinwrapper {
	position: relative;
	z-index: 2;
	background: #edd7cb;
	container-type: inline-size;
	padding: 5cqi;
}

.foerderverein h3 {
	font-size: 5.5cqi;
	line-height: 1;
}

.foerdervereincontainer {
	position: relative;
	z-index: 2;
	container-type: inline-size;
	display: grid;
	margin-top: 3cqi;
	height: 260px;
	grid-template-columns: 1fr 1fr;	
}


.foerdervereincontainer a {
	text-decoration: none;
	display: block;
	margin-top: 4rem;
	color: var(--earth);
	background: var(--nature);
	height: 4rem;
	line-height: 4rem;
	border-radius: 2em;
	padding: 0 1.5em;
	width: fit-content;
}

/* Posts and pages
--------------------------------------------- */

.site-main {
	border-top: solid 16px var(--nature);
	padding: 0 0 5vw 0;
	min-height: 350px;
}

a.post-edit-link {
	 display: block;
	 color: var(--nature);
	 text-decoration: none;
	 font-size: 3rem;
	 margin-top: 1em;
}

a.post-edit-link::before {
	 content: "✎";
}

.apage {
	padding: 9vw 6vw;	
}

.apage h1.entry-title {
	font-size: max(2.3rem,3.8cqi);
}

.title-line {
	width: calc( 70cqi - 12vw );
	height: 3px;
	background: var(--clay);
}

.site-main p {
	hyphens: auto;
	hyphenate-limit-chars: auto 3;
	hyphenate-limit-lines: 4;	
}


.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

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

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

.entry-content.confirm {
	font-size: max(3cqi,2rem);
}

.entry-content ul, .entry-content ol {
	margin: 0.5em 0;
	padding: 0 0 0 2em;
}

.entry-content li {
	line-height: 1;
}

/* Termineingabe
--------------------------------------------- */

#termineingabe {
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	width: min(600px, 100%);
}

#termineingabe input[type="datetime-local"], #termineingabe input[type="date"] {
	max-width: 220px;
}

#termineingabe input[type="number"] {
	max-width: 80px;
}

.mitlabel, .mitlabel.termin div {
	display: flex;
	flex-direction: column;	
}

.mitlabel label {
	font-weight: 500;
}

.mitlabel.termin {
	flex-direction: row;
	column-gap: 30px;
}

#termineingabe p.descr {
	font-size: 0.9em;
	color: #888;
}

#termineingabe button {
	all:unset;
	background: var(--nature);
	color: #fff;
	padding: 10px 20px;
	border: solid 1px #fff;
	cursor: pointer;
	text-align: center;
}


.feedbackposttermin {
	display: block !important;
	background: var(--clay);
	color: #fff;
	position: fixed;
	top: 270px;
	width: 90vw;
	max-width: 600px;
	left: 50vw;
	padding: 30px;
	z-index: 10000;
	font-weight: 600;
	text-transform: uppercase;
	animation: flyout 6s ease-out forwards;
}

@keyframes flyout {
  0% {
	transform: translateX(-50%);
	opacity: 1;
  }

  80% {
	transform: translateX(-50%);
	opacity: 1;
  }
  100% {
	transform: translateX(-300vw);
	opacity: 0;
  }

}


/* ---------------------------------------------
Termineingabe */


/* Terminanzeige
--------------------------------------------- */

.zeitpunkt {
	font-size: 1.2em;
	font-weight: 500;
	line-height: 1.5;
}

.entry-termin {
	max-width: 860px;
}

.entry-termin p {
	margin: 0 0 1em 0;
}

.entry-termin p:last-of-type {
	margin: 0;
}


.termindetails {
	padding: 60px 40px;
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 20px;
	row-gap: 10px;
	font-size: 1.1em;
}

.termindetails .label {
	text-align: right;
	font-weight: 600;
}

.entry-termin .hinweise {
	background: rgba(255,255,255,0.8);
	padding: 1.2cqi 2cqi;
}

.entry-termin .hinweise p {
	margin: 0 0 0.4em 0;
}

.anmeldeformular {
	margin-top: 40px;
	background: var(--clay);
	padding: 40px;
	color: #fff;
}

.anmeldeformular #formular,  .anmeldeformular #formular input,  .anmeldeformular #formular button {
	all: unset;
}

.anmeldeformular #formular input {
	display: none;
}

.anmeldeformular #formular input#vornachname, .anmeldeformular #formular input#dieemail {
	display: block;
	color: #000;
	padding: 0 15px;
}


.anmeldeformular #formular{
	margin-top: 50px;
	background: #fff;
	padding-left: 15px;
	line-height: 50px;
	height: 50px;
	border-radius: 25px;
	width: 100%;
	display: flex;
	justify-content: space-between;	
}

.anmeldeformular #formular button {
	background: var(--earth);
	color: #000;
	height: 50px;
	border-radius: 25px;
	padding: 0 30px;
	cursor: pointer;
	width: 80px;
}

/* ---------------------------------------------
Terminanzeige */





/* Footer
--------------------------------------------- */

.site-footer {
	position: relative;
	min-height: 200px;
	background: var(--nature);
	font-weight: 500;
	color: var(--earth);
	padding: 14vw 6vw 6.2vw 6vw;
}

.site-info {
	display: flex;
}

.site-info div {
	width: 25%;
}

ul.foo-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.foo-menu a {
	color: var(--earth);
	text-decoration: none;
}

.foologo-gao img {
	height: 4.1em;
	float: right;
}

.footerlogo {
	fill: var(--clay);
	height: 4.1em;
	float: right;
}

.veranstalterlogin {
	margin-top: 60px;;
}

.veranstalterlogin a {
	color: #fff;
	text-decoration: none;
}

.vlogin {
	display:flex;
	align-items: center;
}

.vlogin > p {
	cursor: pointer;
	max-width: 200px;
	overflow: hidden;
	opacity: 1;
	transition: all 0.5s;
}
.vlogin > p.hide {
	max-width: 0px;
	opacity: 0;
}


#loginleitung {
	display: flex;
	align-items: center;
	column-gap: 20px;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.5s;
}
#loginleitung.show {
	max-width: 1000px;
	opacity: 1;
}

#loginleitung input {
	all: unset;
	border-bottom: dotted 2px #fff;
}
#loginleitung input[type="submit"] {
	padding: 5px 10px;
	border: solid 1px #fff;
	cursor: pointer;
}

.login {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 30px;
	aspect-ratio: 1;
	background: rgba(255,255,255,0);
	transition: all 0.5s;
}

.login a {
	display: block;
	width: 100%;
	height: 100%;
}

.login:hover {
	background: rgba(255,255,255,0.3);
}

/* 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;
}



/* 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;
}




@media screen and (max-width: 1200px) {
	
	.site-header {
		flex-wrap: wrap;
	}
	.main-navigation {
		width: 100%;
	}
	.main-navigation > ul {
		justify-content: flex-end;
		margin-top: 30px;
	}

}

@media screen and (max-width: 920px) {

	.site-header {
		align-items: flex-start;
	}

	.main-navigation {
		position: absolute;
		top: 100px;
		z-index: 10;
		width: initial;
		right: 0;
		background: var(--earth);
		border: 1em solid rgb(225, 213, 203);
		padding: 1em;
		white-space: nowrap;
		overflow: hidden;
		display: grid;
		grid-template-columns: max-content;
		max-width: 0;
		max-height: 0;
		opacity: 0;
		transition: all 1s;
		
	}	

	.main-navigation.active {
		max-width: 300px;
		max-height: 1000px;
		opacity: 1;
	}	
	
	.burgermenu {
		display: flex;
	}
	
	.main-navigation ul {
		display: contents;
	}

	.main-navigation > ul > li.current_page_item,
	.main-navigation > ul > li.current_page_parent,
	.main-navigation > ul > li:hover {
		border-bottom: none;
		padding: 0;
	}

	.main-navigation > ul > li > ul {
		position: relative;
		top: 0;
		max-height: 600px;
		padding: 0;
		opacity: 1;
		background: none;
	}	

	.main-navigation > ul > li:hover > ul {
		padding: 0;
	}

	li.page_item.page-item-22 {
	  margin-top: 0 !important;
	}

	.main-navigation > ul > li > ul > li {
		font-weight: 300;
		padding: 0 0 0 1em;
	}	

	.main-navigation > ul > li > ul > li a {
		color:var(--clay);
	}

	section.eventslider {
		grid-template-columns: 1fr;
		padding: 2vw 6vw 80px 6vw;
	}	

section.eventslider a {
		right: 6vw;
	}


@media screen and (max-width: 860px) {

	.site-info {
		flex-wrap: wrap;
		row-gap: 2em;
	}

	.site-info div {
		width: 50%;
	}

	.fooadresse, .foologo {
		order: 2;
	}

	.foomenu2 {
		text-align: right;
	}

	section.newsletterformular {
		grid-template-columns: 1fr;
		
	}

	section.newsletterformular h2 {
		grid-column-end: span 1;
	}

	.newsletterformular p {
		max-width: 100%;
		margin: 1em 0 0 0;
	}

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

	section.eiangebot:nth-of-type(1), section.eiangebot:nth-of-type(5){
		background: rgba(204, 116, 74, 0.6);
	}

	section.eiangebot:nth-of-type(2), section.eiangebot:nth-of-type(3), section.eiangebot:nth-of-type(6) {
		background: rgba(204, 116, 74, 0.3);
	}

	.foerdervereincontainer {
		grid-template-columns: 1fr;
		height: auto;
	}

	.foerdervereincontainer p{
		margin-bottom: 1.5em;
	}

}	


@media screen and (max-width: 500px) {	
	.site-branding {
		width: 40vw;
	}

	.site-info div {
		width: 100%;
	}

	.foomenu2 {
		text-align: left;
	}

	#footerlogo {
		float: left;
	}

	article.dieangebote {
		grid-template-columns: 1fr;
	}	

	section.eiangebot:nth-of-type(odd){
		background: rgba(204, 116, 74, 0.6);
	}

	section.eiangebot:nth-of-type(even) {
		background: rgba(204, 116, 74, 0.3);
	}

}