/*
 Theme Name:   FutourisManuals-Theme (Child)
 Description:  Child-Theme von TwentyTwentyOne von CBRA Media
 Author:       CBRA
 Author URI:   https://www.cbra-media.com
 Template:     twentytwentyone
 Version:      1.0
 Text Domain:  cb-ttt-child
*/

@font-face {
  font-family: "Neo Sans Std";
  font-weight: regular;
  src: url(/wp-content/themes/twentytwentyone-child/src/fonts/NeoSansStd-Medium.woff)
    format("woff");
}

@font-face {
  font-family: "Roboto";
  font-weight: regular;
  src: url(/wp-content/themes/twentytwentyone-child/src/fonts/Roboto-Regular.ttf)
    format("truetype");
}

.cb-block-wrapper.cb-nomargin {
  margin-top: 50px;
  margin-bottom: 50px;
}

#container em {
  font-style: italic;
}

/* FOOTER SUPPORT/PARTNER */
.row .col .logo-footer .cb-footer__support {
  display: block;
}
.cb-footer__support {
  width: 100%;
  margin: 1rem 0;
}
.cb-footer__support h2 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--light-blue);
  margin-bottom: 0.5rem;
  flex-basis: 24%;
}
.cb-footer__support-logos {
  display: flex;
  grid-gap: 1rem;
  align-items: center;
}
.cb-footer__support-logos > a {
  flex-basis: 24%;
  max-height: 7rem;
}
.cb-footer__support-logos > a > img {
  max-height: 100px;
  max-width: 200px !important;
  object-fit: contain;
}

@media only screen and (max-width: 768px) {
  .cb-footer__support-logos > a {
    flex-basis: 45%;
    max-height: 3.75rem;
  }
  .cb-footer__support-logos {
    margin: 2rem 0;
    flex-wrap: wrap;
  }
}

/* FARBEN */
:root {
  font-size: 1em;
  --black: #000;
  --white: #fff;
  --light-blue: #00809d;
  --dark-blue: #005070;
  --green: #74b943;
  --light-grey: #f5f5f5;
  font-family: "Roboto";
  color: var(--black);
  --arrow-white: url(/wp-content/themes/twentytwentyone-child/images/arrow-white.svg);
  --arrow-blue: url(/wp-content/themes/twentytwentyone-child/images/arrow-blue.svg);
  --arrow-line-white: url(/wp-content/themes/twentytwentyone-child/images/stroke-white.svg);
  --arrow-line-blue: url(/wp-content/themes/twentytwentyone-child/images/stroke-blue.svg);
}

.cb-rounded-corner {
  border-radius: 15px;
}

/* NORMALER BUTTON */
.cb-button {
  background-color: var(--light-blue);
  color: var(--white);
  border-radius: 20px;
  padding: 15px 35px;
  border: none;
  font-size: 1.12em;
  transition: ease-in-out 0.3s;
  font-family: "Neo Sans Std";
  border: 1px solid var(--light-blue);
  text-decoration: none;
}

.cb-button a {
  text-decoration: none;
  color: var(--white);
  transition: all ease 0.3s;
}

.cb-button a:hover {
  color: var(--light-blue);
}

.cb-button:hover {
  background-color: var(--white);
  color: var(--light-blue);
  border: solid 1px var(--light-blue);
}

/* SPENDEN-BUTTON */
.cb-button.cb-button--donation:hover a {
  color: var(--light-blue) !important;
}

/* BUTTON MIT PFEIL */
.cb-button-arrow {
  background-color: transparent !important;
  border: none;
  color: var(--light-blue);
  position: relative;
  padding: 0 3em;
  font-size: 16px;
  transition: all ease 0.3s;
  font-family: "Neo Sans Std", "Roboto";
  z-index: 2;
  text-decoration: none;
}

.cb-button-arrow a {
  z-index: 2;
}

.cb-button-arrow:after {
  content: "";
  background: var(--arrow-white) center / 10px no-repeat;
  background-color: var(--light-blue);
  height: 35px;
  width: 35px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -0.5rem;
  transition: all ease 0.5s;
  z-index: -1;
}

.cb-button-arrow:hover {
  color: var(--white);
  transition: all ease 0.5s;
}

.cb-button-arrow:hover:after {
  width: 100%;
  border-radius: 20px;
  transition: all ease 0.5s;
  color: var(--white);
  background: var(--arrow-line-white) 12% 48.5% / 14px no-repeat,
    var(--arrow-white) 15% 49% / 10px no-repeat;
  background-color: var(--light-blue);
}

/* UNDERLINE SVG */
.cb-line-light-blue g:nth-child(1) {
  stroke: var(--light-blue);
}

.cb-line-dark-blue g:nth-child(1) {
  stroke: var(--dark-blue);
}

.cb-line-green g:nth-child(1) {
  stroke: var(--green);
}

/* GENERELLE FORMATIERUNG */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2em;
}
h1 {
  font-size: 2.25em;
  /*   	line-height: 49px; */
  letter-spacing: 0;
  font-family: "Neo Sans Std";
}

h2 {
  font-size: 1.75em;
  /*   	line-height: 37px; */
  letter-spacing: 0;
  font-family: "Neo Sans Std";
}

h3 {
  font-size: 1.25em;
  /*   	line-height: 25px; */
  letter-spacing: 0;
  font-family: "Neo Sans Std";
}

h4 {
  font-size: 1.12em;
  /*  	line-height: 22px; */
  letter-spacing: 0;
  font-family: "Neo Sans Std";
}

h5 {
  font-size: 1em;
  /*  	line-height:22px; */
  letter-spacing: 0;
  font-family: "Neo Sans Std";
}

/* 404 Seite */
#container .page-header h1 {
  font-family: "Neo Sans Std";
  color: var(--light-blue);
  padding-top: 1em;
  margin-left: auto;
  margin-right: auto;
}

#container .page-header {
  border-bottom: none;
  position: relative;
}

#container .page-header svg {
  position: absolute;
  left: 48%;
  bottom: 3em;
}

#container .error-404 {
  text-align: center;
}

#container .error-404 input[type="search"] {
  border: 1px solid var(--light-blue);
  margin-top: 1em;
  border-radius: 20px;
}

#container .error-404 input[type="submit"] {
  background-color: var(--light-blue);
  font-family: "Neo Sans Std";
  transition: all ease 0.3s;
  border: 1px solid var(--light-blue);
  border-radius: 20px;
}

#container .error-404 input[type="submit"]:hover {
  border: 1px solid var(--light-blue);
  background-color: transparent;
  color: var(--light-blue);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-size: 1em;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

a {
  color: #204050;
}

p {
  line-height: 1.5em;
}

.entry-content {
  margin-top: -1em;
}

.entry-footer {
  display: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 85%;
}
@media only screen and (min-width: 1441px) {
  .container {
    max-width: 1440px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (max-width: 576px) {
  .container {
    max-width: 540px;
  }
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 40px 0;
}

.language-switcher {
  padding-left: 20px;
}

.language-switcher a {
  text-decoration: none;
}

.language-switcher a:active {
  color: #00809d;
}

.language-switcher a:hover {
  text-decoration: none;
}

footer {
  background-color: #f5f5f5;
  padding-top: 50px;
}

footer > .container {
  min-height: 320px;
  padding-top: 20px;
}

.cb-footer__cooperation {
  padding-bottom: 20px;
}

@media only screen and (max-width: 768px) {
  .container .row .col .logo-footer .line.cb-footer__cooperation img {
    width: 90%;
  }
}

.container .row {
  display: flex;
  flex-wrap: wrap;
}

.container .row .line {
  display: flex;
  align-items: center;
  gap: 2em;
}

.container .row .line .cb-button-arrow {
  padding-left: 3em;
}

.container .row .line .cb-button-arrow:hover:after {
  color: var(--white);
  background: var(--arrow-line-white) 8% 48.5% / 14px no-repeat,
    var(--arrow-white) 10% 49% / 10px no-repeat;
  background-color: var(--light-blue);
}

.container .row .line .cb-button-arrow:hover a {
  color: var(--white);
}

.container .row .line .cb-button-arrow a {
  text-decoration: none;
  transition: all ease 0.3s;
}

.container .row .line .cb-button-arrow a:hover {
  color: var(--white);
}

.container .row .col {
  width: 50%;
  display: table-cell;
  text-align: center;
}

.container .row .col:first-of-type {
  text-align: left;
}

.container .row .col .line {
  width: 100%;
}

.container .row .col .line:first-of-type {
  padding-bottom: 40px;
}

.container .row .col .line:last-of-type {
  width: 100%;
}

.container .row .col .logo-footer .line img {
  width: 330px;
  height: 100%;
}

.cb-template__cooperations .cb-footer__cooperation > img {
  max-width: 200px;
}

.container .row .col .line .stroke img {
  width: 49.5vw;
}

footer {
  background-image: url(images/background-footer.svg);
  background-repeat: no-repeat;
  background-position-x: 100%;
  margin-top: 7em;
}

#footer-1 {
  display: flex;
  flex-wrap: wrap;
  padding-top: 50px;
  grid-row-gap: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}

#footer-1 li {
  flex-basis: 33%;
  text-align: left;
}

#footer-1 li a {
  text-decoration: none;
  color: black;
  background-image: url(images/footer-nav-stripe.svg);
  background-repeat: no-repeat;
  padding-left: 15px;
  font-family: "Neo Sans Std";
  transition: all ease 0.3s;
}

#footer-1 li a:hover {
  color: var(--light-blue);
}

/*Subfooter Layout*/
.subfooter {
  background-color: #005070;
  width: 100%;
  margin: 0 auto;
}

.subfooter .row {
  display: inline-block;
}

.subfooter .row:first-of-type {
  width: 60%;
}

.subfooter .row {
  color: white;
  vertical-align: middle;
  padding: 20px 0;
}

.subfooter .row .social-bar img {
  padding: 0px 10px;
}

.subfooter .row .text {
  padding-right: 50px;
  font-family: "Neo Sans Std";
  line-height: 25px;
}

.subfooter .row:last-child {
  display: inline-block;
  text-align: right;
}

.subfooter .row .subfooter-image img {
  width: 203px;
  object-fit: contain;
}

.subfooter .container {
  height: 100%;
  max-width: 85%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (min-width: 1441px) {
  .subfooter .container {
    max-width: 1440px;
  }
}

/* Footer Menu cbra-preview */
.cbra-preview .subfooter .row:first-of-type {
  width: 50%;
}
.cbra-preview #footer_sub_menu {
  display: flex;
  grid-column-gap: 2rem;
}

.cbra-preview #footer_sub_menu a {
  color: white;
  text-decoration: none;
  font-family: "Neo Sans Std";
}

.cbra-preview .footer-newsletter span {
  margin-top: 1rem;
  padding-left: 3rem;
  display: block;
  text-align: left;
}

.cbra-preview .subfooter .container {
  justify-content: flex-start;
}

.subfooter-image .cb-subfooter-images {
  display: flex;
  grid-column-gap: 1em;
  flex-direction: row;
  grid-row-gap: 1rem;
}

header {
  display: flex;
}
header .container {
  display: flex;
  align-items: center;
  padding-top: 40px;
  justify-content: space-between;
}
header .logo {
  max-width: 200px;
  z-index: 10;
}
header .logo img {
  width: 100%;
}
header .menu-btn {
  display: none;
  margin-left: auto;
  color: #204050;
  background: none;
  border: none;
}
header .menu-btn svg {
  width: 24px;
}
@media (max-width: 992px) {
  header .icon {
    display: inline-block;
  }
}
header nav {
  flex: 1;
  align-items: center;
}
header nav ul {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}
header nav ul li {
  margin-left: 50px;
}
@media (max-width: 1200px) {
  header nav ul li {
    margin-left: 48px;
  }
}
header nav ul li a {
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-family: "Neo sans Std";
  transition: all ease 0.3s;
  z-index: 10;
}
header nav ul li a:hover {
  color: var(--light-blue);
}

header .desktop-nav {
  display: flex;
  gap: 3em;
  align-items: center;
  max-height: 49.92px;
}

header .icon {
  display: none;
}

header .cb-button {
  padding: 15px 55px;
  z-index: 10;
}

.header-background {
  width: 100%;
  box-shadow: 0 2px 7px 0 rgba(181, 181, 181, 0.5);
  background-color: #fff;
  height: 127px;
  border-top-left-radius: 0%;
  border-top-right-radius: 0%;
  border-bottom-left-radius: 10%;
  border-bottom-right-radius: 10%;
  z-index: 50;
}

@media only screen and (max-width: 768px) {
  .header-background .container {
    position: fixed;
    background: white;
    height: 127px;
    max-width: 100vw;
    top: 0;
  }
}

/* Header Submenü */
.secondary-menu {
  display: flex;
  max-width: 1440px;
  grid-gap: 2.25rem;
  padding-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-end;
}

/* Language Switch - Main */

.cb-header-control__languageswitcher--main ul li {
  display: inline-block;
  text-transform: uppercase;
  padding: 0.1em 0.3em 0.1em 0.1em;
  border-right: 1px solid #5d5d5d;
  color: #5d5d5d;
}
.cb-header-control__languageswitcher--main ul li:last-of-type {
  border-right: none;
}
.cb-header-control__languageswitcher--main ul li.current {
  color: var(--light-blue);
}
.cb-header-control__languageswitcher--main ul li a {
  text-decoration: none;
}

/* Language Switch */
.cb-language-switch__desktop {
  align-self: flex-start;
}
.cb-header-control__languageswitch {
  cursor: pointer;
  margin-top: 1rem;
  min-width: 100px;
}
.cb-header-control__languageswitch .lang-item {
  display: none;
}

.cb-header-control__languageswitch.open .lang-item {
  display: block;
  position: relative;
  padding: 15px 15px;
  border-left: 1px solid var(--light-blue);
  border-right: 1px solid var(--light-blue);
  background-color: white;
}

.cb-header-control__languageswitch.open .lang-item-first {
  border-top: 1px solid var(--light-blue);
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.cb-header-control__languageswitch.open .lang-item:last-of-type {
  border-bottom: 1px solid var(--light-blue);
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.cb-header-control__languageswitch .cb-langswitch__item svg {
  transform: rotate(90deg);
}

.cb-header-control__languageswitch .lang-item a {
  color: #204050;
  text-decoration: none;
}

.cb-header-control__languageswitch .lang-item a:hover {
  text-decoration: none;
  color: var(--light-blue);
}

.cb-langswitch__item--current {
  display: flex;
  align-items: center;
  grid-column-gap: 5px;
  margin-bottom: 10px;
}

.cb-language-switch__mobile {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .cb-language-switch__desktop {
    display: none;
  }
  .cb-language-switch__mobile {
    display: block;
  }
  .cb-header-control__languageswitch {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Header cbra-preview */
.cbra-preview .secondary-menu #sub_menu {
  display: flex;
  justify-content: flex-end;
}
.cbra-preview .secondary-menu #sub_menu li {
  margin-left: 3rem;
}

.cbra-preview .secondary-menu #sub_menu .lang-item:last-of-type {
  margin-left: 0.2rem;
}

.cbra-preview .secondary-menu #sub_menu .lang-item-first:after {
  content: "  | ";
}

.cbra-preview .secondary-menu #sub_menu a {
  text-decoration: none;
  transition: all ease 0.3s;
}

.cbra-preview .secondary-menu #sub_menu a:hover {
  color: var(--light-blue);
}

.cbra-preview .header-background {
  height: 155px;
}

.cb-breadcrumbs span a {
  text-decoration: none;
}

.cb-breadcrumbs {
  margin-bottom: 1.5rem;
  padding-top: 4rem;
}

.cb-standardwidth > .cb-breadcrumbs {
  margin-bottom: 0;
}

/* SUCHE */
.cb-search {
  display: flex;
  flex-flow: column;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: all ease 0.3s;
  z-index: 99;
}

@media only screen and (max-width: 768px) {
  .cb-search-btn {
    display: none;
  }
}

.cb-search-btn {
  cursor: pointer;
  z-index: 10;
}

.cb-search-btn:hover svg path {
  fill: var(--light-blue);
}

.cb-search-close {
  position: absolute;
  top: 10rem;
  right: 11.5rem;
  height: 1.25rem;
  width: 1.25rem;
  padding: 0;
  border: none;
  background-color: transparent !important;
}

.cb-search .cb-search-close:before {
  content: "";
  background-image: url("/wp-content/uploads/2022/10/x-symbol.png");
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  top: 0;
  left: 0;
}

.cb-search label {
  display: none;
}

.cb-search .search-form {
  width: 50%;
}

.cb-search .search-field {
  border: 2px solid var(--light-blue);
  border-radius: 20px;
}

.cb-search .search-submit {
  background-color: var(--light-blue) !important;
  color: var(--white);
  border-radius: 20px;
  padding: 15px 35px;
  border: none;
  font-size: 1.12em;
  transition: ease-in-out 0.3s;
  font-family: "Neo Sans Std";
  border: 1px solid var(--light-blue);
  text-decoration: none;
}

.cb-search .search-submit:hover {
  background-color: var(--white) !important;
  color: var(--light-blue);
  border: solid 1px var(--light-blue);
}
/* Suchergebnisse */
.cb-search-results-title {
  position: relative;
  padding: 3rem 0;
  margin: 6.25rem 0;
  max-width: 1440px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.cb-search-results-heading {
  font-family: "Neo Sans Std";
  font-size: 2rem;
}

.cb-search-results-heading .cb-title-highlight {
  color: var(--light-blue);
}

/* GRID */
.cb-search-results-wrapper {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  grid-gap: 3rem;
  margin-bottom: 50px;
  max-width: 1440px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* KACHELN */
.cb-search-grid-card {
  flex-basis: calc(31% - 3rem);
  background-color: var(--lightgrey);
  animation: 0.4s ease-out 0s 1 appear;
  border-radius: 15px;
  border: 2px solid var(--light-blue);
}
.cb-search-card-text {
  height: calc(100% - 13.5em);
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  padding: 0 0 2rem 1.5rem;
  align-items: flex-start;
}
.cb-search-card-text .cb-search-card-overhead {
  font-size: 0.75em;
  color: var(--midgrey);
  font-family: var(--secondary-font);
  margin-bottom: 0.5rem;
}
.cb-search-grid-card h3 {
  font-size: 1.25em;
  font-family: var(--primary-font);
  font-weight: bold;
}
.cb-search-grid-card img {
  height: 13.75em !important;
  width: 100%;
  object-fit: cover;
  padding: 1.5rem;
}

.cb-search-grid-card a {
  text-decoration: none;
  color: var(--light-blue);
  transition: all ease 0.5s;
  margin-top: 1rem;
}

.cb-search-grid-card a:hover {
  font-weight: bold;
}

/* SUCHERGEBNISSE - MOBILE */
@media only screen and (max-width: 767px) {
  .cb-search-results-wrapper {
    flex-basis: 95%;
  }
  .cb-search-card-text {
    padding: 2em 1.5em;
  }
  .cb-search-grid-card {
    flex-basis: 100%;
  }
}

@media only screen and (min-width: 1025px) {
  .cb-navigation-head {
    display: none;
  }
  .cbra-preview .desktop-nav ul li button {
    display: none;
  }
  .cbra-preview .desktop-nav ul {
    list-style-type: none;
  }
  .cbra-preview .desktop-nav .sub-menu li {
    margin: 0;
    display: block;
    transition: all ease 0.3s;
  }

  .cbra-preview .desktop-nav .sub-menu li a {
    font-family: "Roboto";
  }

  .cbra-preview .desktop-nav li .sub-menu {
    overflow: hidden;
    position: absolute;
    top: 7rem;
    left: 0;
    padding-left: calc((100% - 1440px) / 2 + 200px + 50px);
    background-color: white;
    width: 100%;
    max-height: 0;
    opacity: 0;
    z-index: 0;
    justify-content: flex-start;
    grid-row-gap: 1em;
    flex-wrap: wrap;
    box-shadow: 0 2px 7px -3px rgba(181, 181, 181, 0.5);
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    grid-column-gap: 5em;
    transition: opacity ease 0.3s;
  }

  .cbra-preview .desktop-nav li:hover .sub-menu {
    max-height: 250px;
    opacity: 1;
    padding-top: 6em;
    padding-bottom: 2em;
    z-index: 2;
    transition: opacity ease 0.3s;
  }

  .cbra-preview.page-id-541 .desktop-nav li .sub-menu {
    top: 0;
  }
  .cbra-preview.page-id-541
    .desktop-nav
    li.menu-item-has-children:hover
    .sub-menu {
    max-height: 380px;
    padding-top: 14em;
    z-index: 0;
  }
}

/* Breakpoints - for Header */

/* @media only screen and (min-width: 1100px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 23%;
  }
}
@media only screen and (min-width: 1200px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 29%;
  }
}
@media only screen and (min-width: 1340px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 26%;
  }
}
@media only screen and (min-width: 1440px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 25.5%;
  }
}
@media only screen and (min-width: 1441px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 33%;
  }
}
@media only screen and (min-width: 1550px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 34.5%;
  }
}
@media only screen and (min-width: 1650px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 35.5%;
  }
}
@media only screen and (min-width: 1770px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 36.6%;
  }
}
@media only screen and (min-width: 1920px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 37.5%;
  }
}
@media only screen and (min-width: 2560px) {
  .cbra-preview .desktop-nav li .sub-menu {
    padding-left: 40.8%;
  }
} */

/* TABLET + MOBILE */
@media only screen and (max-width: 1024px) {
  .cbra-preview .desktop-nav ul li button {
    display: none;
  }
  .cbra-preview nav ul {
    list-style-type: none;
    padding-left: 0;
    align-items: flex-start;
  }
  .cbra-preview #cb-mobilenav-back {
    border: none;
    padding: 1.8em 1em 1em 1em;
  }
  .cbra-preview #cb-mobilenav-close,
  .cbra-preview #cb-mobilenav-open {
    padding: 1.8em 2em 1em 1em;
  }
  .cbra-preview #cb-mobilenav-back {
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    left: -100%;
  }
  .cbra-preview #cb-mobilenav-subtitle {
    position: absolute;
    left: -100%;
    transition: all ease 0.3s;
    font-family: "Neo Sans Std";
    color: var(--light-blue);
  }

  /* Hauptnavigation */
  .cbra-preview .cb-navigation-head {
    display: flex;
    flex-flow: row-reverse;
    align-items: center;
    padding-right: 1rem;
    background-color: white;
    height: 7vh;
  }
  .cbra-preview .cb-navigation-main,
  .cbra-preview .sub-menu {
    z-index: 1;
    position: fixed;
    top: 0;
    left: -100%;
    height: 93vh;
    width: 100vw;
    background-color: white;
    transition: all ease 0.3s;
  }
  .cbra-preview .cb-navigation-main.open {
    left: 0;
    z-index: 100;
  }
  .cbra-preview .cb-navigation-main .sub-menu {
    z-index: 2;
    padding: 2.85rem 3.5rem 0 5.625rem;
    top: 17.25vh !important; /* Bei Gelegenheit mal schauen, wie man das ohne !important lösen kann ~Mirko */
  }
  .cbra-preview .cb-navigation-main .sub-menu.open {
    left: 0;
    justify-content: flex-start;
    top: 4em !important;
  }

  .cbra-preview .cb-navigation-main .menu {
    position: relative;
    padding: 2.85rem 3.5rem 0 5.625rem;
    grid-row-gap: 2em;
    justify-content: flex-start;
  }
  .cbra-preview .cb-navigation-main li {
    font-size: 1.25rem;
    padding: 0.5em 0;
  }
  .cbra-preview .cb-navigation-main li a {
    z-index: 0;
  }
  .cbra-preview .cb-navigation-main li.menu-item-has-children {
    position: relative;
    width: 70%;
  }
  .cbra-preview .cb-navigation-main li.menu-item-has-children:after {
    position: absolute;
    content: "";
    background-image: url("/wp-content/themes/twentytwentyone-child/assets/icons/navi-button.svg");
    background-position: center center;
    background-repeat: no-repeat;
    width: 1em;
    height: 1em;
    right: 0;
  }
  .cbra-preview .cb-navigation-main .sub-menu {
    z-index: 1;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    background-color: white;
    transition: all ease 0.3s;
  }
  .cbra-preview .cb-navigation-main.open > ul > li {
    font-family: "Neo Sans Std";
    font-size: 1em;
    margin: 0;
    width: 70%;
  }
  .cbra-preview header .desktop-nav.responsive nav {
    top: 1em;
  }
  .cbra-preview header nav ul li {
    margin-bottom: 0;
  }
  .cbra-preview header nav ul li a {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 767px) {
  .cbra-preview header nav ul li a {
    font-size: 1rem;
  }
  .cbra-preview .cb-navigation-main li.menu-item-has-children {
    width: 90%;
  }
  .cbra-preview .cb-navigation-main li.menu-item-has-children:after {
    position: absolute;
    content: "";
    background-image: url("/wp-content/themes/twentytwentyone-child/assets/icons/navi-button.svg");
    background-position: center center;
    background-repeat: no-repeat;
    width: 1em;
    height: 1em;
    right: 0;
  }

  .cbra-preview .cb-navigation-main .sub-menu.open {
    left: 0;
    justify-content: flex-start;
    top: 5em !important;
  }

  .cbra-preview #cb-mobilenav-open,
  .cbra-preview #cb-mobilenav-close {
    border: none;
    padding: 1.8em 1em 1em 1em;
  }
}

/* Seltsamen, negativen Außenabstand oben entfernen */
#container .entry-content {
  margin-top: 0;
  padding-top: 3rem;
}

/*
----------------------------------------------------------------------------------------------------------------
*/
/*GANZ WICHTIG DAS GEHÖRT IN DIE POSTFILTER/POSTFILTER.CSS

/* BUTTONLEISTE */
.cb-postfilter-catlist-wrapper {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
  gap: 20px;
}
.cb-postfilter-catlist-wrapper .cb-postfilter-catlist-btn {
  position: relative;
  font-size: 1.25em;
  padding: 10px 20px 10px 20px;
  border: solid 1px var(--light-blue);
  border-radius: 10px;
  background-color: transparent !important;
  color: black !important;
  transition: ease-in-out 0.3s;
}

.cb-postfilter-catlist-wrapper .cb-postfilter-catlist-btn:hover {
  background-color: var(--light-blue) !important;
  color: white !important;
}

.cb-postfilter-catlist-wrapper .cb-postfilter-catlist-btn-active {
  color: white !important;
  background-color: var(--light-blue) !important;
}

/* GRID */
.cb-postfilter-grid-wrapper {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  grid-gap: 25px;
  padding-top: 60px;
  margin-bottom: 50px;
}

/* KACHELN */
.cb-postfilter-grid-card {
  flex-basis: 31%;
  background-color: var(--e-global-color-10e164b8);
  animation: 0.4s ease-out 0s 1 appear;
  border: solid 2px var(--light-blue);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 7px 0 rgba(208, 208, 208, 0.5);
}
.cb-postfilter-icon {
  position: absolute;
  top: 0;
}
.cb-postfilter-grid-card .cb-postfilter-icon img {
  width: 100%;
  height: 115px;
  margin-left: -40px;
}
.cb-postfilter-text {
  height: calc(100% - 13.5em);
  display: flex;
  flex-flow: column;
  justify-content: start;
}
.cb-postfilter-grid-card .cb-postfilter-text-category {
  font-size: 0.875em;
  font-weight: 400;
}
.cb-postfilter-grid-card h3 {
  font-size: 1em;
  margin: 0;
}
.cb-postfilter-grid-card img {
  height: 13.75em;
  width: 100%;
  object-fit: cover;
}
.cb-postfilter-text {
  padding-bottom: 20px;
}
.cb-postfilter-text-readmore {
  width: 100%;
  text-align: right;
}
.cb-postfilter-text-readmore img {
  width: 44px;
  height: 46px;
  object-fit: contain;
}

/* "MEHR-LADEN"-BUTTON */
.cb-hide {
  display: none;
}
.cb-postfilter-loadmore-wrapper {
  text-align: center;
}
.cb-postfilter-loadmore {
  border-radius: 0;
  color: var(--e-global-color-text);
  border-color: var(--e-global-color-primary);
}
.cb-postfilter-loadmore:hover {
  color: #fff;
  background: var(--e-global-color-primary);
}
.cb-postfilter-loadmore:focus {
  background: var(--e-global-color-primary);
}

/* LADE-ANIMATION */
@keyframes appear {
  0% {
    transform: scale(0, 0);
  }
  100% {
    transform: scale(1, 1);
  }
}
.cb-postfilter-loading .cb-postfilter-grid-card {
  transform: scale(0, 0);
  overflow: hidden;
  transition: all ease 0.4s;
}

@media only screen and (max-width: 1024px) {
  header .cb-button,
  header .language-switcher {
    display: none;
  }
  header button:not(:hover):not(:active):not(.has-background) {
    background-color: transparent;
  }
  header .menu-btn svg path {
    fill: var(--light-blue);
  }
  header nav ul li {
    margin: 0;
    margin-bottom: 2em;
  }
  header nav ul li a {
    font-size: 2em;
  }
  header .icon {
    display: block;
    border: none;
  }
  header .desktop-nav nav {
    display: none;
    transition: all ease 0.3s;
  }
  header .desktop-nav.responsive nav {
    display: block;
    background-color: var(--white);
    transition: all ease 0.5s;
    z-index: 10;
    position: absolute;
    top: 7.5rem;
    right: 0;
    width: 100%;
    height: 90vh;
    padding-top: 2rem;
  }
  header .desktop-nav.responsive nav ul {
    flex-flow: column;
    justify-content: center;
    height: calc(100% - 88px);
  }
  header .desktop-nav.responsive {
    flex-flow: column-reverse;
    align-items: flex-end;
    transition: all ease 0.3s;
  }
  header .container {
    align-items: flex-start;
  }
  .trigger {
    position: absolute;
    z-index: 2;
    right: -1em;
    top: 4em;
    border: 2px solid #fff;
    border-radius: 10px;
    transform: translateX(-50%) translateY(-50%);
    padding: 0;
  }
  .bars {
    width: 60px;
    cursor: pointer;
  }
  .bars .line {
    fill: none;
    stroke: var(--light-blue);
    stroke-width: 4;
    stroke-linecap: square;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  }
  .bars .line.top {
    stroke-dasharray: 40 172;
  }
  .bars .line.middle {
    stroke-dasharray: 40 111;
  }
  .bars .line.bottom {
    stroke-dasharray: 40 172;
  }
  .bars.active .top {
    stroke-dashoffset: -132px;
  }
  .bars.active .middle {
    stroke-dashoffset: -71px;
  }
  .bars.active .bottom {
    stroke-dashoffset: -132px;
  }
  .container .row .line {
    flex-flow: column;
    align-items: flex-start;
  }
  #footer-1 {
    flex-flow: column;
    align-items: flex-start;
  }
  footer .container {
    min-height: 350px;
  }
  #footer-1 li {
    padding: 2em 0 0 0;
  }
  .subfooter .row:first-of-type {
    width: 70%;
  }
}

@media only screen and (max-width: 1024px) {
  .container .row {
    flex-flow: row;
    flex-wrap: wrap;
  }
  footer .container {
    min-height: auto;
  }
  #footer-1 {
    height: 200px;
    flex-wrap: wrap;
  }
  #footer-1 li {
    padding: 0;
  }
  .container .row .col {
    margin-left: 1em;
  }
  .subfooter .container {
    height: auto;
  }

  .container .row .line .footer-newsletter {
    display: none;
  }
}

/* MOBILE */
@media only screen and (max-width: 767px) {
  header nav ul li a {
    font-size: 1em;
  }
  .cb-postfilter-grid-card {
    flex-basis: 100%;
  }
  .container {
    padding: 0 16px;
  }
  .container .row {
    flex-flow: column;
  }
  footer {
    margin-top: 3em;
  }
  footer .container {
    min-height: 480px;
    overflow: hidden;
  }
  .container .row .line {
    flex-flow: column;
    align-items: flex-start;
  }
  .container .row .col {
    width: 100%;
  }
  .container .row .col:nth-of-type(2) {
    padding-top: 3em;
  }
  /*.container .row .line .cb-button {
		display: none;
	}*/
  .container .row .line .cb-button-arrow {
    padding-bottom: 2rem;
  }
  .container .row .col .line .stroke img {
    width: 120%;
    margin-left: -50px;
  }
  #footer-1 {
    flex-flow: column;
    align-items: flex-start;
    grid-row-gap: 0;
    padding-top: 0;
  }
  #footer-1 li {
    padding: 30px 0px 0px 0px;
  }
  .subfooter {
    padding: 0;
  }
  .subfooter .container {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    min-height: auto;
    max-width: 100%;
  }
  .subfooter .row:nth-of-type(2) {
    width: 48%;
  }
  .subfooter .row:nth-of-type(3) {
    width: 50%;
  }
  .subfooter .row .text {
    padding-right: 5px;
  }
  .subfooter .row .subfooter-image img {
    width: 100%;
  }
  .container .row .col .logo-footer .line img {
    width: 230px;
  }
  footer {
    background-position-y: 80%;
  }
  .subfooter .row {
    padding: 10px 0;
  }
  .container .row .line .cb-button-arrow a {
    color: var(--light-blue);
  }
  .subfooter .row .social-bar img {
    padding: 10px 20px 0 0;
  }
  .container .row .col {
    margin-left: 0;
  }
  /* MOBILE Cbra-Preview.com */
  .cbra-preview #footer-1 {
    flex-wrap: wrap;
    max-height: 200px;
  }
  .cbra-preview .container .row .line .cb-button {
    display: block;
  }
  .cbra-preview footer .container {
    height: 500px;
  }
  .cbra-preview .subfooter .container {
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .cbra-preview .subfooter .row:nth-of-type(2) {
    width: 100%;
  }
  .cbra-preview #footer_sub_menu {
    flex-direction: column;
    flex-wrap: wrap;
    height: 60px;
    text-align: left;
    grid-row-gap: 1rem;
    margin-bottom: 1rem;
  }
  .cbra-preview .secondary-menu #sub_menu {
    display: none;
  }
}
