 /*
Theme Name: Forschungsstiftung Theme
Theme URI: https://wpastra.com/
Template: astra
Author: Dhana Sauernheimer
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 3.7.5.1639911313

Stiftungs-Grün: #6DAB70
light: #9CCD9C
lighter: #B7DAC7
lighter-lightest: #ccecdb
lightest: #effaf4

Bayern-Blau: #009be2
light: #87CCEC
lighter: #CCE7F4

Stiftungs-Blau: #056AA6
dark: #064E7C
darker: #002F4E

*/			

/*******************
	BFS general
********************/

:root {
	--green-dark: #317935;
	--green: #6DAB70;
	--green-light: #9CCD9C;
	--green-light-50: #cce6cb;
	--green-light-30: #e5f5ec;
	--green-lighter: #B7DAC7;
	--green-lighter-lightest: #ccecdb;
	--green-lightest: #effaf4;

    --bayern-dark: #0091d3;
	--bayern: #009be2;
	--bayern-light: #87CCEC;
	--bayern-lighter: #CCE7F4;
	--bayern-lightest: #eaf6fc;

	--blue-darker: #002F4E;
	--blue-dark: #064E7C;
	--blue: #056AA6;
	--blue-light: #6ca8cd;
	--blue-lighter: #d1e3f6;
	--blue-lightest: #f1f7fa;

	--boxshadow: 0px 0px 4px #002f4e21;
}

body {
	background: #f1f7fa;
	color: var(--blue-darker);
	font-size: 17px;
}

#content {
	min-height: 80vh;
}

a, input {
	outline: none;
}

a:hover, a:focus {
    color: inherit;
    opacity: .8;
}

ol, ul {
    margin: 0;
}

input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	color: #062f4d;
	background: #f1f7fa;
	border: 0px solid #f1f7fa;
	border-radius: 0;
}

input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="reset"]:focus, input[type="search"]:focus, textarea:focus {
    border: 1px solid var(--blue-light); 
}

.entry-content p {
    margin-bottom: 0.7rem;
}

button, 
.ast-button, 
.ast-custom-button, 
.button, 
.wp-block-uagb-info-box .uagb-ifb-button-wrapper .uagb-ifb-cta-button,
input[type="button"], 
input[type="submit"], 
input[type="reset"] {
	background: var(--green-dark);
	transition: .5s ease all;
	border-radius: 0;
	border: 0;
    color: #fff;
}

button:hover, 
.ast-button:hover, 
.ast-custom-button:hover, 
.button:hover, 
.wp-block-uagb-info-box .uagb-ifb-button-wrapper .uagb-ifb-cta-button:hover,
input[type="button"]:hover, 
input[type="submit"]:hover, 
input[type="reset"]:hover {
	opacity: .8;
	color: #fff;
}
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
.wp-block-uagb-buttons .uagb-buttons-repeater {
	border-radius: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.wp-block-uagb-buttons .uagb-buttons-repeater .uagb-button__link {
	padding: 10px 0;
}
	
.ast-no-sidebar .entry-content .alignwide {
    margin-left: -30px;
    margin-right: -30px;
    max-width: unset;
    width: unset;
}

.widget {
    margin: 0;
}

.fa {
	padding-right: 5px;
}

.coblocks-lightbox__background {
	filter: blur(25px) saturate(210%) brightness(45%);
	opacity: .76;
}

h1 small,
.wp-block-uagb-advanced-heading .uagb-desc-text {
	font-size: 2rem; 
}

.wp-block-uagb-advanced-heading {
	margin-bottom: 40px;
}

/*******************
	BFS header & main menu
********************/

.ast-search-menu-icon.slide-search.ast-dropdown-active .ast-icon.icon-search,
.ast-search-menu-icon.slide-search.ast-dropdown-active .search-field::placeholder {
	color: #062f4d;
}

.ast-logo-title-inline .ast-site-identity {
    padding: 0.7em 0; 
}
.ast-builder-grid-row>.site-header-section.site-header-primary-section-center {
	align-items: end;
}
header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img {
	height: auto !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child {
	margin-right: 0;
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
	background: #72aa73;
}

#mega-menu-wrap-primary .accept-primary {
	line-height: 1rem;
}

.ast-builder-grid-row>.site-header-section.site-header-primary-section-center {
	justify-content: flex-start;
}

@media only screen and (min-width: 1400px) { 
	.ast-builder-grid-row.ast-grid-center-col-layout {
	    grid-template-columns: 1fr 1200px 1fr;
	}
}


/* aktiver menüpunkt */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
	background: rgb(255 255 255 / 60%);
}

/* offener menüpunkt */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
	background: #fff;
	position: relative;
}

/* ausgangsposition hover-effekt strich */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:after {
   right: 100%; 
   content: "";
   display: block;
   height: 6px;
   top: 42px;
   left: 15px;
   z-index: 1000;
   position: absolute;
   transition: right .5s ease;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link:after {
   right: 15px;
}

/* mega menü inhalte */

/* 2. ebene */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary .mega-block-title {
	line-height: 1.2rem;
	margin-bottom: 16px !important; 
    font-size: 1.08rem !important;
    font-weight: 600 !important;
}

/* 3. ebene */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    line-height: 1.2rem;
    margin-bottom: 10px;
    text-indent: -8px;
    padding-left: 10px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:before, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:before {
    content: '\f139';
    margin: 0 2px 0 0px;
    font-family: dashicons;
}

/* submenü foerderangebot */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-foerderangebot.mega-toggle-on > a.mega-menu-link:after {
    background: var(--bayern-light);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-foerderangebot li.mega-menu-column.highlight-light {
	background: var(--bayern-lighter);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-foerderangebot li.mega-menu-column.highlight-dark {
	background: var(--bayern-light);
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-foerderangebot  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-foerderangebot  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-foerderangebot h4.mega-block-title {
	color: var(--bayern-dark) !important;
}


/* submenü gefoerderte-projekte */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-gefoerderte-projekte.mega-toggle-on > a.mega-menu-link:after {
    background: var(--blue);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-gefoerderte-projekte li.mega-menu-column.highlight-light {
	background: var(--blue-lighter);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-gefoerderte-projekte li.mega-menu-column.highlight-dark {
	background: var(--blue-light);
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-gefoerderte-projekte  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-gefoerderte-projekte  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-gefoerderte-projekte h4.mega-block-title {
	color: var(--blue) !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-gefoerderte-projekte .widget_maxmegamenu_reusable_block .button {
	background: var(--blue);
}

/* submenü stiftung */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.stiftung.mega-toggle-on > a.mega-menu-link:after {
    background: var(--green);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-stiftung li.mega-menu-column.highlight-light {
	background: var(--green-light-50);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-stiftung li.mega-menu-column.highlight-dark {
	background: var(--green-light);
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-stiftung  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-stiftung  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-stiftung h4.mega-block-title {
	color: var(--green-dark) !important;
}

/* submenü service-aktuelles */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.service-aktuelles.mega-toggle-on > a.mega-menu-link:after {
    background: var(--green-lighter);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-service-aktuelles li.mega-menu-column.highlight-light {
	background: var(--green-lightest);
}
#mega-menu-wrap-primary #mega-menu-primary .mega-service-aktuelles  li.mega-menu-column.highlight-dark {
	background: var(--green-lighter-lightest);
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-service-aktuelles  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-service-aktuelles  > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu.mega-service-aktuelles h4.mega-block-title {
	color: var(--green) !important; 
}

/* buttons */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.button {

}
/* widgets */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.widget_media_image {
	padding-bottom: 0 !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.widget_media_image img {
	max-width: 200px !important;
}

#mega-menu-wrap-primary #mega-menu-primary .mega-stiftung .custom-html-widget {
	text-align: center;
}
#mega-menu-wrap-primary #mega-menu-primary .mega-stiftung a > img {
	width: auto !important;
    max-height: 190px !important;
    transition: opacity .3s ease;
}

#mega-menu-wrap-primary #mega-menu-primary .mega-stiftung a:hover img {
	opacity: .8;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.widget_custom_html p {
    font-size: .9rem;
    line-height: 1.1rem;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.widget_custom_html p.ansprechpartner_text {
    margin-top: -10px;
}


/* projektfinder im mega menu */
#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter ul:not(.chosen-results, .chosen-choices) {
	display: block;
}

#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter ul:not(.chosen-results, .chosen-choices) > li {
	display: block;
	padding-right: 0;
}
#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter ul:not(.chosen-results, .chosen-choices) > li > h4 {
	font-size: .87rem;
	margin-top: 10px;
}

#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter .chosen-container-multi .chosen-choices li.search-field input[type=text].chosen-search-input.default {
	font-size: .87rem;
}

#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter input[type=submit] {
	height: initial;
	width: auto;
}

#mega-menu-wrap-primary #mega-menu-primary .widget_maxmegamenu_reusable_block .title {
	font-size: 1rem;
	line-height: 1.3rem;
	margin-top: 0;
	font-weight: 600;
} 
#mega-menu-wrap-primary #mega-menu-primary .widget_maxmegamenu_reusable_block .title a {
	color: var(--blue-darker);
}
#mega-menu-wrap-primary #mega-menu-primary .widget_maxmegamenu_reusable_block .jahre.trail-items {
	padding-left: 10px;
	margin-left: 0;
	margin-top: 10px;
}
#mega-menu-wrap-primary #mega-menu-primary .widget_maxmegamenu_reusable_block .projekttypen.trail-items {
	padding-left: 0;
	margin-left: 0;
	margin-top: 10px;
}
#mega-menu-wrap-primary #mega-menu-primary .widget_maxmegamenu_reusable_block .projekttypen.trail-items a, 
#mega-menu-wrap-primary #mega-menu-primary .widget_maxmegamenu_reusable_block .jahre.trail-items a {
	color: var(--blue-darker) !important;
	pointer-events: none;
}

#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter .chosen-container-single .chosen-single, 
#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter .chosen-container-multi .chosen-choices {
	display: block;
	width: 100%;
	min-height: 32px;
	padding: 0 3px;
}

#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter input[type=text][name=ofsearch] {
	display: block;
	width: 100%;
	height: 32px;
	margin-top: 10px;
	font-size: .87rem;
}

#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter .chosen-container.chosen-container-single, 
#mega-menu-wrap-primary #mega-menu-primary .textwidget .searchandfilter .chosen-container.chosen-container-multi {
	width: 100% !important
}

body.search #mega-menu-wrap-primary #mega-menu-primary .textwidget form.searchandfilter {
	margin-bottom: 10px;
}


@media only screen and (min-width: 1024px) {
	.site-header {
		position: sticky;
		top: -48px;
		width: 100%;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu {
		display: flex;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 {
	    float: none;
	}
}


/*******************
	BFS footer
********************/

footer.site-footer .widget .wp-block-heading,
footer.site-footer .widget .widget-title {
	font-size: 1rem;
	margin-bottom: 12px;
	color: #fff;
}

footer.site-footer p {
	color: #fff;
	line-height: 1.5rem;
}

footer.site-footer a {
	color: #e0ebe1 !important;
}

input.sib-email-area {	
    padding: 4px 10px;
    margin-left: 10px;
}

footer.site-footer #bayfia-logo {
	width: 200px;
	height: auto;
}

footer.site-footer #menu-footer-menue a {
	color: #fff;
}

footer.site-footer #menu-footer-menue a:hover {
	color: var(--blue-lightest);
}


/*******************
	search box
********************/

#content .wp-block-cover:first-child, 
.entry-content .wp-block-cover:first-child {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    padding: 0 !important;
    margin-bottom: 0px;
    color: #fff;
}

#content .wp-block-cover#search-results-box:first-child {
	margin-bottom: 40px;
}

#content .wp-block-cover:first-child p, 
.entry-content .wp-block-cover:first-child p {
	color: #fff;
}

.searchbutton {
	display: inline-block;
    padding-left: 10px;
    border-radius: 2px;
}


html input[disabled] {
    cursor: default;
    pointer-events: none;
}


/*******************
	content blocks
********************/
.entry-content[ast-blocks-layout] > * {
    max-width: initial;
}

body.single a:not(.button):hover, 
body.single a:not(.button):focus {
	color: var(--blue-light);
}


.wp-block-uagb-column .uagb-column__inner-wrap {
    padding: 0;
}

.wp-block-uagb-column.uagb-column__background-color .uagb-column__inner-wrap {
	padding: 10px;
}

/* abschnitt full width -> columns:  bündig am sonstigen fließtext ausrichten*/
.wp-block-uagb-section.alignfull .uagb-section__inner-wrap {
	padding-left: 30px;
}
.wp-block-uagb-section.alignfull .uagb-section__inner-wrap .uagb-column__inner-wrap {
	padding: 0;
}

.su-tooltip-button {
    color: var(--blue);
}
.su-tooltip-button:hover {
    color: #498de3;
}

.entry-content > .wp-block-columns {
	max-width: 100%;
	width: 100%;
}

.icon-infobox.round-images img {
	height: 150px !important;
	object-fit: cover;
}

.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button, body .wp-block-file .wp-block-file__button {
	display: inline-block;
}

.wp-block-image.size-full {
    margin-top: 0;
}

body.single .entry-content p {
	margin-bottom: 1em;
	line-height: 1.5em;
}

.entry-content figcaption,
.projekt-date {
	font-size: .85rem;
    color: var(--blue);
    line-height: 1.2rem;
}

.wp-block-gallery.has-nested-images figcaption {
	text-align: left;
}


body.single .entry-content .projekt-date {
	clear: both;
	padding-top: 4px;
	margin-bottom: 0;
}

.entry-content .uagb-section__background-gradient figcaption,
.entry-content .uagb-section__background-gradient a:hover {
	color: rgb(0,70,160);
}

.wp-block-button .wp-block-button__link:hover, 
.wp-block-button .wp-block-button__link:focus,
input[type="submit"]:hover,
input[type="submit"]:focus { 
	opacity: .8;
	color: #fff;
}

.wp-block-uagb-info-box.uagb-infobox__content-wrap .wp-block-button.uagb-ifb-button-wrapper .uagb-infobox-cta-link.wp-block-button__link,
.wp-block-uagb-call-to-action a.uagb-cta__button-link-wrapper {
	display: inline-block;
}

.wp-block-coblocks-alert {
	padding: 14px;
	margin: 1.5em 0;
}

.wp-block-coblocks-alert:not(.has-background) {
	background: rgb(188 230 223 / 75%);
	color: #1d5248;
}
.wp-block-coblocks-alert:not(.has-background).is-style-warning {
	background: rgb(176 197 227 / 75%);
	color: #7b0317;
}
.wp-block-coblocks-alert:not(.has-background).is-style-success {
	background: rgb(188 230 223 / 75%);
	color: #042155;
}
.wp-block-coblocks-alert:not(.has-background).is-style-error {
	background: rgb(237 203 207 / 75%);
	color: #7b0317;
}

.wp-block-coblocks-alert .wp-block-coblocks-alert__title {
    font-weight: 600;
    margin-bottom: 0 !important;
}

.wp-block-coblocks-alert p:last-child {
	margin-bottom: 0 !important;
}

.entry-content .uagb-section__background-gradient .uagb-buttons-repeater:hover {
	color: #fff;
	opacity: .8;
}

.wp-block-uagb-section.alignfull .uagb-section__inner-wrap .wp-block-uagb-column.center .uagb-column__inner-wrap {
	display: flex;
	justify-content: center;
	flex-direction: column-reverse;
}

.wp-block-uagb-column.center .wp-block-image figcaption {
	margin-bottom: 0;
}

.wp-block-uagb-column.center .wp-block-image {
    margin: 0;
}

.wp-block-gallery.has-lightbox .wp-block-image {
	transition: .3s ease opacity;
}

.wp-block-gallery.has-lightbox .wp-block-image:hover {
	opacity: .7;
}

.wp-block-gallery figure.wp-block-image figcaption, 
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	display: none;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
	transition: opacity .5s ease;
}

.wp-block-gallery figure.wp-block-image a:hover {
	opacity: 0.8;
}

.wp-block-gallery a:before {
	content:  " " !important;
	display: none !important;
}

.pswp__bg {
	background: rgb(0 0 0 / 40%);
}

.pswp__top-bar, .pswp__caption {
	background: transparent;
}

.entry-content blockquote {
    margin: 1.5em 0; 
    color: #012f6c;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

.wp-block-uagb-advanced-heading .uagb-heading-text {
	margin-bottom: 8px;
}

/* counter */

.wp-block-uagb-counter--number .wp-block-uagb-counter__number {	
	font-family: 'Merriweather Sans',sans-serif;
	font-weight: 600;
	color: var(--blue-darker);
	font-size: 2.8rem;
	line-height: 3rem !important;
}
.wp-block-uagb-counter--number .wp-block-uagb-counter__title {
	color: var(--blue-darker);
	margin-top: 5px;
	font-weight: 600;
}

/* accordion */


.wp-block-details {
	background: var(--green-lightest); 
	transition: all .3s ease;
}

.wp-block-details > *:not(summary) {
	padding: 0 20px !important;
}
.wp-block-details > *:last-child {
	padding-bottom: 30px;
}

.wp-block-details summary {
	font-family: 'Merriweather Sans',sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	background: var(--green);
	padding: 12px 20px;
	transition: all .3s ease;
	color: #fff;
	/*pointer-events: none;*/

}.wp-block-details summary:hover {
	opacity: .8;
}

.wp-block-details > .wp-block-spacer {
	margin-block-start: 0;
}


/* pressemitteilungen (call-to-action spectra) */

.wp-block-uagb-call-to-action:nth-child(odd) {
	background: var(--green-light-30);
}
.wp-block-uagb-call-to-action:nth-child(even) {
	background: var(--green-lightest);
}

.wp-block-uagb-call-to-action .uagb-cta__title {
    font-size: .85rem;
    color: var(--green);
}

/* eigentlicher cta (call-to-action spectra) */

.wp-block-uagb-call-to-action.cta:nth-child(odd),
.wp-block-uagb-call-to-action.cta:nth-child(even) {
	background: transparent;
	padding: 20px 0;
} 

.wp-block-uagb-call-to-action.cta .uagb-cta__title {
    font-size: 1.4rem;
    color: var(--blue-darker);
}

.wp-block-uagb-call-to-action.cta.foerderangebot:nth-child(odd),
.wp-block-uagb-call-to-action.cta.foerderangebot:nth-child(even) {
	background: var(--bayern-lighter);
	padding: 20px;
} 


.wp-block-uagb-call-to-action.cta.foerderangebot .uagb-cta__title {
    color: var(--bayern-dark);
}

/* coblocks slider (carousel) */

.nav-button__next, .nav-button__prev {
	z-index: 1;
	background-color: transparent;
    border-radius: 2px;
    height: 35px;
    padding: 5px;
    top: 42%;
    transform: translateY(-42%);
    width: 35px;
}

.nav-button__next .icon, 
.nav-button__prev .icon {
    width: 24px;
    height: 25px;
}

.wp-block-coblocks-gallery-carousel:hover .nav-button__next,
.wp-block-coblocks-gallery-carousel:hover .nav-button__prev {
	background-color: rgba(0,45,103, 85%)
}

.coblocks-gallery:not(.has-caption-color).has-caption-style-dark figcaption {
    background: linear-gradient(34deg,rgb(0 45 103 / 85%) 0%,rgb(75 142 229 / 85%) 100%);
    padding: 10px;
}

.entry-content .wp-block-quote cite,
.entry-content .wp-block-quote.is-large:not(.is-style-plain) cite, 
.entry-content .wp-block-quote.is-style-large:not(.is-style-plain) cite {
    text-align: right;
    display: inherit;
    font-size: .95rem;
}

.entry-content .wp-block-quote p,
.entry-content .wp-block-quote.is-large:not(.is-style-plain) p, 
.entry-content .wp-block-quote.is-style-large:not(.is-style-plain) p {
    font-style: initial;
    font-size: 1.36rem;
    line-height: 1.5em;
}

.entry-content .wp-block-quote,
.entry-content blockquote,
.entry-content .wp-block-quote.is-large:not(.is-style-plain), 
.entry-content .wp-block-quote.is-style-large:not(.is-style-plain) {
	margin-bottom: 1.5em;
	padding: 0 1em;
	border-left: 5px solid rgb(234 236 240);
}

.entry-content a.button {
	text-decoration: none !important;
}

p.center {
	text-align: center;
}

.entry-content ul, 
.entry-content ol {
    margin-left: 1em;
}

.tippy-box {
    background-color: #82a7d5; /*#012d67;*/
    color: #fff;
    border-radius: 2px;
    font-size: .85rem;
}

.tippy-arrow {
	color:  #82a7d5; /*#012d67;*/
}



/*******************
	anpassung farbschema für seitentypen (foerderangebot, gefoerderte-projekte, stiftung, service-aktuelles)
********************/

body.foerderangebot .wp-block-button .wp-block-button__link {
	background: var(--bayern);
}

body.gefoerderte-projekte .wp-block-button .wp-block-button__link {
	background: var(--blue);
}
body.gefoerderte-projekte .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--blue-lightest);
}

body.foerderangebot a:not(.button, .wp-block-button__link) {
	color: var(--bayern-dark);
}
body.foerderangebot .wp-block-uagb-advanced-heading .uagb-heading-text {
	color: var(--bayern-dark);
	margin-bottom: 8px;
}

body.foerderangebot .wp-block-details summary {
	background: var(--bayern-light);
}
body.foerderangebot .wp-block-details {
    background: var(--bayern-lightest);
}
body.foerderangebot .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--bayern-lightest);
}

body.stiftung .wp-block-button .wp-block-button__link {
	background: var(--green);
}

body.stiftung .wp-block-button .wp-block-button__link:not(.uagb-marketing-btn__link):hover,
body.stiftung .wp-block-uagb-call-to-action a.uagb-cta__button-link-wrapper:hover {
	background: var(--green) !important;
}

body.stiftung a:not(.button, .wp-block-button__link) {
	color: var(--green);
} 
body.service-aktuelles .entry-content figcaption {
	color: var(--green-dark);
}

body.service-aktuelles .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
body.stiftung .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--green-light-30);
}

body.service-aktuelles a:not(.button, .wp-block-button__link) {
	color: var(--green);
} 
body.service-aktuelles .wp-block-button .wp-block-button__link:hover,
body.service-aktuelles .wp-block-uagb-call-to-action a.uagb-cta__button-link-wrapper:hover {
	background: var(--green) !important;
}

body.service-aktuelles .entry-content figcaption {
	color: var(--green-dark);
}

/*******************
	filetype icons
********************/

.site-content a[href$=".pdf"]:before,
.site-content a[href$=".mbz"]:before,
.site-content a[href$=".h5p"]:before,
.site-content a[href$=".xls"]:before, 
.site-content a[href$=".xlsx"]:before,
.site-content a[href$=".csv"]:before,
.site-content a[href$=".xlsm"]:before,
.site-content a[href$=".ppt"]:before, 
.site-content a[href$=".pptx"]:before,
.site-content a[href$=".pps"]:before,
.site-content a[href$=".ppsx"]:before,
.site-content a[href$=".mp3"]:before, 
.site-content a[href$=".ogg"]:before,
.site-content a[href$=".wma"]:before,
.site-content a[href$=".m4a"]:before,
.site-content a[href$=".zip"]:before,
.site-content a[href$=".7zip"]:before,
.site-content a[href$=".rar"]:before,
.site-content a[href$=".docx"]:before, 
.site-content a[href$=".doc"]:before,
.site-content a[href$=".txt"]:before,
.site-content a[href$=".ai"]:before, 
.site-content a[href$=".svg"]:before,
.site-content a[href$=".eps"]:before,
.site-content a[href$=".mov"]:before, 
.site-content a[href$=".mp4"]:before,
.site-content a[href$=".webm"]:before,
.site-content a[href$=".mov"]:before,
.site-content a[href$=".mpg"]:before,
.site-content a[href$=".mkv"]:before,
.site-content a[href$=".jpg"]:before, 
.site-content a[href$=".jpeg"]:before,
.site-content a[href$=".png"]:before,
.site-content a[href$=".gif"]:before,
.site-content a[href$=".bmp"]:before,
.site-content a[href$=".tiff"]:before,
.site-content a[href$=".psd"]:before,
.site-content a[href$=".webp"]:before,
.site-content a[target="_blank"][href^="http"]:not(.wp-block-button__link):not(.button):before,
.site-content a[target="_blank"][href^="http"].wp-block-button__link span:not(.uagb-inline-editing):before,
.site-content a[target="_blank"][href^="http"].button:before,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link[href$=".pdf"]:before, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link[href$=".pdf"]:before,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-linka[target="_blank"][href^="http"]:before, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link[target="_blank"][href^="http"]:before  {
	display: inline;
    padding-right: 18px;
    padding-bottom: 2px;
    padding-top: 3px;
    content: "";
    margin-right: 4px;
    font-size: inherit;
    transition: opacity .5s ease;
}

.site-content a[target="_blank"][href^="http"]:not(.wp-block-button__link):not(.button):before,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item:not(.button) > a.mega-menu-link[target="_blank"][href^="http"]:before, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item:not(.button) > a.mega-menu-linka[target="_blank"][href^="http"]:before {	
    background: url(img/file-icons/external.png) 50%/contain no-repeat transparent;
    padding-bottom: 0px;
    padding-right: 11px;
    margin-left: 3px;
}

.site-content a[target="_blank"][href^="http"].wp-block-button__link span:before,
.site-content a[target="_blank"][href^="http"].button:before,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item.button > a.mega-menu-link[target="_blank"][href^="http"]:before, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item.button > a.mega-menu-linka[target="_blank"][href^="http"]:before {
    background: url(img/file-icons/external-white.png) 50%/contain no-repeat transparent;
    padding-bottom: 0px;
    padding-right: 11px;
    margin-left: 3px;
    margin-right: 8px;
}

.site-content a[href$=".pdf"]:before,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link[href$=".pdf"]:before, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link[href$=".pdf"]:before {
    background: url(img/file-icons/pdf.png) 50%/contain no-repeat transparent !important; 
}

.site-content a[href$=".mbz"]:before {
    background: url(img/file-icons/moodle.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".h5p"]:before {  
    background: url(img/file-icons/h5p.png) 50%/contain no-repeat transparent !important; 
}

.site-content a[href$=".xls"]:before, 
.site-content a[href$=".xlsx"]:before,
.site-content a[href$=".csv"]:before,
.site-content a[href$=".xlsm"]:before {
    background: url(img/file-icons/xls.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".ppt"]:before, 
.site-content a[href$=".pptx"]:before,
.site-content a[href$=".pps"]:before,
.site-content a[href$=".ppsx"]:before {   
    background: url(img/file-icons/ppt.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".mp3"]:before, 
.site-content a[href$=".ogg"]:before,
.site-content a[href$=".wma"]:before,
.site-content a[href$=".m4a"]:before {
    background: url(img/file-icons/audio.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".zip"]:before,
.site-content a[href$=".7zip"]:before,
.site-content a[href$=".rar"]:before {
    background: url(img/file-icons/zip.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".docx"]:before, 
.site-content a[href$=".doc"]:before,
.site-content a[href$=".txt"]:before {
    background: url(img/file-icons/doc.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".ai"]:before, 
.site-content a[href$=".svg"]:before,
.site-content a[href$=".eps"]:before {
    background: url(img/file-icons/svg.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".mov"]:before, 
.site-content a[href$=".mp4"]:before,
.site-content a[href$=".webm"]:before,
.site-content a[href$=".mov"]:before,
.site-content a[href$=".mpg"]:before,
.site-content a[href$=".mkv"]:before {  
    background: url(img/file-icons/video.png) 50%/contain no-repeat transparent !important;
}

.site-content a[href$=".jpg"]:before, 
.site-content a[href$=".jpeg"]:before,
.site-content a[href$=".png"]:before,
.site-content a[href$=".gif"]:before,
.site-content a[href$=".bmp"]:before,
.site-content a[href$=".tiff"]:before,
.site-content a[href$=".psd"]:before,
.site-content a[href$=".webp"]:before {  
    background: url(img/file-icons/bild.png) 50%/contain no-repeat transparent !important;
}

.site-content a:hover:before {
	opacity: .7;
}

.site-content a.thumbnail:before,
.site-content a.text-container:before,
.site-content a.license:before,
.site-content .wp-block-image a:before,
.site-content figure > a:before,
body.search .site-content .search-results a:before {
	content:" " !important; 
	display: none !important;
}


/****************
  tag cloud
*****************/

.thn-tag-cloud a.tag {
	text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    line-height: 1.7rem;
}

.thn-tag-cloud a.tag.size1 {
	font-size: .75rem;
}
.thn-tag-cloud a.tag.size2 {
	font-size: 1.1rem;
}
.thn-tag-cloud a.tag.size3 {
	font-size: 1.4rem;
}
.thn-tag-cloud a.tag.size4 {
	font-size: 1.7rem;
}
.thn-tag-cloud a.tag.size5 {
	font-size: 2rem;
}
.thn-tag-cloud a.tag.size6 {
	font-size: 2.3rem;
}

/****************
  search form 
*****************/

.searchandfilter p {
	margin-top: 1em;
	display:inline-block;
}
.searchandfilter ul:not(.chosen-results, .chosen-choices) {
    display: grid;    
    grid-template-columns: 230px 230px 230px 230px auto;
    margin-left: 0;
    padding-left: 0;
}
.searchandfilter ul:not(.chosen-results, .chosen-choices) li {
	list-style: none;
	display:inline-block;
	padding-right:10px;
}

.searchandfilter ul:not(.chosen-results, .chosen-choices) li:last-child {
	padding-right: 0;
}

.widget-area .searchandfilter ul:not(.chosen-results, .chosen-choices) li, .widget-area .searchandfilter p, .searchandfilter label {
	display:block;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #8db5d1;
    border: 0;
    margin-left: 2px;
    margin-top: 2px;
    padding-left: 13px;
    font-size: .8rem;
    color: #fff;
    line-height: 1.3rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #fff;
	border:0;
	padding-top: 4px;
}

.select2-container--default .select2-results__option--selected {
	background-color: #8db5d1;
    color: #fff;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: var(--blue);
}

.select2-results__option {
    padding: 2px;
    font-size: .9rem;
    line-height: 1.3rem;
}

.select2-container--default .select2-search--inline .select2-search__field {
	font-size: .85rem;
}

.searchandfilter h4 {
	margin:3px 0;
	font-size:.9rem;
}

.select2-container--default .select2-selection--multiple {
    background-color: #f1f7fa;
    border: 0;
    border-radius: 0;
    width: 220px;
    min-height: 50px;
}

.searchandfilter ul > li > ul:not(.children) {
	margin-left:0;
}

.searchandfilter input[type=submit] {
	background: var(--blue);    
	margin-top: 23px;
    height: 50px;
    width: 100%;
}

.searchandfilter input[type=text] {
	margin-top: 23.5px;
	width: 220px;
}

/* view switcher (good practices, search results) */
.view-switcher {
    float: right;
    margin: 0px;
}

.view-switcher span {
	display: none;
}

.view-switcher .button {
	display: inline-block;
	cursor: pointer;
	opacity: 1;
    padding-left: 40px;
    position: relative;
}

.view-switcher .button.active {
	opacity: .5;
	pointer-events: none;
}

.view-switcher .button:before {
	content: " ";
	width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
    top: 9px;
}

.view-switcher .button[data-view="discover"]:before {
	background: url(img/icon-kacheln.png) 0 0/contain no-repeat transparent;
}

.view-switcher .button[data-view="list"]:before {
	background: url(img/icon-liste.png) 0 0/contain no-repeat transparent;
}

body[data-tab="projekt"] .view-switcher .button {
	background: var(--blue);
}

body[data-tab="projekt"] .view-switcher .button:hover {
	opacity: .8;
}

.view {
	display: none;
}

.view.active {
	display: block;
}

/******************
  search filter
*******************/

.search-result-filter {
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
}

.chosen-container.chosen-container-single,
.chosen-container.chosen-container-multi {	
    padding: 0; 
    width: 220px !important;
    vertical-align: top;
}

.chosen-container-single .chosen-single,
.chosen-container-multi .chosen-choices {
    box-shadow: none !important;
    background-image: none;
    border: 0 none;
    background: #f1f7fa;
    border-radius: 0;
    padding: 4px 4px;
    width: 220px;
    min-height: 50px;
}

#search-results-box select {
	opacity: 0;
}

.chosen-container-multi .chosen-choices li.search-choice {
    position: relative;
    margin: 3px 5px 3px 0;
    padding: 3px 20px 3px 5px;
    border: none;
    max-width: 100%;
    border-radius: 3px;
    background-color: var(--blue-light);
    background-image: none;
    background-size: 100% 19px;
    background-repeat: repeat-x;
    background-clip: padding-box;
    box-shadow: none !important;
    color: #fff;
    line-height: 15px;
    cursor: default;
}

#thn-results .chosen-container-multi .chosen-choices li.search-choice {
	background-color: var(--blue-light);
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
	background: none !important;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:after {
	content:  "x";
	color: #fff;
	font-size: .82rem;
	font-weight: bold;
    line-height: 13px;
    padding-left: 2px;

}

select.category + .chosen-container-multi .chosen-choices li.search-choice {
	background: transparent !important;
	color: var(--blue-light) !important;
}
select.category + .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:after {
	color: var(--blue-light) !important;	
}

.chosen-container .chosen-drop .chosen-results {
	width: 100%;
}

.chosen-container .chosen-drop .chosen-results .highlighted,
.chosen-container .chosen-drop .chosen-results .active-result:hover { 
	background: var(--blue-light);
}

.chosen-container-multi .chosen-choices li.search-field input[type=text].chosen-search-input.default {
	color: #757575;
    font-size: .95rem;
    letter-spacing: .5px;    
    padding: 5px;
    height: 40px;
}

/**************
tooltips 
***************/

.su-tooltip-button {
	text-decoration: underline;
	text-decoration-style: dotted;
	cursor: pointer;
}

/*****************
 search results 
 ****************/

body.search .ast-archive-description {
	display: none;
}

body.search #content > .ast-container #primary {
	position: relative;
	background: #fff;
	padding: 20px;
	box-shadow: var(--boxshadow);
	margin-top: 100px;
	margin-bottom: 100px;
}

body.search .wp-block-cover {
	margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

body.search .search-header-image {
	position: absolute;
	z-index: -1;
	top: -100px; /* entspricht neg. top-margin von #primary */
	left: 0;
}

body.search .search-header-image img {
	border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

body.search .ast-container.search-results {
	background: #fff;
	margin-top: 0px;
	padding: 0 0 10px;
	display: block;
}

body.search form.searchandfilter {
	margin-bottom: 60px;
}

body.search #search-results-title {
	margin-bottom: 30px;
}

body.search #search-results-desc {
	margin-bottom: 30px;
}

/*
body.search .result-tabs {
	margin-top: 30px;
	clear: both;
	opacity: 0 !important;
}
body.search .result-tabs .tab.button {	
	color: #002f6c;
	border-radius: 0;
	display: inline-block;
	padding: 16px 30px;
	font-weight: 500;
	background: #fff;
}

body.search .result-tabs .tab.button:first-child {
	border-top-left-radius: 3px;
}

body.search .result-tabs .tab.button:last-child {
	border-top-right-radius: 3px;
}
*/
body.search .ast-row {
    margin-left: 0;
    margin-right: 0;
}

body.search .ast-container.search-results > .ast-row .discover.view.active,
.entry-content .discover.view.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	grid-gap: 12px;
	grid-auto-rows: minmax(30px, auto);
}

  
.entry-content .discover.view.is-single-preview {
	display: block !important;
	max-width: 300px;
}

body.search  .ast-container.search-results > .ast-row > .discover.view > .search_result,
.entry-content .discover.view > .search_result {
	padding: 10px 0;
}

body.search .ast-container.search-results .no-results.not-found {
	padding: 0 2px;
}
body.search .ast-container.search-results .no-results.not-found p {
	margin-bottom: 5px;
}

body.search .ast-container.search-results .no-results.not-found .search-form {
	display: none;
}

.dataTable ul {
    margin-left: 0;
}

table.dataTable tbody tr td:first-child a {
	font-weight: 600;
}

.dataTables_wrapper .dataTables_length {
	margin-bottom: 10px;
}
.dataTables_wrapper .dataTables_filter {
	display: none;
}

body.search .ast-pagination {
	display: none;
}

body.search .ast-container.search-results .search-result,
.entry-content .discover.view .search-result,
.gp-similar-posts .content-container .similar_posts .search-result {
	clear: both;
	margin-bottom: 20px;
	background: var(--blue-lightest);
	transition: 0.5s ease background;
} 

body.search .ast-container.search-results .search-result:hover,
.entry-content .discover.view .search-result:hover,
.gp-similar-posts .content-container .similar_posts .search-result:hover {
	background: var(--blue-lighter);
}

body.search .ast-container.search-results .search-result {
	padding-bottom: 10px;
}

body.search .ast-container.search-results .search-result[class*="filtered-"],
.dataTable tr[class*="filtered-"] {
	display: none !important;
}

body.search .ast-container.search-results .search-result .text-container,
body.search .ast-container.search-results .search-result .projekt-breadcrumbs,
.entry-content .discover.view .search-result .text-container,
.entry-content .discover.view .search-result .projekt-breadcrumbs,
.gp-similar-posts .content-container .similar_posts .search-result .text-container,
.gp-similar-posts .content-container .similar_posts .search-result .projekt-breadcrumbs {
	padding: 0px 10px;
    display: block;
    text-decoration: none;
}


body.search .ast-container.search-results .search-result .additional-info,
.entry-content .discover.view .search-result .additional-info,
.gp-similar-posts .content-container .similar_posts .search-result .additional-info {
	padding: 0 10px 10px;
}

body.search .ast-container.search-results .search-result .thumbnail img,
.entry-content .discover.view .search-result .thumbnail img,
.gp-similar-posts .content-container .similar_posts .search-result .thumbnail img {
    height: 200px;
    object-fit: cover;
    width: 100%;
	display: block;
	position: relative;
	transition: .5s ease transform;
}

body.search .ast-container.search-results .search-result:hover .thumbnail img,
.entry-content .discover.view .search-result:hover .thumbnail img,
.gp-similar-posts .content-container .similar_posts .search-result .thumbnail img {
	transform: scale(1.1);
}

body.search .ast-container.search-results .search-result .thumbnail,
.entry-content .discover.view .search-result .thumbnail,
.gp-similar-posts .content-container .similar_posts .search-result .thumbnail  {
    margin-bottom: 12px;
    display: block;
    height: 160px;
	overflow: hidden;
}

body.search .ast-container.search-results .search-result.projekt .thumbnail,
.entry-content .discover.view .search-result .thumbnail,
.gp-similar-posts .content-container .similar_posts .search-result .thumbnail {
	height: 150px;
}


body.search .ast-container.search-results .categories.tag-items,
.gp-similar-posts .content-container .similar_posts .search-result .categories.tag-items {  
    padding-left: 10px;  
}

body.search .ast-container.search-results .search-result h5,
.entry-content .discover.view .search-result h5, 
.gp-similar-posts .content-container .similar_posts .search-result h5 {
	margin-bottom: 5px;
	height: 16px;
	overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: 500;
}

body.search .ast-container.search-results .search-result h3,
.entry-content .discover.view .search-result h3,
.gp-similar-posts .content-container .similar_posts .search-result h3 {
	height: 45px;
	font-size: 1.08rem;
	margin-bottom: 5px;
	margin-top: 0;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: 500;
}

.entry-content .discover.view .search-result h3 {
	height: 39px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

body.search .ast-container.search-results .search-result h3 {
	height: 45px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: 500;
}

body.search .ast-container.search-results .search-result .text-container > p,
.thn-datatable .excerpt,
.entry-content .discover.view .search-result .text-container > p,
.gp-similar-posts .content-container .similar_posts .search-result .text-container > p {
	font-size: .9rem;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.35em;
    -webkit-line-clamp: 12;
    line-clamp: 12;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 12px;
    color: #002d67;
    margin-top: 12px;
}

table.dataTable {
    border-bottom: 0 none;
    margin-bottom: 10px;
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd,
table.dataTable.display tbody tr.odd>.sorting_1, 
table.dataTable.order-column.stripe tbody tr.odd>.sorting_1,
table.dataTable.display tbody tr.odd>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd>.sorting_1,
table.dataTable.display tbody tr.even>.sorting_1, table.dataTable.order-column.stripe tbody tr.even>.sorting_1,
 {
    background-color: rgb(234 236 240 / 41%);
}
table.dataTable.hover tbody tr.odd:hover, table.dataTable.display tbody tr.odd:hover {
    background-color: rgb(234 236 240 / 41%);;
}
table.dataTable.hover tbody tr.even:hover, table.dataTable.display tbody tr.even:hover {
    background-color: #fff;
}

.dataTable span,
.dataTable a,
.dataTable p  {
    font-size: .85rem;
    line-height: 1.4em;
}
.dataTable span.hidden {
	display: none;
}

.dataTable ul {
	margin-left: .8em;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #002d67;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    padding: 6px 10px !important;
    background: #f3f8fc !important;
    margin: 3px;
    color: #002d67 !important;
    border: 0 !important;
    border-radius: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	background:  rgb(0 70 159 / 20%) !important;
    color: #002d67 !important;
	border:  0 none;
}

.dataTables_wrapper .dataTables_paginate {
    float: none;
    text-align: center;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
	display: none !important
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #ddd;
}


/* responsive datatable */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
	padding-left: 10px;
}
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    content: " ";
    background-color: transparent;
    box-shadow: none;
    border: none;
    width: 0;
    height: 0;
}

table.dataTable tbody tr td:first-child > a {
    min-width: 200px;
}

.thn-datatable .excerpt {
	min-width: 300px;
	height: auto;
	margin-bottom: 0;
}
.thn-datatable .date > p {
	min-width: 200px;
	margin-bottom: 0;
}

table.dataTable>tbody>tr.child ul.dtr-details {
	width: 100%;
}
table.dataTable.display tbody tr.even>.sorting_1,
table.dataTable.order-column.stripe tbody tr.even>.sorting_1,
table.dataTable.display tbody tr.odd>.sorting_1,
table.dataTable.order-column.stripe tbody tr.odd>.sorting_1 {
    background-color: initial;
}


body.search .ast-container.search-results .search-result .additional-info .type {
	font-size: 13px;
	font-weight: 500;
    clear: both;
    height: 21px;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical; 
    text-overflow: ellipsis;
    align-self: flex-end;
}

body.search .ast-container.search-results .search-result .additional-info .small {
	font-size: 13px;
	font-weight: 500;
}

table.dataTable thead .sorting_disabled.sorting_asc {
    background-image: none !important;
}

table.dataTable thead .sorting {
	background-size: 19px !important;
}

body.search .ast-container.search-results .search-result-header {
    padding: 10px 0px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

body.search .ast-container.search-results .search-result-header h2 {
	font-size: 1.2rem;
}

body.search .pagination {
	text-align: center;
}

body.search .pagination .page { 
    padding: 6px 10px;
    background: #f3f8fc;
    margin: 30px 3px 20px 3px;
    display: inline-block;
}
body.search .pagination .page.hidden {
	display: none;
}
body.search .pagination .last-divider.hidden,
body.search .pagination .first-divider.hidden {
	display: none;
}

body.search .pagination .page.active {
	background: rgb(0 70 159 / 20%);
}

/* projekte - archive */
.wp-block-uagb-section.uagb-block-gp-archive {
    max-width: 50rem;
    width: 100%;
    margin: auto;
    padding: 20px;
    position: relative;
}

.wp-block-uagb-section.uagb-block-gp-archive .uagb-section__overlay {
   	background: linear-gradient(34deg,#002d67 0%,#4b8ee5 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 2px;
}

.wp-block-uagb-section.uagb-block-gp-archive .uagb-section__overlay .searchbutton input[type=submit] {
	background: #82a7d5;
}
.wp-block-uagb-section.green .searchbutton input[type=submit] {
	background: #36ad9f;
}
.wp-block-uagb-section.red .searchbutton input[type=submit] {
	background: #ca3440;
}

.uagb-section__wrap .uagb-section__inner-wrap {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.archive .list.view {
	margin-top: 30px;
}

.archive .list.view > .list-inner {
	padding: 30px;
}

.archive .discover.view > .button_wrap {
	padding: 30px 0 50px;
	text-align: center;
	border-bottom:  40px solid #eaecf0;
}
.archive .discover.view > .button {
	margin: 20px;
}

.archive .category_title {
	background: linear-gradient(34deg,#002d67 0%,#4b8ee5 100%);
	color: #fff;
	font-size: 1.06rem;
    padding: 10px 32px;
    font-weight: 500;
    border-top: 30px solid #e9ecf0;
}

.archive  .category_title a { 
	color: #fff;
}

.archive #content > .ast-container {
	background: transparent;
	padding: 0;
}

.archive #content > .ast-container .view {
	background: #fff;
}

.archive #content > .ast-container .view .articles {
	padding: 0 30px;
}

.archive #content article > a {
	display: flex;
	color: #002f6c;
	text-decoration: none;
}

.archive #content article > a .col:first-child {
	width: 33%;
	padding: 20px 0;
}


.archive #content article > a .projekt-date {
	margin-bottom: 20px;
}

.archive #content article:not(.big) > a .col:nth-child(2) {
	width: 66%;
	padding: 20px;
}

.archive #content > .ast-container {
	background: transparent;
}


.post-type-archive-projekt #content article h3 {
    margin-bottom: 14px;
}

/* discover view (projekte): first article per category is big */

.post-type-archive-projekt #content article.big h2,
.entry-content .discover.view > .search-result.big h2 {
    margin-bottom: 20px;
}


.post-type-archive-projekt #content article.big > a {
	display: block;
}

.post-type-archive-projekt #content article.big > a .col:first-child {
	width: 100%;
	
}

.post-type-archive-projekt #content article.big > a .col:first-child img {
	height: 400px;
	object-fit: cover;
}

.ast-no-sidebar .wp-block-cover.alignfull {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.ast-no-sidebar .wp-block-cover.alignfull .header_section_block {
	background: #35ae9e;
	color: #fff;
	width: 500px;
	z-index: 1;
	padding: 20px;
}

.entry-content.divider-container .alignfull > .wp-block-group > .wp-block-group__inner-container > .wp-block-columns {
	max-width: 1200px !important;
}

.entry-content.divider-container .alignfull > .wp-block-group {
	padding: 0;
}

.entry-content.divider-container .alignfull > .wp-block-media-text.has-media-on-the-right {
	padding-left: 20px;
}

.divider-container .searchandfilter div.searchbutton {
	display: inline-block;
}

/* projekt - detail page */

.projekt-header {
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    background: var(--blue);
	background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
} 

.projekt-header .projekt-header-overlay {
	height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: none 50%/cover no-repeat transparent;
    opacity: .7;
   /* filter: blur(0) saturate(150%) brightness(75%) contrast(1.4); */
}

.ast-breadcrumbs .trail-items {
	font-size: .85rem;
	margin-bottom: 10px;
}

.categories.tag-items {  
    display: flex;
    list-style-type: none;
    font-size: .85rem;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.3rem;
}

.categories.tag-items li a {    
    background: var(--blue);
    border-radius: 6px;
    padding: 3px 8px;
    line-height: 0.85rem;   
    opacity: .8;
	color: #fff;
    text-decoration: none;
}
.categories.tag-items li a:hover {
	opacity: 1; 
	color: #fff;
}    

.projekttypen.trail-items,
.jahre.trail-items {    
	display: inline-block;
    list-style-type: none;
    font-size: .85rem;
    padding-left: 10px;
    margin-right: 8px;
    position: relative;
}
.projekttypen.trail-items:after {
    content: "\00BB";
    position: absolute;
    right: -13px;
    top: -1px;
}

.projekt-breadcrumbs ul,
.dataTable ul {
	list-style: none;
	font-size: .85rem;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}

.projekt-breadcrumbs ul.categories li:last-child:after,
.dataTable ul.categories li:last-child:after { 
	content: "";
}

.projekt-breadcrumbs ul.tags li,
.dataTable ul.tags li {
	background: #82a7d5;
	padding: 1px 6px;
	margin: 0 4px 3px 0;
	border-radius: 2px;
}

.dataTable ul.tags li a {
	color: #fff;
}

/** 
 * Statische Seiten (Pages)
 */

body.page .entry-content {
	padding: 0px 30px 50px;
}

body.page .ast-breadcrumbs-wrapper {
	padding: 30px 30px 0; /* seitlich muss gleich wie entry-content sein, ist auf gleicher ebene */
}

body.page #content > .ast-container #primary {
	position: relative;
	background: #fff;
	padding: 20px;
	box-shadow: var(--boxshadow);
	margin-top: 100px;
	margin-bottom: 100px;
}

body.page .page-header-image {
	position: absolute;
	z-index: -1;
	top: -100px; /* entspricht neg. top-margin von #primary */
	left: 0;
}

body.page .page-header-image img {
	border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.uagb-infobox-link-wrap + .uagb-ifb-content {
	opacity: 1;
	transition: .3s ease opacity;
}

.uagb-infobox-link-wrap:hover  + .uagb-ifb-content {
	opacity: .8;
}

/**
 * 
 * Startseite
 */

body.home.page #content > .ast-container #primary {
	margin-top: 0;
	padding-top: 0;
	background: transparent;
    padding: 0;
    box-shadow: none;
}

body.home.page .entry-content {
    padding: 0;
}

/*
body.home.page .wp-block-uagb-container.start-fake-header {
	background: #f1f7fa;
	padding: 0;
}
body.home.page .wp-block-uagb-container.start-fake-header .wp-block-spacer {
	box-shadow:  0 5px 2px -5px #002f4e21;
}*/
    
/** 
 * Projekte ( / Posts)
 */
body.single article {
	margin-bottom: 10px;
}

body.single #content > .ast-container #primary {
	position: relative;
	background: #fff;
	padding: 20px;
	margin-bottom: 50px;
	box-shadow: var(--boxshadow);
	margin-top: -100px;
}

body.single-projekt .wp-block-uagb-container.highlightbox {
	margin-top: 20px;
	margin-bottom: 20px;
    background: linear-gradient(90deg, var(--blue-lighter) 0%, var(--blue-lightest) 100%);
}

body.single-projekt .wp-block-uagb-container.highlightbox .uagb-container-inner-blocks-wrap {
	padding: 30px 50px 12px;
}

body.single-projekt .projekt-title {
	margin-bottom: 30px;
}
body.single-projekt .projekt-title h1 {
	font-size: 1.4rem;
	font-weight: 600;
}

body.single-projekt .similar-projekte {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--blue-lighter);
}

body.single-projekt .ast-breadcrumbs-wrapper:not(.projekt-breadcrumbs) {
	display: none !important;
}

body.single-projekt .entry-content .wp-block-verse {
	color: var(--blue);
    background: transparent;
    font-family: inherit;
    padding: 0;
    margin: 40px 0;
    border-left: 5px solid var(--blue-lighter);
    padding-left: 15px;
}

body.single-projekt .entry-content ul {
	margin-bottom: 25px;
}

body.single-projekt .entry-content ul li,
body.single-projekt .entry-content ol li {
	margin-bottom: 10px;
}

body.single-projekt .entry-content ul ul {
	margin-bottom: 0px;
	list-style-type: circle;
}

body.single-projekt .entry-content ul ul ul {
	margin-bottom: 0px;
	list-style-type: square;
}

body.single-projekt .entry-content ul ul li,
body.single-projekt .entry-content ol ol li {
	margin-bottom: 0px;
}

body.single-projekt .entry-content ul.categories {
	margin-bottom: 0 !important;
}

body.single-projekt .entry-content ul.tags li,
body.single-projekt .entry-content ul.categories li {
	margin-bottom: 3px !important;
}

.projekt-footer.site-bottom.contacts p {
	margin-bottom: 0;
}

.projekt-footer.site-bottom h2 {
	margin-bottom: 1em;
}

.projekt-footer.site-bottom.contacts .columns.card {
	display: grid;
	margin-bottom: 20px;
    grid-template-columns: 100px auto 200px;
}

.projekt-footer.site-bottom.contacts .columns.card .col:nth-child(2) {
	margin-left: 20px;
}

.projekt-footer.site-bottom.contacts .columns.card .portrait {
	width: 100px;
    height: 140px;
    object-fit: cover;
}

.projekt-footer.site-bottom.contacts .columns.card .right p {
	text-align: right;
}

.single-projekt .navigation.post-navigation {
	display: none;
}


/* highlight linkboxes */

.wp-block-uagb-container.linkboxen .uagb-container-inner-blocks-wrap {
    padding: 0 50px;
}


/* dataTables */

table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
    border-top: 0;
    font-size: .85rem;
}
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd,
table.dataTable.hover tbody tr.odd:hover, table.dataTable.display tbody tr.odd:hover,
table.dataTable.display tbody tr.odd>.sorting_2, table.dataTable.order-column.stripe tbody tr.odd>.sorting_2 {
	background-color: #f1f7fa;
}

table.dataTable.display tbody tr.odd>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd>.sorting_1 {
    background-color: #ebf3f8;
}
table.dataTable.display tbody tr.even>.sorting_1, table.dataTable.order-column.stripe tbody tr.even>.sorting_1{
    background-color: #fafcfd;
}

table.dataTable.display tbody tr.even>.sorting_2, table.dataTable.order-column.stripe tbody tr.even>.sorting_2 {
    background-color: #fff;
}

#thn-projekt-datatable_length {
	display: none;
}

/* sidebars (beiträge) */ 

.wp-block-coblocks-accordion-item__title.has-background:not(.has-background), 
.wp-block-coblocks-accordion-item__title:not(.has-background) {
    background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    outline: none;
    cursor: pointer;
    padding: 10px;
}

.wp-block-coblocks-accordion-item__content,
.wp-block-coblocks-accordion-item,
.wp-block-coblocks-accordion-item__title,
.wp-block-coblocks-accordion-item__title:after {
	border-radius: 0 !important;
}

.gp-similar-posts .content-container .similar_posts {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    grid-auto-rows: minmax(30px, auto);
	margin-top: 20px;
}
.gp-similar-posts .content-container .similar_posts .search-result {
	padding-bottom: 10px;
}

.gp-similar-posts  a > .col.image {
	margin-right: 10px;
	background: none 50%/cover transparent;
}

.gp-similar-posts .sidebar-container a {
	display: flex;
	flex-direction: row;
	padding-bottom: 10px;
}

.gp-similar-posts .sidebar-container  a > .col.image {
	width: 20%;
}
.gp-similar-posts .sidebar-container  a > .col.text {
	width: 80%;
}

.gp-similar-posts .sidebar-container a > .col.text .title {
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.gp-similar-posts a > .col.text .date {
    font-size: .85em;
    color: #82a7d5;
}

.wp-block-coblocks-accordion-item__content {
	background: #fff;
	border: 0;
}
#secondary ul {
	margin-left: 0px;    
	list-style: none;
}

#secondary,
#secondary li,
#secondary p,
#secondary a {
    margin-bottom: 0.5em;
    line-height: 1.2em;
}

.single-projekt .sidebar-container {
	background: #fff;
	padding: 20px;
}

.single-projekt .sidebar-container ul {
	list-style-type:  disc;
}

.single-projekt .entry-content .sidebar-only {
	display: none !important;
}

.additional-information .accordion-title {
	margin-bottom: 1em;
}

.additional-information {
	margin-bottom: 20px;
}

.additional-information .accordion-close-all {
	float: right;
}

.additional-information.bluebox {
	background: linear-gradient(145deg, var(--blue-light) 0%, var(--blue) 100%);
	color: #fff;
	padding: 1rem 1rem .5rem;
	box-shadow: var(--boxshadow);
}
.additional-information.bluebox:first-child {
	background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.additional-information.bluebox h3 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: .5rem;
}

.additional-information.bluebox p,
.additional-information.bluebox a {
	font-size: .8rem;
	color: #fff;
}

.additional-information.bluebox a {
    text-indent: -18px;
    display: block;
    margin: 10px 14px;
}
.additional-information.bluebox a:hover {
	color: #fff !important;
	opacity: .8;
}

body.single #primary {
	margin: 0; 
}

.ast-right-sidebar #primary,
.ast-right-sidebar #secondary {
	border-right: 0;
	border-left: 0;
	padding: 0;
}

.ast-right-sidebar #secondary {
	margin-top: 30px;
	display: none;
}

.ast-right-sidebar.sidebar-disabled #primary {
    width: 100%;
}

.ast-right-sidebar #primary .site-main,
.ast-right-sidebar #primary .site-bottom {
	padding: 30px 40px;
	margin-bottom: 20px; 
}

.ast-right-sidebar .entry-content h2,
.ast-right-sidebar .entry-content h3,
.ast-right-sidebar .entry-content h4, 
.ast-right-sidebar .entry-content h5 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.ast-right-sidebar .entry-content p, 
.ast-right-sidebar .entry-content ul, {
	margin-bottom: 1em;
}


.ast-right-sidebar #secondary {
    padding-left: 20px;
}

#content .wp-block-cover:first-child .wp-block-uagb-section,
.entry-content .wp-block-cover:first-child .wp-block-uagb-section {
    padding: 24px 36px;
    position: absolute;
    bottom: 20px;
    top: auto;
    /*width: calc(1200px/2 + (100% - 1200px)/2 - 30px);*/
    width: 50vw;
    max-width: 50vw;
    padding-left: calc((100% - 1200px)/2);
    left: 0;
}

@media (max-width: 1249px) {
	#content .wp-block-cover:first-child .wp-block-uagb-section, 
	.entry-content .wp-block-cover:first-child .wp-block-uagb-section {
		width: 70vw;
		max-width: 70vw;
	    padding-left: 20px;
	    padding-right: 20px;
	}
}

@media (max-width: 1200px) {
	.wp-block-group .wp-block-group {
	    padding: 0;
	}
}

@media (max-width: 1199px) {
		h1, .entry-content h1 {
		font-size: 1.6rem;
	}
	h2, .entry-content h2 {
	    font-size: 1.4rem;
	}
	h3, .entry-content h3 {
	    font-size: 1.2rem;
	}
	h4, .entry-content h4 {
		font-size: 1rem;
	}
	h5, .entry-content h5 {
    	font-size: 0.86rem;
	}

	body.search .ast-container.search-results > .ast-row .discover.view {
	    grid-template-columns: repeat(2, 1fr);
	}

	.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
	    padding: 40px 20px;
	}
	.site-primary-header-wrap > .ast-builder-grid-row {
		grid-column-gap: 5px;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
		margin:0 10px 0 0;
	}

	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child {
		margin-right: 10px;
	}
}



@media (max-width: 1023px) {
	/* custom breakpoint for main menu! */
	#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
	    padding: 10px 0;
	    background: #fff;
	    border-top: 5px solid #e7f5ed;
	    border-bottom: 5px solid #e7f5ed;
	}
}



@media (max-width: 921px) {
	body.search .ast-container.search-results > .ast-row .discover.view {
		display: block;
	}
	.view-switcher {
	    margin-bottom: 30px;
	}

	#primary {
	    margin-top: 10px;
	}
	body.page #content > .ast-container #primary {
		box-shadow: none;
	}

	.ast-builder-grid-row.ast-grid-center-col-layout-only .ast-grid-section-center {
		padding: 20px 0;
	}
	.ast-builder-grid-row-container.ast-builder-grid-row-tablet-3-equal .ast-builder-grid-row {
	    display: block;
	}
	.site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section-2,
	.site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section-3 {
		margin-top: 50px;
	}
	.ast-right-sidebar #secondary {
	    padding-left: 20px;
	    padding-right: 20px;
	}
	table.dataTable tr.child img {
		display: none !important;
	}
	body.home.page #content > .ast-container #primary {
		padding: 0 20px;
	}

	body.search form.searchandfilter ul {
	    display: block;
	}
	body.search form.searchandfilter ul > li {
	    display: block;
	}

	.searchandfilter input[type=text],
	.chosen-container-single .chosen-single, .chosen-container-multi .chosen-choices {
		width: 100%;

	}
	body.search .ast-container.search-results .search-result-header {
		display: block;
	}
}



@media (max-width: 767px) {
	body {
	    font-size: 14px;
	}
	h1, .entry-content h1 {
		font-size: 1.4rem;
	}
	h2, .entry-content h2 {
	    font-size: 1.3rem;
	}
	h3, .entry-content h3 {
	    font-size: 1.1rem;
	}
	h4, .entry-content h4 {
		font-size: 1rem;
	}
	h5, .entry-content h5 {
    	font-size: 0.86rem;
	}

	h1 small, .wp-block-uagb-advanced-heading .uagb-desc-text {
	    font-size: 1.1rem;
	}

	body.page .entry-content {
		padding: 0 10px;
	}
	body.page .ast-breadcrumbs-wrapper {
		padding: 20px 10px 0;
	}
	.entry-content ul, .entry-content ol {
	    padding: 0;
	    margin: 20px 0;
	    padding-left: 14px;
	}

	body.page #content > .ast-container #primary {
		padding: 10px;
	}
	.ast-right-sidebar #primary .site-main, .ast-right-sidebar #primary .site-bottom  {
		padding: 30px 0px;
	}

	#content .wp-block-cover:first-child, .entry-content .wp-block-cover:first-child {
		display: block;
	}

	.wp-block-cover-image img.wp-block-cover__image-background, .wp-block-cover-image video.wp-block-cover__video-background, .wp-block-cover img.wp-block-cover__image-background, .wp-block-cover video.wp-block-cover__video-background {
		position: static;
	}
	#content .wp-block-cover:first-child .wp-block-uagb-section, 
	.entry-content .wp-block-cover:first-child .wp-block-uagb-section {
		width: 100vw;
		max-width: 100vw;
		position: relative;
	}
	#content .wp-block-cover:first-child .wp-block-uagb-section, 
	.entry-content .wp-block-cover:first-child .wp-block-uagb-section {
		bottom: 0;
	}

	.wp-block-uagb-section.uagb-block-gp-archive .uagb-section__overlay {
		position: absolute;
	}

	.wp-block-uagb-buttons .uagb-buttons-repeater .uagb-button__link, .wp-block-button .wp-block-button__link, a.button {
	    font-size: .9rem;
	    line-height: 1.3rem;
	}

	.projekt-header {
		display: block;
		height: auto;
	}
	.projekt-header .projekt-header-overlay {
		height: 260px;
		position: static;
	}

	.wp-block-uagb-section.alignfull .uagb-section__inner-wrap {
	    padding-left: 0;
	} 

	.site-content .ast-container {
		padding-left: 0;
		padding-right: 0;
	}

	.highlight-linkboxes-button .wp-block-uagb-info-box {
		margin-right: 0;
		margin-bottom: 20px;
	}
	.entry-content.divider-container .alignfull > .wp-block-group {
	    padding: 20px;
	}
	.archive #content > .ast-container .view .articles {
	    padding: 0 20px;
	}
	.archive .category_title {
		padding: 10px 21px;
	}

	.highlight-linkboxes-button .uagb-ifb-desc {
		height: auto;
	}
	.view-switcher {
	    margin-right: 20px;
	}

	body.search .result-tabs .tab.button {
    	padding: 10px 12px;
    	display: block;
    	margin: 10px;
	}

	.wp-block-uagb-buttons .uagb-buttons-repeater .uagb-button__link,
	.wp-block-button .wp-block-button__link,
	a.button {
		font-size: .9rem;
	}

	input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
		font-size: .85rem;
	}

	table.dataTable tbody tr.dt-hasChild {
		background: #e6eef9 !important;
	}
	table.dataTable tbody tr td:first-child > a {
    	font-size: 1.1rem;
	}
	.chosen-container.chosen-container-single, .chosen-container.chosen-container-multi {
	    padding: 5px 0px;
	}

	body.search .ast-container.search-results > .ast-row .discover.view.active, 
	.entry-content .discover.view.active,
	.gp-similar-posts .content-container .similar_posts {
		display: block;
	}

	.wp-block-details .wp-block-columns .wp-block-image {
		text-align: center;
	}
	.wp-block-details .wp-block-columns .wp-block-image img {
		max-height: 300px;
		width: auto;
	}
	.wp-block-details summary{
		font-size: 1rem;
	}
	.entry-content .wp-block-media-text .wp-block-media-text__content, .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		padding: 50px 20px;
	}
}


@media (max-width: 544px) {
	.chosen-container.chosen-container-single, .chosen-container.chosen-container-multi {
	    width: 100% !important;
	    height: 100%;
	}

}
