/*
Theme Name: BvNW
Theme URI:
Author: FARN digital brand design
Author URI: https://farn.design/
Version: 1.0
*/

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/3b8f7a");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@font-face {
  font-family: 'QanelasSoft-Medium';
  src: url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-Medium/font.woff2') format('woff2'), url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-Medium/font.woff') format('woff');
  font-weight: 500;
}
@font-face {
  font-family: 'QanelasSoft-MediumItalic';
  src: url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-MediumItalic/font.woff2') format('woff2'), url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-MediumItalic/font.woff') format('woff');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'QanelasSoft-SemiBold';
  src: url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-SemiBold/font.woff2') format('woff2'), url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-SemiBold/font.woff') format('woff');
  font-weight: 600;
}
@font-face {
  font-family: 'QanelasSoft-Bold';
  src: url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-Bold/font.woff2') format('woff2'), url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-Bold/font.woff') format('woff');
  font-weight: 700;
}
@font-face {
  font-family: 'QanelasSoft-ExtraBold';
  src: url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-ExtraBold/font.woff2') format('woff2'), url('https://www.bvnw.de/wp-content/themes/bvnw-theme/webfonts/QanelasSoft-ExtraBold/font.woff') format('woff');
  font-weight: 800;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-feature-settings: "liga", "clig";
  -moz-font-feature-settings: "liga", "clig";
  font-feature-settings: "liga", "clig";
  -webkit-font-feature-settings: "liga", "lnum";
  -moz-font-feature-settings: "liga", "lnum";
  font-feature-settings: "liga", "lnum";
  position: relative;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.5;
  background-image:url('images/dot_bg_right.svg');
  background-position: right top;
  background-color: #edf4e0;
  background-size: 70%;
  background-repeat: no-repeat;
  height: 100%;
  transition: 0.5s;
}
body.page-child{
  background-image:url('images/dot_bg_left.svg');
  background-position: left top;
}
body.single-stellenangebote, body.single-kindergaerten{
  background-image:url('images/dot_bg_mid.svg');
  background-size: 85%;
  background-position: center top;
}
body.page-id-17, body.category, body.page-id-27653, body.search{
  /* Materialien, Aktuelles, News-Category, Suche */
  background-image:url('images/dot_bg_mid_small.svg');
  background-size: 85%;
  background-position: center top;

}
body.home{
  background-image:none;
}
::selection {
    background: #f0ef9a;
}
.is-style-infobox::selection {
    background: #d0cf7a;
}
figure {
    margin: 0 0 1em 0;
}
figcaption {
    font-style: italic;
    font-size: 0.85em;
}
img, svg{
  width: 100%;
  height: auto;
  display: block;
}
article img{
  border-radius: 10px!important;
}
article a img:hover {
    opacity: 0.8;
}
p{
    margin: 0 0 0.7em;
}
a{
  color: #005321;
  text-decoration: none;
}
a:hover{
  color: #458230;
}
article p a, article li a {
  font-weight: 700;
  border-bottom: 1px solid;
}
article td a {
  border-bottom: 1px solid;
}
h1,h2,h3,h4{
  font-family: 'QanelasSoft-Bold', sans-serif;
  font-weight: 700;
  color:#005321;
  line-height: 1.3;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, p:first-child,
.btn_close + h2 {
    margin-top: 0;
}
h1{
  font-family: 'QanelasSoft-ExtraBold', sans-serif;
  font-weight: 800;
  font-size: 11vw;
  margin-bottom: 0.3em;
  line-height: 1.1;
  margin-top: 0;
}
.h1-long {
    font-size: 8vw;
}
h2 {
    font-size: 2em;
    margin-bottom: 0.3em;
}
h3{
  margin-bottom: 0.5em;
  font-size: 1.5em;
}
.is-style-vorspanntext{
  font-family: 'QanelasSoft-Bold', sans-serif;
  font-weight: 700;
  color:#005321;
  line-height: 1.3;
  font-size: 1.5em;
  margin-bottom: 1.2em;
}
article ul, article ol {
  margin: 0 auto 0.7em;
  padding: 0 0 0 1.7em;
}
article ul li, article ol li {
  padding-bottom: 0.6em;
}
small {
    display: inline-block;
}
.clear {
  clear:both;
}

/* Inputs */
form.wpcf7-form {
  margin-top:2em;
}
form {
  margin-top: inherit;
}
input, textarea, select {
  font-family: 'Open Sans', sans-serif;
  color:#000;
  font-size: 1em;
  padding: 13px 14px 14px;
  border:1.5px solid #005421;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
  resize: none;
  border-radius: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-top: 5px;
}
input:focus, textarea:focus{
  outline: 0;
}
/* .inner-content input, .inner-content textarea, .has-weiss-background-color input, .has-weiss-background-color textarea {
  border:2px solid #005421;
}
.has-background input, .has-background textarea {
  border:2px solid #005421;
} */
select {
  width: auto;
  max-width:100%;
  padding-right: 40px;
  background-image: url('images/arrow-down.svg');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px auto;
}
label {
  font-weight:bold;
  margin-bottom: 1em;
  display:inline-block;
  width: 100%;
  font-size: 0.9em;
  color:#005421;
}
label > small {
    font-weight: 400;
}
input[type="file"] {
  border:none;
  padding:0;
  margin:13px 0 14px;
  border-radius: 0;
}
input[readonly="readonly"]{
  opacity: 0.5;
  cursor:not-allowed;
}
input[type="submit"], button[type="submit"] {
    width: auto;
    background-color: #A01C4B;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    transition: 0.1s;
    cursor: pointer;
    border-radius: 10px;
    padding: 13px 24px 14px;
    border: none;
    font-family: 'QanelasSoft-Bold', sans-serif;
}
input[type="submit"]:hover, button[type="submit"]:hover {
  opacity: 0.85;
}
input[type="checkbox"] {
  width:20px;
  height:20px;
  vertical-align: middle;
  margin:0 10px 0 0;
  padding:0;
  border-radius: 0px;
  background-color:#ffffff;
  cursor:pointer;
}
input[type=checkbox]:checked::before {
  content: '\00d7';
  text-align: center;
  display:block;
  font-weight: normal;
  color:#005421;
  height: 100%;
  width: 100%;
  font-size: 30px;
  line-height: 0.6;
}
span.wpcf7-list-item {
  margin:0 !important;
}
span.wpcf7-not-valid-tip {
  color:#A01C4B;
  text-transform: none;
  margin-top:5px;
  font-size: 18px;
}
.datenschutzlabel span{
  text-transform: none;
  font-weight: normal;
  font-size: 1em;
  vertical-align: middle;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color:#A01C4B !important;
  color:#A01C4B !important;
  padding:10px;
}
.wpcf7 form .wpcf7-response-output {
  margin:30px 0 10px 0 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color:#005421 !important;
  color:#005421 !important;
  padding:10px;
}
.wpcf7 .wpcf7-quiz-label {
  width:100%;
  display: block;
}
.wpcf7 .quiz-small {
  width:100px;
}
.wpcf7 .wpcf7-checkbox label {
  margin-right: 40px;
}
.stelle_mitgliedsnummer > input, .wpcf7-quiz-label + input {
    width: 100px;
}
#anmeldung_fachtagung_formular select option{
  background-color: white;
}
#anmeldung_fachtagung_formular select option:disabled{
  background-color: #e0e0e0;
}
#anmeldung_fachtagung_formular .wpcf7-checkbox .wpcf7-list-item-label{
  display: inline-block;
  width: calc(100% - 50px);
  vertical-align: top;
}
.wp-block-columns.anmeldung_fachtagung_hinweis {
  border-radius: 15px;
  margin-top: 2em;
}
/* .stellendatepicker { z-index:1000!important; } */

/* Table */
table {
    border-radius: 15px;
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}
tr, td, th {
    display: block;
}
.sortable thead {
    display: none;
}
thead.thead-mobile {
    display: block;
}
tbody tr {
    background: #f7fdf2;
    padding: 18px 20px 20px;
    border-bottom: 4px solid #edf4e0;
}
table tr:last-child td{
    border-bottom: none;
}
table td, table th {
    text-align: left;
    display: block;
}
table th {
    background-color: #005321;
    color: #fff;
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-size: 1.05em;
    padding: 14px 40px 14px 0;
}




/* Table List*/
table.list td:first-child {
  font-family: 'QanelasSoft-Bold', sans-serif;
  font-weight: 700;
  font-size: 1.25em;
  color:#005321;
  padding-bottom: 8px;
}
table.list tr:hover{
  background-color: #fbfff8;
  cursor: pointer;
}
table.list tr:hover td:first-child {
  color: #458230;
}




/* Table Sortable */
.sortable th {
    cursor: pointer;
    white-space: nowrap;
}
table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort)::after {
    content: " \25B2\25BC";
    opacity: 0.25;
    padding-left: 7px;
    position: relative;
    top: -1px;
    font-family: Arial Narrow;
    font-size: 14px;
    letter-spacing: -3px;
}
#sorttable_sortrevind, #sorttable_sortfwdind {
    top: -1px;
    position: relative;
    padding-left: 7px;
    font-family: Arial Narrow;
    font-size: 14px;
    letter-spacing: -3px;
}

/* Table Sortable on mobile*/
.thead-mobile-sortable th {
    padding-left: 20px;
    position: relative;
}
.sortable thead.thead-mobile-sortable {
    display: block;
}
.mobile-sortable-dropdownlist {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: #005321;
  border-radius: 15px;
  display: none;
}
.mobile-sortable-dropdownlist div {
    padding: 20px;
    border-bottom: 2px solid #0B5E2C;
    cursor: pointer;
}
.mobile-sortable-dropdownlist div:last-child {
    border: 0;
}


/* Table CLickable */
table.clickable td {
    position: relative;
}
.stretched-link {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-bottom: 0;
}



/* Stacktable */
.st-head-row {
    padding-left: 20px;
    display: table-cell;
}
.st-head-row:not(.st-head-row-main) {
    background-color: inherit;
    color: #005321;
    font-size: 1.3em;
}
.stacktable tr {
    padding: 0;
    border: 0;
    display: table-row;
}
.stacktable td {
    padding: 18px 20px 20px 0;
    border-top: 4px solid #edf4e0;
}
.stacktable td:first-child {
    padding-left: 20px;
}
.st-key, .st-val {
    display: table-cell;
}
.stacktable.large-only { display: none; }
.stacktable.small-only { display: table; }












/* HEADER */
.logo {
    display: block;
    width: 180px;
    padding: 16px 0 10px 4.5%;
}

.burgerbutton {
    cursor: pointer;
    z-index: 20;
    position: fixed;
    width: 95px;
    right: -16px;
    top: -16px;
    padding: 44px 41px 20px 25px;
    border-radius: 50%;
    z-index: 100;
}
.burgerbutton.active {
  position: fixed;
}
.burgerbutton-linie {
    background: #005321;
    height: 3px;
    margin-bottom: 6px;
    transition: 0.4s;
    width: 100%;
    border-radius: 3px;
}
.burgerbutton.active .burgerbutton-linie:nth-child(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
  -ms-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
}
.burgerbutton.active .burgerbutton-linie:nth-child(2) {
  width: 0;
  margin-left: 50%;
}
.burgerbutton.active .burgerbutton-linie:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}


.nav_mask_outer {
    height: 60px;
    overflow: hidden;
    display: block;
    position: fixed;
    width: 60px;
    z-index: 99;
    border-radius: 50%;
    background-color: #f7fdf2;
    right: 10px;
    top: 10px;
    transition: 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav_mask_inner {
    position: absolute;
    width: 320px;
    height: 600px;
    transition: 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    top: -10px;
    right: -10px;
}

nav ul {
    padding: 0;
    margin: 0;
}
nav li {
    list-style: none;
    position: relative;
}
nav a{
  font-family: 'QanelasSoft-Bold', sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

header nav {
  position: relative;
  overflow: scroll;
  z-index: 99;
  font-size: 1.3em;
  top: 20px;
  height: calc(100% - 100px);
}
header nav ul {
    padding: 0 25px 70px;
}
header nav a {
    padding: 14px 0;
    border-bottom: 1px solid #005321;
    display: block;
}
header nav ul.sub-menu {
    display: none;
    padding: 0 0 20px 15px;
    font-size: 0.8em;
}
header nav .sub-menu a {
    border-bottom: 1px solid #BDD3B5;
}
header nav .sub-menu .cta_in_menu a{
  color:#a01b4b;
}
.additional-menu {
  margin-top:80px;
}
#main_login_link {
  display:none;
}
#main_search_form {
    position: relative;
    padding: 0 25px 0 25px;
}
#main_search_form input{
    padding: 9px 14px 10px;
}
.mobile_menu_plus {
    background-image: url('images/arrow-down.svg');
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    top: 3px;
    right: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 15px;
}
.mobile_menu_plus.active {
    transform: rotate(180deg);
}

.wichtigemitteilung {
  width:90%;
  display: inline-block;
  margin-left: 5%;
  margin-top:1em;
  padding:0.8em 1.5em;
  background-color: #cae8db;
  border-radius: 15px;
  max-width: 1300px;
}

.breadcrumb {
    text-align: center;
    display: none;
}
.breadcrumb a {
    color: #386d30;
    text-decoration: none;
    font-family: 'QanelasSoft-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 0.85em;
}
.breadcrumb a:hover {
    color: #005321;
}





/* breiten */
.inner-content {
}
.inner-content div, .inner-content figure {
    margin-bottom: 2em;
}
.inner-content div.wp-block-column,
.automatische-teaser-spalten,
.inner-content div.wp-block-spacer,
.inner-content .akkordeon-content div,
.inner-content div.wp-block-group__inner-container,
.inner-content div.wp-block-group__inner-container > .wp-block-columns,
.inner-content div.mobile-sortable-dropdownlist,
.inner-content div.mobile-sortable-dropdownlist div,
.inner-content .wp-block-column div:last-child,
.inner-content .wp-block-column figure:last-child,
.inner-content div.wp-block-column:last-child,
.inner-content .wp-block-group__inner-container div:last-child,
.inner-content .wp-block-group__inner-container figure:last-child,
.inner-content .wp-block-group__inner-container p:last-child,
.inner-content .wp-block-media-text > .wp-block-media-text__content > p:last-child,
.inner-content div#mapcontainer div,
.inner-content .wp-block-image,
.inner-content .material_box,
.inner-content .smallcats,
.inner-content .smallcat{
    margin-bottom: 0;
}
.inner-content p + div, .inner-content p + figure {
    margin-top: 2em;
}
.inner-content div.wp-block-file {
    margin-top: 1.3em;
}
.alignfull {
     margin-right: auto;
     margin-left: auto;
     max-width: 100vw;
     position: relative;
     width: 100%;
 }
.alignwide {
     width:90%;
     margin-left:auto;
     margin-right:auto;
     max-width: 1300px;
 }
.inner-content > :not(.alignwide):not(.alignfull), .wp-block-group.alignfull.has-background > .wp-block-group__inner-container > :not(.alignwide):not(.alignfull) {
   width:90%;
   margin-left:auto;
   margin-right:auto;
   max-width: 950px;
}



/* Article */
article {
    padding-top: 1.3em;
    padding-bottom: 6em;
}




/* Blöcke */

.wp-block-group.has-background {
    padding: 1.5em;
    border-radius: 15px;
}


/* Buttons */
.wp-block-buttons .wp-block-button {
    margin: 0 12px 15px 0;
}
.wp-block-button__link {
    background-color: #432359;
    font-family: 'QanelasSoft-Bold', sans-serif;
    border-radius: 10px;
    font-size: 1.2em;
    padding: 13px 24px 14px;
}
.wp-block-button:first-child .wp-block-button__link {
    background-color: #a01b4b;
}
.wp-block-button__link::after {
    background-image: url('images/arrow-white.svg');
    content: "";
    width: 20px;
    height: 17px;
    display: inline-block;
    background-position: right;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
}
.wp-block-button__link:hover {
    opacity: 0.85;
}

/* Download */
.wp-block-file a {
    text-decoration: none;
    font-family: 'QanelasSoft-Bold', sans-serif;
    border-bottom: 1.5px solid;
    padding-bottom: 2px;
}
.wp-block-file .wp-block-file__button {
    background-color: #432359;
    font-family: 'QanelasSoft-Bold', sans-serif;
    border-radius: 10px;
    font-size: 0.9em;
    padding: 10px 20px 11px;
}
.wp-block-file * + .wp-block-file__button {
    margin-left: 1em;
}


/* Bild */
.wp-block-image .alignleft, .wp-block-image .alignright {
    margin: 0 0 1.5em 0;
    width: 100%;
}
.inner-content .wp-block-group.has-weiss-background-color figure {
    margin-bottom: 0;
}
.is-style-nicht-abgerundet img {
    border-radius: 0;
}
.is-style-logo img{
  mix-blend-mode: multiply;
  border-radius: 0;
}

/* EMBED */
.wp-block-embed__wrapper {
    text-align: center;
}

.centered-infobox > .is-style-infobox {
    margin-left: auto;
    margin-right: auto;
}
.is-style-infobox {
    padding: 1.3em 2em 1.4em;
    background-color: #F0EF9A;
    transform: rotate(-1.2deg);
    border-radius: 30px;
    max-width: 500px;
}

.is-style-infobox p{
    font-size: 0.9em;
}
.has-padding {
    padding: 20px 30px;
    border-radius: 20px;
}

.has-weiss-background-color, .wp-block-button .wp-block-button__link.has-weiss-background-color{
  background-color: #ffffff;
}
.has-farbe-1-background-color, .wp-block-button .wp-block-button__link.has-farbe-1-background-color{
  background-color: #005421;
}
.has-farbe-2-background-color, .wp-block-button .wp-block-button__link.has-farbe-2-background-color{
  background-color: #458230;
}
.has-farbe-3-background-color, .wp-block-button .wp-block-button__link.has-farbe-3-background-color{
  background-color: #6B9852;
}
.has-farbe-4-background-color, .wp-block-button .wp-block-button__link.has-farbe-4-background-color{
  background-color: #F0EF9A;
}
.has-farbe-5-background-color, .wp-block-button .wp-block-button__link.has-farbe-5-background-color{
  background-color: #75BECE;
}
.has-farbe-6-background-color, .wp-block-button .wp-block-button__link.has-farbe-6-background-color{
  background-color: #675B4B;
}
.has-farbe-7-background-color, .wp-block-button .wp-block-button__link.has-farbe-7-background-color{
  background-color: #EDF4E0;
}
.has-farbe-8-background-color, .wp-block-button .wp-block-button__link.has-farbe-8-background-color{
  background-color: #F7FDF2;
}
.has-farbe-9-background-color, .wp-block-button .wp-block-button__link.has-farbe-9-background-color{
  background-color: #432359;
}
.has-farbe-10-background-color, .wp-block-button .wp-block-button__link.has-farbe-10-background-color{
  background-color: #A01C4B;
}
.has-farbe-11-background-color, .wp-block-button .wp-block-button__link.has-farbe-11-background-color{
  background-color: #cae8db;
}

/* Akkordeon-BLock */
.akkordeon ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.akkordeon h2 {
    margin: 0;
}
.akkordeon li {
    padding: 15px 0 17px;
}
.akkordeon-content {
    border-bottom: 3px solid #005421;
    max-width: 950px;
}
.akkordeon-content:last-child {
    border-bottom: none;
}
.akkordeon-ueberschrift {
    padding: 0 70px 0 0;
    cursor: pointer;
    position: relative;
    color:#005421;
}
.akkordeon-ueberschrift::after {
    content: "";
    width: 14px;
    height: 14px;
    border-right: 3px solid #005421;
    border-bottom: 3px solid #005421;
    display: block;
    transform: rotate(45deg);
    position: absolute;
    right: 24px;
    top: 12px;
}
.akkordeon-ueberschrift.active::after {
    transform: rotate(225deg);
    top: 13px;
}
.akkordeon-content:first-child .akkordeon-text {
    display: block;
}
.akkordeon-text {
    display: none;
    padding: 10px 0 0;
}
.mit_illustration ul, .mit_illustration .akkordeon-illus {
  position: relative;
}
.akkordeon-illus{
  display: none;
}
.akkordeon-illu{
  max-height: 400px;
  width: auto;
  max-width: 100%;
}
.mit_illustration .akkordeon-illus::after {
  background-image:url('images/dot.svg');
  background-repeat: no-repeat;
  background-size: contain;
  content:'';
  display: block;
  height:400px;
  width:400px;
  position: absolute;
  top:-30px;
  left:-50px;
  z-index: -1;
}
.mit_illustration .ai-desktop {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.mit_illustration .ai-mobile {
  display:block;
  margin: 0 auto;
}

/* Teaser */
.teaser_title {
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-weight: 700;
    color: #005321;
    line-height: 1.1;
    font-size: 1.7em;
    text-decoration: none;
    padding: 0.55em 0 0.3em;
    display: block;
}
.teaser p {
    font-size: 0.95em;
}
.teaser_link {
  font-weight: 700;
  font-family: 'QanelasSoft-Bold', sans-serif;
  font-size: 1em;
  text-decoration: none;
  background-image: url('images/arrow.svg');
  background-repeat: no-repeat;
  background-position: right;
  background-size: auto 14px;
  padding: 0px 17px 2px 0;
}


/* Automatische Teaser */
.automatische-teaser-spalten {
    margin: 0 -16px;
}
.automatische-teaser-spalte {
    display: inline-block;
    margin-left: 16px;
    margin-right: 16px;
    vertical-align: top;
}


/* KATEGORIE-LISTE */
.inner-content .liste-kategorie {
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 0;
}
.aktuelles_vorschaubild img {
    border-radius: 0;
}
.inner-content .liste-kategorie-post {
    background-color: #f7fdf2;
    margin-bottom: 4px;
    padding: 0.9em 7% 1.8em;
}
.inner-content .liste-kategorie-post p {
    font-size: 0.9em;
}
.inner-content .liste-kategorie-post:last-child {
    margin-bottom: 0;
}
.inner-content .liste-kategorie-post p.datum {
    float: right;
    font-size: 0.8em;
    padding-left: 20px;
    color: #6d6d6d;
    padding-top: 16px;
}
.liste-kategorie-title {
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-weight: 700;
    color: #005321;
    font-size: 1.3em;
    line-height: 1.3;
    text-decoration: none;
    padding: 0.55em 0 0.2em;
    display: block;
}
.teaser_link_grau {
    font-size: 0.85em;
    font-weight: 600;
    color: #6d6d6d;
}


/* Page-Navigation */

.pagination h2 {
    display: none;
}
.nav-links {
    text-align: center;
    margin: 30px 0 50px;
}
.page-numbers {
    background-color: #f7fdf2;
    padding: 14px 19px;
    margin: 0 1px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 7px;
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'QanelasSoft-Bold', sans-serif;
}



/* Kopfbereich */
.kopfbereich {
  max-width: 100vw !important;
  position: relative;
  width: 100% !important;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display:flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}
.kopfbereich-bild {
  z-index: 1;
  width: 100%;
}
.kopfbereich-bild-svg {
  width:120%;
  margin-left: -10%;
}
.kopfbereich-text {
  padding:0 5%;
}
.kopfbereich-text .wp-block-buttons {
  margin-bottom: 0;
}
.text-hintergrund .kopfbereich-text {
  position: relative;
  padding:150px 5% 50px 5%;
  box-sizing: border-box;
  margin-top:-150px;
  margin-bottom: 0;
  background-color:#F0EF9A;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg class="kopfbereich-text-svg-curve" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1027.42 300"><path class="st0" style="fill:%23EDF4E0" d="M1027.4,61.3V300H0V5.1c66.8,68.4,147.7,127.6,238.9,173.3C342,229.9,449.3,254,553.8,254C731.6,254,901.1,184.3,1027.4,61.3z"/></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
}
.text-hintergrund .kopfbereich-text h1{
  font-size:4em;
}
.text-hintergrund .kopfbereich-text-svg-curve {
  width: 100%;
  height: auto;
  position: absolute;
  bottom:0;
  left:0;
}
.text-hintergrund .kopfbereich-text-svg-circle {
  display:none;
}


/* Popups */
.small_link {
    color: #386d30;
    text-decoration: none;
    font-family: 'QanelasSoft-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 0.85em;
}
.popup_container {
    position: fixed;
    height: 100%;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 10000;
    transition: 0.4s ease;
    overflow: auto;
}
.popup_container.active {
  top: 0;
}
.popup_inner_container {
  border-radius: 20px;
  padding: 1.3em 1.7em;
  background-color: #f7fdf2;
  position: relative;
  top: 50%;
  z-index: 1000;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 750px;
}
.popup_inner_container.popup_oversize {
  top: 0;
  transform: translate(-50%, 0);
  margin: 30px 0 30px;
}
.btn_close {
  background: #f7fdf2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  right: -10px;
  top: -5px;
  position: relative;
  cursor: pointer;
  float: right;
  margin-left: 20px;
}
.btn_close:hover {
  background-color:#edf4e0;
}
.btn_close::after {
  content:'+';
  display: block;
  font-size: 50px;
  transform: rotate(45deg);
  color:#005321;
  text-align: center;
  width:100%;
  height: 100%;
  line-height: 56px;
  transform-origin: center;
}
.btn_close:hover::after {
  color:#458230;
}
.blindboxback{
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}



/* MAP */
#lightboxback{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  max-width: inherit;
  display: none;
  background-color: rgba(0,0,0,0.3);
}
#mapcontainer {
  position: fixed;
  width: 100%;
  height: 92%;
  top: 100%;
  left: 0%;
  z-index: 100;
  max-width: inherit;
  background: #f7fdf2;
  border-radius: 30px 30px 0 0;
  transition: 0.4s ease;
  overflow: hidden;
}
#mapcontainer.active {
  top: 8%;
}
#map{
  position: absolute;
  width: 100%;
  height: 100%;
}
.marker {
    width: 100px;
}
#map img{
  border-radius: 0;
}

#mapcontainer .btn_close {
  float: none;
  right: 15px;
  top: 15px;
  position: absolute;
  margin: 0;
}



/* Kindergärten Single */
.kita-logo-top img {
  max-width: 300px;
  display: inline-block;
  max-height: 200px;
  width: auto;
  height: auto;
}
.inner-content div.kita-logo-top {
    text-align: center;
    margin-bottom: 10px;
}



/* Stellenangebote Single */
.single_ab {
    margin: 0 0 10px !important;
    background-color: #f0ef9a;
    display: inline-block;
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-weight: 700;
    color: #005321;
    padding: 8px 21px 9px;
    border-radius: 12px;
    font-size: 1.1em;
    transform: rotate(-1.5deg);
    left: -7px;
    position: relative;
}
.single_ab:empty {
    display: none;
}
.single_facts {
    font-family: 'QanelasSoft-Bold', sans-serif;
    color: #005321;
    font-size: 1.25em;
    margin: -0.5em 0 2em !important;
}


/* Materialien */
.material_suche {
    float: right;
}
.material_suche input {
    height: 47px;
    font-family: 'QanelasSoft-Medium', sans-serif;
    font-weight: normal;
    width: 300px;
}
.materialien_liste {
    clear: both;
}
.material_box {
    background-color: #f7fdf2;
    height: 100%;
    padding: 1.2em 1.5em 1.5em;
    border-radius: 10px;
}
.smallcat {
    font-size: 0.8em;
    padding-bottom: 7px;
    color: #686D68;
    font-weight: 600;
}
.material_box h3 {
    margin: 0 0 0.3em;
    font-size: 1.3em;
}
.material_box p{
  font-size: 0.9em;
}


/* Filter */
ul.tag-filter {
  margin:0 0 30px;
  padding:0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap
}
ul.tag-filter li {
    display: flex;
    border-radius: 25px;
    padding: 15px 24px 16px;
    background-color: #f7fdf2;
    color: #005321;
    letter-spacing: 0.03em;
    font-size: 16px;
    line-height: 1;
    margin: 0 9px 10px 0;
    cursor: pointer;
    align-items: center;
    white-space: nowrap;
    font-family: 'QanelasSoft-Bold', sans-serif;
}
ul.tag-filter li:first-child {
  margin-left:0px;
}
ul.tag-filter li:hover {
  background-color:#fbfff8;
}
ul.tag-filter li.tagactive {
    background-color: #458232;
    color: #f7fdf2;
}
ul.tag-filter li.tagactive::after {
  background-image: url('images/icons_cross_white.svg');
  background-repeat: no-repeat;
  content:'';
  height:13px;
  width:13px;
  display:inline-block;
  margin-left: 10px;
}
ul.tag-filter #tag-id-0.tagactive::after {
  display: none;
}

.cat-filter-wrapper {
  position: relative;
  height:46px;
  margin-bottom: 40px;
}
.cat-filter {
 border:2px solid #0B3D56;
 border-radius: 5px;
 list-style-type: none;
 margin:0;
 padding:0;
 display:inline-block;
 position: absolute;
 background-color:white;
 padding:10px 15px;
 font-size: 18px;
 font-family: 'Asap', sans-serif;
}
.cat-filter option {
  padding:14px 40px 14px 20px;
  cursor:pointer;
}
.cat-filter option.catactive {
  font-weight: bold;
}
.cat-filter option:first-child {
  display: block;
}
.countposts {
    display: block;
    font-size: 0.9em;
}

/* Block-Kindergärten-Finden */
.kindergaerten-finden .row:not(#kindergaerten-row) > div, .kindergaerten-teaser-text,.kindergaerten-finden .row{
  margin-bottom: 0 !important;
}
.kindergaerten-row-beschriftung {
  font-weight: bold;
  color:#005421;
}
.kindergaerten-finden-form {
    position: relative;
}
.kindergaerten-finden-form > input[type="search"] {
    height:54px;
    padding-right:85px;
}
.kindergaerten-finden-form > button {
    padding: 0;
    width: 35px;
    height:54px;
    float: left;
    position: absolute;
    top:5px;
    right: 10px;
    border: 0;
    cursor: pointer;
    background-image: url('images/icons_search.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color:transparent;
    background-size: 35px;
}
.standortbestimmen {
  position: absolute;
  top: 5px;
  right: 45px;
  height: 54px;
  width: 35px;
  cursor: pointer;
  background-color: grey;
  display: none;
  margin: 0 !important;
  background-image: url('images/icons_current_position.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-color:transparent;
  background-size: 30px;
}
.standortbestimmen.standortvisible {
  display: block;
}
.kindergaerten-teaser-text {
  border-radius: 9px;
  text-align: center;
  padding:20px;
  min-height:210px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}
.kindergaerten-teaser-text:hover {
  filter:brightness(120%);
}
.kindergaerten-teaser-text a, .kindergaerten-teaser-text h3, .kindergaerten-teaser-text span {
  color:white;
  margin:0;
}
.kindergaerten-teaser.randomtransform1 .kindergaerten-teaser-text{ transform:rotate(1deg); }
.kindergaerten-teaser.randomtransform2 .kindergaerten-teaser-text{ transform:rotate(2deg); }
.kindergaerten-teaser.randomtransform3 .kindergaerten-teaser-text{ transform:rotate(3deg); }
.kindergaerten-teaser.randomtransform4 .kindergaerten-teaser-text{ transform:rotate(-1deg); }
.kindergaerten-teaser.randomtransform5 .kindergaerten-teaser-text{ transform:rotate(-2deg); }
.kindergaerten-teaser.randomtransform6 .kindergaerten-teaser-text{ transform:rotate(-3deg); }
.kindergaerten-teaser.randomcolor1 .kindergaerten-teaser-text{ background-color:#6B9852; }
.kindergaerten-teaser.randomcolor2 .kindergaerten-teaser-text{ background-color:#5795A0; }
.kindergaerten-teaser.randomcolor3 .kindergaerten-teaser-text{ background-color:#847462; }
.kindergaerten-teaser.randomcolor4 .kindergaerten-teaser-text{ background-color:#9c9852; }
.kindergaerten-teaser.randomcolor5 .kindergaerten-teaser-text{ background-color:#5d8c66; }
.kindergaerten-teaser.randomcolor6 .kindergaerten-teaser-text{ background-color:#806F8E; }


/* Spendenformular */
#iFrameResizer0 {
    margin: 0 auto;
    display: block;
}

/* teaser schräges bild */
.teaser-schraeges-bild {
  margin-top: 3em;
  transform: rotate(3deg);
}

/* FOOTER */
footer{
  background-color: #005421;
  padding-bottom: 50px;
}
footer nav a {
    color: #aabc9d;
    font-family: 'QanelasSoft-Medium', sans-serif;
    font-weight: 500;
    font-size: 0.9em;
    padding: 0 0 0.7em;
}
footer nav a:hover {
    color: #edf4e0;
}
.prefooter {
    padding: 0 5%;
    font-size: 0.9em;
}
.prefooter_inner {
    padding: 1.3em 1.7em 1.5em;
    max-width: 950px;
    border-radius: 15px;
    background-color: #f7fdf2;
    top: -50px;
    position: relative;
    margin: 0 auto -50px;
}
footer nav{
  padding: 40px 5%;
  max-width: 1300px;
  margin: 0 auto;
}
footer .menu-hauptmenue-container {
    display: none;
}
footer #menu-hauptmenue-1 {
    width: 80%;
    float: left;
}
footer #menu-hauptmenue-1 > li {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    padding-right: 20px;
    float: left;
}
footer #menu-hauptmenue-1 > li:nth-child(5),
footer #menu-hauptmenue-1 > li:nth-child(6) {
    display: none;
}
footer nav > div > ul > li > a {
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-size: 20px;
    margin-bottom: 5px;
}
.menu-footer-menue-container{
  float: left;
}


/* Cookie-Banner */
#BorlabsCookieBox h3, #BorlabsCookieBox ._brlbs-h3 {
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-weight: 700;
    color: #005321;
    line-height: 1.3;
}
#BorlabsCookieBox ._brlbs-btn,
#BorlabsCookieBox ._brlbs-btn-accept-all {
    font-family: 'QanelasSoft-Bold', sans-serif;
    font-weight: 700;
}


/* Admin */
#wp-admin-bar-search,
#wp-admin-bar-site-name-default{
  display: none;
}


/* Signup */
#signup-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 100px;
}
#signup-content a {
    font-weight: bold;
}
#signup-welcome {
    background-color: #f7fdf2;
    border-radius: 15px;
    padding: 20px 25px 15px;
    margin-bottom: 20px;
}
#signup-welcome span.h3 {
    font-size: inherit;
    padding: 0;
}
#signup-content ~ footer .prefooter {
    display: none;
}



/* MEDIA QUERIES */


@media only screen and (min-width: 560px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 3.3em;
  }
  .h1-long {
    font-size: 2.3em;
  }
  .text-hintergrund .kopfbereich-text {
    padding:250px 5% 50px 5%;
    margin-top:-250px;
  }
  .additional-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #main_search_form {
    padding: 0 0 0 25px;
  }
  #main_login_link {
    display:block;
  }
    .automatische-teaser-spalten-3 .automatische-teaser-spalte {
        width: calc(50% - 32px);
    }
}


@media only screen and (min-width: 768px) {
  article {
    padding-top: 2em;
  }
  .wp-block-image .alignleft {
      margin: 0 30px 1.5em 0;
      width: calc(50% - 15px);
  }
  .wp-block-image .alignright{
      margin: 0 0 1.5em 30px;
      width: calc(50% - 15px);
  }
  h1 {
    font-size: 4.3em;
  }
  .h1-medium {
    font-size: 3.3em;
  }
  .h1-long {
    font-size: 2.5em;
  }
  .is-style-vorspanntext {
    margin-bottom: 2em;
  }

  .popup_inner_container {
    padding: 1.7em 2.2em;
  }
  .kopfbereich{
    margin-top: -1.3em;
  }
  label.half, label.half1, div.half, div.half1 {
    width:calc(50% - 10px);
    margin-left: 0;
    margin-right: 0;
    vertical-align: top;
  }
  label.half1, div.half1 {
    margin-right: 20px;
  }
  .prefooter_inner {
    display: flex;
    padding-bottom: 0.9em;
  }
  .prefooter p {
      padding-right: 30px;
      flex: min-content;
  }
  .prefooter .wp-block-button__link {
      height: min-content;
      flex: 0 0 auto;
  }
  .teaser-schraeges-bild {
    margin-top: -4em;
    transform: rotate(5deg);
  }
  .wichtigemitteilung {
    width: auto;
    margin-top:0;
    margin-left:50%;
    transform:translateX(-50%);
  }
}



@media only screen and (min-width: 800px) {
  table {
    border-radius: 30px;
  }
  table tr {
    padding: 0;
    display: table-row;
  }
  table td, table th {
    padding: 24px 40px 24px 0;
    border-bottom: 4px solid #edf4e0;
    display: table-cell;
  }
  table th {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  table td{
    font-size: 0.9em;
    position: relative;
  }
  table td:first-child, table th:first-child {
    padding-left: 40px;
  }

  /* Table List */
  table.list td:last-child, table.list th:last-child {
      text-align: right;
  }
  table.list td:first-child {
    padding-bottom: 24px;
  }

  /* Table Sortable */
  .sortable thead {
    display: table-row-group;
  }

  /* Table Sortable Mobile */
  .sortable thead.thead-mobile-sortable {
    display: none;
  }



  /* Stacktable */
  .stacktable.large-only { display: table; }
  .stacktable.small-only { display: none; }
  .stacktable td:first-child {
    padding-left: 40px;
  }

}



@media only screen and (min-width: 990px) {
  h1 {
    font-size: 5em;
  }
  .h1-medium {
    font-size: 4em;
  }
  .h1-long {
    font-size: 3em;
  }
  .logo {
    display: block;
    width: 310px;
    padding: 35px 40px;
    float: left;
  }

  .breadcrumb {
      display: block;
  }

  .mit_illustration {
    display: flex;
  }
  .mit_illustration ul, .mit_illustration .akkordeon-illus {
      width:50%;
  }
  .mit_illustration .ai-desktop {
    display:none;
  }
  .akkordeon-illus{
    display: block;
  }
  .mit_illustration .ai-desktop:first-child {
    display:block;
  }
  .mit_illustration .ai-mobile {
    display:none;
  }

  .aktuelles_vorschaubild {
    width: calc(43% - 10px);
    display: block;
    float: right;
    margin: 31px 7% 20px 20px;
    max-width: 300px;
  }
  .inner-content .aktuelles_vorschaubild + .liste-kategorie-post > .datum {
      float: none;
      padding-left: 0;
      margin-bottom: -5px;
  }
  .aktuelles_vorschaubild img {
    border-radius: 10px;
  }
    .automatische-teaser-spalten-3 .automatische-teaser-spalte {
        width: calc(33.33% - 32px);
    }

  #mapcontainer {
      width: 90%;
      height: 90%;
      left: 5%;
      border-radius: 25px;
  }
  #mapcontainer.active {
      top: 5%;
  }


  footer .menu-hauptmenue-container {
    display: block;
  }

}


@media only screen and (min-width: 1200px) {

  .burgerbutton {
    display: none;
  }
  .nav_mask_outer, .nav_mask_inner {
    display: inline !important;
    background-color: transparent;
    width: auto;
    height: auto;
    position: relative;
    top: 0;
    right: 0;
    display: flex!important;
    overflow: visible;
    flex-grow: 1;
  }
  .nav_mask_inner {
    height: auto !important;
  }
  .additional-menu {
    margin-top:0;
    order: 3;
  }
  #main_search_form {
    top: 0;
    padding: 0 50px 0 25px;
    width: 200px;
  }
  header nav {
    display: inline-block !important;
    position: relative;
    background-color: transparent;
    font-size: 1.15em;
    overflow: initial;
    top: inherit;
    right: auto;
    flex: auto;
  }
  header nav ul {
    padding: 44px 20px;
    text-align: center;
  }
  header nav li {
    display: inline-block;
  }
  header nav a {
    padding: 10px 10px 12px 17px;
    border-bottom: 0;
    display: inline-block;
  }
  header nav .menu-item-has-children > a {
      padding-right: 21px;
      background-image: url('images/arrow-down.svg');
      background-repeat: no-repeat;
      background-position: right;
      background-size: 12px auto;
  }
  .mobile_menu_plus {
    display: none;
  }
  header nav ul.sub-menu {
    text-align: left;
    position: absolute;
    width: auto;
    top: 50px;
    padding: 0;
    box-shadow: 0 6px 40px -9px rgba(0,67,40,0.15);
    position: absolute;
    width: 250px;
    background-color: #f7fdf2;
    border-radius: 15px;
    top: 47px;
    overflow: hidden;
  }
  header nav .menu-item-has-children:hover .sub-menu {
    display: block;
  }
  header nav .sub-menu li {
    display: block;
  }
  header nav .sub-menu a {
    display: block;
  }
  header nav .sub-menu a:hover {
    background-color: #fbfff8;
  }
  header nav .sub-menu li:last-child a {
    border: none;
  }
  #menu-hauptmenue > li.current-page-ancestor > a::after, #menu-hauptmenue > li.current_page_item > a::after {
    content: "";
    height: 1.5px;
    background-color: #005321;
    display: block;
    top: 5px;
    position: relative;
  }

  /* Kopfbereich */
  .kopfbereich {
    flex-direction: row;
    overflow:visible;
  }
  .kopfbereich-text {
    flex-basis:40%;
    z-index: 1;
    padding:0 5% 0 5%;
  }
  .kopfbereich-bild {
    z-index: 0;
    flex-basis:60%;
  }
  .kopfbereich-bild-svg {
    width:100%;
    margin-left: 0;
  }
  .text-hintergrund .kopfbereich-text {
    flex-basis:45%;
    box-sizing: border-box;
    margin-top:0;
    background:none;
    padding:50px 5% 50px 5%
  }
  .text-hintergrund:not(.text-links) .kopfbereich-text {
    padding:50px 5% 50px 10%
  }
  .text-hintergrund .kopfbereich-text-svg-circle {
    display:block;
    position: absolute;
    top:50%;
    left:0;
    z-index:-1;
    height:auto;
    width:100%;
    transform:translateY(-50%);
  }
  .text-hintergrund .kopfbereich-text h1{
    font-size:4em;
  }
  .text-hintergrund .kopfbereich-bild {
    flex-basis:55%;
  }
  .text-hintergrund .kopfbereich-bild-svg {
    width:120%;
    margin-left: -20%;
  }
  .text-hintergrund:not(.text-links) .kopfbereich-bild-svg {
    width:120%;
    margin-left: 0;
  }
  .text-links .kopfbereich-bild {
    order:2;
  }
  .text-links .kopfbereich-text {
    order:1;
  }
}
