
#main {
  margin: 0 auto;
  word-wrap: break-word;
}

/*
img {
  max-width: 100%;
  width: 100% !important;
}
*/

.image-wrapper {
  position: relative;
  padding-bottom: 50%;
  overflow: hidden;
}

.image-wrapper img.grid {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.nav {
  width: 100%;
  background: #FFF;
  display: none;
}
nav ul,
nav li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav nav a {
  display: block;
  text-decoration: none;
}
.nav nav a:hover,
.nav nav a:visited {
  text-decoration: none;
}
.menu-bar {
  background: #ffffff;
  display: flex;
/*  height: 50px; */
}
.mega-menu li {
  font-size: 16px;
  color: #333;
  display: block;
  font-family: "Source Sans Pro";
  font-weight: 700;
}

.mega-menu li {
  border-bottom: 1px solid #ccc;
}

.mega-menu li > a {
  padding: .9rem 1.5rem;
/*  border-bottom: 1px solid #ccc;*/
  text-decoration: none;
  color: #333;
}

.menu-link {
  padding: 20px 25px;
  background: #ffffff;
  color: #333;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 1;
}
.menu-link[aria-haspopup="true"] {
  padding-right: 40px;
}
.mega-menu .menu-link[aria-haspopup="true"]:after {
  font-family: "kernbrand";
  content: "\e806";
  color: #ffc400;
  font-size: 20px;
  line-height: 20px;
  font-weight: normal;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.current-menu-ancestor a:after,
.menu-link[aria-haspopup="true"]:focus:after,
.menu-link[aria-haspopup="true"]:hover:after {
  color: #fff !important;
}
.menu-bar-link {
  background-size: 14px;
  padding: 20px 25px;
  color: #333;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 1;
}
.mega-menu {
  background: #ffffff;
  z-index: 10;
}
.mega-menu--multiLevel {
  flex-direction: column;
}
/*@media all and (min-width: 951px) { */
  .nav  {
    margin: 0px auto 0px auto;
    width: 100%;
    max-width: 1350px;
    position: relative;
  }
  .address {
    position: absolute;
    float: right;
    right: 0;
    width: 25%;
    padding: 0px 20px;
    z-index: 9999;
  }
  .nav > nav {
    max-width: 1350px;
    margin:0 auto;
  }
  .nav > nav > ul {
    min-height: 400px;
  }

  nav ul > li > ul {
/*      border: 1px solid #000 !important; */
  }
  .menu1 {
    display: none;
    position: absolute;
    width: 1350px;
    width: 100% !important;
/*    box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.35); */
    z-index: 99;
  }
  .mega-menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
  }
  .menu1 [aria-haspopup="true"] ~ ul {
/*  .menu1 li > ul > li:not([class*=current-menu-ancestor]) [aria-haspopup="true"] ~ ul,
  .menu1 li:not([class*=current-menu-ancestor]) [aria-haspopup="true"] ~ ul {
*/
    display: none;
  }
 
  .mega-menu:hover {
    display: flex;
  }
  .mega-menu a:hover {
    background: #ffc400;
    color: #ffffff;
  }
  .mega-menu--multiLevel > li {
    width: 23%;
  }
  .mega-menu--multiLevel > li > [aria-haspopup="true"] ~ ul {
    left: 25%;
    width: 23%;
  }
  .mega-menu--multiLevel > li > [aria-haspopup="true"] ~ ul ul {
    width: 100%;
    left: 110%;
  }
/*
  .mega-menu--multiLevel li:focus-within > [aria-haspopup="true"] ~ ul {
    display: block;
    transform-origin: left;
    animation: flyout 0.2s ease-out;
  }
*/
  .mega-menu--multiLevel li:hover > [aria-haspopup="true"],
  .mega-menu--multiLevel li:focus-within > [aria-haspopup="true"],
  .mega-menu--multiLevel li:hover > a,
  .mega-menu--multiLevel li:focus-within > a {
    background: #ffc400;
    color: #ffffff;
  }
  .mega-menu--multiLevel li:hover > [aria-haspopup="true"]:after,
  .mega-menu--multiLevel li:focus-within > [aria-haspopup="true"]:after {
    color: #ffffff;
  }
  .mega-menu--multiLevel [aria-haspopup="true"] ~ ul,
  .mega-menu--multiLevel [aria-haspopup="true"] {
    /*    border-left: 1px solid #c00; */
  }
  .mega-menu--multiLevel [aria-haspopup="true"] ~ ul:hover,
  .mega-menu--multiLevel [aria-haspopup="true"]:hover {
    display: block;
  }
  .mega-menu--multiLevel [aria-haspopup="true"] ~ ul {
    position: absolute;
    top: 0;
    height: 100%;
  }
/*}*/
/*@media all and (max-width: 950px) { */
  .mega-menu-content {
    padding: 20px 25px;
  }
/*}*/
@keyframes dropdown {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes flyout {
  0% {
    opacity: 0;
/*    transform: translateX(-100%); */
/*    transform: scaleX(0);*/
  }
  100% {
    opacity: 1;
/*    transform: translateX(0%); */
/*    transform: scaleX(1);*/
  }
}
.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.kb-flyout-hamburger {
  width: 40px !important;
  height: 40px;
  cursor: pointer;
}

.kb-flyout-hamburger:after {
  font-family: "kernbrand";
  content: '\e801';
  font-size: 40px;
  line-height: 40px;
}

.kb-flyout-hamburger:hover {
  color: #ffc400;
}


.kb-active:after {
/*  background: #fff url('https://niederbueren.kernbrand.com/wp-content/uploads/2020/09/close.svg') center center no-repeat; */
  font-family: "kernbrand";
  content: '\e805';
  width: 40px;
  height: 30px;
  font-size: 40px;
  color: #ffc400;
}
.kb-showmenu {
  display: flex;
  transform-origin: top;
  animation: dropdown 0.2s ease-out;
}

.kb-showmenu2 {
  transform-origin: top;
  animation: dropdown 0.2s ease-out;
}

.elementor-search-form .fa-search:before {
  font-family: "kernbrand";
  font-size: 30px !important;
  content: '\e800' !important;
}


.kb-overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 19);
}

.spacer {
  display: none;
  justify-content: center;
  align-items: center; 
  height: 100px;
}
.spacer-active {
  display: flex;
}

.trigger_sticky {
  z-index: 99 !important;
}

.gd-trigger {
  z-index: 99 !important;
}

.kb {
  font-size: 3rem;
}
.onlineschalter.link {
  font-size: 24px;
}


.onlineschalter.link i {
  color: #66C1E3;
  margin-bottom: -10px;
  margin-right: 20px;
}
.onlineschalter:hover i {
  color: #ffc400;
}

.cattags {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.cat-item {
  display: inline-block;
  border: 1px solid #66C1E3;
  margin: 5px;
}
.cat-item a {
  padding: 5px;
}

.cat-item a:active,
.cat-item a:focus {
  background: #66C1E3;
  color: #fff;
}


/************************************************************************************/


@font-face {
  font-family: 'kernbrand';
  src: url('../font/kernbrand.eot?9694929');
  src: url('../font/kernbrand.eot?9694929#iefix') format('embedded-opentype'),
       url('../font/kernbrand.woff2?9694929') format('woff2'),
       url('../font/kernbrand.woff?9694929') format('woff'),
       url('../font/kernbrand.ttf?9694929') format('truetype'),
       url('../font/kernbrand.svg?9694929#kernbrand') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'kernbrand';
    src: url('../font/kernbrand.svg?9694929#kernbrand') format('svg');
  }
}
*/
 
 [class^="kb-"]:before, [class*=" kb-"]:before {
  font-family: "kernbrand";
  font-style: normal;
  font-weight: normal;
  speak: never;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.kb-lupe:before { content: '\e800'; } /* '' */
.kb-hamburger:before { content: '\e801'; } /* '' */
.kb-shop:before { content: '\e802'; } /* '' */
.kb-bestellen:before { content: '\e803'; } /* '' */
.kb-link:before { content: '\e804'; } /* '' */
.kb-close:before { content: '\e805'; } /* '' */
.kb-right-open:before { content: '\e806'; } /* '' */
.kb-word:before { content: '\e807'; } /* '' */
.kb-excel:before { content: '\e808'; } /* '' */
.kb-pdf:before { content: '\e809'; } /* '' */
.kb-link-ext:before { content: '\f08e'; } /* '' */