/*   HEADER ANFANG   -------------------------------------------------------------------------------------------------------------------------  */

.adresse-top > *{
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    -ms-grid-row: 1;
    grid-row: 1;
}

.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;
}

.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;
}

.header8 .menueleiste nav ul > li:hover {
    cursor: pointer;
}

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

.header-mobile-buttons {
    margin-top: 5rem;
    display: none;
}

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

.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: end;
    align-self: end;
    -ms-grid-column-align: end;
    justify-self: end;
    height: 65px;
}

header p {
    margin: 0;
    padding: 0;
}

.adresse-top a {
    color: #fff;
    margin-right: 3rem;
    font-weight: 400;
}

.glyphicon {
    margin-right: 0.5rem;
}

.adresse-top a:last-of-type {
    margin-right: 0;
}

@media (min-width: 1400px) {

.adresse-top {  
    -ms-grid-columns: 1fr 720px 650px 1fr;
    grid-template-columns: 1fr 720px 650px 1fr; 
}

}

@media (min-width: 1200px) and (max-width: 1399px) {

.adresse-top {  
    -ms-grid-columns: 1fr 720px 420px 1fr;
    grid-template-columns: 1fr 720px 420px 1fr;  
}    

}  

@media (min-width: 992px) {

.header8 {
    position: fixed;
    z-index: 1200;
    width: 100%;
    overflow: visible;
    background: #fff;
}

nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: -15px;
}

.header8 .menueleiste nav > ul {
    width: auto;
    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: stretch;
}

.header8 .menueleiste nav > ul > li {
    display: -ms-grid;
    display: grid;
    position: relative;
    -ms-grid-row-align: center;
    align-self: center;
    line-height: 65px;
}

.header8 .menueleiste nav > ul > li > a {
    padding: 0rem 1.4rem 0;
    text-align: center;
    font-weight: 400;
    font-size: 2rem;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.adresse-top {   
    background: #26326f;
    padding: 1rem;
    display: -ms-grid;
    display: grid;     
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;    
    -webkit-box-align: center;    
    -ms-flex-align: center;    
    align-items: center;
    border-bottom: 1px solid #26326f;
}
    
.header {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
}
    
.header8 #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: 120px;
}    

}

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

.adresse-top {  
    -ms-grid-columns: 1fr 720px 220px 1fr;
    grid-template-columns: 1fr 720px 220px 1fr;  
}  

.header8 .menueleiste nav > ul > li > a {
    padding: 0rem 0.5rem;
    font-size: 1.8rem;
}  

}

@media (max-width: 991px) {

.header-mobile-buttons .textwidget p {
    text-align: center;
    margin-bottom: 2rem;
}

.adresse-top {
    display: none; 
}

.flag-mobil {
    display: block;
    margin-left: 1.5rem;
    margin-top: 2rem;
    max-width: 50px;
}

.header-mobile-buttons {
    display: block;
}
    
.header #logo {
    display: none;
}

.slider {
    margin-top: 4.5rem;
}

.page-id-8 .slider {
    margin-top: 0;
}
    
}

/*  HEADER ENDE  ---------------------------------------------------------------------------------------------------------------------------   */