/*
 Theme Name:   Twenty Twenty-Four
 Description:  Twenty Twenty-Four Child Theme
 Author:       Sven Baier
 Author URI:   http://svenbaier.de
 Description: Twenty Twenty-Four is designed to be flexible,
 versatile and applicable to any website. Its collection of templates and patterns tailor to different needs,
 such as presenting a business,
 blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process,
 is fully compatible with the site editor,
 and takes advantage of new design tools introduced in WordPress 6.4.
 Template:     twentytwentyfour
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0 License: GNU General Public License v2 or later
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: one-column,
custom-colors,
custom-menu,
custom-logo,
editor-style,
featured-images,
full-site-editing,
block-patterns,
rtl-language-support,
sticky-post,
threaded-comments,
translation-ready,
wide-blocks,
block-styles,
style-variations,
accessibility-ready,
blog,
portfolio,
news
 Text Domain:  schaltraum
*/

/* WEBFONTS */

@font-face {
    font-family: 'Generika Bold';
    src:
        url('fonts/GenerikaWEB-Bold.woff2') format('woff2'),
        url('fonts/GenerikaWEB-Bold.woff') format('woff')
    ;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Generika Regular';
    src: url('fonts/GenerikaWEB-Regular.woff2') format('woff2'),
        url('fonts/GenerikaWEB-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Generika Light';
    src:
        url('fonts/GenerikaWEB-Light.woff2') format('woff2'),
        url('fonts/GenerikaWEB-Light.woff') format('woff')
    ;
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------------- */

* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.is-layout-constrained > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

.is-layout-flow > * {
    margin-block-start: 6px;
    margin-block-end: 0;
}

html.has-modal-open {
    overflow: visible !important;
}

:root {
    --wp--style--block-gap: 0 !important;
}

body {
    font-family:"Generika Light", 'Arial Narrow', Arial, sans-serif !important; 
    font-size: 20px !important;
    line-height: 27px !important;
    font-weight: 200 !important;
    padding-top: 121px;
    /* letter-spacing: 1px; 
    --wp--style--global--content-size: 1638px !important;
    --wp--style--global--wide-size: 1920px !important;*/

    --wp--style--global--content-size: 100% !important;
    --wp--style--global--wide-size: 1920px !important;
}

body.home {
    padding-top: 0;
}

p {
    margin-bottom: 25px !important;
}

header p {
    margin-bottom: 0 !important;
}

.wp-block-query-title span {
    font-style: normal !important;
}


.wp-site-blocks:before {
    content: " ";
    width: 100%;
    height: 121px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

body.home .wp-site-blocks:before {
    content: " ";
    width: 100%;
    height: 121px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}


:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

.wp-block-post-terms a:where(:not(.wp-element-button)) {
    text-decoration: none;
    color: #005da2 !important;
    font-weight: bold;
}
.wp-block-post-terms a:where(:not(.wp-element-button)):hover {
    text-decoration: underline;
}


a {
    color: #000 !important;
    padding:0 0 0 0;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

.wp-site-blocks a {
    color: #000 !important;
    padding:0 0 0 0;
    text-decoration: none;
    /* border-bottom: 2px solid transparent; */
}

main a {
    border-bottom: 1px solid #000;
}
body.category .wp-block-post a {
    border-bottom: 1px solid transparent !important;
}

.icon-link {
    margin-left: 10px;
}


/*
main a:after {
    content: " ";
    width: 18px;
    height: 18px;
    display: inline-block !important;
    margin-left: 10px;
    border-bottom: 1px solid #fff !important;
    background: url(img/icon-link-extern.svg) no-repeat center center;
}

main a[href^="mailto:"]:after {
    content: " ";
    width: 0;
    height: 0;
    margin-left: 0 !important;
    background: url();
}
*/

.wp-site-blocks a:hover {
    text-decoration: none;
    /* border-bottom: 2px solid #000; */
}

header a,
header a:hover {
    text-decoration: none;
    border-bottom: 0 !important;
}

*:focus {
    outline: none !important;
}

/* temp scale up for testimages */
.img-scale-up img {
    width: 100% !important;
    height: auto !important;
}


h1, h2, h3, h4, h5, h6 {
    font-family:"Generika Light", 'Arial Narrow', Arial, sans-serif !important;     
    font-weight: 200 !important;
    color: #000000 !important;
}

h1 { font-size: 35px !important; line-height: 45px !important; margin: 6px 0 6px 0 !important;}
h2 { font-size: 35px !important; line-height: 45px !important; margin: 6px 0 6px 0 !important;}
h3 { font-size: 35px !important; line-height: 45px !important; margin: 6px 0 6px 0 !important;}

p,
.wp-block-image figcaption {    
    font-family:"Generika Light", 'Arial Narrow', Arial, sans-serif !important;    
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 27px !important;
    font-weight: 200 !important;
    /* text-align: justify; 
    hyphens: auto;*/
}

.wp-block-image img {    
    margin-bottom:7px;
}

/* image captions */
.wp-block-image figcaption {
    margin-bottom: 17px;
    margin-top: 10px !important;
}

/* Video */
.wp-block-video video {
    margin-bottom: 7px;
}

.p-after-video {
    margin: 10px 0 17px 0 !important;
}

.wp-block-post-excerpt__excerpt {
    font-family:"Generika Light", 'Arial Narrow', Arial, sans-serif !important; 
    margin-bottom: 0;
    margin-top: 0;
    font-size: 20px !important;
    line-height: 27px !important;
    font-weight: 200 !important;
}

/* Tabellen */
.wp-block-table {
    margin: 0 !important;
}
.wp-block-table td, .wp-block-table th {
    border: 0 !important;
    padding: 0 0 0 0 !important;
    vertical-align: top;
}
.wp-block-table .has-fixed-layout td:first-child {width:200px;}

/* sticky Header */
header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    /* z-index: 999 !important;*/
    padding: 11px 0 0 0 !important;
    background: transparent;
}


/* Navigation */
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: 0 !important;
    padding: 10px 0 20px 0 !important;
}
/*
.wp-block-navigation__submenu-container li {
    padding-right: 20px !important;
}
*/
.wp-block-navigation__submenu-container li a {
    font-size: 18px !important;
}


.wp-block-site-logo img {
    height: auto;
    max-width: 100%;
    /* width: 100%; */
}

/*
.wp-block-site-logo img:hover,
.custom-logo.invert {
    filter: invert(1);
}
*/

.wp-block-site-title {

}
.wp-block-site-title::after {
    content: " ";
    display: block;
    clear: both; /* if you need to break floating elements */
}

header {z-index: 9999 !important;}
/*
header .has-base-background-color {
    background: #fff !important;
}
*/

.header-full {
    /* background:#fff !important; */
}
.header-scroll {
    padding: 0;
    /* height:60px !important; 
    background:#fff !important;*/
}

body.home header,
body.home header .has-base-background-color,
body.home .header-full,
body.home .header-scoll {
    background: transparent !important;
}
/*
.header-scroll .wp-block-site-logo img {
    max-width: 70%;
}
*/
.header-scroll, .header-full, .wp-block-site-logo img, .wp-block-navigation__responsive-container-open:after, a {
  -webkit-transition: 0.6s; 
  -moz-transition: 0.6s; 
  -ms-transition: 0.6s; 
  -o-transition: 0.6s; 
  transition: 0.6s;  
}

.wp-container-core-navigation-layout-1.wp-container-core-navigation-layout-1 {
    margin-right: -10px;
}


/* Simple Slideout Navigation */

.simple-slideout-menu-panel.left {
    left: -1200px;
}
/* no tease...
.simple-slideout-menu-panel.tease {
    left: -35vw;
}
*/

/*
.simple-slideout-menu-close {display: none;}
*/

.dashicons-menu:before {    
  content: " " !important;
  display:inline-block !important;
  margin-top: -16px;
  height: 71px !important;
  width: 48px !important;
  background: transparent url("img/navicon-black.svg") no-repeat 0px -9px;
  /*
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  */
}
/*
.dashicons, .dashicons-before:before {
    margin: -9px 0 0 6px !important;
}
*/
/*
.dashicons-menu:hover:before {    
  background: transparent url("img/navicon-white.svg") no-repeat center center;
}
*/

.simple-slideout-menu-panel {
    position: fixed;
    display:flex;
    align-items: center;
    top: 0;
    background: #FFE207 !important; 
    
    /* background: #fff !important;*/
    background-image: url() !important;
    background-position: right -74px !important; 
    background-repeat: no-repeat !important; 

    box-sizing: border-box !important;
    background-origin: content-box !important;
    opacity: 1;
    max-width: 640px;
    width: 100%;
    z-index: 999 !important;
    height: 100vh;
    /* padding: 240px 45px; */
    padding: 99px 45px 0 45px;
    /* overflow-y: hidden; */
    -webkit-transition: .6s ease-in-out;
    -moz-transition: .6s ease-in-out;
    -ms-transition: .6s ease-in-out;
    -o-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}

.simple-slideout-menu-panel ul.slideout-menu {
    display: block;
    padding: 0;
    /* margin: 101px 0 0 -5px; */
    margin: 0 0 0 -8px;
    /* width: 100%; */
    text-align: left;
    vertical-align: middle !important;
}

.simple-slideout-menu-panel ul.slideout-menu li {
    margin-bottom: 27px;
}

.simple-slideout-menu-panel ul.slideout-menu a {
    color: #000000;
    font-family: "Generika Regular", 'Arial Narrow', Arial, sans-serif;
    font-size: 70px !important;
    line-height: 80px !important;
    text-decoration: none;
    text-transform: uppercase !important;
    font-weight: 200 !important;
    /* text-align: left !important; */
    letter-spacing: 6px;
    padding-left: 8px;
    -webkit-transition: 0s ease-in-out;
    -moz-transition: 0s ease-in-out;
    -ms-transition: 0s ease-in-out;
    -o-transition: 0s ease-in-out;
    transition: 0s ease-in-out;
}
/**/
a.active[data-trigger=simple-slideout] .dashicons-menu:before {
    content: " " !important;
    background: transparent url(img/nav-close.svg) no-repeat center center; !important;
    /*
    content: "\f335" !important;
    background: transparent url() !important;
    */
    margin-left: -14px;
    margin-top: -25px;
    -webkit-transition: 0s ease-in-out;
    -moz-transition: 0s ease-in-out;
    -ms-transition: 0s ease-in-out;
    -o-transition: 0s ease-in-out;
    transition: 0s ease-in-out;
}


/* hide close in header while nav-open
header.nav-open a.simsm-shortcode-ui {display: none;} 
header.nav-open a.simsm-shortcode-ui {margin-left: -18px !important;}*/

.simple-slideout-menu-panel .simple-slideout-menu-close {

    display: none; /* hide close icon in nav panel */
    position: absolute;
    top: 45px;
    left: 45px;
    text-decoration: none;
    color: #000;
    margin: 0;
    padding: 0;
}


/* Theme Navigation - disabled */
.wp-block-navigation__responsive-container-open {display: none;}

.wp-block-navigation__responsive-container-open:after {
  content: " ";
  display:inline-block !important;
  height: 71px !important;
  width: 48px !important;
  background: transparent url("img/navicon-white.svg") no-repeat center center;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.wp-block-navigation__responsive-container-open:hover:after {
  background: transparent url("img/navicon-black.svg") no-repeat center center;
}

.wp-block-navigation__responsive-container-open svg {display: none;}
/*
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
    display: block;
    height: 60px !important;
    width: 60px !important;
}
*/
.wp-block-navigation__responsive-container {
    /* max-height: 80px !important;
    padding: 0 !important;
    margin: 0 !important;
    right:60px;
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 120px !important;
    background: rgba(0, 93, 162, 0.9) !important;
    padding: 60px 80px !important;
    z-index: 2 !important;*/
}

.wp-block-navigation__responsive-container .wp-block-navigation a {
    text-decoration: none;
    font-weight: bold;
}
.wp-block-navigation__responsive-container .wp-block-navigation a:hover {
    text-decoration: none;
}

.wp-block-navigation__responsive-container-content {
    
    /*width: 50vw !important;
    margin: 80px auto 20px auto !important;
    font-size: 24px;
    */
}

.wp-block-navigation__responsive-container {
    /* bottom: 0;
    display: none;
    left: 0;
    position: fixed;*/
    margin-right: auto !important;
    top: 0px !important;
    padding: 60px !important;
    z-index: 2 !important;
    width: 50vw !important;
}
.wp-block-navigation__responsive-container.is-menu-open {
    animation: overlay-menu__fade-in-animation 1.0s !important;
    background: rgba(255,255,255,0.9) !important;
}
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  text-align: center !important;
}

/*
.wp-block-navigation__responsive-container-close,
.header-full .wp-block-navigation__responsive-container-close {
    position: absolute;
    background: #005da2 !important;
    right: 6px;
    top: 0;
    z-index: 2;
    max-width: 1440px !important;
    margin: -105px -13px 20px auto !important;
}
.header-scroll .wp-block-navigation__responsive-container-close {
    position: absolute;
    background: #005da2 !important;
    right: 6px;
    top: 0;
    z-index: 2;
    max-width: 1440px !important;
    margin: -125px -13px 20px auto !important;
}
*/
.wp-block-query-no-results {
    padding-top: 0 !important;
}


/* Custom Category Filter 
.taxonomy-filter {
    margin: 20px 0;
}

.taxonomy-filter ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.taxonomy-filter li {
    margin: 5px;
}

.taxonomy-filter a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.taxonomy-filter a:hover {
    background-color: #005177;
}
*/

#posts-container {
    transition: opacity 0.6s ease;
}
.wp-block-post, .wp-block-image {overflow: hidden;}

/*
body.category-projekte .wp-block-post-featured-image img,
body.category-wettbewerbe .wp-block-post-featured-image img {
    opacity: 1;
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}

body.category-projekte .wp-block-post-featured-image:hover img,
body.category-wettbewerbe .wp-block-post-featured-image:hover img {
    opacity: .8;
}
*/

.wp-block-post-featured-image img,
.wp-block-post-featured-image img {
    opacity: 1;
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}

.wp-block-post-featured-image:hover img,
.wp-block-post-featured-image:hover img {
    opacity: .8;
}

body.category-neues .wp-block-post-featured-image:hover img {
    opacity: 1;
}

/* Cursor-Test */
body.category-projekte .wp-block-post-featured-image a {
    /* cursor: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='97' height='97' viewBox='0 0 97 97'%3e%3ccircle id='Ellipse_15' data-name='Ellipse 15' cx='48.5' cy='48.5' r='48.5' fill='%23ffe207'/%3e%3c/svg%3e") 48 48, pointer; */
    /* cursor: url(img/circle.svg) 48 48, pointer; */ 
    /*cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='97' height='97'><rect rx='200' width='100%' height='100%' fill='%23ffe207' /></svg>") 48 48, auto; */
}

/* PROJEKTE
body.category-projekte .wp-block-query .masonry-grid-column-1 .wp-block-post:first-child {margin-top:175px !important}
*/
/*
body.category-projekte .wp-block-query .masonry-grid-column-1 .wp-block-post,
body.category-projekte .wp-block-query .masonry-grid-column-2 .wp-block-post {
    margin-bottom: 175px !important
}
*/

/* NEUES
body.category-neues .wp-block-query .masonry-grid-column-2 .wp-block-post:first-child {margin-top:175px !important}
 */
/*
body.category-neues .wp-block-query .masonry-grid-column-1 .wp-block-post,
body.category-neues .wp-block-query .masonry-grid-column-2 .wp-block-post { 
    margin-bottom: 175px !important
}
*/

/* WETTBEWERBE
body.category-wettbewerbe .wp-block-query .masonry-grid-column-2 .wp-block-post:first-child {margin-top:175px !important}
 */
/*
body.category-wettbewerbe .wp-block-query .masonry-grid-column-1 .wp-block-post,
body.category-wettbewerbe .wp-block-query .masonry-grid-column-2 .wp-block-post { 
    margin-bottom: 175px !important
}
*/

.wp-block-query .masonry-grid-column-1 .wp-block-post,
.wp-block-query .masonry-grid-column-2 .wp-block-post { 
    margin-bottom: 175px !important
}

.wp-block-post-featured-image {
    position: relative;
}

:where(figure) {
    position: relative;
}

.curtain {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background: #fff;
   -webkit-transition: all 1.5s;
   transition: all 1.5s;
}

.post-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

/* 2nd featured image */
.wp-block-mfb-meta-field-block img {
    max-width:100% !important;
    height: auto !important;
}

/* 2nd featured image - Hover Container */
.swim-container {
    /* display: block; */
    position: relative;
}

.swim-container img {
    position: absolute;
    top: 0; left: 0;
}

.swim-container > img:first-child {
    opacity: 1;
    transition: all 0.7s;
    z-index: 100;
}

.swim-container:hover > img:first-child {
    opacity: 0;
    transition: all 0.7s;
}


/* ----------------------------------------------------------------------------------------- default column gap/margins */

/* Silder navigation ||||| */
.depicter-layer-frame.depicter-pos-absolute {
    position: fixed;
    bottom: 45px !important;
    right: 45px !important;
    transform: scale(1) !important;
}

.depicter-bullet-layer .depicter-bullet-item {
  pointer-events: none !important;
  cursor: default !important;
}

/* Slider invisible left/right links */
.depicter-symbol-layer .depicter-layer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.depicter-symbol-layer .depicter-layer.depicter-nav-prev { 
    align-items: center !important;
    justify-content: left !important;

}
.depicter-symbol-layer .depicter-layer.depicter-nav-next { 
    align-items: center !important;
    justify-content: right !important;
    
}
.depicter-symbol-layer .depicter-symbol-container svg { display: none; }


/* Silder navigation text with 5 Slides */
.depicter-layer-frame.depicter-text-layer {
    /* position: fixed; */
    bottom: 47px !important;
    right: 132px !important;
    margin-left: 45px !important;
}
.depicter-layer-frame.depicter-text-layer .depicter-text-link {
    /*border-bottom: 1px solid #fff !important;*/
    font-family: "Generika Bold", 'Arial Narrow', Arial, sans-serif !important;
    font-size: 25px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* color: #000; */
    margin-bottom: 0 !important;
    width: fit-content !important;    
}

/*
.depicter-layer-frame.depicter-text-layer a:has(> p.depicter-text-link) {
    color: red !important;
    border-bottom: 1px solid red !important;
}
*/

/*
.depicter-layer-frame.depicter-text-layer a {
    border-bottom: 1px solid #fff !important;
}
*/
.has-global-padding {
    padding-right: 45px !important;
    padding-left: 45px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body .wp-block-columns.is-layout-flex {
 column-gap: 45px !important;
 /* margin-bottom: 180px !important; */
}
/*
body .wp-block-columns.is-layout-flex:first-child {
 margin-top: 100px !important;
}
*/
body .wp-block-columns.is-layout-flex:last-child {
 margin-bottom: 0 !important;
}

/* dynamic vertical spacing with manual spacer */
.wp-block-spacer {
    height: 165px !important;
}

/* Spacing Page Buero/Kontakt */

body.page-kontakt .wp-block-columns.is-layout-flex {
    column-gap: 45px !important;
    /* margin-top: 90px !important;
    margin-bottom: 90px !important;*/
}

body.page-buero .wp-block-columns.is-layout-flex:first-child {
    column-gap: 45px !important;
    margin-top: 0px !important;
    /* margin-bottom: 180px !important; */
}
/*
body.page-buero .wp-block-spacer,
body.page-kontakt .wp-block-spacer {
    height: 220px !important;
}
body.page-buero .wp-block-columns .wp-block-spacer,
body.page-kontakt .wp-block-columns .wp-block-spacer {
    height: 205px !important; 
}
*/

body.page-buero .wp-block-columns.team-row {
    margin-top: 20px;
    margin-bottom: 120px;
}
body.page-buero .wp-block-columns.team-row.last {
    margin-bottom: 0px !important;
}

/*
body.page-kontakt .wp-block-columns.is-layout-flex:first-child,
body.page-datenschutzerklaerung .wp-block-columns.is-layout-flex:first-child {
    column-gap: 45px !important;
    margin-top: 180px !important;
}
*/

.wp-block-site-logo img {
    max-width: 100% !important;
    margin-top: -6px;
}

/* Footer */

body.home footer {display:none;}

footer {margin:0 !important; display:none;}

.project-footer {display:none;}

/*
footer .foolter-col-1 { order: 1; }
footer .foolter-col-2 { order: 2; }
footer .foolter-col-3 { order: 3; }
*/
/* footer .wp-block-group { padding-top: 0 !important; } 
footer p {    
    font-size: 14.4px !important;
    line-height: 21px !important;
    text-align: left !important;
}*/

footer .wp-container-core-navigation-layout-2.wp-container-core-navigation-layout-2 {
    margin-block-start: 1px !important;
}



@media (max-width: 1580px) {

body.page-buero .wp-block-columns.team-row .wp-block-column {margin-top: 0px; margin-bottom: 0px;}
body.page-buero .wp-block-columns.team-row {margin-top: 20px; margin-bottom: 60px;}
body.page-buero .team-row-spacer {height: 0px !important;}

}

@media (max-width: 1040px) {

/* ----------------------------------------------------------------------------------------- tablet column gap/margins */
/*
.depicter-layer-frame.depicter-pos-absolute {
    position: fixed;
    bottom: 65px !important;
}

.has-global-padding {
    padding-right: 65px !important;
    padding-left: 65px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body .wp-block-columns.is-layout-flex {
 column-gap: 65px !important;
}
*/

/* dynamic vertical spacing with manual spacer
.wp-block-spacer {
    height: 16vh !important;
} */

/*
.simple-slideout-menu-panel .simple-slideout-menu-close {
    top: 67px !important;
    left: 64px !important;
} 
*/

} /* -- end max-width 1040px */


@media (max-width: 997px){
.masonry-grid-item {margin-bottom: 70px !important;}
}

@media (max-width: 960px){

.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr !important;
}

/* ----------------------------------------------------------------------------------------- tablet column gap/margins */

.is-layout-constrained > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Slider white padding full 
.depicter-content-composer.depicter-ready, .depicter.depicter-ready {
    padding: 0;
}*/
/*
.depicter-layer-frame.depicter-pos-absolute {
    position: fixed;
    bottom: 30px !important;
}
*/

/*
.has-global-padding {
    padding-right: 30px !important;
    padding-left: 30px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
*/

body .wp-block-columns.is-layout-flex {
 column-gap: 30px !important;
}


/* dynamic vertical spacing with manual spacer */
.wp-block-spacer {
    height: 90px !important;
}    

:where(body .is-layout-flex) {
    gap: 0.2rem !important;
}
/*
header {
    padding: 33px 0 !important;
}
/*

/* slide-out nav 100% width, header transparent to show logo in slide-out
header.nav-open {
    background:transparent !important;
} */


.simple-slideout-menu-panel {
  box-sizing: border-box !important;
  background-origin: content-box !important;
  padding: 80px 45px 0 45px !important;
  max-width: 100vw !important;
  width: 100%;
  /* background-image: url(img/schaltraum-logo-bg-transparent.svg) !important;
  background-position: right -55px !important; 
  background-repeat: no-repeat !important; 
    background-size:cover;  
    background-attachment:fixed !important;*/
}   
/*
.simple-slideout-menu-panel ul.slideout-menu {
    margin-top: 200px !important;
}
*/
.simple-slideout-menu-panel ul.slideout-menu li {
    margin-bottom: 12px;
}

.simple-slideout-menu-panel ul.slideout-menu a {
    font-size: 60px !important;
    line-height: 69px !important;
}
/*
.simple-slideout-menu-panel .simple-slideout-menu-close {
    top: 67px !important;
    left: 34px !important;
} 

a.active[data-trigger=simple-slideout] .dashicons-menu:before {
    margin-left: 0 !important;
}
*/

}



@media (max-width: 781px) {

body .wp-block-columns.is-layout-flex {
 margin-bottom: 90px !important;
}

/* dynamic vertical spacing with manual spacer */
.wp-block-spacer {
    height: 90px !important;
}

.wp-block-columns .wp-block-column:nth-child(2) {margin-top: 90px;}

body.page-buero .wp-block-columns.team-row .wp-block-column:nth-child(2) {margin-top: 90px; margin-bottom: 90px;}
body.page-buero .team-row-spacer {height: 0px !important;}
body.page-kontakt .wp-block-columns.is-layout-flex:first-child,
body.page-datenschutzerklaerung .wp-block-columns.is-layout-flex:first-child {
    margin-top: 90px !important;
}

} /* -- end max-width 781px */



@media (max-width: 767px) {

.wp-block-table .has-fixed-layout td:first-child {width:160px;}

} /* -- end max-width 767px */


@media (max-width: 640px) {

h1 { font-size: 30px !important; line-height: 40px !important; }
h2 { font-size: 30px !important; line-height: 40px !important; }
h3 { font-size: 25px !important; line-height: 30px !important; }



} /* -- end max-width 640px */

@media (max-width: 480px) {

body .is-layout-flex {
    display: flex;
    flex-wrap: nowrap;
}

body {
    padding-top: 99px;
}

body.home {
    padding-top: 0;
}

.has-global-padding {
    padding-right: 25px !important;
    padding-left: 25px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

header {
    padding: 0 0 0 0 !important;
}

.wp-site-blocks:before {
    height: 99px;
}

.simple-slideout-menu-panel {
  padding: 80px 25px 0 25px !important;
}  

.depicter-layer-frame.depicter-pos-absolute {
    bottom: 25px !important;
    right: 25px !important;
}
.depicter-layer-frame.depicter-text-layer {
    /* position: fixed !important; */
    left: 25px !important;
    bottom: 27px !important;
    max-width: 70% !important;
    margin-left: 0 !important;
}

body .wp-block-columns.is-layout-flex {
 column-gap: 25px !important;
 margin-bottom: 10px !important;
}

/* dynamic vertical spacing with manual spacer */
.wp-block-spacer {
    height: 47px !important;
}

    .masonry-grid-item {
        margin-bottom: 40px !important;
    }

.wp-block-columns .wp-block-column:nth-child(2) {margin-top: 4px;}

body.page-buero .wp-block-columns.team-row {
    margin-top: 0px;
    margin-bottom: 0px;
}

body.page-buero .wp-block-columns.team-row .wp-block-column {
    margin-top: 20px;
    margin-bottom: 20px;
}
body.page-buero .wp-block-columns.team-row .wp-block-column:nth-child(2) {
    margin-top: 27px;
    margin-bottom: 20px;
}

body.page-kontakt .wp-block-columns.is-layout-flex:first-child,
body.page-datenschutzerklaerung .wp-block-columns.is-layout-flex:first-child {
    margin-top: 18px !important;
}

} /* -- end max-width 480px */

@media (max-width: 385px) {


} /* -- end max-width 480px */