/* HEADER ANFANG  --------------------------------------------------------------------------------------------------------------------------------- */

img {
    border: 0;
    max-width: 100%;
    height: auto;
    width: auto;
}

header p {
    padding: 0;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 400;
}

#logo img {
    height: 140px;
}

.header3 > .container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto 1fr;
    grid-template-columns: 1fr auto 1fr;
    -ms-grid-rows: 2fr 1fr;
    grid-template-rows: 2fr 1fr;
    justify-items: center;
    padding-top: 1rem;
}

.header3 > .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;
}

.header3 > .container > *:nth-child(2) {
    -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-column-align: center;
    justify-self: center;
    display: block;
}

.header3 > .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;
}

.header3 > .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;
}

.header3 > .container > *:nth-child(5) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    position: relative;
    -ms-grid-row-align: center;
    align-self: center;
}

.header3 > .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;
    padding-bottom: 0;
    margin-bottom: 0rem;
}

.header3 p a img {
    margin-left: 1rem;
    max-width: 20px;
    vertical-align: baseline;
        transform: translateY(3px);
}

.logo2 {
    height: 45px;  
}

.header3 > .container > *:nth-child(1) img {
    width: 25px;
    margin-right: 1rem;
}

.header3 a.maplink, .header3 a.telefonlink {
    font-size: 1.8rem;
    font-weight: 400;
}

.header3 .container:after, .header3 .container:before {
    display: none;
}

.maplink:before {
    content: "\e062";
    font-weight: normal;
    font-size: inherit;
    margin-right: 3px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
    color: inherit;
}   

@media (max-width: 1199px) {

.header3 a.maplink, .header3 a.telefonlink {
    font-size: 1.7rem;
}

.header3 .menueleiste nav ul li a {
    padding: 0rem 0.7rem;   
}  
  
}

@media (min-width: 992px) {

.tel-quicklink {
    display: none;    
}

.mobil-menu-button-bg {
    display: none;
}

nav ul li {
    display: block;
    float: left;
    line-height: 70px;
    position: relative;
}

nav ul {
    margin: 0 auto;
    padding-left: 0;
}

.header3 {
    position: fixed;
    z-index: 1200;
    width: 100%;
    overflow: visible !important;
    background: #fff;
}

.menueleiste nav ul li ul li {
    float: none;    
}  

div.menueleiste>nav>ul>li>a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #006d8f;
    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;    
}

div.menueleiste>nav>ul>li.current-menu-item>a:before, div.menueleiste>nav>ul>li>a:hover:before, div.menueleiste>nav>ul>li.current-menu-parent>a:before {
    left: 0;
    right: 0;
}

}

@media (max-width: 991px) {

.header-mobile-buttons .textwidget p {
    text-align: center;
    padding-bottom: 0;
    font-size: 1.8rem;
}

.header3 > .container > *:nth-child(5) {
    position: fixed;
}  

.header3 > .container > *:nth-child(1) {
    display: none;
} 

.header3 > .container > *:nth-child(3) {
    display: none;
} 

.header3 > .container {
    padding-top: 0;
}

.header-mobile-buttons .textwidget {
    text-align: center;
    margin-top: 5rem;
}

.menu-item-88 a {
    display: inline-block;
    color: #fff;
    background: #006d8f;
    white-space: normal;
    border-radius: 4px;
    border: 1px solid #fff;
    font-size: 1.6rem;
    transition: all 0.2s ease-in-out;
}

.menu-item-88 a:hover {
    background: #fff;
    border: 1px solid #006D8F;
    color: #006d8f;
    transition: all 0.2s ease-in-out;
}  

.mobil-menu-button-bg .telefonlink {
    color: #fff;
    margin-top: 1.2rem;
    position: absolute;
    font-size: 1.8rem;
    margin-left: 2.5rem;
}   
} 

@media (min-width: 992px) and (max-width: 1199px) {

.header3 > .container > *:nth-child(3) {
    margin-left: -3rem;   
}

.header3 .menueleiste nav ul li .sub-menu li a {
    padding: 0.5rem;
}

}

/* HEADER ENDE ------------------------------------------------------------------------------------------------------------------------------------------  */