/* Header inkl. Menu
##################################################### */
header{
z-index: 1111;
position: relative;
}

header .container {
    position: relative;
}

header .row {
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    padding: 0px 0px 0px 0px;
    display: inline-block;
    line-height: 0;
}

.logo-wrapper a {
    display: inline-block;
    line-height: 0;
}

#logo {
    width: auto;
    height: 50px;
    transform: translate3d(0, 0, 0);
    line-height: 0;
}

#logo path,
#logo rect {
    fill: var(--primaryColor);
}

@media screen and (max-width:991px) {
    .logo-wrapper {
        margin-left: 0px;
    }

    header #logo {
        width: auto;
        height: 35px;
    }
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 25px;
    padding-bottom: 26px;
}

@media screen and (max-width:991px) {
    header {
        padding-top: 22.5px;
        padding-bottom: 22.5px;
    }
}

@media screen and (max-width:767px) {
    header {
        padding-top: 17.5px;
        padding-bottom: 17.5px;
    }
}

.header-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 15px;
}

header .menu li a {
    font: normal 500 var(--headermenuFS) 'Teko', sans-serif;
    color: var(--primaryColor);
    z-index: 11;
}

header .menu li {
    margin: 0px;
    position: relative;
    padding: 0 12.5px;
    transition: 0.5s all;
}

header a.search-menu-item {
    z-index: 11;
    margin-left: 10px;
    position: relative;
    font: normal 500 var(--headermenuFS) 'Teko', sans-serif;
    color: var(--primaryColor);
    padding-left: 20px;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

header a.search-menu-item:before {
    position: absolute;
    left: 0px;
    top: 0;
    height: 100%;
    background-color: var(--primaryColor);
    width: 2px;
    content: "";
    display: inline-block;
}

header a.search-menu-item svg {
    margin-left: 10px;
    margin-top: -5px;
    transform: translate3d(0,0,0);
}

header a.search-menu-item svg path {
    fill: var(--primaryColor);
}

header a:hover {
    text-decoration: none;
}

@media screen and (min-width:992px) {
    header ul li ul {
        position: absolute !important;
        padding-top: 1rem;
        left: 0;
        top: 0;
        transform: translateY(-100%);
        z-index: -1 !important;
        line-height: 160%;
        pointer-events: none;
        margin-bottom: 0px;
        transition: 0.5s all;
        opacity: 1;

    }

    header ul li ul li {
        height: auto !important;
        padding: 0 !important;
    }
    header ul li ul li a{
    line-height: 1 !important;
    display: block;
    margin: 5px 0 15px 0;
    }

    header ul li ul li:last-of-type a{
        margin-bottom: 2.5px;
    }
}

@media screen and (max-width:1199px) {
    header .menu li {
        padding: 0 10px;
    }
}

@media screen and (max-width:991px) {
    header nav {
        width: 100%;
        margin-top: 0;
        padding: 0 25px;
    }

    header .container {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    header .row {
        justify-content: initial
    }

    .menu-hauptnavigation-container {
        padding: 15px 0 0px 0;
    }

    .sub-menu {
        padding-bottom: 5px;
        margin-top: 0px;
        margin-left: 15px;
    }

    header .menu li {
        padding-left: 0;
    }

    header .sm-container {
        margin-left: 0;
    }

    header a.search-menu-item {
        margin-bottom: 0px;
        margin-left: 0px;
        padding-left: 0px;
    }

    header a.search-menu-item:before,
    header a.search-menu-item svg {
        display: none;
    }
}

.menu ul {
    list-style-type: none;
    z-index: 11;
}

@media screen and (min-width:992px) {
    .menu li {
        display: inline-block;
    }

    .menu li.divider-item {
        border-bottom: 1px solid var(--primaryColor);
        padding-bottom: 2.5px !important;
        margin-bottom: 5px !important;
    }

    header ul#menu>li ul.sub-menu {
        min-width: 170px;
        padding: 25px 20px 15px 20px;
        transition: 0.35s all;
        background-color: var(--lightColor);
    }

header ul.menu > li{
    background-color: var(--lightColor);
}

header ul.menu > li:before{
    position: absolute;
    width: calc(100% + 4px);
    min-width: 170px;
    background-image: linear-gradient(to bottom, #fff 0px, #fff calc(100% - 20px), rgba(255,255,255,0)  100%);
    bottom:-20px;
    height: 300px;
    left: 0;
    content: "";
}
}

header ul li:hover>ul,
header ul li ul:hover{
    height: auto;
    pointer-events: all;
    top: 37.5px;
    transition: 0.5s all;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

header ul#menu>li ul.sub-menu {
    width: 100%;
    background-color: var(--lightColor);
    transition: 0.5s all;
}

header ul#menu>li.menu-item-32 ul.sub-menu {
    width: 248px !important;
}

header ul#menu>li ul.sub-menu li {
    display: block !important;
    margin: 0;
}

header ul#menu>li ul.sub-menu li a {
    font: normal 500 var(--headersubmenuFS) 'Teko', sans-serif;
    text-transform: none !important;
}

/* Mobile Menu
##################################################### */

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    background-color: var(--primaryColor) !important;
}

header input[type='checkbox'],
.lbl-toggle {
    display: none;
}

@media screen and (min-width:992px) {
    .collapsible-content {
        height: auto !important; /* Overwrite Default*/
        margin-top: 5px;
    }

    .collapsible-content div {
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (max-width:991px) {
    .lbl-toggle {
        display: inline-block;
        cursor: pointer;
        transition: max-height .35s ease-in-out;
        position: absolute;
        right: 0px;
        top: -7.5px;
        -webkit-tap-highlight-color: transparent !important;
    }

    .collapsible-content {
        -moz-transition: height .5s;
        -ms-transition: height .5s;
        -o-transition: height .5s;
        -webkit-transition: height .5s;
        transition: height .5s;
        height: 0;
        overflow: hidden;
    }
}