/*
Theme Name: Twenty Twenty-Two
Theme URI: https://wordpress.org/themes/twentytwentytwo/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Full Site Editing features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

@import url("https://use.typekit.net/ual4rdf.css");

/*
Greycliff CF Bold
font-family: greycliff-cf, sans-serif;
font-weight: 700;
font-style: normal;

Greycliff CF Demi Bold
font-family: greycliff-cf, sans-serif;
font-weight: 600;
font-style: normal;

Greycliff CF Light
font-family: greycliff-cf, sans-serif;
font-weight: 300;
font-style: normal;

Greycliff CF Medium
font-family: greycliff-cf, sans-serif;
font-weight: 500;
font-style: normal;

Greycliff CF Regular
font-family: greycliff-cf, sans-serif;
font-weight: 400;
font-style: normal;
*/

--wp--preset--font-family--greycliff: "greycliff-cf";

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
	text-decoration: underline;
}

a:active {
	text-decoration: none;
}

/* featherlight caption */

div.caption{
	font-family: 'greycliff-cf', sans-serif;
}



.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}

/* WR */
/* navigation item highlighting */
.current-menu-item a{
	color: var(--wp--preset--color--primary) important;
}

/* navigation items gap */
.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{
	gap: 1.75rem;
}

/* search bar restyling */

.wp-block-search.wp-block-search__button-inside.bdb-search .wp-block-search__inside-wrapper{
	border:0;
	padding:0;
}
/* zieht nicht: */
.wp-block-search__button {
    margin:0;
}

/* calendar style */
.tribe-common h3{
	font-size:  var(--wp--custom--typography--font-size--medium)
}

/* bigger month label in list */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium{
	font-size: var(--wp--custom--typography--font-size--huge) !important;
  font-weight: 700;
}
/* no separator line */
.tribe-events .tribe-events-calendar-list__month-separator:after,
.tribe-events .tribe-events-calendar-day__time-separator:after, .tribe-events .tribe-events-calendar-day__type-separator:after{
	display: none!important;
}
/* calendar icon */
.tribe-events-widget-events-list__event-date-tag-datetime,
.tribe-events-calendar-list__event-date-tag-datetime,
.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-datetime{
	border-radius: 5px;
	background: #fff;
  box-shadow: 0 0.25em 0.5rem 0 rgb(0 0 0 / 15%);
  padding: .5rem 0 .25rem 0!important;
  height: fit-content!important;
}

/* not 100% height */
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{
	height: inherit!important;
}

/* red day */
.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-month,
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday{
	text-transform: uppercase;
	font-size:0.75em;
	letter-spacing: 0.05em;
	line-height: 1em;
	color: var(--wp--preset--color--vivid-red)!important;
}

.tribe-events-widget-events-list__event-date-tag-daynum{
	font-weight: 600;
	font-size:1.25em;
}

/*.bdb-header .wp-block-group.alignwide{
	margin-bottom:0;
	padding-top:0;
	padding-bottom: 0;
}*/

/*.bdb-header>div>div{
	margin: 0;
}

.wp-block-post-title.bhb-headline{
	padding: 0!important;
	margin: 0!important;
}

*/

.tribe-events-widget-events-list__view-more.tribe-common-b1.tribe-common-b2--min-medium{
	padding-top: 1.5em;
}

/* CTA/button */
.tribe-events-widget-events-list__view-more-link.tribe-common-anchor-thin,
.wp-block-post-excerpt__more-link,
.wpcf7-submit,
.tribe-common a.tribe-common-b2,
.bdb-btn,
.wp-block-file .wp-block-file__button{
	border: 2px solid var(--wp--preset--color--background);
	color: var(--wp--preset--color--background) !important;
	background: none;
	text-decoration: none;
	padding: .25em 1em;
	font-weight: 500;
	margin-top: .5em;
	transition: 300ms ease all;
	line-height: 2em;
	display: inline-flex;
	font-size: var(--wp--preset--font-size--medium) !important;
	cursor: pointer;
}

.tribe-events .tribe-events-c-nav__next:disabled, .tribe-events .tribe-events-c-nav__prev:disabled{
	border: 2px solid var(--wp--preset--color--white);
	color: var(--wp--preset--color--white) !important;
	background: none;
	text-decoration: none;
	padding: .25em 1em;
	font-weight: 500;
	margin-top: .5em;
	transition: 300ms ease all;
	line-height: 2em;
	display: inline-flex;
	font-size: var(--wp--preset--font-size--medium) !important;
	cursor: not-allowed;
	opacity: .5;
}

.tribe-common-c-btn-border-small{
	background: none!important;
	color: var(--wp--preset--color--background) !important;
	border-radius: 0!important;
	border: 2px solid var(--wp--preset--color--background)!important;
}

.tribe-common a path{
	fill: var(--wp--preset--color--background) !important;	
	transition: 300ms ease all !important;
}
.tribe-common a:hover path{
	fill: var(--wp--preset--color--foreground);		
}


.tribe-events-widget-events-list__view-more-link.tribe-common-anchor-thin:hover,
.wp-block-post-excerpt__more-link:hover,
.wpcf7-submit:hover,
.wp-block-button__link:hover,
.tribe-common a.tribe-common-b2:hover,
.tribe-common-c-btn-border-small:hover,
.bdb-btn:hover,
.wp-block-file .wp-block-file__button:hover{
	background: var(--wp--preset--color--background) !important;
	color: var(--wp--preset--color--foreground) !important;
	/*border-color: var(--wp--preset--color--foreground);*/
	text-decoration: none;
}

.bdb-cta-box a.wp-block-button__link{
	transition: 300ms ease all;
}

.bdb-cta-box a.wp-block-button__link:hover{
	background: transparent!important;
}


.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message{
	border-radius: 0;
	font-size: var(--wp--preset--font-size--medium) !important;
}

/* post list entry margin top */

.no-m-t{
	margin-block-start: 0!important;
}

/* current menu item */

li.current-menu-item.has-child>a,
#modal-2-content>ul>li.current-menu-item>a{
	color: var(--wp--preset--color--vivid-cyan-blue);
}

.wp-block-navigation__submenu-container li.current-menu-item a{
	background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan);
	color: var(--wp--preset--color--black);
}

/*downloads table*/

.page-id-16 .wp-block-table td:first-child{
	padding-top: 1rem;
	padding-right: 4rem;
}

.page-id-16 .wp-block-table a{
	border: 2px solid var(--wp--preset--color--black);
	color: var(--wp--preset-color--black);
	text-decoration: none;
	padding: .25em 1em;
	font-weight: 500;
	margin-top: .5em;
	transition: 300ms ease all;
	line-height: 2em;
	display: inline-block;
}

.bdb-footer a{
	color: var(--wp--preset-color--white);
}
.has-background-background-color a{
	color: var(--wp--preset-color--white);	
}

/* calendar re-style */

.tribe-events-schedule h2{
	font-family: inherit!important;
	font-size: inherit!important;
}

/* z.B. ganztägig text in single event view */
.tribe-events-schedule__all-day{
	border: 2px solid var(--wp--preset--color--black);
	color: var(--wp--preset-color--black);
	text-decoration: none;
	padding: .25em .5em;
	margin-left: .5em;
	letter-spacing: .05em;
	font-weight: 600;
}

dl {
  display: flex;
  flex-flow: row wrap;
  word-break: break-all;
}
dt {
  flex-basis: 20%;
  text-align: right;
}
dd {
  flex-basis: 70%;
  flex-grow: 1;
  margin: 0;
  padding-left: 1em;
}

.single-tribe_events .tribe-events-cal-links, .single-tribe_events .tribe-events-schedule h2{
	display: flex;
	gap: 0.5em;
	font-family: inherit!important;
	font-size: inherit!important;
}

.tribe-events-widget .tribe-events-widget-events-list__event-row{
	gap: 1rem;
}


/* downloads */
.page-id-16 .wp-block-columns, /* downloads */
.page-id-60 .wp-block-columns /* impressum */
{ 
	gap: 6rem;
}

.wp-block-file{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wp-block-file a:first-child{
	/*background: red;*/
	/*display: inline-flex;*/
	/*white-space: nowrap;*/
	/*overflow: hidden;*/
	/*width: 10rem;*/
	/*text-overflow: ellipsis;*/
}
.wp-block-file a:last-child{
	word-break: keep-all;
}

/* contact form 7 */

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea{
	font-size: var(--wp--preset--font-size--medium) !important;
	font-family: inherit;
	padding: .25em;
	border: 0;
	outline: 0;
}

/* abc nav */

.bdb-nav-abc{
	font-size:2rem;
	display:block;
	justify-content: space-between;
	white-space: normal;
	word-break: break-all;
}
.bdb-nav-abc a{
	text-decoration: none;
	display:inline-block;
	padding:0 0.2em;
}
.bdb-nav-abc a:hover{
	text-decoration:underline;
}


.add-remove-bottom-space{
	margin:0
}



/* WPCF7 */

span.wpcf7-not-valid-tip{

}

.wpcf7 form .wpcf7-response-output{
	background: var(--wp--preset--color--luminous-vivid-amber);
	border: 0;
	margin: 1.5em 0 0 0;
	padding: .5em .75em;
}

.wpcf7-form-control.wpcf7-not-valid{
	background: var(--wp--preset--color--pale-pink);
}
.wpcf7-not-valid-tip{
	color: var(--wp--preset--color--vivid-red);
}



/* sticky footer */

footer{
	/*position: absolute;*/
	/*bottom: 0;*/
	/*width: 100%;*/
}

--wp--custom--spacing--medium: 1rem;
--tec-color-accent-primary:var(--wp--preset--color--background);

.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row,
	.tribe-events .tribe-events-calendar-list__event-row{
		gap: 1em;
	}

.tribe-events-widget .tribe-events-widget-events-list__event-datetime-wrapper{
	margin-bottom: 0!important;
}


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

	/* foerderverein grafik */
	.bdb-fverein figure{
		padding: 1.5rem 0 0 4.5rem;
	}

	.current-menu-item>a{
		background: transparent!important;
		color: var(--wp--preset--color--light-green-cyan)!important;
	}

}

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

	.bdb-avatar.alignright{
		float: none!important;
		margin-inline-start: 0!important;
		margin: 0 auto!important;
	}

}



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

.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row,
	.tribe-events .tribe-events-calendar-list__event-row{
		gap: 1em;
	}

}

@media screen and (min-width: 835px) and (max-width: 1023px) {
	/* some space between leaf and cal entry */
	.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row,
	.tribe-events .tribe-events-calendar-list__event-row{
		gap: 0;
	}

}


@media screen and (min-width: 1024px) {
  .bdb-nav-abc {
      font-size: 2.25rem;
			white-space: nowrap;
		  display:flex;
  }
	.bdb-nav-abc a{
		padding:0;
	}

	/* some space between leaf and cal entry */
	.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row,
	.tribe-events .tribe-events-calendar-list__event-row{
		gap: 0;
	}

}


@media screen and (max-width: 1250px) {
  .bdb-alignwide{
  	padding-left: var(--wp--custom--spacing--outer);
    padding-right: var(--wp--custom--spacing--outer);
  }
}

