/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 17.01.2023, 09:09:31
    Author     : andre
*/

@media (max-width: 1399.98px) {  }

@media (max-width: 1199.98px) {
    .wp-block-file object {
        height: 900px;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    content .main img {
        max-width: 100%;
        height: auto;
    }
    content .main figure.alignright,
    content .main .wp-block-image.alignright {
        width: 38% !important;
        max-width: 38% !important;
        margin: 10px 0 10px 15px;
    }
    content .main figure.alignright img,
    content .main .wp-block-image.alignright img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }
    content .main img.alignright {
        width: 38% !important;
        max-width: 38% !important;
    }
    content .main figure.alignleft,
    content .main .wp-block-image.alignleft {
        width: 38% !important;
        max-width: 38% !important;
        margin: 10px 15px 10px 0;
    }
    content .main figure.alignleft img,
    content .main .wp-block-image.alignleft img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }
    content .main img.alignleft {
        width: 38% !important;
        max-width: 38% !important;
    }
    content .main img[src*="20180309-Flyer-1"] {
        width: 38% !important;
        max-width: 38% !important;
        height: auto;
    }
}

@media (max-width: 991.98px) {

    #menu-hauptmenue {
        flex-wrap: wrap;
        justify-content: center;
    }
    #menu-hauptmenue > li {
        width: 25%;
    }
    #menu-hauptmenue > li.current-menu-ancestor > a,
    #menu-hauptmenue > li.current-menu-parent > a,
    #menu-hauptmenue > li.current_page_ancestor > a,
    #menu-hauptmenue > li.current_page_parent > a {
        color: #00a883;
    }
    #menu-hauptmenue .dropdown-menu .current-menu-item > a,
    #menu-hauptmenue .dropdown-menu .current-menu-ancestor > a,
    #menu-hauptmenue .dropdown-menu .current_page_item > a,
    #menu-hauptmenue .dropdown-menu .current_page_ancestor > a {
        color: #00a883;
        font-weight: 700;
    }

    content {
       width: calc(100% - 30px);
        margin: 0 auto; 
    }
    content .main {
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    content .main .text-right {
        padding: 0 25px;
    }
    .left-menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .left-menu li {
        padding: 10px 20px;
    }
    .full-image {
        order: 2;
    }
    .left-col {
        order: 1;
    }
    .text-right {
        order: 3;
    }
    
    .menu-suche-container {
        display: none;
    }
    .lg-hidden {
        display: block;
    }
    .kontakt .text {
        padding: 0 25px;
    }
    
    .fixed-bottom {
        position: relative;
    }
    #menu-footermenue {
       position: relative;
       flex-direction: column; 
    }
    
    .target {
        max-width: 100%;
    }
    .main .frontmap li {
        text-align: center;
    }
    .maps {
        order: 0;
        margin-bottom: 20px;
    }
    .info-maps {
        order: 1;
    }
    .info-maps .personen img {
        width: 40%;
    }
    .hint-maps {
        display: inline-block;
        font-size: 0.7em;
        position: absolute;
        font-family: 'Merriweather Sans';
        text-align: left !important;
        left: 5%;
        top: 30px;
    }
    .left-logo {
    padding-left: 0;
    }
    .wp-block-file object {
        height: 1080px;
    }
}

@media (max-width: 767.98px) {
    #menu-hauptmenue {
        position: absolute;
        left:-100%;
        top: -125px;
        display: flex;
        flex-direction: column;
        width: 80%;
        background-color: rgba(255,255,255,0.9);
        z-index: 100;
        -webkit-box-shadow: 6px 6px 10px 1px rgba(0,0,0,0.7); 
        box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.4);
    }
    #menu-hauptmenue .active {
        background-color: #e9ecef;
    }
    #menu-hauptmenue > li {
        position: relative;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,1);
    }
    #menu-hauptmenue > li > a {
        padding-left: 20px;
        padding-right: 50px;
        min-height: 56px;
    }
    #menu-hauptmenue > li > .submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        min-height: 50px;
        height: 100%;
        border: 0;
        background: transparent;
        color: #000000;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    #menu-hauptmenue > li > .submenu-toggle:focus-visible {
        outline: 2px solid #00a883;
        outline-offset: -2px;
    }
    #menu-hauptmenue > li > .submenu-toggle .submenu-toggle-icon {
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        margin-top: -4px;
    }
    #menu-hauptmenue > li.is-open > .submenu-toggle .submenu-toggle-icon {
        transform: rotate(-135deg);
        margin-top: 4px;
    }
    #menu-hauptmenue > li .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    #menu-hauptmenue > li.is-open .dropdown-menu {
        display: block;
    }
    #menu-hauptmenue > .menu-item-has-children.is-open > .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
    #menu-hauptmenue > .menu-item-has-children.is-open ul a {
        margin: 0;
        padding: 10px 20px 10px 30px;
    }
    #menu-hauptmenue > li .dropdown-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 10px 20px 10px 30px;
    }
    #menu-hauptmenue br {
        float:left;
        width: 20px;
        display: block;
    }
    
    .hamburger {
        display: block;
    }
    .nav-on {
        left: 0 !important;
        transition: left 1s;
    }
    .nav-off {
        transition: left 1s;
    }
    .text-right img {
        max-width:100%;
        height:auto
    }
    .left-menu {
        display: none;
    }
    
    #menu-footermenue li a {
        min-height: 35px;
        padding-top: 10px;
    }
    .kontakt .personen {
        margin-bottom: 15px;
    }
    .kontakt hr {
        display: none;
    }
    content .main {
        font-size: 0.96rem;
    }
    content .main.frontpage > .row .text-left:first-of-type {
        padding-top: 0;
    }
    content .main .text-left {
        padding-left: 10px;
    }
    p.frontpage {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .wp-block-file object {
        height: 500px;
        width: 110% !important;
        left: -5%;
        position: relative;
    }
}
