/*

	Theme Name: ACE Lenkrad
	Author: Die Magaziniker, Content-Partner der Industrie, Stuttgart & München
	Author URI: https://magaziniker.de
	Description: Template for Online-Magazin LENKRAD des ACE
	Template: chaplin
	Version: 1.0.6
	Text Domain: chaplin
	
	Based on mag2go v1.0.2
	
	*/

	/* fira-sans-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/fira-sans-v17-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-300italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 300;
  src: url('assets/fonts/fira-sans-v17-latin_latin-ext-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/fira-sans-v17-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/fira-sans-v17-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




:root {
	
	/* Typography */
	--body-font: "Fira Sans", sans-serif;
	--body-weight: 300;
	--body-spacing: 0em;
	--headings-font: "Fira Sans", sans-serif;
	--headings-weight: 700;
	--headings-transform: none;
	--headings-spacing: 0em;
	
	/* Colors */

	--ace-black: #1E1E1E;
	--ace-red: #E2001A;
    --ace-navi-green: #29728E;
    --ace-neutral-grey:#8F9FA8;
    --ace-auto-green: #499AA4;
    --ace-mobil-blue: #006996;
	--ace-europe-blue: #009ECE;
	--ace-dark-green: #007A89;

	--primary-color: #1E1E1E;
	--secondary-color: #1E1E1E;
	--accent-color: #E2001A;
	
	--headings-color: #1E1E1E;
	
	--background-color: unset;
	--light-background-color: #EAEAEA;
	--header-background-color: #ffffff;
	--header-border-color: #939597;
	--footer-background-color: #29728E;
	
	--border-color: #939597;
	
	
	--buttons-background-color: #E2001A;
	--buttons-background-hover-color: #E2001A;
	--buttons-text-color: #FFFFFF;
	--buttons-text-hover-color: #FFFFFF;
	
	--overlay-text-color: #fff;

}

/* search for * colors and style * for more colors to set */

body {
  --viewportWidth: calc(100vw - var(--scrollbarWidth));
  --m2g-startpage-extra-width: 140rem;
}
/* var(--viewportWidth, 100vw); */

:root {
	--mgznkr-header-height-full: 87px;
	--mgznkr-header-height-small: 66px;
}
@media (min-width: 400px){
:root {
	--mgznkr-header-height-full: 104px;
	--mgznkr-header-height-small: 82px;
}
}
@media (min-width: 700px){
:root {
	--mgznkr-header-height-full: 118px;
	--mgznkr-header-height-small: 82px;
}
}
@media (min-width: 1000px){
:root {
	--mgznkr-header-height-full: 177px;
	--mgznkr-header-height-small: 82px;
}
}

/* wp-json stuff */
@media (max-width: 699px) {

.ace-fonts-mobile-smaller {
	font-size: 2.4rem!important;
}
.has-groesser-font-size.ace-fonts-mobile-smaller {
	font-size: 2.8rem!important;
}
}

body {
	font-size: 1.8em;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
	font-family: var(--body-font);
	font-weight: 300;
	font-weight: var(--body-weight);
	font-style: normal;
	letter-spacing: var(--body-spacing);
	line-height: 1.4em;
	color: #000;
	color: var(--primary-color);
	background: #fff;
	background: var(--background-color);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
}


h1, h2, h3, h4, h5, h6, .faux-heading {
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
	font-family: var(--headings-font);
    font-weight: 700;
    font-weight: var(--headings-weight);
    color: inherit;
    color: var(--headings-color);
    text-transform: var(--headings-transform);
	letter-spacing: var(--headings-spacing);
}

h2, .heading-size-2, h3, .heading-size-3, 
h4, .heading-size-4, h5, .heading-size-5, 
h6, .heading-size-6 {
    margin-bottom: 2rem;
}

h3, .heading-size-3 { font-size: 2.6rem; }

h3, .heading-size-3, 
h4, .heading-size-4, 
h5, .heading-size-5, 
h6, .heading-size-6 {
      line-height: 1.3;
}

@media (min-width: 700px) {
h2, .heading-size-2 {
    font-size: 3.4rem;
}
h3, .heading-size-3 {
    font-size: 3.0rem;
}
h4, .heading-size-4 {
    font-size: 2.6rem;
}
h5, .heading-size-5 {
    font-size: 2.2rem;
}
h6, .heading-size-6 {
    font-size: 2.0rem;
}
}

p {
    line-height: 1.6;
}

.wp-block-buttons {
	display: flex;
}

@media (min-width: 1200px) {
.entry-content p,
.entry-content ul,
.entry-content ol,
.page-list-header p { 
	font-size: 2.0rem;
}
}

.entry-content h2 { 

}

b, strong {
	font-weight: 700;
	}

a {
    color: inherit;
    text-decoration: underline;
	text-underline-offset: 3px;
}

a:hover {
    color: #007C89;
    color: var(--accent-color);
    text-decoration: underline;
}
#site-footer a:hover {
    color: var(--buttons-text-hover-color);
}

hr {
	color: var(--border-color);
}

hr.wp-block-separator {
	border-bottom: none;
}

hr.wp-block-separator.is-style-wide {
	width: 130px;
	max-width: 33%;
	border-top-width: 10px;
}
.has-text-align-right + hr.wp-block-separator.is-style-wide {
margin-left: auto;
}
.has-text-align-center + hr.wp-block-separator.is-style-wide {
margin-left: auto;
margin-right: auto;
}

#mgznkr-matomo-optout-text label {
	font-size: inherit;
}

.nobr  {  white-space: nowrap;  hyphens: none;  }

@media (max-width: 699px) {
.m2g-hide-xs {
	display: none!important;
}
}

@media (max-width: 999px) {
.m2g-hide-s {
	display: none!important;
}
}

@media (min-width: 1000px) {
.m2g-hide-l {
	display: none!important;
}
}

@media (min-width: 1240px) {
.m2g-hide-xl {
	display: none!important;
}
}

figcaption, .wp-caption-text {
	font-weight: 300;
}

/* ----------------------------------------------------------------------------------- */
/* fix for wp6.0 had inline styles for this 
we removed those in functions.php and add default values here */

.wp-block-columns {
display: flex;
gap: 2em;
flex-wrap: nowrap;
align-items: center;
}
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*="flex-basis"] {
  flex-grow: 1;
}
.wp-block-columns,
.wp-block-column {
font-size: inherit;
}

/* ----------------------------------------------------------------------------------- */
/* chaplin fix for line 2932 ... with WP 6.0 there was in block-library 
.wp-block-quote.is-style-large:not(.is-style-plain) p */

.entry-content .wp-block-quote.is-style-large {
	padding: 0 1em;
}

.entry-content .wp-block-quote.is-large p,
.entry-content .wp-block-quote.is-style-large p {
	font-size: inherit;
	font-style: normal;
	line-height: 1.25;
}

.entry-content .wp-block-quote.is-large cite,
.entry-content .wp-block-quote.is-large footer,
.entry-content .wp-block-quote.is-style-large cite,
.entry-content .wp-block-quote.is-style-large footer {
	font-size: 1.7rem;
	text-align: inherit;
	margin-top: 1.5rem;
}

[class*="__inner-container"] .wp-block-group:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright),
[class*="__inner-container"] .wp-block-cover:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
	margin-left: auto;
	margin-right: auto;
	max-width: unset;
}


.entry-content .wp-block-column .wp-block-quote.has-text-align-left {
	padding-left: 0;
}
.entry-content .wp-block-column .wp-block-quote.has-text-align-right {
	padding-right: 0;
}


/* reset - because of chaplin */
body.m2g .wp-block-group.alignfull:not(.has-background) > [class*="__inner-container"] > .wp-block-group:not(.alignfull):not(.alignleft):not(.alignright), 
body.m2g .wp-block-group.alignfull:not(.has-background) > [class*="__inner-container"] > .wp-block-cover:not(.alignfull):not(.alignleft):not(.alignright) {
margin-left: auto;
margin-right: auto;
}

/* chaplin has border: none for all elements as reset - custom borders only set the new width*/

*.has-border-color {
	border: 0px solid;
}

:root .has-border-color {
  color: unset;
}


#site-content {
	overflow: clip; /* chaplin has hidden */
	margin-top: 6rem;
  }
.post-template-template-cover #site-content,
#site-content:has(.posts > .grid > .mgznkr-content-slider.alignfull) {
	margin-top: 0;
  }

/* chaplin had this for inner-containers / wp 6.7
:root *[class*="_inner-container"] > *:first-child { margin-top: 0; }
:root *[class*="_inner-container"] > *:last-child { margin-bottom: 0; } */


:root .wp-block-group:not(:has(.wp-block-group__inner-container)) > *:first-child { margin-top: 0; }
:root .wp-block-group:not(:has(.wp-block-group__inner-container)) > *:last-child { margin-bottom: 0; }



/* ----------------------------------------------------------------------------------- */
/* the new meta-menu in head and modal ----------------------------------------------- */


.m2g-meta-menu {
	list-style: none;
	width: max-content;
}

.m2g-meta-menu > li {
	margin: 1rem;
	font-size: inherit;
	line-height: 1.25;
	position: relative;
}

.m2g-header-meta-wrapper .m2g-meta-menu > li:last-child,
.menu-modal .m2g-meta-menu > li {
	margin-right: 0;
}

.m2g-meta-menu a {
	color: inherit;
	display: block;
	line-height: 1;
	text-decoration: none;
	padding: 1rem;
	font-weight: 500;
}

.m2g-meta-menu a:hover {
	text-decoration: underline;
}

.menu-modal a:hover,
.m2g-meta-menu a:hover {
    color: var(--primary-color);
}

.m2g-header-meta-wrapper .m2g-meta-menu {
	display: none;
}


.m2g-meta-widget-container .wp-block-image {
	margin-top: 0;
	margin-bottom: 0;
}

.m2g-meta-menu .fa {
	margin-left: 0.5em;
}

@media (min-width: 1000px) {
	
.m2g-header-meta-wrapper .m2g-meta-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	font-size: 1.5rem;
	margin: 0 -1rem 2.4rem 0;
	}
}

@media (max-width: 999px) {

.m2g-meta-menu {
	margin: 1rem 0 0 0;
	}

.m2g-meta-menu a {
	text-align: right;
	padding: 2rem 0.5rem 2rem 0;
	}
}

@media (max-width: 699px) {

.menu-meta-menue-container > ul {
	margin: 4rem 0 0 0;
	}

.menu-meta-menue-container > ul a {
	text-align: right;
	padding: 1.25rem 0.5rem 1.25rem 0;
	}
}




.m2g-meta-menu > li.m2g-nav-spacer > *,
.m2g-meta-menu > li.m2g-nav-divider > * {
	display: none;
}

.m2g-meta-menu > li.m2g-nav-spacer,
.m2g-meta-menu > li.m2g-nav-divider {
	border-color: #E1E1E3;
	border-style: solid;
	border-width: .1rem 0 0 0;
	margin: 1.5rem 0;
}

.m2g-meta-menu > li.m2g-nav-spacer,
.main-menu > li.m2g-nav-spacer > * {
	visibility: hidden;
}




.m2g-modal-above-main .m2g-meta-menu {
	margin-bottom: 2.5rem;
}

.m2g-modal-above-main .m2g-meta-menu > li a {
	text-align: right;
	padding-right: 0.5rem;
}

/* unterwegs special */
#site-header .m2g-meta-menu > li:nth-child(2) {
	margin-right: 0;
}
#site-header .m2g-meta-menu > li:nth-child(3):before {
	content: "|";
	font-size: 1.25em;
	float: left;
	margin: 0.25em 0 -0.25em -0.3em;
}



/* in modal */
p.menu-copyright {
	display: none;
}

.menu-modal .m2g-meta-menu > li {
	text-align: right;
}

.m2g-meta-menu-container {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.menu-modal .main-menu a {
	font-weight: 700;
}

@media (min-width: 700px) {
 .menu-modal .main-menu > li > a, 
 .menu-modal .main-menu > li > .ancestor-wrapper > a {
    font-size: 2.2rem;
    padding: 2.0rem 2.5rem 2.0rem 0;
  }
}

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

	

.main-menu-alt-container {
	margin-left: 0;
	padding-top: 0.9rem;
  	padding-bottom: 0.8rem;
}

ul.main-menu-alt {
	justify-content: flex-start;
	margin-left: 0;
}

.main-menu-alt > li {
	margin: 1.5rem 6.8rem 0 0;
	margin-bottom: 0rem;
		text-transform: uppercase;
		font-weight: 500;
		letter-spacing: 0.015em;
}

.main-menu-alt ul {
	border-radius: 0;
}

.main-menu-alt li.current-menu-item > a,
.main-menu-alt a:hover {
	color: inherit;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;

}

.main-menu-alt li.menu-item > a:before {
	xcontent:'';
	display: inline-block;
	background: url('assets/img/ace-arrow-white.svg') no-repeat;
	background-size: auto;
	background-size: contain;
	width: 0.9em;
	height: 1.1em;
	transform: translateY(0.1em);
}
	
/* ------------------------------------------- */

	
.header-navigation-wrapper {
	display: flex;
	flex-flow: column;
	align-items: flex-end;
}

.m2g-header-meta-wrapper {
	display: flex;
	flex-flow: row;
	justify-content: flex-end;
}

	
.wp-custom-logo .header-titles {
	align-items: flex-start;
	flex-flow: column;
}

	
.header-inner .section-inner {
	align-items: self-start;
}

.header-inner {
	padding-bottom: 1.5rem;
}

	

.m2g #site-header {
	padding:  0 0;
	margin-bottom: 0;
}

.header-is-sticky .header-inner {
	padding-top:  1rem;
	padding-bottom: 1rem;
}

@media (min-width: 700px) {
.header-is-sticky .header-inner {
	min-height: 8rem;
}
}

body:not(.header-is-sticky) .site-logo {
	margin-top: 2.8rem;
	margin-bottom: 1.3rem;
}

body.header-is-sticky .site-logo {
	margin-top: 1rem;
}


.site-logo img {
	max-height: 11rem;
	width: 37.2rem;
}
	
.site-description {
	font-size: 2.43rem;
	font-weight: 500;
	letter-spacing: 0.035em;
	margin-top: 0.18em;
}

body.header-is-sticky .site-description {
	opacity: 0;
	margin-bottom: -2rem;
}

body.header-is-sticky .site-logo img {
	width: 30rem;
}


	

	

@media (max-width: 999px) {

.site-logo img {
	max-height: 6rem;
	max-width: 28.5rem;
	}
.site-logo {
	margin-bottom: 0.5rem;
}

body:not(.header-is-sticky) .site-logo {
	margin-bottom: 1.0rem;
}

body:not(.header-is-sticky) .site-logo img {
	max-height: 9rem;
	}

body:not(.header-is-sticky) .site-description {
	display: block;
	width: 100%;
	background: #fff;
	background: var(--background-header-color);
	font-size: 1.9rem;
	}

/*
body:not(.header-is-sticky) .site-description {
	display: block;
	position: absolute;
	width: 100%;
	background: #fff;
	background: var(--background-header-color);
	margin-top: 2rem;
	margin-left: -1.5rem;
	padding: 1rem 0.8rem;
	padding-left: 4rem;
	transform: translateY(calc(10rem + 1px));
	font-size: 1.4rem;
	}
*/
.wp-custom-logo .header-titles {
	flex-flow: column;
	align-items: flex-start;
	}

#site-header {
	margin-bottom: 7rem;
	}

.header-lower {
	display: none;
	}

}

@media (max-width: 699px) {

body:not(.header-is-sticky) .site-logo img {
	max-height: 7rem;
	}
body:not(.header-is-sticky) .site-logo {
	margin-top: 1.7rem;
	margin-bottom:0.5rem;
}


body:not(.header-is-sticky) .site-description {
	margin-left: 0.5rem;
	padding-left: 2rem;
	margin-top: 0;
	line-height: 1.4;
	}
	

.header-navigation-wrapper .m2g-meta-widget-container {
	display: none;
}
	
.page-template-page-posts-for-category #site-header {
	margin-bottom: 4.5rem;
	}

}

.header-is-sticky .m2g-meta-widget-container {
	display: none;
}

.header-toggles .toggle {
	height: 6rem;
}


@media (max-width: 399px) {
.site-logo img {
	max-width: 21.5rem;
	}
body:not(.header-is-sticky) .site-description {
	font-size: 1.45rem;
	}
	
body.header-is-sticky .header-toggles .toggle {
	height: 4rem;
	}
body.header-is-sticky .header-inner {
	min-height: 6rem;
	}
}

.m2g.disable-menu-modal-on-desktop.disable-search-modal .header-toggles, 
.m2g.disable-menu-modal-on-desktop .nav-toggle
.header-is-sticky.disable-menu-modal-on-desktop.disable-search-modal .header-toggles, 
.header-is-sticky.disable-menu-modal-on-desktop .nav-toggle {
	display: flex!important;
}

.m2g.disable-menu-modal-on-desktop .nav-toggle {
	display: flex!important;
}
	
.header-is-sticky .m2g-header-meta-wrapper .m2g-meta-menu-container {
	display: none;
}

.header-toggles .toggle-text {
	display: none;
}

.nav-toggle .bars {
	width: 2.8rem;
}

.nav-toggle .bar:nth-child(1) {
	margin-top: -0.9rem;
}

.nav-toggle .bar:nth-child(3) {
	margin-top: 0.9rem;
}

	

	
body .only-modal {
	display: none;
}
body .menu-modal .only-modal {
	display: list-item;
}


/* adjusting modal closing x */

.menu-modal-toggles .toggle {
    justify-content: flex-end;
}

@media (min-width: 1000px) {
.menu-wrapper.section-inner {
	width: calc( 100% - 10rem );
}
}

@media (min-width: 1220px) {
.menu-modal-inner .section-inner {
	width: calc( 100% - 13rem );
	max-width: 62rem;
}
}

.header-is-sticky .menu-modal-toggles {
margin-top: 1rem;
}


/* ----------------------------------------------------------------------------------- */
/* generell */
.section-inner {
	max-width: var(--m2g-startpage-extra-width);
}

@media (min-width: 700px) {
.entry-content > .alignwide, 
.m2g-entry-content-width > .alignwide {
    margin-left: calc( ( (100vw - 8rem) - 100% ) / -2 );
}
}

@media (min-width: 1000px) {
.entry-content > .alignwide, 
.m2g-entry-content-width > .alignwide {
    margin-left: calc( ( (100vw - 10rem) - 100% ) / -2 );
}
}

@media (min-width: 1220px) {
.entry-content > .alignwide, 
.m2g-entry-content-width > .alignwide {
    margin-left: calc( ( 112rem - 100% ) / -2 );
    margin-bottom: 4rem;
    margin-top: 4rem;
}
}


.entry-content > .alignfull, 
.m2g-entry-content-width > .alignfull {
    margin-left: calc( ( 100vw - 100% ) / -2 );
    margin-bottom: 4rem;
    margin-top: 4rem;
}


/* fix against this:/wp-includes/css/dist/block-library/style.min.css
.wp-block-column:not(:only-child) { calc(50% - 1em) !important } */

@media (min-width: 600px) and (max-width: 781px) {
.wp-block-column:not(:only-child)[style*="flex-basis:33.33%"],
.wp-block-column:not(:only-child)[style*="flex-basis:33.3%"] {
    flex-basis: calc(33.33% - 2rem) !important;
  }
.wp-block-column:not(:only-child)[style*="flex-basis:66.66%"],
.wp-block-column:not(:only-child)[style*="flex-basis:66.6%"] {
    flex-basis: calc(66.66% - 2rem) !important;
  }
}


.clearer {
	clear:both;
}

/* ----------------------------------------------------------------------------------- */
/* list page */


.page-list-header,
.archive-header.section-inner {
	text-align: center;
	padding-bottom: 4rem;
	max-width: 70rem;
}

.page-list-header h1 {
	margin-top: 2rem;
}


/* ----------------------------------------------------------------------------------- */
/* teasers */

/* all teasers */

.grid-item article.preview {
	display: flex;
	flex-direction: column;
}

.grid-item article.preview .preview-media {

}


/* teaser-image without background-src / still re-using chaplins faux-image */
@media (min-width: 700px) {
  .cover-header-inner {
    padding: 10rem 0 3rem 0;
  }
}
.faux-image .m2g-media-wrapper img,
.cover-header .m2g-media-wrapper img {
	position: relative;
	left: unset;
}

.preview-link .faux-image .m2g-media-wrapper img,
.faux-image .m2g-media-wrapper img,
.m2g-media-wrapper img,
.cover-header .m2g-media-wrapper img,
.m2g-fullwidth-media-wrapper img /*,
.preview-link .m2g-media-wrapper img*/ {
	object-fit: cover;
	object-position: center center;
	height: 100%;
	width: 100%;
}

.preview-link .faux-image .m2g-media-wrapper,
.faux-image .m2g-media-wrapper,
.cover-header .m2g-media-wrapper,
.m2g-fullwidth-media-wrapper /*,
.preview-link .m2g-media-wrapper*/ {
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

.cover-header .cover-color-overlay::before {
  background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, #737373 100%);
  height: 300px;
  top: unset;
}
.cover-header .cover-color-overlay {
  opacity: 1;
  mix-blend-mode: multiply;
}

.preview-link .m2g-media-wrapper {
	overflow: hidden;
}

.m2g-fullwidth-media-wrapper,
.cover-header .m2g-media-wrapper {
	z-index: -1;
}

.preview-link .m2g-media-wrapper img {
  transition: transform 0.3s ease;
  transform: scale(1);
}
.preview-link .m2g-media-wrapper img:hover {
  cursor: pointer;
  transform: scale(1.06);
}

.featured-media .m2g-video-header .m2g-media-wrapper {
	height: 100%;
}

.featured-media .m2g-video-header.faux-image::after {
	padding-top: unset;
}



/* standard teasers */
/* second-row teasers */

.grid.mcols-1  {
	width: 100%;
	margin-left: 0;
	justify-content: center;
}

.posts-grid > .grid-item.grid-item-row2,
.grid.mcols-1 > .grid-item {
	max-width: calc(100% - 5rem);
	margin-left:0;
	margin-right:0;
	margin-bottom: 8rem;
}

@media (max-width: 999px) {
	.posts-grid > .grid-item.grid-item-row2,
.grid.mcols-1 > .grid-item {
	max-width: 100%;
	width: 100%;
}
}

/*
.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n+1),
.posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n) {
	margin-left: 5rem;
	margin-right: 0;
}

.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n),
.posts-grid > .grid-item.grid-item-row2:nth-of-type(2n),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n+1) {
	margin-left: 0;
	margin-right: 5rem;
}
*/

/* first-row teasers */

.posts-grid > .grid-item.grid-item-row1 {
	width: calc(100% + 4rem);
	max-width: 100vw;
	margin-left: -4rem;
	margin-right: -4rem;
	margin-bottom: 8rem;
}

.posts-grid > .grid-item.grid-item-row1 .preview-header {
	margin-left: 2rem;
	margin-right: 2rem;
}

.preview-media + .preview-header {
	margin-top: 2rem;
}

@media (min-width: 660px) {

.grid-item article.preview .preview-media {
	min-width: calc(100vw - 16rem - 33vw);
	margin-right: 2rem;
}

.grid-item:not(.grid-item-row1) article.preview .preview-media {
	max-width: calc(100vw - 16rem - 33vw);
}

.grid-item article.preview {
	flex-direction: row;
}

/*
.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n+1),
.posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n) {
	margin-left: 8vw;
	margin-right: 0rem;
}

.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n),
.posts-grid > .grid-item.grid-item-row2:nth-of-type(2n),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n+1) {
	margin-left: 0;
	margin-right: 8vw;
}
	*/

.preview-media + .preview-header {
	margin-top: 0rem;
}

/* first-row teasers */
.posts-grid > .grid-item.grid-item-row1 article.preview .preview-media {
	margin-right: 0;
}

.posts-grid > .grid-item.grid-item-row1 article.preview {
	flex-direction: column;
}

.posts-grid > .grid-item.grid-item-row1 {
	margin-left: 0;
	margin-right: 0;
}

.posts-grid > .grid-item.grid-item-row1 .preview-header {
	margin-left: 0;
	margin-right: 0;
	margin-top: 2rem;
}
}

@media (min-width: 700px) {
article.preview h2.heading-size-3 {
	font-size: 3.4rem;
}
.posts-grid > .grid-item.grid-item-row1 article.preview h2.heading-size-3 {
	font-size: 3.6rem;
}
}

article.preview h2.heading-size-3 {
	line-height: 1.3;
}

.posts-grid > .grid-item.grid-item-row1 article.preview h2.heading-size-3 {
	line-height: 1.25;
}


@media (min-width: 800px) {

/*.preview-media + .preview-header {
	margin-top: 1.5rem;
}*/

.posts-grid > .grid-item.grid-item-row2 .preview-media + .preview-header {
	margin-top: 2.5rem;
}

.posts-grid > .grid-item.grid-item-row2,
.grid.mcols-1 > .grid-item {
	margin-bottom: 10rem;
}
}



@media (max-width: 999px) {
.preview-excerpt {
 	margin-top: 0.5rem;
}
}



@media (min-width: 1000px) {

/* all teasers */

.grid-item article.preview .preview-media {
	min-width: 48rem;
	margin-right: 3rem;
}


/* standard teasers */

.grid.mcols-1 > .grid-item {
	max-width: 84rem;
}

/*

.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n+1),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n) {
	margin-left: 5rem;
	margin-right: -5rem;
}

.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n+1) {
	margin-left: -2rem;
	margin-right: 2rem;
}
*/


/* first-row teasers */

.posts-grid > .grid-item.grid-item-row1 {
	width: 100%;
	margin-bottom: 6rem;
	margin-left: 0;
	margin-right: 0;
}

.grid.mcols-1 > .grid-item.grid-item-row1 {
	max-width: var(--m2g-startpage-extra-width);
}

.posts-grid > .grid-item.grid-item-row1 article.preview {
	flex-direction: row;
}

.posts-grid > .grid-item.grid-item-row1 article.preview .preview-media {
	min-width: 99.2rem;
	margin-right: 0;
	order: 2;
}	

.posts-grid > .grid-item.grid-item-row1 article.preview .preview-header {
	margin: 0;
	background-color: var(--light-background-color);
}

.posts-grid > .grid-item.grid-item-row1 article.preview .preview-media {
	min-width: calc(100% - 33vw);
	background-color: #dedede;
	background-color: var(--light-background-color);
}

.posts-grid > .grid-item.grid-item-row1 article.preview .preview-header {
	min-width: 33vw;
	padding-right: 2.2rem;
	padding-left: 1em;
	padding-top: 1.0em;
}



/* second-row teasers */

.posts-grid > .grid-item.grid-item-row2:nth-of-type(2n),
.posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1) {
	max-width: calc(50% - 3rem);
	margin-left: 0;
	margin-right: 0;
}

.posts-grid > .grid-item.grid-item-row2 article.preview {
	flex-direction: column;
}

.posts-grid > .grid-item.grid-item-row2 article.preview .preview-media {
	min-width: 100%;
	margin-right: 0;
}

.posts-grid > .grid-item.grid-item-row2 + .grid-item.grid-item-row2  {
	margin-left: calc(2 * 3rem);
}



}



@media (min-width: 1240px) {

/* all teasers */

.grid-item article.preview .preview-media {
	min-width: 53rem;
}



/* standard teasers */

.grid.mcols-1 > .grid-item {
	max-width:98rem;
}

/*
.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n+1),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n) {
	margin-left: 7rem;
	margin-right: -7rem;
}

.grid.mcols-1 > .grid-item:not(.grid-item-row2,.grid-item-row1):nth-of-type(2n),
.search-results .posts-grid.grid.mcols-1 > .grid-item:nth-of-type(2n+1) {
	margin-left: -7rem;
	margin-right: 7rem;
}
*/

/* first-row teasers */

.posts-grid > .grid-item.grid-item-row1 article.preview .preview-media {
	min-width: calc(100% - 40.8rem);
}

.posts-grid > .grid-item.grid-item-row1 article.preview .preview-header {
	min-width: 40.8rem;
	padding-top: 1.5em;
	padding-right: 4.2rem;
}



}



.grid-break {
	position: relative;
	width: 100vw;
	padding: 0;
	margin: 0 calc( ( 100vw - 100% ) / -2 ) 10rem;
}

	
p.out-of-posts {
	display: none;
}


.rubrik-break {
  display: flex;
  flex-flow: column;
  margin-bottom: 4rem;
}



@media (max-width: 1360px) {
.rubrik-break .wp-block-columns {
max-width: calc( 100% - 10rem );
}
}

@media (max-width: 999px) {
.rubrik-break .wp-block-columns {
max-width: calc( 100% - 8rem );
}
}

@media (max-width: 699px) {
.rubrik-break .wp-block-columns {
max-width: calc( 100% - 4rem );
}
}

.rubrik-break hr {
  width: 100%;
  margin: 0;
}
.rubrik-break > h2 {
  display: inline-block;
  margin: -0.75em auto 0;
  padding: 0.2rem 2rem;
  background: white;
  width: fit-content;
  font-size: 3.0rem;
}

.rubrik-break .wp-block-columns .preview .preview-header {
	margin-top: 2.3rem;
}

	

/* ----------------------------------------------------------------------------------- */
/* article */

	
.entry-content,
.m2g-entry-content-width,
.archive-header.section-inner {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1501px) {
.entry-header-inner {
	max-width: 112rem;
	margin-left: calc( ( 112rem - var(--m2g-startpage-extra-width) ) / -2 );
}
}


.entry-header-inner {
	display: flex;
	flex-flow: column;
	align-items: center;
}

h1.entry-title, .entry-title.faux-heading {
	text-align: center;
	font-weight: var(--headings-weight);
}


.entry-content .intro-text {
	margin-bottom: 3rem;
}

@media (min-width:700px) {
.entry-content .intro-text {
    margin-bottom: 5rem;
}
}

.entry-content .intro-text p {
	font-size: 2.7rem;
	line-height: 1.5em;
}
@media (max-width: 699px) {
.entry-content .intro-text p {
	font-size: 2.5rem;
}
}

article:not(:has(> figure.featured-media .m2g-media-wrapper)):not(:has(> .cover-header)) .post-inner .intro-text {
  text-align: center;
}

a.preview-link {
	color: inherit;
	text-decoration: none;
}

.pre-header {
	display: inline;
	color: var(--buttons-text-color);
	font-size: 1.6rem;
	line-height: 1.4;
	min-height: 2.15rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	background-color: var(--ace-neutral-grey);
	padding: 0.13em 0.3em 0.05em 0.4em;
	margin-bottom: 1.5rem;
}

body.single .pre-header {
	margin-bottom: 2.4rem;
}

.category-auto .pre-header {
background-color: var(--ace-auto-green);
}
.category-club .pre-header {
background-color: var(--ace-red);
}
.category-mobilitaet .pre-header {
background-color: var(--ace-mobil-blue);
}
.category-europa .pre-header {
background-color: var(--ace-europe-blue);
}

article .has-drop-cap:not(:focus)::first-letter,
article .faux-drop-cap {
	color: var(--ace-neutral-grey);
}
.category-auto .has-drop-cap:not(:focus)::first-letter,
.category-auto .faux-drop-cap {
	color: var(--ace-auto-green);
}
.category-club .has-drop-cap:not(:focus)::first-letter,
.category-club .faux-drop-cap {
	color: var(--ace-red);
}
.category-mobilitaet .has-drop-cap:not(:focus)::first-letter,
.category-mobilitaet .faux-drop-cap {
	color: var(--ace-mobil-blue);
}
.category-europa .has-drop-cap:not(:focus)::first-letter,
.category-europa .faux-drop-cap {
	color: var(--ace-europe-blue);
}

.pre-header.preview-pre-header {
	font-size: 1.6rem;
	letter-spacing: 0.05em;
}
@media (max-width: 699px) {
.pre-header.preview-pre-header {
    font-size: 1.5rem;
}
}

h1.entry-title, 
.entry-title.faux-heading,
.preview .preview-title {
	display: flex;
	flex-flow: column;
	align-items: center;
}
.preview .preview-title {
	align-items: flex-start;
}


/* if we want all text to start at the same y with or without pre */
/* disable if we want all main-headlines to start at the same y */
.pre-header.preview-pre-header:empty {
	display: none;
}

.featured-media {
    margin-top: 3rem;
}

.featured-media:empty {
    margin-top: 0;
}

.featured-media:empty + .post-inner {
    padding-top: 4rem;
}

.featured-media figcaption {
	text-align: right;
	margin-top: 0.5em;
	font-size: 1.7rem;
	line-height: 1.3;
	font-weight: 300;
	letter-spacing: 0;
}

.wp-block-image figcaption,
p.wp-caption-text {
	margin-top: 0.5em;
	font-weight: 300;
	font-size: 1.7rem;
	line-height: 1.3;
}

@media (max-width: 781px) {
	figure.size-full:not(.alignwide) figcaption.wp-element-caption {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

.alignfull > figcaption, 
.alignfull > .wp-caption-text {
	min-width: calc( 100% - 4rem );
}

article .entry-header + .entry-meta {
	margin-top: 2rem;
}


article .entry-meta ul {
	text-align: center;
	font-size: 1.7rem;
	margin-left: 1rem;
	margin-right: 1rem;
	font-weight: 300;
}


article .entry-meta ul li {
	display: inline;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

@media (max-width: 599px) {
article .entry-meta ul li {
	display: block;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}
}

/*
article .entry-meta ul li:before {
	content: '|';
}
article .entry-meta ul li:first-of-type::before {
	content: '';
}
*/

/* cover */

.m2g-screen-height {
	height: 100vh;
	height: 100svh;
	max-height: 1000px;
}

.cover-header {
	z-index: -1;
	/* margin-top: 6em; */
}

.cover-header .entry-header {
	color: #fff;
	color: var(--overlay-text-color);
}

:root {
	--top-margin-cover-header: 8rem;
}
@media (min-width: 400px) {
:root {
	--top-margin-cover-header: 9rem;
}
}
@media (min-width: 700px) {
:root {
	--top-margin-cover-header: 11.5rem;
}
}
@media (min-width: 1000px) {
:root {
	--top-margin-cover-header: 16rem;
}
}

.cover-header .m2g-media-wrapper {
	top: var(--top-margin-cover-header);
}

.cover-header + .wp-caption-text {
  width: calc(100vw - 2rem);
  margin-left: calc( ( 100vw - 2rem - 100% ) / -2 );
  margin-top: 0.5rem;
  text-align: right;
  padding-right: 1rem;
  margin-bottom: -4.2rem;
}

@media (max-width: 699px) {
	.cover-header + .wp-caption-text {
  margin-bottom: 0;
}
}

.cover-header + .post-inner {
	padding-top: 3rem;
}

.overlay-header:not(.showing-menu-modal):not(.overlay-header-has-text-color) .header-inner:not(.is-sticky),
.overlay-header .header-inner:not(.is-sticky) {
	color: inherit;
}


.has-drop-cap:not(:focus)::first-letter,
.faux-drop-cap {
font-size: 5.8em;
  font-weight: 500;
  margin: .06em 0.08em 0 -0.03em;
}

.faux-drop-cap {
	float:left;
	line-height: 0.68;
}



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

.preview-excerpt {
    margin-top: 1rem;
	white-space: nowrap;
}

.preview-excerpt p,
.preview-excerpt p + .more {
	white-space: normal;
	display: inline-block;
}
@media (min-width: 700px) {
.preview-excerpt p {
	font-size: 2.0rem;
}
}
.preview-excerpt p {
	display: inline;
	line-height: 1.5;
}

.preview-excerpt p + .more:after {
	content: '';
	background: url('assets/img/ace-more-arrow.svg') no-repeat;
	background-position-x: 2px;
	background-size: auto;
	background-size: contain;
	width: 1.0em;
	height: 1.0em;
	transform: translateY(2px);
	display: inline-block;
	padding-left: 0;
	transition: background-position-x 0.15s ease-out;
}

a.preview-link:hover .preview-excerpt p + .more:after,
a.preview-link:focus .preview-excerpt p + .more:after {
	background-position-x: 6px;
}

svg.more-arrow {
	display: inline;
	height: 1.05em;
  vertical-align: middle;
  margin: 0 0.2em 0.1em 0.3em;
}

a svg.more-arrow {
	transition: margin 0.15s ease-out;
}

a:hover svg.more-arrow {
	margin: 0 0em 0.1em 0.5em;
}

a.preview-link:hover h2 span:not(.pre-header) {
	text-decoration: underline;
}

a.no-deco {
	text-decoration: none;
}

/*	
.preview.status-draft .preview-title::after, 
.preview.status-private .preview-title::after, 
.post.status-draft h1.entry-title::after, 
.post.status-private h1.entry-title::after {
	content: ' \f070';
	font-family: "Font Awesome 5 Free";
	font-size: 0.6em;
	opacity: 0.7;
}
*/


.entry-content ul li {
	list-style: disc;
	margin-bottom: 1rem;
	}

	
.entry-content ol {
	list-style: none;
	counter-reset: item;
}
.entry-content ol li {
	margin-left: 2.5rem;
	margin-bottom: 1rem;
}
.entry-content ol li:before {
	content: counter(item)". ";
	counter-increment: item; 
	color: var(--accent-color);
	font-weight: 300;
	margin-left: -2.5rem;
	display: inline-block;
	width: 2.5rem;
}


blockquote {
    border: none;
   	padding: 0;
}

.entry-content blockquote, 
.entry-content blockquote p {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.4;
    color: var(--headings-color);
}

blockquote cite,
blockquote.is-layout-flow cite {
	font-size: 1.6rem;
	text-align: inherit;
	margin-top: 1.5rem;
	font-weight: var(--headings-weight);
}


.entry-content .wp-block-quote + hr.wp-block-separator.is-style-wide {
	margin-top: -1.5rem;
}

.entry-content .wp-block-quote + hr.wp-block-separator.is-style-wide {
	margin-top: -1.5rem;
}



.wp-block-column .wp-block-quote {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-image {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.wp-block-image.alignright, .wp-block-image.alignleft {
	margin-top: 0.5em;
}


@media (min-width: 770px) {
.align-outside .alignright,
.align-outside.alignright {
	margin-right: calc(-50vw + 35rem + 4rem)
}
.align-outside .alignleft,
.align-outside.alignleft {
	margin-left: calc(-50vw + 35rem + 4rem)
}
}

@media (min-width: 1500px) {
.align-outside .alignright,
.align-outside.alignright {
	margin-right: -35rem;
}
.align-outside .alignleft,
.align-outside.alignleft {
	margin-left: -35rem;
}
}

.align-outside .alignleft:not(.is-resized), .align-outside .alignright:not(.is-resized),
.alignright.align-outside,
.alignleft.align-outside {
	max-width: 30rem;
}



.wp-block-cover.aligncenter,
.wp-block-cover.alignwide {
	min-height: calc((100vw - 4rem) * 9 / 16);
}

@media (min-width: 700px) {
.wp-block-cover.aligncenter {
	min-height: calc(70rem * 9 / 16);
}
}

@media (min-width: 1130px) {
.wp-block-cover.alignwide {
	min-height: calc(113rem * 9 / 16);
}
}

.wp-block-cover.alignfull {
	min-height: calc(100vw * 9 / 16);
}

.wp-block-cover.alignwide .wp-block-cover__inner-container:has(.wp-block-group.alignwide),
.wp-block-cover.alignfull .wp-block-cover__inner-container:has(.wp-block-group.alignfull) {
	max-width: none;
	width: 100%;
}

/* ----------------------------------------------------------------------------------- */
/* wp-block-cover-mit text-inhalt */
@media (max-width:999px) {
.entry-content .wp-block-cover:has(.wp-block-group p) {
		overflow: unset;
		display: block;
		padding: 0;
}
.entry-content .wp-block-cover:has(.wp-block-group p) .wp-block-group {
padding: 0.5em 0 0!important;
}
.entry-content .wp-block-cover:has(.wp-block-group p) img,
.entry-content .wp-block-cover:has(.wp-block-group p) .wp-block-cover__inner-container {
		position: relative!important;
}

.entry-content .wp-block-cover:has(.wp-block-group p) .wp-block-group hr {
display: none;
}

.entry-content .wp-block-cover:has(.wp-block-group p) .wp-block-group p {
font-size: 1.8rem !important;
color: var(--ace-black) !important;
text-align: left!important;
width: 100%;
line-height: 1.6!important;
}

.entry-content .wp-block-cover.alignfull:has(.wp-block-group p) .wp-block-group p {
/*padding-left: 2rem;
padding-right: 2rem;*/
font-weight: 300;
font-size: 1.7rem !important;
line-height: 1.3 !important;
padding-left: 1rem;
padding-right: 1rem;	
}

.entry-content .wp-block-cover:has(.wp-block-group p) .wp-block-group p strong,
.entry-content .wp-block-cover:has(.wp-block-group p) .wp-block-group p mark {
	background-color: unset!important;
	color: unset!important;
	font-weight: 300!important;
	padding: 0!important;
}
}

/* ----------------------------------------------------------------------------------- */
/* next prev */

.post-navigation {
    border-color: var(--border-color);
}

.post-navigation .nav-links .screen-reader-text {
	clip: unset;
	clip-path: unset;
	height: unset;
	overflow: hidden;
	position: relative !important;
	left: unset;
	width: unset;
}

.post-navigation .nav-links a .screen-reader-text {
	opacity: 1;
	line-height: 1.3;
	color: inherit;
	transition: opacity 0.3s ease-in-out, color 0.2s ease-in-out;
}

.post-navigation .nav-links a:hover .screen-reader-text,
.post-navigation .nav-links a.touched .screen-reader-text {
	color: #fff;
	opacity: 0;
}

.post-navigation a:hover {
	text-decoration: none;
}

.post-navigation a .post-title {
	text-decoration: none;
	position: absolute;
    margin-left: 2rem;
    width: calc(50vw - 10rem);
    font-weight: 700;
    opacity: 0;
    line-height: 1;
    color: var(--accent-color);
    transition: opacity 0.3s ease-in-out;
}

.post-navigation a:hover .post-title,
.post-navigation a.touched .post-title {
	text-decoration: none;
    opacity: 1;
}

.post-navigation .nav-next a .post-title {
	margin-left: 0;
}

.post-navigation a .arrow {
	transition: transform 0.2s ease-in-out;
}

.post-navigation a:hover .arrow,
.post-navigation a.touched .arrow {
	transform: translateX(-0.5rem);
}

.post-navigation .nav-next a:hover .arrow,
.post-navigation .nav-next a.touched .arrow {
	transform: translateX(0.5rem);
}

.post-navigation a  {
	align-items: center;
}

@media (max-width: 699px) {

.nav-next a {
	justify-content: flex-end;
}

.post-navigation .nav-next a .screen-reader-text {
	margin-right: 1rem;
	text-align: right;
}

.post-navigation .nav-next a .post-title {
	text-align: right;
	margin-right: 3rem;
}

.post-navigation .nav-next a.touched .post-title {
	right: 2rem;
}

.post-navigation .nav-next a .post-title,
.post-navigation .nav-previous a .post-title {
	width: calc(100% - 6rem);
}

.nav-next a .arrow {
	order: 3;
}

}


@media (min-width: 700px) {

.post-navigation a .post-title {
    margin-left: 3.25rem;
}

.post-navigation .nav-next a .post-title {
	margin-right: 3.25rem;
}

}
	
	
/* ----------------------------------------------------------------------------------- */
/* related */


#m2g-section-related {
	margin-top: 5rem;
	max-width: 100%;
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1){
	margin-left: 0;
	margin-right: 5rem;
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n) {
	margin-right: 0;
	margin-left: 5rem;
}



@media (min-width: 1000px) {

#m2g-section-related h3.related {
	text-align: center;
}

#m2g-section-related {
	margin-top: 10rem;
	max-width: calc((505px * 2 ) + 40px + 40px );
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1) {
	margin-left: 0;
	margin-right: 0;
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n) {
	margin-left: calc(2 * 2rem);
}


}










/* ----------------------------------------------------------------------------------- */
/* site-footer */



#site-footer .grid .grid-item {
	margin-bottom: 2rem;	
}

@media (min-width: 1000px) {
#site-footer .grid .column-one.grid-item {
	margin-bottom: -2.1rem;	
}
}

.footer-widgets-outer-wrapper {
	margin-bottom: 0;
	border: none;
	margin-top: 0;
	padding-top: 5rem;
}

#site-footer {
	margin-top: 12rem;
}

.footer-inner {
	padding: 6rem 0 1.5rem;
}

.footer-widgets.column-two.grid-item {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}
	

#menu-m2g-social {
	align-items: baseline;
	border: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin: -5rem -1.5rem -5rem 0;
}

#menu-m2g-social li a {
	margin: 0 1rem;
	padding: 0.5rem;
	}


.has-footer-menu ul.footer-menu {
	text-align: right;
	margin-bottom: 1.5rem;
}

.footer-menu li {
	border: none;
}

.footer-menu a {
	padding: 0.6rem 0;
}

/*
.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu a:active {
	color: var(--primary-color);
	font-weight: 700;
}
*/

@media(min-width:1000px) {

.footer-inner {
	padding: 6rem 0 3rem;
}

}


.widget {
border: none;
}

.footer-widgets .widget {
    margin-top: 0rem;
}

@media(min-width:700px) {
.footer-widgets .widget {
    margin-top: 1.5rem;
}
}

.widget_text .widget-content {
  max-width: 80rem;
}
	
/* ----------------------------------------------------------------------------------- */
/* searchform */

.menu-modal form.m2g_search, 
#site-header form.m2g_search {
display: inline-flex;
justify-content: flex-end;
margin-top: -0.4rem;
margin-right: -3.5rem;
margin-bottom: 0;
}

.menu-modal form.m2g_search {
margin-right: 0.5rem;
}

#site-header form.m2g_search,
#site-header .m2g_search input[type=text] {
  -webkit-transition: width 0.6s ease-in-out;
  transition: width 0.6s ease-in-out;
}

.menu-modal .m2g_search input[type=text],
#site-header .m2g_search input[type=text] {
  width: 3rem;
  font-size: inherit;
  font-weight: 300;
  box-sizing: border-box;
  margin-top: 0.3rem;
  padding: 0.75rem 0.5rem;
  text-align:right;
  border: 1px solid transparent;
  padding-right: 2em;
  z-index: 1;
}

/* for always visible placeholder */
#site-header .m2g_search input[type="text"] {
    width: 8.8rem;
    padding-left: 1rem;
    text-align:left;
	font-weight: 500;
}


#site-header .m2g_search input[type=text]::placeholder {
  color: inherit;
}

.menu-modal .m2g_search input[type=text]::placeholder {
  opacity: 0.6;
}

.menu-modal .m2g_search input[type=text],
#site-header .m2g_search:hover input[type=text],
#site-header .m2g_search input[type=text]:focus {
  width: 18rem;
  border: none;
  border-radius: 1px;
  background-color: var(--light-background-color);
}

.menu-modal .m2g_search input[type=text] {
  padding: 0.5rem 5rem 0.5rem 0.5rem;
  background-color: transparent;
  margin-left: calc(1rem - 1px);
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 2px;
}

.menu-modal .m2g_search input[type=text]:focus::placeholder,
#site-header .m2g_search input[type=text]:focus::placeholder {
  opacity: 0.5;
}

#site-header .m2g_search input[type=text]:focus+button[type=submit],
#site-header .m2g_search input[type=text]:hover+button[type=submit],
#site-header .m2g_search input[type=text]+button[type=submit]:hover {
  z-index: 2;
}


.menu-modal .m2g_search button[type=submit],
#site-header .m2g_search button[type=submit] {
	transform: translate(-3.5rem, 0.2rem);
	width: 1.75em;
	padding: 0.2em 1.75em 0.2em 0.75em;
	color: inherit;
	/*opacity: 1;*/
	background: none;
	border: none;
}

.menu-modal .m2g_search button[type=submit] {
	opacity: 1;
	transform: translate(-4.0rem, 0.2rem);
	margin-right: -4.0rem;
	border-left: 1px solid rgba(0,0,0,0.5);
	padding-left: 1rem;
	margin-top: 1px;
	height: 3.4rem;
	z-index: 2;
}

#site-header .m2g_search button[type=submit]:hover {
	/*opacity: 1;*/
}

#site-header .m2g_search button[type=submit]:hover i.fas,
.menu-modal  .m2g_search button[type=submit]:hover i.fas {
	transform: scale(1.1,1.1) translateY(1px);
}


.ace-after-download-icon a:after {
	content:'';
	display: inline-block;
	background-image: url(assets/img/ace-download.svg);
	background-size: contain;
	background-repeat: no-repeat;
	width: 1em;
	height: 1em;
	margin-left: 0.6em;
}




/* start Variante search form 
dotted bottom-line, no border:


#site-header .m2g_search input[type="text"] {
    width: 3rem;
	padding-bottom: 0.25rem;
	}
#site-header .m2g_search:hover input[type="text"], #site-header .m2g_search input[type="text"]:focus {
    width: 18rem;
	background: transparent;
	  border: 1px solid transparent;
border-bottom: 2px dashed rgba(0,0,0,0.8);
  border-radius: 0;
	margin-bottom: -1px;
}

#site-header .m2g_search button[type=submit] i.fas {
transform: translateY(2px);
}

#site-header .m2g_search button[type=submit]:hover i.fas {
transform: scale(1.1,1.1) translateY(1px);
}
 */
/* end Variante search form 
dotted bottom-line, no border: */

/* ----------------------------------------------------------------------------------- */
/* search */

.archive-subtitle.section-inner.thin,
.no-search-results-form {
	margin-left: auto;
	margin-right: auto;
	width: max-content;
	max-width: 100%;
}

.no-search-results-form .search-form {
	display: inline-flex;
}

h1.archive-title {
	margin-top: 4rem;
}

.search .archive-header {
	margin-bottom: 2rem;
}

@media (min-width: 700px) {
.search .archive-header {
	margin-bottom: 6rem;
}

.search.search-no-results .archive-header {
	margin-bottom: 2rem;
}
}



.m2g-video-container {
	position:relative;
	padding-bottom: 56.25%; /* 16:9 */
	height:0;
	overflow:hidden;
	border: none;
	margin-bottom: 2rem; 
	background-size: cover;
}

.m2g-video-container iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


/* ----------------------------------------------------------------------------------- */
/* comments */

.comment-reply-title {
	margin-bottom: 4rem;
	font-size: 2.4rem;
}

.comment-respond form p.comment-before {
	margin-bottom: 4rem;
}

.comments-wrapper {
    margin-top: 3rem;
    text-align: center;
}
.comment-respond label {
	text-align: left;
	text-transform: uppercase;
	font-family: var(--headings-font);
	font-size: 1.7rem;
	font-weight: 300;
}

#commentform input[type="text"], 
#commentform input[type="email"],
#commentform textarea {
	border-color: var(--border-color);
	border-radius: 0;
	}

#commentform {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-flow: column;
}

.comment-respond:not(:first-child) {
	padding-top: 8rem;
}

.m2g-section-divider + .comment-respond {
	padding-top: 0;
}

button, .button, .faux-button, .wp-block-button__link, :root .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], :root .woocommerce #respond input#submit, :root .woocommerce a.button, :root .woocommerce button.button, :root .woocommerce input.button {
	border-radius: 0;
}


.comment-respond form p.comment-before:empty + .comment-form-comment {
	margin-top: 2rem;
}

.comment-respond form p.comment-before:empty,
.comment-respond form p.comment-after:empty {
	display: none;
	margin: 0;
}

#commentform.section-inner.thin,
#comments.section-inner.thin {
	max-width: 100%;
}

#comments .comment-body {
	clear: both;
	display: flex;
	flex-flow: column;
}

#comments .comment-body .comment-meta {
	align-self: flex-start;
	margin-bottom: 0.8em;
}

#comments .comment-body .comment-footer-meta{
	align-self: flex-end;
	margin: 0;
}

.comment-form-author {

}

.comment-respond .comment-form-email {
	order: 2;
	margin-left: 0;
}

.comment-after {
	text-align: left;
	order: 3;
}

.form-submit {
	order: 4;
}

.comment-respond #submit {
	margin-left: 0;
	text-transform: uppercase;
	font-size: 1.7rem;
	letter-spacing: 0.02em;
	
}

.comment-respond input[type="submit"] {
	margin-top: 2rem;
	padding: 0.9em 1.7em;
}

.comment-respond input[type="text"], 
.comment-respond input[type="email"],
.comment-respond textarea {
	padding: 0.825rem 1.5rem;
}

.comment-body {
	border-left: none;
	padding-left: 0rem;
    min-height: 4rem;
}

.comment div.comment {
	border-left: none;
	padding-left: 1rem;
	margin-top: 0;
	padding-top: 3rem;
	position: relative;
}

.comment div.comment:before {
	content: '';
	position: absolute;
	display: block;
	min-width: 0.4rem;
	margin-left: -1rem;
	min-height: calc(100% - 3rem);
	border-radius: 0;
	background: var(--accent-color);
}



.comment div.comment .comment-body {
	padding-left: 1.5rem;
}

.comment div.comment .comment-body:before {
	margin-left: -3.5rem;
}

.comments > .comment {
	padding-top: 2rem;
	margin-top: 2.5rem;
	border-top: 1px solid var(--border-color);
}

@media (min-width: 700px) {
.comments > .comment {
	padding-top: 3.5rem;
	margin-top: 3.5rem;
}
}

.comments > .comment:nth-child(2) {
	border-top: none;
}

.comment-content {
	text-align: left;
}

.bypostauthor .comment-footer-meta .by-post-author {
	display: none;
}

.comment-metadata {
    font-size: 0.8em;
    line-height: 1.8;
    font-family:inherit;
}
.comment-metadata a:hover {
   	color: var(--secondary-color);
}

a.comment-reply-link,
a#cancel-comment-reply-link {
    display: inline-block;
    border: 4px solid #e1e1e1;
    padding: 0.425rem 1.5rem;
    margin-top: 1rem;
    color: #fff;
    background-color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 300;
    font-size: 0.9em;
    border-radius: 0;
    font-family:inherit;
}

a.edit-comment-link,
a#cancel-comment-reply-link  {
	max-width: 3.35rem;
	display: inline-block;
	overflow: hidden;
	max-height: 3.35rem;
	line-height: 1.8;
	margin: 1rem 1rem 0 0;
	float: left;
	border-radius: 5rem;
	background: var(--buttons-background-color);
}

a#cancel-comment-reply-link  {
	margin: 0;
	float: right;
	padding-left: 0.75rem;
	line-height: 1;
}

a.edit-comment-link:hover,
a#cancel-comment-reply-link:hover,
.comment-footer-meta a:hover  {
	text-decoration: none;
}

a#cancel-comment-reply-link:before {
	content: "\f00d";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	margin-bottom: 1rem;
}

a.edit-comment-link:before {
	content: "\f0ad";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	margin-bottom: 1rem;
}


.comment-body .comment-author {
	font-weight: 300;
	font-family: var(--headings-font);
}

.comment-body .comment-content {
	font-weight: 300;
}

@media (min-width: 700px) {
.comment-respond form p.comment-after {
	width: calc( 50% - 1rem );
}
}
/* ----------------------------------------------------------------------------------- */
/* edit-link */

.edit-link {
    position: fixed;
    top: 16rem;
    left: -0.7rem;
    z-index: 1;
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.6rem
}

.edit-link a {
	color: inherit;
	background: rgba(255,255,255,0.3);
	display: inline-block;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	text-align: center;
	border: 0.3rem dotted var(--primary-color);
	opacity: 0.7;
}

.edit-link a:hover {
	color: var(--accent-color);
	background: #fff;
	border: 0.2rem solid var(--accent-color);
	transform: scale(1.2) translateX(0.5rem) rotate(25deg);
	opacity: 1;
}


  
body.admin-bar .navbar.fixed-top {
	margin-top: 32px;
}

@media (max-width: 782px) {

body.admin-bar .navbar.fixed-top {
	margin-top: 46px;
}

}




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

/* colors and style */
.header-inner {
	border-bottom: 1px solid #ccc;
	border-color: #fff;
}

.header-inner,
.header-inner.is-sticky {
	background-color: #ccc;
	background-color: var(--header-background-color);
}

.grid-break {
	background: transparent;
}

.disable-menu-modal-on-desktop .header-lower {
	border-bottom: 1px solid var(--ace-navi-green);
	border-color: var(--ace-navi-green);
	background: var(--ace-navi-green);
	color: #fff;
	font-weight: var(--headings-weight);
}

#site-header,
.header-inner.is-sticky {
	/* background: brown */
}

#site-footer {
	background-color: var(--footer-background-color);
	border-top: 1px solid #ccc;
	border-color: var(--header-border-color);
	color: #fff;
}


.m2g-section-divider {
	border-color: var(--border-color);
	border-style: solid;
	border-width: .1rem 0 0;
	margin: 3rem 0;
}

.nav-previous .arrow svg,
.nav-next .arrow svg  {
	fill: inherit;
	fill: var(--primary-color);
}

.nav-previous a:hover .arrow svg,
.nav-next a:hover .arrow svg  {
	fill: #a1a1a3;
	fill: var(--accent-color);
}

button, .button, .faux-button, .wp-block-button__link, :root .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], :root .woocommerce #respond input#submit, :root .woocommerce a.button, :root .woocommerce button.button, :root .woocommerce input.button {
	background-color: inherit;
	background-color: var(--buttons-background-color);
	color: inherit;
	color: var(--buttons-text-color);
	padding: 0.9em 0.7em 0.8em 1.0em;
	font-size: 1.7rem;
	letter-spacing: 0.01em;
}

button:hover, .button:hover, .faux-button:hover, .wp-block-button__link:hover, :root .wp-block-file__button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, :root .woocommerce #respond input#submit:hover, :root .woocommerce a.button:hover, :root .woocommerce button.button:hover, :root .woocommerce input.button:hover ,
button:focus, .button:focus, .faux-button:focus, .wp-block-button__link:focus, :root .wp-block-file__button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, :root .woocommerce #respond input#submit:focus, :root .woocommerce a.button:focus, :root .woocommerce button.button:focus, :root .woocommerce input.button {
	background-color: inherit;
	background-color: var(--buttons-background-hover-color);
	color: #fff;
	color: var(--buttons-text-hover-color);
}

.is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: var(--accent-color);
}
.is-style-outline .wp-block-button__link:not(.has-text-color):hover,
.is-style-outline .wp-block-button__link:not(.has-text-color):focus,
.is-style-outline .wp-block-button__link:not(.has-text-color):active {
	color: white;
}

@media (max-width: 699px) {
.wp-block-button__link {
	text-align: left;
	line-height: 1.4;
}
}

a.comment-reply-link,
a.edit-comment-link,
a#cancel-comment-reply-link {
    border: 6px solid inherit;
    border-color: var(--buttons-background-color);
    color: inherit;
    color: var(--buttons-text-hover-color);
    font-weight: 700;
}

a.comment-reply-link:hover,
a.edit-comment-link:hover,
a#cancel-comment-reply-link:hover {
    border: 6px solid inherit;
    border-color: var(--buttons-background-hover-color);
    background: inherit;
    background-color: var(--buttons-background-hover-color);
    color: #fff;
    color: var(--buttons-text-hover-color);
}

a.edit-comment-link,
a.edit-comment-link:hover { border-width: 3px; }



.comment-body,
.comment div.comment {
	border-color: inherit;
	border-color: var(--buttons-background-color);
}

.color-secondary, .color-secondary-hover:hover {
    color: #666;
    color: var(--secondary-color);
}

.color-blue {
	color: var(--accent-color);
}


/* colors and style end */




.m2g-load-more {
  text-align: center;
}
.m2g-loading .m2g-load-more a {
  opacity: 0;
  transform: scale( 0.5 );
  transform-origin: center;
  transition: opacity .2s linear, transform .2s ease-out;
}


/* ----------------------------------------------------------------------------------- */
/* section related  */

#m2g-related {
	padding-top: 6rem;
	overflow: hidden;
}


#m2g-related .posts-grid {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#m2g-related .posts-grid.alignwide {
	width: 100%;
	max-width: 100%;
}

#m2g-related > .section-inner > h4 {
	text-align: center;
}


@media (min-width: 660px) {

#m2g-related .posts-grid.alignwide {
	width: 112rem;
	margin: 4rem auto -4rem;
}

#m2g-related .preview-media + .preview-header {
    margin-top: 1.5rem;
}

#m2g-related .grid-item  {
	margin: 0 0 8rem;
	width: calc(50% - 2rem);
}
#m2g-related .grid-item:nth-of-type(2n+1)  {
	margin-right: 2rem;
}
#m2g-related .grid-item:nth-of-type(2n),
#m2g-related .grid-item:last-of-type  {
	margin-left: 2rem;
}

#m2g-related .grid-item article.preview {

    flex-direction: column;
}

#m2g-related .grid-item article.preview .preview-media {
	margin-right: 0;
	max-width: 100%;
	min-width: unset;
}
}

/* ----------------------------------------------------------------------------------- */
/* only if theme_supports( 'm2g_sharing_icons_below_content' );    */


#m2g-sharing-row {
	margin: 3rem auto;
	padding: 2rem 0 0;
}

#m2g-sharing-row h4 {
	text-align: center;
	margin: 6rem auto 1.5rem;
}

#m2g-sharing-row ul {
	list-style: none;
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
}

#m2g-sharing-row > ul > li {
	margin: 1rem;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
}

#m2g-sharing-row > ul > li > a {
	padding: 1rem 0.5rem;
}

.m2g-sharing-icon {
	font-size: 2.1rem;
	background: var(--buttons-background-color);
	border-radius: 50%;
	color: var(--buttons-text-color);
	line-height: 1;
	display: inline-block;
	width: 4rem;
	height: 4rem;
	text-align: center;
	transform: scale(1);
}

a.m2g-sharing-icon:hover {
	background: var(--buttons-background-hover-color);
	color: var(--buttons-text-hover-color);
	transform: scale(1.04);
}

a.m2g-sharing-icon i.fa-facebook-f {
	font-size: 138%;
	line-height: 1.1;
	padding-left: 0.05em;
}

a.m2g-sharing-icon i.fa-whatsapp {
	font-weight: 700;
	padding-left: 0.05em;
	line-height: 0.9;
}

a.m2g-sharing-icon i.fa-envelope {
	font-size: 90%;
	line-height: 1.1;
}

.m2g-sharing-icon span span {
	display: none;
}

@media (max-width: 599px) {
#m2g-sharing-row > ul > li {
    margin: 1rem 0.25rem;
}
}

@media (min-width: 1000px) {
#m2g-sharing-whatsapp {
	display: none;
}
}

.page-template-page-list-teaser-blocks #m2g-sharing-row .m2g-section-divider {
	display: none;
}

#site-footer .m2g-sharing-icon {
	font-size: 1.6rem;
	width: 3.0rem;
	height: 3.0rem;
	display: inline-block;
	margin: 0 0 1rem 1rem;
	vertical-align: bottom;
	line-height: 1.9;
}

#site-footer .m2g-sharing-icon.facebook {
	line-height: 2.7;
}

/* ----------------------------------------------------------------------------------- */
/* Plugin wp_postratings */

.post-ratings-loading {
	display: none;
	height: 16px;
	text-align: left;
}

.m2g-rating .post-ratings img {
	display: inline;
	width:0; 
	height:0px; 
	padding: 1.8rem; 
	background-size: contain;
	margin: 0 0.25rem;
}

.m2g-rating .post-ratings img[src*='rating_off'] {
	background-image: url('assets/img/rating_stars/rating_stars_off.svg');
}

.m2g-rating .post-ratings img[src*='rating_on'] {
	background-image: url('assets/img/rating_stars/rating_stars_on.svg');
}

.m2g-rating .post-ratings img[src*='rating_half'] {
	background-image: url('assets/img/rating_stars/rating_stars_half.svg');
}

.m2g-rating .post-ratings img[src*='rating_over'] {
	transform: scale(1.1);
	background-image: url('assets/img/rating_stars/rating_stars_over.svg');
}

.m2g-rating {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 3rem auto;
  padding: 2rem 0 2rem;
  text-align: center;
}

.m2g-rating hr {
	margin: 3rem 0;
}

.m2g-rating h3,
.m2g-rating h4,
.m2g-rating h5 {
  text-align: center;
  margin: 0 auto 1.5rem;
}

.m2g-rating p {
  margin-top: 2rem;
  font-size: 2.0rem;
}

.post-ratings {
  width: auto;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-ratings span {
 margin: 0 auto 0.2rem;
  display: flex;
  text-align: center;
  flex-direction: row;
  align-items: center;
  text-align: center;
  font-size: 1.6rem;
}

.post-ratings-loading {
  text-align: center;
  height: auto;
}

.post-ratings-loading img {
  display: inline;
  margin: 0 1rem 0 0;
}



	
/* ----------------------------------------------------------------------------------- */
/* Plugin mgznkr-elements-css */
/* version 1.0.3 */
/* we added add_theme_support( 'mgznkr-elements-css' ); so all plugin styles are here! */
	
	
/* reset - because of chaplin */
body.m2g .wp-block-group.mgznkr-elements .wp-block-group__inner-container .wp-block-group,
body.m2g .wp-block-group.mgznkr-elements .wp-block-group__inner-container .wp-block-group:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
	max-width: unset;
	margin-top: 0;
	margin-bottom: 0;
}
	
:root {
	--elements-border-color: var(--border-color);
	--elements-low-bg-color: #fff;
	--elements-high-bg-color: #fff;
	--elements-neutral-bg-color: #fff;
	--elements-low-text-color:  var(--headings-color);
	--elements-high-text-color: var(--accent-color);
}


	
/* .mgznkr-box ----------------------------------------------------------------- */
.mgznkr-box {
	border: none;
	background-color: var(--light-background-color);
	margin: 2em 0;
}

.mgznkr-box.align-outside.alignright {
	margin-top: 0;
	margin-left: 3rem;
}

.mgznkr-box.align-outside.alignleft {
	margin-top: 0;
	margin-right: 3rem;
}
	
.mgznkr-box .wp-block-group__inner-container,
.mgznkr-box:not(:has(.wp-block-group__inner-container))  { 
	padding: 1.5em;
	padding-top: 1.25em;
}
.mgznkr-box .wp-block-group__inner-container > :first-child,
.mgznkr-box:not(:has(.wp-block-group__inner-container)) > :first-child {
	margin-top:0!important;
}
.mgznkr-box .wp-block-group__inner-container > :last-child,
.mgznkr-box:not(:has(.wp-block-group__inner-container)) > :last-child {
	margin-bottom:0!important;
}
	
@media (max-width: 699px) {
.mgznkr-box .wp-block-group__inner-container,
.mgznkr-box:not(:has(.wp-block-group__inner-container)) {
	  padding-left: 2rem;
	  padding-right: 2rem;
}
}

.mgznkr-box h2,
.mgznkr-box h3,
.mgznkr-box h4,
.mgznkr-box h5 {
	color: var(--accent-color);
}
	
.mgznkr-box:not(:has(.wp-block-group__inner-container)):has(.alignright, .alignleft)::after {
	content: '';
	clear: both;
	display: block;
	margin-top: 0;
	margin-bottom: 0;
}

	
/* .mgznkr-toggle ----------------------------------------------------------------- */
.mgznkr-toggle {
	border: none;
	margin: 2em 0;
	overflow: hidden;
	background-color: #fdfdfd;
	background-color: var(--elements-low-bg-color);
}
.mgznkr-toggle + .mgznkr-toggle {
	margin-top: -0.5em;
}



.mgznkr-toggle .toggle-content {
	border-bottom: 2px solid #d8d8d8;
	border-color: var(--elements-border-color);
	padding: 1.5em 0 1.5em;
	padding-top: 1.25em;
	background: #fff;
	background: var(--elements-neutral-bg-color);
	margin: 0;
}
	
.mgznkr-toggle .toggle-content > .wp-block-group__inner-container > :first-child,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) .toggle-content > :first-child {
	margin-top: 0 !important;
}
.mgznkr-toggle .toggle-content > .wp-block-group__inner-container > :last-child,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) .toggle-content > :last-child {
	margin-bottom: 0 !important;
}
	
	
	
	
	
	
/* .mgznkr-accordion --------------------------------------------------------------- */
.mgznkr-accordion {
	margin: 2em 0;
	overflow: hidden;
	background-color: #fdfdfd;
	background-color: var(--elements-low-bg-color);
}
.mgznkr-accordion .accordion-item.active > div > h3,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item.active > h3,
.mgznkr-toggle > div > h3.active,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) > h3.active {
	background-color: #e9e9e9;
	background-color: var(--elements-high-bg-color);
	color: #000;
	color: var(--elements-high-text-color);
}
.mgznkr-accordion .accordion-item > div > h3,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item > h3,
.mgznkr-toggle > div > h3,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) > h3 {
	border-bottom: 2px solid #d8d8d8;
	border-color: var(--elements-border-color);
	margin: 0 !important;
	font-size: 1.26316em;
	line-height: 1.3;
	background-color: #fdfdfd;
	background-color: var(--elements-low-bg-color);
	color: #000;
	color: var(--elements-low-text-color);
	padding: 0.5em 0;
}
.mgznkr-accordion .accordion-item > div > h3:active,
.mgznkr-accordion .accordion-item > div > h3:focus,
.mgznkr-accordion .accordion-item > div > h3:hover,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item > h3:active,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item > h3:focus,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item > h3:hover,
.mgznkr-toggle > div > h3:hover,
.mgznkr-toggle > div > h3:focus,
.mgznkr-toggle > div > h3:active,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) > h3:hover,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) > h3:focus,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) > h3:active {
	background-color: #e9e9e9;
	background-color: var(--elements-high-bg-color);
	color: #000;
	color: var(--elements-high-text-color);
}

.mgznkr-toggle > div > h3:before,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container))> h3:before,	
.mgznkr-accordion .accordion-item > div > h3:before,	
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item > h3:before {
	content: "";
	display: inline-block;
	height: 1.2em;
	width: 1.7em;
	line-height: 0.5em;
	background-size: contain;
	background-image: url(assets/img/ace-more-arrow.svg);
	background-repeat: no-repeat;
	background-position: center center;
	transform-origin: center center;
	transform: translateY(0.3em);
	transition: none;
}

.mgznkr-toggle > div > h3.active:before,
.mgznkr-toggle:not(:has(.wp-block-group__inner-container)) > h3.active:before,
.mgznkr-accordion .accordion-item.active > div > h3:before,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-item.active > h3:before {
	transform: rotate(90deg) translateX(0.3em);
	transition: transform 0.3s ease-out;
}
	
.mgznkr-accordion .accordion-content {
	background: #fff;
	background: var(--elements-neutral-bg-color);
	padding: 1em 0 2em;
	margin: 0;
}

.mgznkr-accordion .accordion-item {
	margin: 0;
}

.mgznkr-accordion .accordion-content > .wp-block-group__inner-container > :first-child,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-content > :first-child {
	margin-top: 0 !important;
}
.mgznkr-accordion .accordion-content > .wp-block-group__inner-container > :last-child,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) .accordion-content > :last-child {
	margin-bottom: 0 !important;
}
.mgznkr-accordion > .wp-block-group__inner-container > .accordion-item:last-child .accordion-content,
.mgznkr-accordion:not(:has(.wp-block-group__inner-container)) > .accordion-item:last-child .accordion-content {
	border-bottom: 2px solid var(--elements-border-color);
}

 .mgznkr-toggle > h3.active,
 .mgznkr-accordion > .accordion-item.active > h3 {
border-color: var(--elements-high-text-color);
}

/* .mgznkr-flipcard -------------------------------------- */
.mgznkr-flipcard-block {
	margin-top: 0;
	margin-bottom: 0;
}

.mgznkr-flipcard-block  .mgznkr-flipcard-content-back {
color: inherit;
background: #fff;
border: 3px solid var(--accent-color);
box-shadow: none;
}





/* .plugin mgznkr stickhero -------------------------------------- */
/* ---------------------------------------------------------------------------------  */

:root {

	--mgznkr-sh-color: #fff;
	--mgznkr-sh-bgcolor: hsla(95,5%,30%,0.7);
	
	/* fixed-header-height */
	--mgznkr-sh-header-height: 80px;
		
	/* roughly: how long to scroll before sticky is released - 
	min value is 100vh + mgznkr-sh-con-top-margin - mgznkr-sh-header-height + text-content-height(variable due to content and responsive)
	 */
	--mgznkr-sh-scrollway: calc(240vh);
	/* scrollway from getting-sticky to content show up */
	--mgznkr-sh-con-top-margin: 40vh;
	

	/* should add up to 100% */
	--mgznkr-sh-con-max-width: 33%;
	--mgznkr-sh-con-small-margin: 7%;
	--mgznkr-sh-con-big-margin: 60%;
	
	/* content-styling */
	--mgznkr-sh-con-padding: 2.4rem;
	--mgznkr-sh-con-font-size: calc(0.75vw + 12px);
	--mgznkr-sh-con-head-size: calc(1.7 * 0.75vw + 12px);
	--mgznkr-sh-con-head-lheight: 1.2;
	
	--mgznkr-sh-media-ratio: calc(16 / 9);

	--mgznkr-sh-button-size: calc(var(--mgznkr-sh-con-head-size) * 2 * var(--mgznkr-sh-con-head-lheight));
}


@media (max-width: 599px) {
:root {
	--mgznkr-sh-con-font-size: calc(0.75vw + 18px);
	--mgznkr-sh-con-head-size: calc(1.7 * 0.75vw + 18px);
}
}

@media (max-width: 399px) {
:root {
	--mgznkr-sh-header-height: 60px;
}
}

@media (max-width: 899px) {
:root {
	--mgznkr-sh-con-font-size: calc(0.75vw + 14px);
	--mgznkr-sh-con-head-size: calc(1.7 * 0.75vw + 14px);
}
}



.mgznkr-stickyhero.alignfull {
	margin-bottom: 0!important;
	margin-top: 0!important;
	min-height: var(--mgznkr-sh-scrollway);
}

	
.mgznkr-stickyhero .mgznkr-stickyhero__media {
	position: -webkit-sticky;
	position: sticky;
	z-index: 1;
	top: var(--mgznkr-sh-header-height);
	margin-bottom: 0;
	width: 100%;
	height: calc(100vh - var(--mgznkr-sh-header-height));
	height: calc(100svh - var(--mgznkr-sh-header-height));
	overflow: hidden;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media,
.mgznkr-stickyhero .mgznkr-stickyhero-bg-img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset,
.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset .mgznkr-stickyhero-bg-img {
	background-size: contain;
	max-height: 100%;
}

.mgznkr-stickyhero .mgznkr-stickyhero__content.alignwide {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	margin: 0 auto;
	margin-top: var(--mgznkr-sh-con-top-margin);
	margin-bottom: 0;
	text-align: center;
	color: var(--mgznkr-sh-color);
	font-size: var(--mgznkr-sh-con-font-size);
	line-height: 1.4;
	font-weight: 300;
}

.mgznkr-stickyhero .mgznkr-stickyhero__content .container {
	overflow: hidden;

	transition-duration: 0.7s;
	transition-property: clip-path;
	transition-timing-function: ease-out;
	clip-path: circle(200% at calc(100% - 2em) 2em);

	font-size: var(--mgznkr-sh-con-head-size);
	line-height: 1.2;
	
	padding: var(--mgznkr-sh-con-padding);
	background-color: var(--mgznkr-sh-bgcolor);
	
}


.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content {
	margin-right: 5%;
	margin-left: 5%;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container > * {
	text-align: center;
	font-size: var(--mgznkr-sh-con-font-size);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content h3.container-button + p {
	text-align: left;
}



@media (min-width: 801px) {

.mgznkr-stickyhero .mgznkr-stickyhero__content.alignwide {
	max-width: var(--mgznkr-sh-con-max-width);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content {
    margin-right: auto;
    margin-left: auto;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-left + .mgznkr-stickyhero__content {
	margin-right: var(--mgznkr-sh-con-big-margin);
	margin-left: var(--mgznkr-sh-con-small-margin);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content {
	margin-right: var(--mgznkr-sh-con-small-margin);
	margin-left: var(--mgznkr-sh-con-big-margin);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-left + .mgznkr-stickyhero__content .container > * {
	text-align: left;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container > * {
	text-align: right;
}

}








.mgznkr-stickyhero .mgznkr-stickyhero__media .video-container {
    padding-bottom: calc((100vw / var(--mgznkr-sh-media-ratio) ) -  var(--mgznkr-sh-header-height)); /* 16/9 -> 56.25vw */
    min-height: calc(100vh - var(--mgznkr-sh-header-height));
	min-height: calc(100svh - var(--mgznkr-sh-header-height));
    margin-bottom: 0;
	margin-top: 0;
	border: none;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset .video-container {
	max-height: 100%;
}


.mgznkr-stickyhero .mgznkr-stickyhero__media .video-container iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	display: block;
	max-width: none;
	height: calc(100vh - var(--mgznkr-sh-header-height))!important;
	width: calc(100vh * var(--mgznkr-sh-media-ratio))!important;  /* 16/9 -> 177.777vh */
	height: calc(100svh - var(--mgznkr-sh-header-height))!important;
	width: calc(100svh * var(--mgznkr-sh-media-ratio))!important;  /* 16/9 -> 177.777vh */
    min-width: 100%;
    min-height: calc((100vw / var(--mgznkr-sh-media-ratio) ) ); /* 16/9 -> 56.25vw */
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset .video-container iframe {
	width: auto;
	min-height: calc(100vh - var(--mgznkr-sh-header-height) );
	max-width: 100%;
}




.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container > h3 {
	font-size: var(--mgznkr-sh-con-head-size);
	line-height: var(--mgznkr-sh-con-head-lheight);
	margin-top: 0;
	margin-bottom: 0.5em;
	color: #fff;
}


.mgznkr-stickyhero .mgznkr-stickyhero__content .container > *:last-child {
	margin-bottom: 0;
}



.mgznkr-stickyhero .mgznkr-stickyhero__content .container h3.container-button {
	display: flex;
	flex-flow: row;
	align-items: flex-start;
	justify-content: flex-start;
}


.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container > h3.container-button > span {
	min-height: var(--mgznkr-sh-button-size);
	display: flex;
	flex-flow: row;
	align-items: flex-end;
	text-align: left;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container.button-active {
	clip-path: circle(calc( ( var(--mgznkr-sh-button-size) / 2 ) + ( var(--mgznkr-sh-con-padding) / 2 ) ) at calc( ( var(--mgznkr-sh-button-size) / 2 ) + var(--mgznkr-sh-con-padding) )  calc( (var(--mgznkr-sh-button-size) / 2) + var(--mgznkr-sh-con-padding) ) );
}


@media (min-width: 801px) {

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container > h3.container-button {
	justify-content: flex-end;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container > h3.container-button > span {
	text-align: right;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content h3.container-button  button {
	order: 2;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right  + .mgznkr-stickyhero__content .container.button-active {
	clip-path: circle(calc( ( var(--mgznkr-sh-button-size) / 2 ) + ( var(--mgznkr-sh-con-padding) / 2 ) ) at calc( 100% - ( var(--mgznkr-sh-button-size) / 2 ) - var(--mgznkr-sh-con-padding) )  calc( (var(--mgznkr-sh-button-size) / 2) + var(--mgznkr-sh-con-padding) ) );
}

}








/* ----------------------- play button ------------------ */


button.mgznkr-stickyhero-video-play {
display: inline-block;
position: inherit;
width: var(--mgznkr-sh-button-size);
min-width: var(--mgznkr-sh-button-size);
height: var(--mgznkr-sh-button-size);
line-height: 1;
overflow: hidden;
border-radius: 50%;
border: 0.2em solid var(--mgznkr-sh-color);
outline: none;
background-color: transparent;
padding: 0;
margin: 0 0 0.1em;
opacity: 0.8;
display: none;
box-sizing: border-box;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container button.mgznkr-stickyhero-video-play {
margin-right: calc( var(--mgznkr-sh-con-padding) / 2 );
margin-left: 0;
}

@media (min-width: 801px) {

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container button.mgznkr-stickyhero-video-play {
margin-right: 0;
margin-left: calc( var(--mgznkr-sh-con-padding) / 2 );
}

}

button.mgznkr-stickyhero-video-play span {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}

button.mgznkr-stickyhero-video-play:hover span {
opacity: 1;
background-color: rgba(255,255,255,0.3);
}

button.mgznkr-stickyhero-video-play:focus {
	background-color: transparent;
}

button.mgznkr-stickyhero-video-play span:nth-of-type(1) svg {
fill: var(--mgznkr-sh-color);
width: 65%;
margin-left: 12%;
height: auto;
}

button.mgznkr-stickyhero-video-play.active span:nth-of-type(1),
button.mgznkr-stickyhero-video-play span:nth-of-type(2) {
display: none;
}

button.mgznkr-stickyhero-video-play:not(.active) span:nth-of-type(1),
button.mgznkr-stickyhero-video-play.active span:nth-of-type(2) {
display: flex;
}

button.mgznkr-stickyhero-video-play span:nth-of-type(2) svg {
fill: var(--mgznkr-sh-color);
width: 60%;
height: auto;
}



@media print {
.mgznkr-stickyhero {
display: none;
}
}


/* .plugin hotspot -------------------------------------- */
/* ---------------------------------------------------------------------------------  */

.m2g .tooltipster-shadow .tooltipster-content {
font-family: unset;
font-size: 1.7rem;
line-height: 1.1;
}

/* .plugin mgznkr-img-slider -------------------------------------- */
/* ---------------------------------------------------------------  */

:root body .mgznkr-img-slider {
	--slider-dot-color: #fff;
	--slider-dot-active: var(--accent-color);
	--slider-dot-border-color: #fff;
	--slider-dot-active-border-color: var(--accent-color);
	--slider-dot-size: 12px;
	--slider-dot-borderwidth: 3px;
}



body .mgznkr-img-slider .slick-slide p {
	font-size: 1.7rem;
	}

/* mgznkr-img-slider ---- */

body .mgznkr-img-slider.slick-slider .slick-arrow {
	background-image: url(assets/img/ace-lenkrad-img-slider-arrow.svg);

  }
body .mgznkr-img-slider.slick-slider .slick-arrow:hover {
	background-image: url(assets/img/ace-lenkrad-img-slider-arrow-hover.svg);

  }


/* mgznkr-content-slider ---- */

.mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-arrow {
	background-image: url(assets/img/ace-lenkrad-img-slider-arrow.svg);

  }
  .mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-arrow:hover {
	background-image: url(assets/img/ace-lenkrad-img-slider-arrow-hover.svg);

  }


  .mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-next {
	right: 0.35%;
  }

  .mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-prev {
	left: 0.35%;
  }

   .mgznkr-content-slider.mgznkr-img-slider.slick-slider button.slick-arrow:focus {
	color: transparent;
  }
  
  
  .mgznkr-content-slider.mgznkr-img-slider.slick-slider  {
	background: #eee;
  }
  
  .mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-dots li button::before {
	background: #fff;
  }
 
  .mgznkr-content-slider.mgznkr-img-slider.alignfull {
 max-width: var(--viewportWidth, 100vw);
 margin-top: 0;
 }
 
 .mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-slide:not(.alignleft):not(.alignright) {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  width: var(--viewportWidth, 100vw);
  }

.mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-slide:not(.alignleft):not(.alignright) > * {
	margin: 0;
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .preview-link .m2g-media-wrapper img:hover {
	transform: none;
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview {
	position: relative;
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	position: absolute;
	left: 2rem;
	top: calc(100vh - var(--mgznkr-header-height-full) - 32rem);
	top: calc(100svh - var(--mgznkr-header-height-full) - 32rem);
	pointer-events: none;
	background: rgba(255,255,255, 0.85);
	width: fit-content;
	max-width: calc(100% - 4rem);
	padding: 2rem;
}

@media (max-width: 699px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-arrow {
top: 33%;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	background: rgba(255,255,255, 0.7);
}
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: 2rem;
}

@media (min-width: 700px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	top: calc(100vh - var(--mgznkr-header-height-full) - 32rem);
	top: calc(100svh - var(--mgznkr-header-height-full) - 32rem);
	left: 4rem;
	max-width: 50%;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: 4rem;
}
}

@media (min-width: 1000px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	left: 5rem;
	max-width: 30%;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: 5rem;
}
}

@media (min-width: 1500px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	left: calc((var(--viewportWidth, 100vw) - var(--m2g-startpage-extra-width) ) / 2);
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: calc((var(--viewportWidth, 100vw) - var(--m2g-startpage-extra-width) ) / 2);
}
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	left: unset;
}



.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .faux-image::after {
	padding-top: calc(100vh - var(--mgznkr-header-height-full));
	padding-top: calc(100svh - var(--mgznkr-header-height-full));
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-slide p {
	margin-left: inherit;
}
@media (max-width: 499px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
line-height: 1.1;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .pre-header {
  margin-bottom: 1.0rem;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview h2.heading-size-3 {
  line-height: 1.1;
}
}


@keyframes mediaZoomLoop {
 0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.mgznkr-content-slider .preview-link .m2g-media-wrapper img {
  animation: mediaZoomLoop 20s ease-in-out infinite;
}


/* .plugin mgznkr-quiz-------------------------------------- */
/* ---------------------------------------------------------------  */



/* version 1.4 */

:root {
	/* Colors */
	--mgznkr-quiz-background: var(--ace-black);
	--mgznkr-quiz-y-color: green;
	--mgznkr-quiz-n-color: var(--ace-red);
}

/* Style start */

.mgznkr-quiz {
	background: #e0f1fc;
	padding: 2rem 4rem;
}



.mgznkr-quiz-after hr:first-child {
	border: none;
	background: none;
	margin-bottom: 1rem;
}




/* Style end */


.mgznkr-quiz,
.mgznkr-quiz-after {
	position: relative;
}

.mgznkr-quiz-after {
  display: none;
  padding: 2rem 0 2rem;
}

.mgznkr-quiz:not(.mgznkr-quiz-check) ul li,
.mgznkr-quiz:not(.mgznkr-quiz-check) ul li:before {
	cursor: pointer;
}

.mgznkr-quiz ul li,
.mgznkr-quiz ul li:before {
	list-style: none;
}

.mgznkr-quiz ul li.mgznkr-quiz-select {
	font-weight: bold;
}

.mgznkr-quiz ul {
	padding-left: 1.6rem;
}

.mgznkr-quiz ul.mgznkr-quiz-single li:before,
.mgznkr-quiz ul.mgznkr-quiz-multi li:before {
	content: '\f111';
	font-family: 'Font Awesome 5 Free';
	font-weight: 500;
	margin: 0 0 0 -3.4rem;
	width: 3.4rem;
	height: 100%;
	background: none;
	display: inline-block;
}

.mgznkr-quiz ul.mgznkr-quiz-multi li:before {
	content: '\f0c8';
}

.mgznkr-quiz ul.mgznkr-quiz-multi li.mgznkr-quiz-select:before {
	content: '\f0fe';
}

.mgznkr-quiz.mgznkr-quiz-check ul li.mgznkr-quiz-y:before {
	content: '\f058';
	color: var(--mgznkr-quiz-y-color, green);
}

.mgznkr-quiz.mgznkr-quiz-check ul li.mgznkr-quiz-n:before {
	content: '\f057';
	color: var(--mgznkr-quiz-n-color, red);
}

.mgznkr-quiz.mgznkr-quiz-check ul li.mgznkr-quiz-n.mgznkr-quiz-select {
  	animation-duration: 1.2s;
  	animation-name: headShake;
  	animation-fill-mode: both;
  	animation-delay: 0.8s;
  	animation-timing-function: ease-in-out;
}

.mgznkr-quiz.mgznkr-quiz-check ul li.mgznkr-quiz-y.mgznkr-quiz-select {
	animation: tada;
  	animation-duration: 1s;
  	animation-fill-mode: both;
  	animation-delay: 0s;
  	animation-timing-function: ease-in-out;
}

.mgznkr-quiz.mgznkr-quiz-check ul li.mgznkr-quiz-n {
	text-decoration: line-through;
}

.mgznkr-quiz.mgznkr-quiz-check ul.mgznkr-quiz-multi li.mgznkr-quiz-y:before {
	content: '\f14a';
}

.mgznkr-quiz.mgznkr-quiz-check ul.mgznkr-quiz-multi li.mgznkr-quiz-n:before {
	content: '\f146';
}


.mgznkr-quiz.mgznkr-quiz-check ul.mgznkr-quiz-multi + .wp-block-buttons a,
.mgznkr-quiz.mgznkr-quiz-check ul.mgznkr-quiz-multi + .wp-block-buttons a:hover,
.mgznkr-quiz.mgznkr-quiz-check ul.mgznkr-quiz-multi + .wp-block-buttons a:active,
.mgznkr-quiz.mgznkr-quiz-check ul.mgznkr-quiz-multi + .wp-block-buttons a:focus {
	background-color: #999;
	cursor: default;
	text-decoration: none;
}

.mgznkr-quiz > [class*="__inner-container"] .mgznkr-quiz-after:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
	display: none;
	max-width: unset;
}


.mgznkr-quiz-after::before {
  content: '';
  display: block;
  height: 2px;
  width: calc(100% + 8rem);
  margin: -3rem -4rem 2.5rem;
  background: white;
}

.mgznkr-quiz hr:not(.aligncenter) {
	margin-left: 0!important;
}



@keyframes headShake {
  0% {
    transform: translateX(0);
  }

  6.5% {
    transform: translateX(-6px) rotateY(-9deg);
  }

  18.5% {
    transform: translateX(5px) rotateY(7deg);
  }

  31.5% {
    transform: translateX(-3px) rotateY(-5deg);
  }

  43.5% {
    transform: translateX(2px) rotateY(3deg);
  }

  50% {
    transform: translateX(0);
  }
}


@keyframes tada {
  from {
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -2deg);
  }

  30%,
  50%,
  70%,
  90% {

    transform: scale3d(1.05, 1.05, 1.05) rotate3d(0, 0, 1, 2deg);
  }

  40%,
  60%,
  80% {
    transform: scale3d(1.05, 1.05, 1.05) rotate3d(0, 0, 1, -2deg);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}


/* .plugin mgznkr-decision-tree -------------------------------------- */
/* ---------------------------------------------------------------  */

body div.mgznkr-tree-finish {
  border: 0.4rem solid rgba(12,70,242,1);
  border-radius: 3rem;
  
padding-bottom: 5rem;
}

body div.mgznkr-tree-finish h6 {
color: var(--buttons-background-color);
margin-top: 2rem;
}

body div.mgznkr-tree-finish h6 + h4 {
margin-top: 1rem;
}


/* global styles */

:root :where(.is-layout-flow) > * {
	margin-block-start: initial;
  }

:root {
	--wp--preset--font-size--small: 16px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 24px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--font-size--normal: 19px;
  --wp--preset--font-size--larger: 32px;
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	width: unset;
}

/* ----*/

.cirlce-i {
	display: inline-block;
	text-align: center;
	border: 2px solid var(--accent-color);
	border-radius: 50%;
	color: var(--accent-color);
	height: 5.2rem;
	width: 5.2rem;
}
.cirlce-i:before {
	content: 'i';
	font-size: 36px;
	font-weight: var(--headings-weight);
    line-height: 50px;
}

mark {
	padding: 0.1em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ------ cover video header ----*/

:root {
	--m2g-header-media-ratio: calc(16 / 9);
}
.cover-header .m2g-video-header-vimeo .m2g-video-container {
	height: 100%;
	background-position: center;
	padding-bottom: 0;
	height: calc((100svh - var(--top-margin-cover-header)));	
}

.cover-header .m2g-video-header-vimeo .m2g-video-container iframe {
	min-height: 100vh;
	min-height: 100svh;
	height: calc(100vw * (1 / var(--m2g-header-media-ratio))) !important;
	top: calc(100vh - var(--top-margin-cover-header));
	top: calc(100svh - var(--top-margin-cover-header));
	transform: translateX(-50%) translateY(-95%); 
	left: 50%;

top: calc((100svh - var(--top-margin-cover-header)) / 2);
transform: translateX(-50%) translateY(-50%);
}

/* war
	top: 50%;		
	transform: translateX(-50%) translateY(-50%); 
aber das video war immer oben angeklebt, besser aber unten angeklebt
*/


@media (max-width: 1400px) {
.cover-header .m2g-video-header-vimeo .m2g-video-container iframe  {
  min-width: calc(100vh * var(--m2g-header-media-ratio)) !important;
}
}
/* ------ .m2g-video-teaser ----*/
.grid-item .m2g-video-teaser iframe {
	  pointer-events: none;
}

/* ------ content-slider video-teaser ----*/

:root {
	--m2g-header-media-ratio: calc(16 / 9);
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container {
	height: calc((100svh - var(--top-margin-cover-header)));
	padding-bottom: 0;
	background-position: center;
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container iframe {
	min-height: 100vh;
	min-height: 100svh;
	height: calc(100vw * (1 / var(--m2g-header-media-ratio))) !important;
	top: calc(100vh - var(--top-margin-cover-header));
	top: calc(100svh - var(--top-margin-cover-header));
  left: 50%;
  transform: translateX(-50%) translateY(-95%); 
  pointer-events: none;

  top: calc((100svh - var(--top-margin-cover-header)) / 2);
    transform: translateX(-50%) translateY(-50%); 
}
/* war
	top: 50%;		
	transform: translateX(-50%) translateY(-50%); 
aber das video war immer oben angeklebt, besser aber unten angeklebt
*/

@media (max-width: 1400px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container iframe  {
  min-width: calc(100vh * var(--m2g-header-media-ratio)) !important;
  min-width: calc(100svh * var(--m2g-header-media-ratio)) !important;
}
}


/* .plugin wp-polls -------------------------------------- */
/* ---------------------------------------------------------------------------------  */


.wp-polls {
	margin-bottom: 4rem;
}

.mgznkr-box .wp-polls h3 {
	text-align: left;
	margin-top: 0;
}

.mgznkr-box .wp-polls-ul + p {
	text-align: left;
	margin-top: 2rem;
}

.wp-polls-ans {
	margin: 0 auto;
}

.wp-polls-form {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-polls label,
.wp-polls input[type="checkbox"] + label {
	display: inline;
	font-weight: inherit;
	font-size: inherit;
}

.wp-polls input[type=button] {
	white-space: normal;
}

ul.wp-polls-ul,
ul.wp-polls-ul li {
	margin-left: 0;
	padding-left: 0;
}

.entry-content ul.wp-polls-ul li::before {
	display: none;
}

.mgznkr-box ul.wp-polls-ul:not(.wp-polls-bars) li {
	margin: .5rem 0 1.5rem 0;
	font-weight: bold;
}

.mgznkr-box ul.wp-polls-ul.wp-polls-bars li {
	margin: .5rem 0.5rem 1.5rem 0;
}

.mgznkr-box ul.wp-polls-ul + p {
	margin-bottom: 0.5rem;
}

.entry-content .wp-polls .pollbar {
    display: block;
	margin: 0;
    font-size: unset;
    height: 1.5rem;
    line-height: 1;
    background: #999;
    background: var(--buttons-background-color);
  	border: none;
}

.wp-polls .pollback {
	background: #e6e6e6;
	background: var(--light-background-color);
}

.mgznkr-box .wp-polls .pollback {
	background: #fff;
}

/* ------ style class reverse order mobile  ----*/
@media (max-width:781px){
  .mgznkr-mobile-reverse-order{
    flex-direction: column-reverse;
  }
  .mgznkr-mobile-reverse-order > div *	{
    text-align:left;
  }
}

/* ------ plugin switch ----*/
.mgznkr-switch-labels div:not(.active) {
  opacity: 0.4;
}

/* ----  toggle read more --- */

body .mgznkr-toggle.toggle-read-more h3 {
font-size: inherit;
font-weight: inherit;
text-decoration: underline;
text-underline-offset: 4px;
color: var(--ace-red);
cursor: pointer;
}

body .mgznkr-toggle.toggle-read-more h3.active {
display: none;
}

body .mgznkr-toggle.toggle-read-more h3,
body .mgznkr-toggle.toggle-read-more .toggle-content{
border: none;
}

body .mgznkr-toggle.toggle-read-more {
  margin: 0;
}

body .mgznkr-toggle.toggle-read-more:not(:has(h3.active)):before {
content: '';
display: block;
height: 10rem;
  margin-top: -10rem;
  width: calc(100% - 4rem);
  position: absolute;
background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.85), rgba(255,255,255,1));
}

/* ------- */

.m2g-video-container .video-placeholder {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 99, 99, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    justify-content: center;
    min-height: inherit;
}

.m2g-video-container .video-placeholder, 
.m2g-video-container .video-placeholder p {
font-size: 1.6rem;
}

.cover-header .m2g-video-container .video-placeholder,
.m2g-video-teaser .m2g-video-container .video-placeholder {
	display: none;
}


span.open-usercentrics-settings {
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

span.open-usercentrics-settings:hover {
	color: var(--accent-color);
}