header .container:before, header .container:after {
    display: none;
}

.logomobil {
    display: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    width: auto;
}

.maplink:before {
    content: "\e062";
    font-weight: normal;
    font-size: 13px;
    margin-right: 3px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
    color: var(--primary-color);
}

header .telefonlink:before {
    font-size: 13px;

}

.telefonlink:before {
    content: "\e182";
    font-weight: normal;
    font-size: inherit;
    margin-right: 5px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
    color: var(--text-invert);
}

header p {
    padding: 0;
}

header a {
    font-weight: 500;
    color: var(--secondary-color);
}

.logo2 {
    height: 66px;  
}

header > .container > *:nth-child(1) img {
    /*width: 25px;*/
    margin-right: 1rem;
}

.header-mobile-buttons {
    margin-top: 0rem;
}

.header2 .menueleiste nav ul > li:hover {
    cursor: auto;
}  

.header2 .menueleiste > nav > ul > li.current-menu-item:hover > a {
    color: var(--secondary-color);
}

.header2 .menueleiste nav ul li ul li.menu-item-has-children:hover > a:after  {
    color: var(--secondary-color);
}

#logo img {
    padding: 1rem 0;
    height: 100%;
}   

nav * {
    font-weight: normal;
}

nav ul {
    padding-left: 0;
}

@media (min-width: 992px) {

    nav a:hover {
        text-decoration: none;
        color: var(--primary-color);
    }

    .socialicon {
        display: none;
    }

    header a[href^="tel:+"] svg {
        width: 15px;
        height: 15px;
        margin-right: 1rem;
    }

.sliderheaderfix {
    margin-top: 20rem;
}

.header {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
}

.header2 .menueleiste > nav > ul > li:last-child > a {
    padding-right: 0rem;
    white-space: nowrap;
}

.header2 .menueleiste nav ul li {
    display: -ms-grid;
    display: grid;
    position: relative;
}

/*header #logo {
    top: 58px;
    margin: 0 0 1rem 0;
    padding: 0 0 0 0;
    float: left;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 130px;
}

header .logo {
    position: inherit;
    opacity: 1;
}*/

.current-menu-item a, .current-menu-ancestor > a, .current-menu-parent > a, .current-menu-parent .current_page_item a, .current-page-parent a {
    color: var(--text-color);
    text-decoration: none;
}

.menueleiste {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
    -ms-grid-row-align: end;
    -ms-grid-column-align: end;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    -ms-grid-column-align: end;
    justify-self: end;
    position: relative;
}


header .menueleiste nav {
    width: auto;
    height: 70px;
    line-height: 70px;
    z-index: 1;
}

.header2 .menueleiste > nav > ul {
    width: auto;
    max-width: 965px;
    margin: 0 auto;
    padding: 0 0 0 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: center;
}

.header2 .menueleiste > nav > ul > li > a {
    padding: 0rem 1.4rem 0;
    text-align: center;
    font-weight: 500;
    font-size: 1.9rem;
    line-height: 130px;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}


.topmenu {
    margin-bottom: 0;
}

nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: 0rem;
}

nav ul li {
    display: block;
    width: auto;
    position: relative;
    padding: 0 0 0 0;
    float: left;
    line-height: inherit;
}

nav ul li:hover ul, nav ul li ul li:hover > ul {
    display: block;
}

nav ul li ul {
    display: none;
    top: 100%;
    width: 30rem;
    height: auto;
    position: absolute;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    background: transparent;
    max-height: 70vh;
    z-index: 1000;
}

nav ul li:hover > ul {
    display: block;
}

nav ul li a {
    display: block;
    color: var(--text-color);
    padding: 0rem 1.4rem 0;
    width: auto;
    margin-top: 0px;
    font-size: 1.6rem;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}

header nav ul>li>ul>li {
    float: none;
    display: block;
    border-right: none;
}

nav ul.sub-menu>li:hover>a {
    color: var(--text-color);
    background: var(--background);
	border: 2px solid var(--secondary-color);
}

nav ul.sub-menu > li > a {
    display: block;
    padding: 0.8rem;
    width: auto;
    line-height: 2rem;
    color: var(--text-invert);
    background: var(--secondary-color);
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
	border: 2px solid var(--secondary-color);
}

header > .container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
}

nav > ul > li > a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 15px;
    background: var(--secondary-color);
    height: 3px;
    -webkit-transition-property: left,right;
    transition-property: left,right;
    -webkit-transition-duration: 0.15s;
    transition-duration: 0.15s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

header .current-menu-item > a:before, header .current-menu-parent > a:before,  header .current-menu-ancestor > a:before, header .current-page-parent > a:before, nav ul li a:hover:before {
    left: 0;
    right: 0;
}

header > .container > *:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column-align: start;
    justify-self: start;
    -ms-grid-row-align: start;
    align-self: start;
    display: block;
}

header > .container > *:nth-child(2) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 3/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column-align: center;
    justify-self: center;
    display: block;
    
}

header > .container > *:nth-child(3) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column-align: end;
    justify-self: end;
    -ms-grid-row-align: start;
    align-self: start;
    display: block;   
}

header > .container > *:nth-child(4) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column-align: start;
    justify-self: start;
    -ms-grid-row-align: center;
    align-self: center;
    display: none;
}

header > .container > *:nth-child(5) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 3/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 3/3;
    position: relative;
    -ms-grid-row-align: center;
    align-self: center;
}                                                

header > .container > *:nth-child(6) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column-align: end;
    justify-self: end;
    -ms-grid-row-align: center;
    align-self: center;
    display: none;
    margin: 0;
}

.adresse-top > *:nth-child(1) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    -ms-grid-column-align: start;
    justify-self: start;
    align-self: center;
}

.adresse-top > *:nth-child(2) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3 / 4;
    -ms-grid-column-align: end;
    justify-self: end;
    align-self: center;
    color: var(--text-invert);
}

.adresse-top .telefonlink {
    color: var(--telefonlink-color);
}

.adresse-top p {
    color: #fff;
    font-weight: 400;
}

.adresse-top a {
    color: #fff;
    font-weight: 400;
}

.adresse-top a:hover {
    text-decoration: underline;
}}


@media (min-width: 992px) {
    .adresse-top {
        background: linear-gradient(to right, #425f78 0%, #18344c 50%, #425f78 100%);
        padding: 1rem;
        display: -ms-grid;
        display: grid
;
        -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
    
    }
    .header2 .menueleiste nav ul li ul li.menu-item-has-children > a:after  {
        content: "\e258";
        float: right;
        color: #fff;
        font-size: inherit;
        font-family: "Glyphicons Halflings";
}

.sub-menu > .current-menu-item > a, .sub-menu > .current-menu-parent > a {
    color: #18344c;
    background: #fff;
}
}

@media (min-width: 1400px) {
    .adresse-top {
        -ms-grid-columns: 1fr 685px 685px 1fr;
        grid-template-columns: 1fr 685px 685px 1fr;
    }
}
	
li#menu-item-110.current-menu-item > a {
    color:var(--primary-color);
}

#logo {
    margin: 0 auto;
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    display: inline-block;
}



@media (min-width: 992px) and (max-width: 1199px) {

    nav ul.topmenu li a {
        padding: 0.5rem 10px 0.5rem;
        font-size: 1.6rem;
    }

}

@media (max-width: 991px) {

  /*header > .container > *:not(:nth-child(5)) {
        display: none;
    }*/

    .socialicon img {
        max-width: 50px;
        padding: .6rem;
    }

    header > .container > *:nth-child(5) {
        position: fixed;
    }  

    header > .container > *:nth-child(1) {
        display: none;
    } 

    header {
        height:0;
    }
    header > .container > *:nth-child(3) {
        display: none;
    } 

    /*header > .container {
        padding-top: 0;
    }*/

    .logomobil {
        display: block;
        width: 100%;
        margin: 5rem auto 0 auto;
        padding: 2rem;

    }*/

    .header-mobile-buttons {
        margin-top: 0rem;
    }

.header-mobile-buttons .textwidget {
        text-align: center;
    }
    .header-mobile-buttons p:last-of-type {
        margin-bottom:0;
    }

    /*.menueleiste {
        position: fixed;
        top: 5rem;
        right: -100%;
        height: 100vh;
        z-index: 300;
        background: var(--farbverlauf);
        width: 100%;
    }*/

    .header-mobile-buttons {
        padding-bottom: 2rem;  
        padding-top: 6rem;  
        text-align: center;   
        background: var(--background);
    }

    .header-mobile-buttons > div > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .header-mobile-buttons > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .mobil-menu-button-bg .telefonlink {
        color: #fff;
        margin-top: 1.2rem;
        position: absolute;
        margin-left: 2rem;
    }
    
}

@media (min-width: 992px) {
    .header2 {
        position: fixed;
        z-index: 1200;
        width: 100%;
        overflow: visible;
        background: #ffffff;
		backdrop-filter: blur(2px);
		-webkit-backdrop-filter: blur(2px);
    }
   
    .header2 #logo {
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1 / 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        grid-row: 1 / 2;
        height: 130px;
    }
}

