/*
Theme Name: GTSL Steuerkanzlei
Theme URI: https://www.gtsl-steuerkanzlei.de/
Description: Website-Theme GTSL Steuerkanzlei Steuerberatungs Part mbB
Author: wedebo - Michal Boger
Author URI: http://www.wedebo.de
*/

 @font-face {
      font-family: 'icons'; font-display: swap;
      src: url('./font/icons.eot?60592451');
      src: url('./font/icons.eot?60592451#iefix') format('embedded-opentype'),
           url('./font/icons.woff?60592451') format('woff'),
           url('./font/icons.ttf?60592451') format('truetype'),
           url('./font/icons.svg?60592451#icons') format('svg');
      font-weight: normal;
      font-style: normal;
    }


/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('./font/poppins-v21-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./font/poppins-v21-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('./font/poppins-v21-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./font/poppins-v21-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('./font/poppins-v21-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./font/poppins-v21-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


:root {
  --haupthintergrund: #eef2f5;
  --textfarbe: #1a203c;
  --designfarbe1: #1a203c;
  --designfarbe2: #2d86df;
  --wp--style--block-gap: 2em;
}


html, body {
    margin: 0; padding: 0; background: var(--haupthintergrund); text-align: center;
    -webkit-text-size-adjust:none; color:var(--textfarbe); font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    float: left; width: 100%; height: 100%;
    font-size: 1.05em;-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

#wrapper {
    float: left; width: 100%; margin: 0; padding: 0; text-align: left; overflow: hidden; min-width:280px;
}
#header {
    float: left; width: 100%; margin:0; padding: 0; background:#fff; position: fixed; top: 0; left: 0; z-index: 10; min-width: 320px; text-align: center;
    -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
    box-shadow: 0px 0px 5px 0px #666;
-moz-box-shadow: 0px 0px 5px 0px #666;
-webkit-box-shadow: 0px 0px 5px 0px #666;
}
#header.fixiert {
    background: var(--designfarbe1);
}


#logocontainer {
margin: 30px 2% 30px 4%; float: left; display:block; width: 24%; padding:0;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; position: relative; z-index: 8;position: relative;
}

#logocontainer #logo, #logo img {
float: left; width: 100%;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}

#logo img#logo2 {
    max-width: 20%; position: absolute; top: -150px; left: 0;
}
.fixiert #logo img#logo1 {
    visibility: hidden; opacity: 0;
}
.fixiert #logo img#logo2 {
    top: 0;
}

#headwidget {
 position: absolute; margin: 0; top:5px; right: 10px; -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; z-index: 9;
}
#headwidget p {
    margin: 5px 0;
}
#headwidget a.tellink {
    margin: 10px; font-size: 0.9em;
}
.fixiert #headwidget a {
    color: #fff !important;
}

div.social {
margin: 20px 0; z-index: 4;  width: 100%; float: left;
}

div.social a {
    display: flex; flex-wrap: wrap; float: left; justify-content: center; align-items: center; margin: 0 5px 5px 0; font-size:24px; padding:5px; line-height:24px; font-family: icons; color: var(--designfarbe1) !important; text-align: center;
    box-sizing: border-box; width: 40px; height: 40px; box-sizing: border-box; border-radius: 5px; background: #eaf4fc;
}
div.social a:hover {
  color: #fff !important; background: var(--designfarbe1);
}

#searchicon {
   color: #fff !important; position: absolute; top: 50px; right: 20px; z-index: 2;-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}
#searchicon a {
    color: #fff; font-size: 20px;
}
#searchicon a .se {
font-family: icons;
}
#searchicon a .close {  display: none;}
.suo #searchicon a .se { display: none; }
.suo #searchicon a .close { display: block; }
#headwidget a:hover {
    color: rgb(66, 95, 135) !important;
}

#headwidget .widget_polylang { position: absolute; right: 220px; top: 0; width: 60px; height: 50px; }
#headwidget .widget_polylang label {
    display: none;
}

#headwidget div.widget_polylang select {
    border: 0; background: transparent; color: #fff; padding: 5px 15px; cursor:pointer;
    -webkit-appearance:none;-moz-appearance:none; appearance:none; border-radius: 0 !important;
}
#headwidget div.widget_polylang select option {
    color: #000;
}

#headwidget div.widget_polylang::after {
 display: inline-block; padding: 0; position: absolute; top: 8px; right: 0;
  font-family: 'icons';
  text-decoration: none; font-size: 0.9em;
  content: "\e804";  color: #fff; z-index: -1;
}


#wrapper > div.social {
    position: fixed; bottom: 50px; right: 0; width: 50px; z-index: 20; background: var(--designfarbe1); padding: 3px;
    border-top-left-radius:10px;
border-bottom-left-radius:10px;
-moz-border-radius-topleft:10px;
-moz-border-radius-bottomleft:10px;
-webkit-border-top-left-radius:10px;
-webkit-border-bottom-left-radius:10px;
}

#headwidget .widget_search {
    position: absolute; top: 0; right: 0; padding: 45px 70px 20px 20px; background:var(--designfarbe1);  width: 60vw;  z-index: 1; webkit-transition: padding 0.5s;
-moz-transition: padding 0.5s;
transition: padding 0.5s;
}
#headwidget .widget_search label {
    display: none;
}
#headwidget .widget_search form > div {

}
#headwidget .widget_search form input {
    width: 70%;  border: 2px solid var(--designfarbe1);
}
#headwidget .widget_search form button, #headwidget .widget_search form input[type=submit]
 {
    width: 25%; float: right;
}


#menuelink {display: none; position: absolute; top:40px; right:5%; margin: 0; padding:4px 10px; z-index: 20; height: 32px; width: 25px; }
#menuelink.open {top: 20px; position: fixed;}
.fixiert #menuelink span {
    background: #fff;
}

#menuelink span { display: block; float: left; width: 100%; height: 3px; background: var(--designfarbe1); position: absolute; top: 5px; left: 0;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
transform-origin: center;
}
#menuelink.open span {
    background: var(--designfarbe1) !important;
}

#menuelink span#mlm { top: 15px; }
#menuelink span#mlu { top: 25px; }
#menuelink.open span#mlo {transform: rotate(45deg);translate(7px,8px); -moz-transform: rotate(45deg) translate(7px,8px); transform: rotate(45deg) translate(7px,8px);   }
#menuelink.open span#mlm { display: none; }
#menuelink.open span#mlu {transform: rotate(-45deg);translate(4px,-4px); -moz-transform: rotate(-45deg) translate(4px,-4px); transform: rotate(-45deg) translate(4px,-4px); top: 21px; }

#main {
    float: left; width: 100%; margin: 0; padding:0; min-height: 300px; position: relative; z-index: 9; background: url('images/wz.svg') right -10px bottom 20px no-repeat; background-size: 600px auto; background-attachment: fixed;
}
#main.logo { background: url('images/wz2.svg') right 50px bottom 20px no-repeat;  background-size: 600px auto; background-attachment: fixed; }

.home #main{

}

#titel {
    float: left; margin:-150px 2% 50px; width: 46%; max-width: 700px; padding: 30px; box-sizing: border-box; position: relative; z-index: 10; background: #666666; color: #fff;
    left: 50%; top: 0;
}
#titel h1, #titel h2 {
    color: #fff; margin: 10px 0;
}

#footer {
    float: left; width: 100%; margin: 0; padding: 20px 0; background-color: #fff; text-align: left; border-top: 1px solid var(--designfarbe1);
    min-height: 230px;
}
.zc {
    margin: 0 auto; width: 100%; max-width: 1760px;
}

.fbuttons {
  position: fixed; right: 5%; bottom: 40px; width: 50%; max-width: 280px; z-index: 10000;
}
.fbuttons a#bllink {
    float: right; width: 60px;padding: 5px 5px 0; background: #fff; border-radius:40px; position: relative; z-index: 6;
    box-shadow: 0 2px 20px 0 rgba(0,0,0,0.1);
	transform: scale(1); padding-top: 70px;
	animation: pulse 2s infinite;
}
.fbuttons a#bllink span {
    text-transform: uppercase; color: var(--designfarbe1); transform: rotate(-90deg); position: absolute; top: 25px; left:12px; font-weight: 700; font-size: 0.9em;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
	}

	70% {
		transform: scale(1.3);
	}

	100% {
		transform: scale(0.95);
	}
}

.fbuttons ul {
    position: absolute; bottom: 10px; width: 100%; list-style: none; margin: 0; padding: 0; z-index: 5; visibility: hidden; opacity: 0;
    -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; border-radius: 30px;
}
.fbuttons ul li {
    float: left; width: 100%; margin: 0; padding: 0; -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}

#footer .fbuttons ul li a { display: block; width: 100%; box-sizing: border-box; padding: 2px 10px; text-align: right; }
.fbuttons ul li a strong {
    display: inline-block; padding: 5px 0; font-weight: normal;
}

.fbuttons ul li a i {
    display: block; float: right;  padding:5px; margin: 0 10px; background: #fff; border-radius: 50%; width: 35px; height: 35px; box-sizing: border-box;
    text-align: center; display: flex; justify-content: center; align-items: center;
}

.fbuttons.aktiv ul {
    position: absolute; bottom: 100px; width: 100%; list-style: none; margin: 0; padding: 0; z-index: 8; visibility: visible; opacity: 1; background: rgba(255,255,255,0.8);
    box-shadow: 0 2px 20px 0 rgba(0,0,0,0.1);
}
.fbuttons.aktiv ul li {
    margin: 5px 0 !important; padding: 0;
}

.breit .zc {
    max-width: 1560px;
}
#content {
    margin: 0; width: 100%;  position: relative; float: left; min-height: 500px;
}
.contentseite div#content {
    max-width: 1160px;
}
.content1, .content1_  {
    float: left; width: 100%; min-height:300px; padding:0; position: relative;
}
.content2  {
    float: left; width: 100%; min-height: 200px; padding: 0; position: relative;
}

.pageteaser {
    float: left; width: 102%; margin: 0 0 30px -1%; display: flex; flex-wrap: wrap;
}

.content3 {
    float: left; width: 100%; background: #666666; margin:20px 0 0; padding: 20px 0 30px; position: relative;
}
.content3::after {
    background: #666666;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    z-index: 1;
}

.content3::before {
    background: #666666;
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

figure {
    margin: 0; padding: 0;
}
.content1 .balken:first-child {
    padding-top: 80px;
}

.balken { margin:0 !important; padding: 40px 0; position: relative; float: left; width: 100%; z-index: 1; }
.balken::after {
    background: #fff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    z-index: -1; margin: 0 0 0 -50vw;
}
.balken:first-child {
    margin-top: 50px !important;
}

.balkenblau { margin:0 !important; padding: 30px 0 50px 0; position: relative; float: left; width: 100%; z-index: 1; color: #fff; }
.balkenblau::after {
    background: var(--designfarbe1);
    background-size: 50% auto;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    z-index: -1; margin: 0 0 0 -50vw;
}
.balkenblau h2, .balkenblau h3 {
    color: #fff;
}

.balkenblau a {
    color: #eee;
}
.balkenblau a:hover {
    color: #fff;
}
.balkenblau.randoben::after {
    box-sizing: border-box; border-top: 10px solid var(--designfarbe2);
}

.balkenhblau {
margin:0 !important; padding: 30px 0 50px 0; position: relative; float: left; width: 100%; z-index: 1; }
.balkenhblau::after {
    background: #eaf4fc;
    background-size: 50% auto;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    z-index: -1; margin: 0 0 0 -50vw;
}


.inhalt {
    float: left; width: 92%; padding: 50px 4% 0;
}
.home .inhalt {
    padding-top: 0;
}


#sidebar {
    margin: 0; float: right; width: 100%; box-sizing: border-box; padding: 0;
}
#hauptsidebar {
    float: left; width: 92%; padding: 0 4%;
}

.theading h3 {
    text-transform: uppercase; text-align: center;
}
.theading h3 span {
    background: #fff; padding: 5px 10px 2px; display: inline-block; color: #666666;
}

.blogcategory  {
    float: left; width: 101%; margin: 30px 0 30px -0.5%; display: flex; flex-wrap: wrap; justify-content: center;
}



.teaserbox {
    float: left; width:31.33%; margin: 1em 1%; background: #7d97c6; box-sizing: border-box; padding: 0;
    position: relative;
    overflow: hidden;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 40px 0px; min-height: 350px; border-radius: 30px; aspect-ratio: 4 / 3;
}
.teaserbox img {
    float: left; width: 100%; height: 100% !important; object-fit:cover;
}
.blogcategory .teaserbox {
    width: 48%;
}

.teaserbox:hover {

}
.teaserbox .postinfo {
    font-size: 0.9em;
}

.teaserbox h2 {
    margin: 0; padding: 60px 30px 30px; font-size: 1.3em; color:#fff; text-transform: uppercase; width: 100%; box-sizing: border-box;
background: linear-gradient(to bottom, transparent 0%,#1a203c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
font-weight: 300;

}
.teaserbox h2 a {
    color: #fff;
}

.teaserbox div.postinhalt {
   float: left; width: 100%; padding: 0; position: absolute; bottom: 0; left: 0;
      -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;

}
.teaserbox:hover div.postinhalt {
   top: 0; left: 0; height: 100%; background: rgba(26, 32, 60,0.6);
}
.teaserbox:hover h2 { background: transparent; padding: 30px 30px 0; }
.teaserbox .weiterlink {
    position: absolute; bottom: 20px; left: 5%; width: 90%;  text-align: center; visibility: hidden; opacity: 0; display: none;
}
.teaserbox .excerpt {
    visibility: hidden; opacity: 0; display: none; width: 100%; padding: 0 30px; float: left; box-sizing: border-box; max-height:150px; overflow: hidden;
    mask-image: linear-gradient(to bottom, white 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, white 80%, transparent 100%);

}
.teaserbox:hover .excerpt {
    visibility: visible; opacity: 1; display: block; color: #fff;
}
.teaserbox:hover .weiterlink {
   text-align: center; visibility: visible; opacity: 1; display: block;
}

.box {
    border-radius: 40px; background: #fff; padding: 0 30px 10px;
}
.box.dlbox {
     border: 1px solid var(--designfarbe1);
}

.box h2, .box h3 {
    hyphens: auto;
}

.weiterlink a {
margin:10px 0;
padding: 10px 30px; display: inline-block; color: var(--designfarbe1); background: #fff;
position: relative; border: 2px solid var(--designfarbe1); font-size: 1.0em; min-width: 150px; text-align: center; line-height: 1.3em;
font-weight: 700; border-radius: 50px; -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}

.pfeillink a {
   margin: 10px 0; display: inline-block; padding: 10px 50px 10px 10px; position: relative; -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.pfeillink a strong {
    opacity: 0;-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.pfeillink a:hover strong {  opacity: 1; color: #a4b3d4; }
.pfeillink a::after {
   display: inline-block; position: absolute; top: 0; right: 0; float: right; content:""; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='m560-240-56-58 142-142H160v-80h486L504-662l56-58 240 240-240 240Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 30px auto; background-position: center center;
}


.balkenblau .weiterlink a, #footer .weiterlink a {
    color: #fff; border: 1px solid #fff; background: transparent;
}
.weiterlink a:hover, .balken .weiterlink a:hover  {
    background: var(--designfarbe1); color: #fff;
}
#footer .weiterlink a:hover, .balkenblau .weiterlink a:hover  {
    background: var(--designfarbe1); color: #fff;
}
.buttonlink a, a.dslink {
padding: 10px 30px; display: inline-block;
font-weight: 300 !important; margin: 10px 0;
background: #b8d935; color: var(--designfarbe1);
}
.buttonlink a:hover, a.dslink:hover {
    background: var(--designfarbe2); color: #fff;
}
.balkenblau .weiterlink a:hover {
    background: #eaf4fc; color: var(--designfarbe1);
}

#content ul.wp-block-latest-posts__list {
    float: left; width: 100%; margin: 0 0 0 0; padding: 0;position: relative; line-height: 1.5em;
}
#content ul.wp-block-latest-posts__list li {
    float: left; width: 100%; margin: 10px 0;
}
#content ul.wp-block-latest-posts__list.is-grid li {
    float: left; width:31.33%; margin: 15px 1%; background: #fff; box-sizing: border-box; padding: 0 0 60px;
    position: relative;
    overflow: hidden;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease; box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 40px 0px;
}

#content ul.wp-block-latest-posts__list.is-grid {
    display: flex; flex-wrap: wrap;
}
#content ul.wp-block-latest-posts__list.is-grid li {
display: flex; flex-direction: column;
}

#content ul.wp-block-latest-posts__list.is-grid li div.wp-block-latest-posts__featured-image  {
    float: left; width: 100%; margin: 0 0 20px; max-height: 250px; overflow: hidden; order: 1;
}

#content ul.wp-block-latest-posts__list.is-grid li > a {
    display: block; margin: 15px 0 5px; padding: 0 5%; float: left; width: 90%;
    overflow: hidden;
font-size: 1.2em;
line-height: 1.4em;
 order: 3;  color: var(--designfarbe1);
}
#content ul.wp-block-latest-posts__list.is-grid time {
    float: left; width: 90%; margin: 0 5%; font-size: 1.0em; color: var(--designfarbe1);order:2;
}

#content ul.wp-block-latest-posts__list.is-grid div.wp-block-latest-posts__post-excerpt {
   float: left; width: 90%; padding: 10px 5%;order: 4; margin: 10px 0;
}
#content ul.wp-block-latest-posts__list.is-grid .weiterlink { position: absolute; bottom: 0; left: 0; order: 5; float: left; width: 90%; padding: 5px 5%; text-align: center; z-index: 4; }

#content .wp-block-latest-posts__featured-image img {
  height: auto !important;
  max-width: 100% !important;
}

.blogsingle h1.title {
    text-align: left;
    padding: 0 0 10px;
}

.blogsingle .postimage {
    float: left; width: 100%; margin: 5px 0; text-align: center;
}
.blogsingle .postimage img {
    max-width: 100%; height: auto !important; margin: 0 0 20px 0;
}

.blogsingle div.postinhalt {
    float: left; width: 100%;
}

#footnav { margin-top: 10px; float: left; width: 21%; padding: 10px 2%; }
#footwidget {
    float: left; width: 67%; margin: 20px 4%;
}
#footsidebar {
    float: left; width: 100%;
}

#footwidget2 {
    float: left; margin: 0 5%; text-align: center; width: 90%; font-size: 0.9em;  padding: 20px 0  10px;
}
#footwidget2 p {
    margin: 17px 0;
}
.widget {
    float: left; width: 100%;
}

.index-video-wrapper {
    height: 100%;
    width: 100%;
   position: absolute; top: 0; left: 0; z-index: 4;
   background: url('images/loader.svg') center center no-repeat;
}


#index-video {
    float: left;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -100;
    right: 0;
    bottom: 0;
    overflow: hidden;
    position: relative;
    z-index: 80;
}

.copy {
    float: right; width: 90%; margin:0; padding:40px 5%;
}


#menu {
    float: right; width:65%; margin: 60px 0 0 3%; text-align: center; padding: 0;
    -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}
#menu #navhg {
    display: none;
}

#menu ul.nav-men {
 justify-content: center;
}

#menu > div {
    position: relative; float: left; width: 100%;
}

.bildbalken {
    height: 130px;
}


.rund img, .rund .wp-block-eedee-block-gutenslider {
    border-radius: 10px;  overflow: hidden;
}

.slide-content {
    padding: 70px !important;
}
.slide-content .wp-block-group {
    max-width: 600px !important;
}


@media only screen and (min-width: 1160px) {

.vpg #menu {
 display: block !important;
}

#header {  }
#header.fixiert { }

.fixiert #logocontainer {  width:22%; margin: 30px 2% 30px 4%; }
.fixiert #menu { margin-top:50px;}
.fixiert #headwidget {
    display: none;
}
.fixiert #headwidget #searchicon {
    top: 25px;
}
.fixiert #headwidget .widget_search { padding: 20px 70px 5px 20px; }

#menu > div { width: 100%; }

#menu ul.nav-men {
    display: flex; flex-wrap: nowrap;
}
.bildbalken {
    height: 150px;
}
.bild {
    margin-top: 0;
}

#fsidebar {
       min-height:650px;
}

.fixiert #menu ul li a, .fixiert span.qn { color: #fff;}


}

.bildtitle {
     position: absolute; bottom: 0; left: 5%; width: 90%; z-index: 9;  color: #fff;  padding: 20px 0; text-align: center;
     -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;text-shadow: 0px 0px 5px #000000;
}
.bildtitle.iv {
    bottom: 15%;
}

.bildtitle h1 {
    color: #fff; margin: 10px 0;  font-size: 2.5em; font-weight: 400; cursor: pointer;
}
.bildtitle h1 a {
    color: #fff;
}

#menu ul
{
            float: left;
            margin: 0;
            padding: 0; min-width: 100%;
            list-style-type: none;
}

#menu ul li {
                         float: left;
                         margin: 0 3px; padding: 0;
                         z-index: 2; position: relative; display: flex;
}



#menu ul li a {
float: left;
display: block;
font-weight: normal;
color: var(--designfarbe1);
padding: 10px 30px;
margin: 0; text-decoration: none;
text-align: center;
font-size: 18px; font-weight:700; align-self: center;
text-transform: uppercase;
}


#menu ul li a.hakt {
    color:var(--designfarbe2);
}
#menu ul li.current-menu-item > a, #menu ul li.current-page-ancestor > a {
 color: var(--designfarbe2);
}

#menu ul li a:hover {
   color: var(--designfarbe2);
}

#menu ul li a span {
    display: inline-block; padding: 7px 0 5px;
}
#menu ul li a:hover span {
     padding: 5px 0 5px; border-top: 2px solid var(--designfarbe2);
}

#menu ul.sub-menu {
position: absolute;
top:55px; z-index: 5;
left: 0; padding: 10px 0 0;
min-width: 300px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
width: auto;
opacity: 0;
display: block;
visibility: hidden;
}


#menu ul.sub-menu ul { display: block; position: absolute; top: auto !important; left: 100%; background: transparent; margin: 0; padding: 0 !important;}

.vpg #menu ul.sichtbar { opacity: 1; top: 50px; visibility: visible; }

#menu ul.sub-menu li {float: left; margin: 0; box-sizing: border-box; width: 100%;}

.qn2 {
    font-family: icons; position: absolute; top: 15px; right:10px;
}

@media only screen and (min-width: 1160px) {

.fixiert #menu ul.sub-menu { top: 30px; padding: 20px 0 0 }
#menu ul.sub-menu li {width: 100%; float: left; margin: 0; box-sizing: border-box; }
#menu ul.sub-menu li:last-child { border-right: none; }

#menu ul#menu-hauptmenue > li::before {
  content:""; display: block; width: 1px; height: 45px; background: var(--designfarbe1); position: absolute; top: 0; left: 0; transform: rotate(15deg);
}
#menu ul#menu-hauptmenue > li:first-child::before {
 display: none;
}
}



#menu ul.sub-menu li a {
padding: 10px 10px 10px 30px;
margin: 0;
font-size: 0.9em;
border: none;
width:100%;
text-align: left;
height: auto;
text-transform: none;
background: var(--designfarbe1);
box-sizing: border-box;
border-top: 1px solid #7d97c6;
font-weight: 400;
}
#menu ul.sub-menu li:first-child a {
    border-top: 0; border-radius: 20px 20px 0 0;
}
#menu ul.sub-menu li:last-child a {
    border-radius: 0 0 20px 20px;
}
#menu ul.sub-menu li a {
color: #fff;
}

#menu ul.sub-menu li a:hover {
background: var(--haupthintergrund); color:var(--designfarbe1);

}

#menu ul li ul.sub-menu li.current-menu-item a {
background: var(--haupthintergrund); color:var(--designfarbe1);
}

#menu ul.sub-menu li ul.sub-menu {
    float: left; width: 100%; padding: 5px 0;
}

#menu ul.sub-menu li ul.sub-menu li {
    float: left; width: 100%; min-height: 5px; border-right: none;
}


#menu ul.sub-menu li ul.sub-menu li a{
   font-weight: 300; font-size: 0.95em;text-transform: none; padding: 15px 5%;
}
#menu ul li ul.sub-menu li.current-menu-item ul.sub-menu li a {
background: transparent; font-weight: 300;
}
#menu ul li ul.sub-menu li.current-menu-item ul.sub-menu li a:hover {
 font-weight: 300;
}
#menu ul li ul.sub-menu li ul.sub-menu li.current-menu-item a {
background: transparent; font-weight: bold;
}

span.qn {display: inline-block; font-family: icons; font-size: 16px; position: absolute; top:12px; right: 10px; color: var(--designfarbe1); z-index: -1;  }


#footer ul
{
            float: left;
            margin: 0;
            padding: 0;
            list-style-type: none; width: 100%; display: flex; flex-wrap: wrap;
}

#footer ul li {
                         display: block;
                         float: left; width: 100%;
                         margin: 0; padding: 0;
                         }
#footer ul li a {
    display: block; float: left; padding:10px 0; font-size: 1.0em;
}



a {
  color: var(--designfarbe2); text-decoration: none;
}
a:hover {
  color: var(--designfarbe1);
}


.bild {
    float: left; width: 100%; min-height:700px;
    background-position: center top;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;  background-repeat: no-repeat; position: relative;
height:90vh; background-color: #efecec;
}

.bild2 {
     float: left; width: 100%;position: relative;
}

#bildad {
    float: left; width: 92%; padding: 15px 4% 10px; color: #fff;
}
.bildbalken {
    float: left; width: 100%; min-height:100px;
}

.projektbild  {
    float: left; width: 100%; margin: 20px 0 0;
}

a.totop {
    position: fixed; bottom: 0; right: 5%; font-family: icons; font-size: 1.0em; color: #fff;background: var(--designfarbe1);
    padding: 8px 0; text-align: center; width:50px; z-index: 50; border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 0px;
-moz-border-radius-bottomleft: 0px;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 0px;
-webkit-border-bottom-left-radius: 0px;
}
a.totop:hover {
 background: var(--designfarbe2);
}


input {
border: 1px solid var(--designfarbe1) !important; padding: 10px; background: #fff; font-size: 1.1em; box-sizing: border-box;font-family: 'Poppins',Arial, sans-serif;  color: var(--designfarbe1); font-weight: 400;
border-radius: 10px;}
select {
    border: 1px solid var(--designfarbe1); padding: 10px; background: #fff; font-size: 1.1em; font-family: 'Poppins',Arial, sans-serif; color: var(--designfarbe1); font-weight: 400;
border-radius: 10px;}
input:focus {
 border: 1px solid var(--designfarbe1); background: #fff; color: var(--designfarbe1);
}
textarea {
    border: 1px solid var(--designfarbe1); padding: 10px; background: #fff; font-size: 1.1em; font-family: 'Poppins',Arial, sans-serif; color: var(--designfarbe1);font-weight: 400;
border-radius: 10px;}
textarea:focus {
 border: 1px solid var(--designfarbe1); background: #fff;  color: var(--designfarbe1);
}

.select2-container .select2-selection--single .select2-selection__rendered { padding-top: 10px; padding-bottom: 10px;}
.select2-container .select2-selection--single {    height: 45px !important; }


.bewerbungsformular,.kontaktform {
    float: left; width: 100%; background: #fff; padding: 0 20px 10px 20px; box-sizing: border-box; box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 40px 0px
}
div.bstep:not(.aktiv) {
    display: none;
}
div.bstep > p, div.bstep h2 , div.bstep h3 {
    float: left; width: 100%;
}


input[type=submit]:hover {
    background: #000000 !important;
}

input[type=submit], #header button {
    background:  var(--designfarbe1) !important; color: #fff !important; cursor: pointer;
    -webkit-appearance:none;-moz-appearance:none; appearance:none; border: 2px solid var(--designfarbe1) !important; font-family: 'Poppins',Arial, sans-serif; padding: 10px 30px;  font-size: 1.0em; margin: 5px 0;
     border-radius: 50px;
}
input[type=submit]:hover, #header button:hover {
    background: #fff !important; color: var(--designfarbe1) !important;
}
#searchform [type=submit] {
    width: 35%; box-sizing: border-box;
}

.wp-block-button__link:hover {
    opacity: 0.9;
}

img {
    max-width: 100%; height: auto !important;
}
.wp-block-eedee-block-gutenslider {
    float: left; width: 100%;
}

.wp-block-eedee-block-gutenslider.slides-number .eedee-background-div img {
   height: 100% !important;
}


iframe {
    max-width: 100%;
}

h1 {
    font-weight:900; color:var(--designfarbe1); font-size: 2.2em; margin: 50px 0 30px; padding: 0; line-height: 1.5em; position: relative; padding-bottom:15px;
    text-transform: uppercase;
}
h1::after {
    content:""; width: 200px; height:3px; background:var(--designfarbe1); position: absolute; bottom: 0; left: 0;  transform: skew(-15deg);
}

h1:first-child {
    margin-top: 0;
}
.balken h1 {
    margin: 30px 0 !important;
}

.wp-block-cover h1.has-large-font-size {
     font-size: 2.5em !important;
}

h1.has-text-align-center::after {
    left: 50%; margin-left: -100px;
}

h2 {
    font-weight: 400; font-size: 1.8em; margin: 30px 0 20px; line-height: 1.5em; color: var(--designfarbe1);
}

h1 em {
    font-size: 0.9em; font-style: normal; font-weight: 700;
}

h3 {
    font-weight: 700; font-size: 1.3em; margin: 30px 0 10px;  line-height: 1.5em; color:var(--designfarbe1);
}
h3 a { color: var(--designfarbe1); }

h4 {
    font-size: 1.1em; font-weight: 700; margin: 20px 0 10px; line-height: 1.5em; color:var(--designfarbe1);
}

p {
    margin: 15px 0 20px; line-height: 1.5em;
}
#content li {
     line-height: 1.5em;
}
#content ul {
    padding: 0 0 0 25px;
}

.startbox {
    position: relative;
}
.startbox .seit {
    position: absolute; top: -20px; right: -20px; font-size:30px; color:var(--designfarbe2); transform: rotate(30deg) !important; text-shadow: 0px 0px 5px #4f4c4c;
}


strong, b {
    font-weight: 700;
}

.wp-block-cover .has-large-font-size {
  font-style: normal;
  font-weight: 400;
}
p.has-medium-font-size {

}

.wp-block-cover .wp-block-group {
    margin: 0 auto !important; max-width: 1160px;
}
.wp-block-cover.alignfull .wp-block-cover__inner-container {
    margin: 0 auto !important; max-width: 1260px; padding: 0; box-sizing: border-box;
}
.wp-block-cover.alignfull .wp-block-cover__inner-container p, .wp-block-cover.alignfull .wp-block-cover__inner-container h2 {
    padding: 0 4%;
}


.story-content .wp-block-image {
    margin-bottom: 10px !important;
}
.story-details {
    border-radius: 0 !important;
}

@media only screen and (min-width: 680px) {
div.zs {-webkit-columns: 2; -moz-columns: 2; columns: 2; float: left; width: 100%; margin: 0;
-webkit-column-gap: 30px; -moz-column-gap: 30px; column-gap: 30px;
    }
div.zs p {margin: 0 0 20px;}
}

/* == WordPress WYSIWYG Editor Styles == */

.wp-block-columns {
    float: left; width: 100%; position: relative;
}
.alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
  width: 100vw;
  max-width: 100vw;
}

.wp-block-image.alignfull  {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
  width: 100vw;
  max-width: 100vw;
 }
.wp-block-video.alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
  width: 100vw;
  max-width: 100vw;
 }
.wp-block-cover img {
    height: 100% !important;
}

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
    margin-top: 0;
    text-align: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
    text-align: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
    text-align: center;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 0.9em;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}


.content1 ul li {
    padding: 5px 0;
}

.wp-block-gallery  {
 float: left; width: 100%;
}

.content1 > ul.wp-block-gallery {
    margin: 0; padding: 0;
}
.wp-block-gallery .blocks-gallery-item figcaption { box-sizing: border-box;}
.content1 > ul.wp-block-gallery  li {
    padding: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: rgba(255,255,255,0.6) !important;
  color: #777777 !important;
  font-size: 0.9em !important; padding:10px !important;
}
.wp-block-image {
  margin: 0 !important;
}

.wp-block-image .alignright {
  margin: 0 0 .5em 1em !important;
}

.home .wp-block-gallery {
--wp--style--unstable-gallery-gap: 0.5em !important;
gap:  0.5em !important;
}

.content1.am {
    margin-bottom: 0; padding-bottom: 0;
}

#anmeldung {
    float: left; width: 100%; margin: 0; padding: 0;
}
.anmeldelink {
    display: inline-block; padding: 10px 20px; background: #666666; color: #fff; font-weight: bold;
    border: 1px solid #878787; margin: 10px 0 0;
}
.anmeldelink:hover {
   background: #878787; color: #fff;
}

#main div.wpcf7 {
    float: left; width: 100%; padding: 10px 0; margin: 20px 0;
}
#main #anmeldung div.wpcf7 {
    margin: 0 0 20px;
}
.amltop {
    position: absolute; top: -15px; right: 2%;
}

.formfeld {
    float: left; width: 100%;
}

.wpcf7-form p {
    float: left; width: 100%; margin:0;
}

.wpcf7 label {
    float: left; width: 100%; padding: 5px 0; font-size: 0.9em;
}

.wpcf7 input {
   box-sizing: border-box; width: 100%;
}
.wpcf7 textarea {
   box-sizing: border-box; width: 100%; height:150px;
}
.wpcf7 input[type=submit] {
  width: auto; max-width: 90%;
}

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok  {
    float: left;
}
div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok, .wpcf7-response-output  {
    float: left;
}

.wpcf7 form.invalid .wpcf7-response-output::before {
  display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\2757"; color: #ffb900;
}
.wpcf7 form.sent .wpcf7-response-output::before {
  display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\2714"; color: #46b450;
}

.datenschutzfeld {
    float: left; width: 100%; margin: 0 0 10px 0;
}
.datenschutzfeld span.wpcf7-list-item-label {
    display: none;
}
.datenschutzfeld  span.wpcf7-list-item {
    display: inline-block;
    margin: 0 1em 0 0;
}
.datenschutzfeld .dsfw {
    float: left; width: 100%; padding: 10px; box-sizing: border-box; background: #efefef; text-align: center; border: 1px solid #ccc;
}


a.extern::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\e8a1";
}
#footer .footdl a::before {
 display: block; float: left; padding: 0 10px 10px 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.0em;
  content: "\e0e0"; width: 20px;
}
#footer .footdl a {
    display: block; float: left; width: 100%; margin: 2px 0;
}
#footer li.address::before {
 display: block; float: left; padding: 0 10px 10px 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\e80c"; width: 20px;
}
#footer li.tel a::before, #headwidget a.tellink::before {
 display: inline-block; padding: 0 5px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.0em;
  content: "\e80f";width: 20px;
}
#footer li.email a::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.0em;
  content: "\e800";width: 20px;
}
.details {
    float: left; width: 100%; margin: 20px 0 50px; border-top: 2px solid var(--designfarbe2); border-bottom: 2px solid var(--designfarbe2); padding: 10px 0 20px;
}
#detaillink {
    display: inline-block; padding: 10px 20px 7px; background: #666666; color: #fff; font-weight: bold;
    border: 1px solid #878787; margin: 10px 0;text-transform: uppercase;
}
#detaillink:hover {
   background: #878787; color: #fff;
}


.pagination {
  display: block !important;  float: left; width: 98%; margin: 30px 1%; text-align: center; padding: 10px 0;
}
.pagination h2 { display: none;}
.pagination a {
    display: inline-block; padding: 3px; margin: 5px;
}
.pagination span.current {
    display: inline-block; padding: 3px; margin: 5px; font-weight: bold;
}
.pagination a.prev::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e802"; line-height: 20px;
 }
.pagination a.next::after {
 display: inline-block; padding: 0 0 0 10px;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e803"; line-height: 20px;
 }

 #postnavigation, #pagenavigation {
    display: block !important;  float: left; width: 100%; margin: 20px 0; text-align: center; padding: 10px 0; border-top: 1px solid #ddd;
 }
 #postnavigation > div, #pagenavigation > div {
  float: left; width: 33.33%; padding: 10px 0 0; text-align: center;
 }
 #pagenavigation div.nexlink, #postnavigation div.prevlink  {
     float: right;
 }

 #postnavigation div.prevlink a, #pagenavigation div.prevlink a {
     display: inline-block; padding: 20px;
 }
 #postnavigation div.nexlink a::before, #pagenavigation div.prevlink a::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e80b"; line-height: 20px;
 }

 #postnavigation div.nexlink a, #pagenavigation div.nexlink a {
     display: inline-block; padding: 20px;
 }
 #postnavigation div.prevlink a::after, #pagenavigation div.nexlink a::after {
 display: inline-block; padding: 0 0 0 10px;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e80c"; line-height: 20px;
 }

 .shareandprint {
    margin: 50px 0; text-align: center; padding: 10px 0 0; float: left; width: 100%;
}

.shareandprint a {
    display: inline-block; padding: 10px; font-family: icons; background: #fff; color: var(--designfarbe1); font-size: 1.5em;
    width: 55px; height: 55px; box-sizing: border-box; margin:1px; text-align: center; line-height: 30px;
     border-radius: 50%; border: 2px solid #fff;
}
.shareandprint a:hover {  color: var(--designfarbe1); border: 2px solid var(--designfarbe1); background: var(--designfarbe2); }

.wp-block-table table td, .wp-block-table table th  {
    border-color: #999 !important;
}
.wp-block-table thead {
  border-bottom: 0 !important; background: var(--designfarbe1);
}

.startlogo figure {
   margin-left: 20% !important; max-width: 25%;
}

ul.check {
            margin: 0 0 10px 0;
			padding: 0;
			list-style-type: none;
}
ul.check li {
    position: relative; padding: 3px 0 3px 20px;
}
ul.check li:before {
   position: absolute; top: 10px; left: 3px;
  display: block; padding:0;
  float: left;  width:5px; height: 12px; background: var(--designfarbe2);
  speak: none;
  content: "";
}
ul.download {
            margin: 0 0 10px 0;
			padding: 0;
			list-style-type: none;
}
ul.download li {
    position: relative; padding: 3px 0 3px 30px;
}
ul.download li:before {
   position: absolute; top: 2px; left: 2px;
  display: block; padding:0;
  float: left;
  font-family: icons;
 content: "\e0e0";
}

.balken ol {width: 100%; float: left; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; padding: 0;counter-reset:item; list-style: none;}
.balken ol li {width: 25%; margin: 20px 0 30px; padding: 0 2% 40px 70px; counter-increment:item; position: relative;  min-height: 100px; box-sizing: border-box;  }
.balken ol li:before {
   margin-right: 10px; width: 50px;
   content: counter(item); color: var(--designfarbe2); font-weight: 400;
   position: absolute; top: 0; left:5px; font-size: 60px;
   text-align: center; border-right: 4px solid var(--designfarbe2); line-height:60px;
   display: inline-block; padding: 0 10px 0 0; height: 70px; box-sizing: border-box;
 }


 a#nulink { font-family: icons; font-size: 2.5em; text-decoration: none; position: absolute;
padding:15px 0; bottom: 8%; left: 50%; margin: 0 0 0 -30px;
width: 60px; height: 60px; box-sizing: border-box;
font-weight: normal;
color: #fff;
z-index: 200; text-align: center;
opacity:0.6;-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
line-height: 30px;
}
#bilder:hover a#nulink {
bottom:5%;
}
a#nulink:hover {opacity:0.9; color: var(--designfarbe2);}

.c-accordion__item { float: left; width: 100%;} /* The accordion item container */
.c-accordion__title { font-size: 1.2em; border-bottom: 1px solid #ccc; padding: 10px; margin-bottom: 0; -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease; margin-top: 5px !important; } /* An accordion item title */
.c-accordion__title:focus { outline: 0 none; } /* To modify the style when an accordion item title currently has broswer focus */
.c-accordion__content { float: left; width: 100%;} /* An accordion item content container */

.c-accordion__title::after {
    font-size: 30px; width: 35px; height: 35px; color: rgb(66, 95, 135) !important; text-align: center; border-radius: 50%;background: #fff; right: 10px !important; box-sizing: border-box;
}
.c-accordion__title:hover {
    background: #eaf4fc; color: var(--designfarbe1);
}
.is-open .c-accordion__title {
    background: var(--designfarbe1); color: #fff;
}


.flexslider .slides > li {
  margin-left: 0 !important;
}
.flexslider {
    background: transparent !important; border: 0 !important;
}
.flex-viewport {
    overflow: visible !important; min-height: 500px;
}
#content .flex-direction-nav a  {
    height: 50px;
}

#content .flex-direction-nav a:before {
  float: left; display: block; font-family: "icons";
  font-size: 40px;
  content: '\e805';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 0; height: 50px;line-height: 50px;
}
#content .flex-direction-nav a.flex-next:before {
  content: '\e806';
}

#content .flexslider ul.wp-block-latest-posts__list.is-grid li {
    float: left; width:380px; margin: 15px 1%; background: var(--designfarbe1); color: #fff; box-sizing: border-box; padding: 0;
    position: relative;
    overflow: hidden;  height: 480px;
}


#content .flexslider  ul.wp-block-latest-posts__list.is-grid li div.wp-block-latest-posts__featured-image  {
    float: left; width: 100%; margin: 0; height: 100%; overflow: hidden; order: 1; position: absolute; top:0; left: 0;  max-height: 100%;
}

#content .flexslider  ul.wp-block-latest-posts__list.is-grid li > a {
    display: block; margin: 15px 0 5px; padding: 0 5%; float: left; width: 90%;
    overflow: hidden;
font-size: 1.2em;
line-height: 1.4em;
 order: 3;  color: #fff; position: absolute; top: 250px; left:0; white-space: nowrap; overflow: hidden; text-overflow:ellipsis;
}
#content .flexslider  ul.wp-block-latest-posts__list.is-grid time {
    float: left; width: 90%; margin: 0 5%; font-size: 1.0em; color: #fff;order:2;  position: absolute; top: 230px; left:0;
}

#content .flexslider ul.wp-block-latest-posts__list.is-grid div.wp-block-latest-posts__post-excerpt {
   float: left; width: 90%; padding: 10px 5%;order: 4; margin: 10px 0; position: absolute; top: 280px; left:0;
}
#content .flexslider  ul.wp-block-latest-posts__list.is-grid .weiterlink { position: absolute; bottom: 0; left: 0; order: 5; float: left; width: 90%; padding: 5px 5%; text-align: center; z-index: 4; }

#content .flexslider  .wp-block-latest-posts__featured-image img {
  height: 100% !important;
 width: 100% !important; object-fit: cover;
}

 #footer .footlogo {
     margin-top: 40px !important;
}

.flip-box-block-front-inner, .flip-box-block-back-inner, .flip-box-block-front-inner > div, .flip-box-block-back-inner > div {
    height: 100% !important; overflow: hidden;
}

:where(.wp-block-cover-image.is-light:not(.has-text-color)), :where(.wp-block-cover.is-light:not(.has-text-color)) {
  color: #666 !important;
}

.flip-box-block .wp-block-group {display: flex; flex-wrap: wrap; justify-content:center; align-items: center;}

.flip-box-block .wp-block-group__inner-container {width: 100%;}

.flip-box-block-back-inner > div {
    overflow: auto !important;
}

#overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  border-style: solid;
  border-color: white;
  box-sizing: content-box;
  transition: background-color 0.5s ease;
  pointer-events: none;
  background-color: rgba(26,32,60,0.7);
}
#overlay img {
    float: left; width: 100%; height: 100% !important; object-fit: cover;
}

.panels {
    float: left; width: 100%; height: 500px; min-height: 80vh; background: #eee; overflow: hidden; position: relative; padding: 5px; box-sizing: border-box;
}
.panels div.wp-block-group {
    float: left; width:90%; left: -100%; overflow: hidden; height: calc(100% - 10px); position: absolute; top: 5px; margin: 0; box-sizing: border-box; padding: 0 50px 10px 100px !important;
    border: 2px solid var(--designfarbe1);
}
.pan1 { background: #aaa; top: 5% !important;}
.pan2 { background: #bbb;}
.pan3 { background: #ddd;}

.panels2 {
    float: left; width: 100%; height: 500px; min-height: 80vh; background: transparent; overflow: hidden; position: relative; padding: 5px; box-sizing: border-box; border-bottom: 2px solid var(--designfarbe1);
    background: rgba(125,151,198,0.3); border-top-left-radius: 30px; border-top-right-radius: 30px;
}
/*.panels2::after {
    content:""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Permalink - use to edit and share this gradient. Permalink - Zum Bearbeiten und Teilen dieses Verlaufs verwenden: https://colorzilla.com/gradient-editor/#ffffff+0,f8f7f5+100
background: linear-gradient(to bottom,  #ffffff 0%,transparent 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+
}*/

.panels2 div.wp-block-group  {
    float: left; width:90%; left: 5%; overflow: hidden; height: calc(100% - 10px); position: absolute; top: 100%; margin: 0; box-sizing: border-box; padding: 0 50px 10px 100px !important;
  background-image: url('images/gtsl-darkblue.svg'); background-repeat: no-repeat; background-position: left 10px top 20px; background-size: 70px auto;
  border: 2px solid var(--designfarbe1); z-index: 1; border-top-left-radius: 30px; border-top-right-radius: 30px;
  }
.pan1 { background: #aaa; top: 5% !important;}
.pan2 { background: #bbb;}
.pan3 { background: #ddd;}

.infofeld {
   margin-bottom: 100px; position: relative;
}

.infofeld .wp-block-image {
    position: relative;
}
.infofeld .wp-block-image::after {
 position: absolute; width: 100px; height: 100px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48px' viewBox='0 -960 960 960' width='48px' fill='%231a203c'%3E%3Cpath d='M411-481 213-679l42-42 240 240-240 240-42-42 198-198Zm253 0L466-679l42-42 240 240-240 240-42-42 198-198Z'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-size: 100% auto; content:"";
 bottom: 20px; right: 20px; z-index: 10; opacity: 0.6;
}
.infofeld .wp-block-column .wp-block-group {
    position: relative; margin-top: 80px; color: #fff;
}
.infofeld .wp-block-column .wp-block-group::after {
background: var(--designfarbe1);  border-radius: 40px;
    content: "";
    display: block;
    height: calc(100% + 150px);
    position: absolute;
    bottom: -100px;
    left: -45%;
    width:150%;
    z-index: -1; margin: 0;
}

.iconrow i {
display: block; float: left; width: 100%; text-align: center; margin: 10px 0 40px;
}
.iconrow .wp-block-column {
    padding: 20px 40px; border: 2px solid var(--designfarbe1); box-sizing: border-box;
    background: var(--designfarbe1); color: #fff; border-radius: 40px;

}
.iconrow .wp-block-column h3 {
    color: #fff;
}

.news-artikel {
    float: left; width: 100%; margin: 30px 0; max-width: 960px;
}
.news-liste {
    float: left; width: 100%; display: flex; flex-wrap: wrap; gap: 2em; flex-flow: row wrap;  margin: 30px 0;
}
.news-liste > div.news_meldung { float: left; padding: 20px 20px 0; box-sizing: border-box; width: 30%; border: 1px solid var(--designfarbe1); position: relative; background:  var(--designfarbe1); color: #fff; border-radius: 40px; overflow: hidden; }
div.news_meldung h2 {
    font-size: 1.1em; color: #fff;
}
div.news_meldung h2 a {  color: #fff; }
div.news_meldung h2 a:hover { color: var(--designfarbe2); }

.news_meldung .date {
    position: absolute; top: 0; right: 0; padding: 5px 30px; margin: 0;border-bottom-left-radius: 5px; color: #fff; font-size: 0.9em;
}
.news_meldung .weiterlink {
    margin-bottom: 5px;
}
#content .mitarbeiter {
    gap: 2em !important;
}
.mitarbeiter figure {
    position: relative;
}

.mitarbeiter figcaption {
    font-size: 1.5em !important; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 32, 60,0.8); color: #fff;  font-weight: bold; margin: 0; border-radius: 40px; text-transform: uppercase; padding: 20px 15%; box-sizing: border-box; display: flex; justify-content: center; align-items: center;
    opacity: 0;
}

.mitarbeiter figure:hover figcaption, .mitarbeiter figure:focus figcaption {
    opacity: 1;
}

:root :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-style-rounded img) {
  border-radius: 40px !important;
}

@media only screen and (min-width: 1460px) {
 #footer .footlogo {
       max-width: 400px;
  }
.iconrow {
    gap: 2em !important;
}

}

@media only screen and (min-width: 1160px) {

.blogcategory  { width: 80%; margin: 30px 10% 60px;}

}
@media (min-width: 781px) {

.oversize img {
    float: right; width: 50vw !important; height: auto !important; max-width: 200% !important;
}


.mitsidebar .inhalt {
    width: 67%;
}

}

@media only screen and (max-width: 1160px) {
    #menu .current-menu-item ul.sub-menu, #menu .current-menu-parent ul.sub-menu {
  display: block;
}
.mitarbeiter figcaption { font-size: 1.2em !important;}
#content .mitarbeiter {
    gap: 1em !important;
}
}
@media only screen and (max-width: 1560px) {
.inhalt {
    padding-top:0;
}
}
@media only screen and (max-width: 1360px) {

#menu { width:60%; padding-right: 60px; margin: 50px 0 0 0; }

.startlogo figure { margin-left: 5% !important; }


}

@media only screen and (max-width: 1160px) {
#logocontainer { width: 30%;}

#main { padding: 0;}
.bild { min-height: 500px; max-height: 500px; }

#menuelink{  display: block; z-index: 130;}
#headwidget { top: 5px; right: 0; font-size: 0.9em; }
#headwidget .widget_search { top: 95px; right: 0; padding: 20px; background:var(--designfarbe1);  width: 100vw; box-sizing: border-box; min-width: 280px;}

.mobilenav {
    display: none;
}
.mobilenav > div  {
    margin-right: -500px;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease; position: relative; z-index: 2;
}
.mobilenav.open > div {
  margin-right: 0;
}
#menu { width: 100%; margin: 0;
-webkit-transition: none;
-moz-transition: none;
transition: none;
position: fixed; top: 0; right: 0; height: 100%; z-index: 120; padding: 0; }

#menu > div {
    float: right; width: 60%; height: 100%; background:#fff; padding-top: 70px; box-sizing: border-box;  box-shadow: 0 0 10px 0 #000; overflow: auto; z-index: 2;
}

#menu > div#navhg {
float: left;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    padding: 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;  z-index: 1;
}

#menu ul li { display: block; width:100%; position: relative; max-width: 100%; margin: 0; }
span.qn {display: block; font-family: icons; font-size: 23px;
position: absolute; top: 0; right: 0; z-index: 4; width: 25px; height: 26px; cursor: pointer; padding: 13px; color: var(--designfarbe1); }


#menu ul li a {
float: left;
width: 100%;
padding: 15px 5%;
box-sizing: border-box;
height: auto;
text-align: center;
}

#menu ul.sub-menu {
position: relative;
top: auto !important; padding: 0 !important;
width: 100%;
-webkit-transition: none;
-moz-transition: none;
transition: none;
display: none;
opacity: 1; min-width: 50px;
visibility: visible;
}
#menu li ul.sub-menu {
    width: 100% !important;
    -webkit-transition: none;
-moz-transition: none;
transition: none;
}
#menu li ul.sub-menu li {
    min-height: 0 !important;
}
#menu ul.sub-menu li a {
padding: 15px 5%;
font-size: 0.95em;
text-align: center;
}
#menu ul.sub-menu ul { display: block; position: relative; left: 0; background: transparent; margin: 0; padding: 0 !important;}

.copy {width: 92%; margin: 10px 4%;}

.teaserbox {width:48%;}

#wrapper > div.social { display: none;}

.balken ol li {width: 50%;  }

input[type=submit] {
 font-size:0.9em;
 margin: 5px 0; max-width: 100% !important;
}
}
@media only screen and (max-width: 960px) {

#logocontainer { width: 35%; margin: 20px 2% 20px 4%;}
#titel { margin:-150px 2% 30px; width: 71%; left: 20%;}



.fzic div.info-men {width: 92%; margin: 10px 4%;}

h1 { font-size:1.8em !important;}
.wp-block-cover h1.has-large-font-size {
     font-size: 1.8em !important;
}
h2 { font-size: 1.4em;}

.bildtitle.iv { bottom: 10%;}
.bildtitle h1 {  font-size: 1.8em;}

.wp-block-eedee-block-gutenslider.arrow-position-sides button {
    display: none !important;
}

#breadcrumbs { left: 80%; margin: 0 0 0 -80vw; width: 80vw;  }
.startbild {
    max-height: 400px; min-height: 50vh !important;
}
.startlogo figure { margin-left: 1% !important; }

.slide-content {
    padding: 40px !important;
}
.slide-content .wp-block-group {
    max-width: 70% !important;
}

.wp-block-cover.has-parallax:not(.hoch), .wp-block-cover:not(.hoch) .wp-block-cover__image-background.has-parallax, .wp-block-cover.alignfull:not(.hoch) {
  background-attachment: scroll !important;
  max-height: 500px; min-height: 500px !important;
}

.news-liste > div.news_meldung {  width: 100%; }


}

@media only screen and (max-width: 780px) {

:root {
  --wp--style--block-gap: 1em;
}
.mobilnone { display: none;}
#main div.wpcf7 {
    margin-top: 0 !important;
}
#main {
    background-size: 200px auto !important;
}

.etg24 .aligncenter {
    float: left; max-width: 120px;
}
.wp-block-cover.has-parallax:not(.hoch), .wp-block-cover:not(.hoch) .wp-block-cover__image-background.has-parallax, .wp-block-cover.alignfull:not(.hoch) {
  background-attachment: scroll !important;
  max-height: 450px; min-height: 400px !important;
}


#footwidget2 {
    float: left; width: 90%; margin: 0 5%; text-align: center;
}
#footer .wp-block-columns {
    margin: 0 !important;
}

.panels2 div.wp-block-group  {
    float: left; width:90%; left: 5%; overflow: auto; height: calc(100% - 30px);  box-sizing: border-box; padding: 0 15px 30px 15px !important;
  background: #fff; font-size: 0.9em;
  }
.panels2 div.wp-block-group > div {
    padding-bottom:100px;
}

.teaserbox {width:99% !important; margin: 10px 0.5% !important;  }


}


@media only screen and (max-width: 680px) {
#logocontainer { width: 45%; }
#content ul.wp-block-latest-posts__list.is-grid li { width:97%; margin: 10px 1.5%; }
.amltop {  display: none; }
.bild { min-height: 300px; max-height: 400px; }

#menuelink { top:30px; }

.mtphr-dnt-nav {
    display: none;
}


.has-larger-font-size {
    font-size: 1.8em !important;
}
h1::after {
    width: 250px;
}

h1.has-text-align-center::after { width: 250px; margin-left: -125px; }
#menu > div {width: 80%;}

.startlogo figure { max-width: 40%; }
.balken ol li {width:100%;  }

#headwidget .widget_search { top:80px; right: 0;  }

#footwidget {width: 92%; margin: 20px 4%;}
#footnav {  width: 92%; margin: 10px 2%;  }


.slide-content {
    padding: 30px !important;
}
.slide-content .wp-block-group {
    max-width: 85% !important; font-size: 0.9em !important;
}


.fbuttons { width: 80%;}
.content1 .balken:first-child {
    padding-top: 60px;
}

#content .mitarbeiter {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

input[type=submit] {
 font-size:0.8em;padding: 10px;
 }

.fbuttons { max-width: 250px;}

}



@media only screen and (max-width: 460px) {
#logocontainer { width:60%; }
.bild { min-height: 300px; max-height: 400px; }
#titel { margin:-50px 2% 30px; width: 96%; left:0;}
#searchform input {  font-size: 0.9em;  }
#searchform [type=submit] { font-size: 0.9em;  }
.alignleft, img.alignleft {
	margin-right: 0;max-width: 100%; width: 100% !important;
	}
.alignright, img.alignright {
	margin-left: 0;max-width: 100%; width: 100% !important;
	}


.bildtitle.iv { bottom: 5%;}
.bildtitle h1 {  font-size: 1.2em;}

#breadcrumbs { font-size: 0.9em; }
#headwidget .widget_search { top:75px;  }
.startbild {
    max-height: 200px; min-height: 30vh !important;
}

.wp-block-image .alignright {
    text-align: left;
}

.startlogo figure { max-width: 50%; }
.wp-block-cover.has-parallax:not(.hoch), .wp-block-cover:not(.hoch) .wp-block-cover__image-background.has-parallax, .wp-block-cover.alignfull:not(.hoch) {
  background-attachment: scroll !important;
  max-height: 350px; min-height: 350px !important;
}
}

