/* hamburger
--------------------*/
@media screen {
    .mm-slideout {
        z-index: 3;
    }

    /* there may be 2 instances of .nav-icon-wrap 1inHeader and 1inMMenu*/
    .nav-icon-wrap {
        z-index: 20;
        position: absolute;
        top:  1.25rem;
        right: 1.5rem;
        display: inline-block;
        display: flex;
        width:auto
    }

    .nav-icon {
        margin: 0;
        float: right;
        width: 30px;
        height: 30px;
        transform: rotate(0deg);
        transition: .5s ease-in-out;
        cursor: pointer;
        position: relative;
    }
}
/*  hamburger ends
--------------------*/



/* Close button
--------------------*/
@media screen {
    .mm-panels .close {
        position: absolute;
        top: 1.75rem;
        right: 1rem;
        width: 2rem;
        height: 2rem;
        margin: auto;
        cursor: pointer;
        text-indent: -9000px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url(../images/icons/cross.svg);
        filter: brightness(0) invert(1) ;
    }
}

/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    .mm-panels .close {
        right: 2.5rem;
    }
}

/* Close button ends
--------------------*/


/* Menu Query
--------------------*/
@media screen {
    /* donot block scroll this way (overflow: hidden), it shifts layout*/
    html.mm-blocking {
        overflow: auto;
    }
    html.mm-opened body {
        height: calc(100vh + 1px);
        overflow: hidden;
    }

    .mm-menu {
        min-height: 100vh;
        background: var(--wildenau-darkgreen);
        --border-color: var(--wildenau-lightgreen);
		font-style: normal;
    }

    .mm-panels {
        padding-bottom: 1.5rem;
    }

    .mm-panels>.mm-panel {
        padding: 0 20px 60px 20px;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .mm-panels>.mm-panel::-webkit-scrollbar {
        display: none;
    }

    .mm-listview {
        margin-top: -1px; /* fix jumping border level2*/
    }

    .mm-listview li > a {
        display: block;
        font-size: 1.2rem;
        padding: 10px 15px; /* this + lineheight defines the top/bottom space */
    }

    .level_2.mm-listview li > a {
        padding: 10px 15px; /* this + lineheight defines the top/bottom space */
    }

    .level_1.mm-listview {
        padding-bottom: 3rem;
    }

    /* border color*/
    .mm-panel > ul.level_1.mm-listview > li.first {
        border-top : 1px solid var(--border-color);
    }

    .mm-panel > ul.level_1.mm-listview > li.last:after {
        border-bottom : 1px solid var(--border-color)
    }

    .mm-menu .mm-listview li.first {
        border-top: 1px solid;
    }

    .mm-menu .mm-listview li.first,
    .mm-listview>li, .mm-listview>li .mm-next, .mm-listview>li .mm-next:before, .mm-listview>li:after {
        border-color: var(--border-color)
    }

    .mm-listview .mm-next,
    .mm-menu .mm-listview>li.mm-selected>a:not(.mm-next), .mm-menu .mm-listview>li.mm-selected>span {
        background: none;
        outline: none;
    }
    /* border color ends */


    /* arrow, plus, minus */
    .mm-listview a.mm-next {
        width: 2rem;
        margin-right: -0.25rem;
        /* background-color: blueviolet !important; */
    }
    .mm-menu .mm-listview>li .mm-next:after {
        border: none !important;
        width: 20px;
        height: 20px;
        background:  url(../images/icons/menu-arrow.svg) center center no-repeat;
        background-size: contain;
        cursor: pointer;
        top: 8px;
        right: 0 !important;
        left: 0 !important;
        margin: auto;
        transform: rotate(0);
        transform-origin: center;
    }

    .mm-menu .mm-listview>li.mm-opened > .mm-next:after {
        transform: rotate(90deg);
    }
    /* arrow, plus, minus ends */




    .mm-listview { /* ul */
        font-size: 1.2rem;
        line-height: 1.6;
        width: 100%;
    }

    /* removing dot dot dot for long items */
    .mm-listview>li>a, .mm-listview>li>span {
        overflow: auto;
        white-space: normal;
        padding-left : 0px;
        color: var(--border-color)
    }

    .mm-listview .mm-vertical .mm-panel, .mm-vertical .mm-listview .mm-panel {
        padding: 0;
    }

    .mm-listview .mm-next+a, .mm-listview .mm-next+span{
        margin: auto;
    }

    .mm-menu .level_2 > li > a, .mm-menu .level_2 > li > span,
    .mm-menu .level_3 > li > a, .mm-menu .level_3 > li > span {
        /* font-size: 1.2rem; */
    }

    .mm-menu .mm-listview a.mm-next{
        padding: 0 5px;
    }

    .mm-menu .mm-listview>li.mm-opened.mm-vertical>.mm-panel,
    .mm-menu .mm-listview>li.mm-opened.mm-vertical>a.mm-next,
    .mm-menu.mm-vertical .mm-listview>li.mm-opened>.mm-panel,
    .mm-menu.mm-vertical .mm-listview>li.mm-opened>a.mm-next {
        background: inherit;
    }

    .mm-panels>.mm-panel>.mm-listview {
        margin-bottom: 2rem;
        margin-left: 0;
        margin-right: 0;
        margin: 0;
        padding-top: 1rem;
    }


    .mm-listview .mm-next:before {
        display: none;
    }

    .mm-menu.mm-offcanvas {
        max-width: 500px;
    }

    .small-view .mm-menu.mm-offcanvas {
        max-width: 100%;
        width: 100%;
    }

    .mm-panels>.mm-panel:before {
        height: 0;
    }

    /* links color */
    .mm-listview li a,
    .mm-menu .mm-listview>li.mm-selected>a.mm-next {
        color: #fff;
    }

    .mm-listview li a {
        border: none;
        color:  #fff;
    }

    .mm-listview li a:hover {
        color: var(--wildenau-lightgreen);
    }
    .mm-menu .mm-listview>li.mm-selected > a.active {
        color: var(--wildenau-lightgreen);
        font-weight: bold;
    }

    body:not(.small-view) #mm-mainNavi ul.level_1>li.first>a {
        background: none;
        border: none;
    }

    .mm-panels .nav-icon-wrap {
        position: absolute;
    }
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {


    .mm-panels>.mm-panel {
        padding: 0 40px 60px 30px;
    }

    .mm-panels {
        border-left: 1px solid var(--ktp-lightblue)
    }
}



/* logo
--------------------*/
@media screen {
    .mm-panel .logo {
        float: none;
        padding-top: 1.5rem;
        width: 220px;
    }
    .mm-panel .logo:after{
        display: none !important;
    }
}
/* logo ends
--------------------*/


/* Menu Extra Content
--------------------*/
@media screen {

    /* #headerNav */
    .mm-menu #headerNav {
        display: block;
        margin-bottom: 1rem;
        margin-right: 0;
        padding: 1rem 2rem;
    }

    .mm-menu #headerNav ul:before {
        display: none;
    }

    .mm-menu #headerNav li {
        display: block;
        padding: 0;
        text-transform: none;
        margin: 5px 0;        
    }


    .mm-menu #headerNav li a {
        border: none;
    }

    .mm-menu #headerNav li.shop,
    .mm-menu #headerNav li:last-child {
        display: none;
    }

    /* topNavi link */
    .mm-menu #topNavi li {
        display: none;
        text-align: right;
        margin-bottom: 1rem;
        margin-right: 1rem;
    }

    .mm-menu #topNavi li:first-child {
        display: block;
    }

    /* mod_social_media_link */
    .mm-menu .mod_social_media_link {
        display: block;
    }
    .mm-menu .mod_social_media_link ul {
        margin: auto;
        text-align: right;
        justify-content: right;
        align-items: center;
        margin-top: 1rem;
    }
    .mm-menu .mod_social_media_link img {
        width: 2rem;
    }
}

/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {

}


/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {
    .mm-menu .mod_social_media_link,
    .mm-menu #headerNav {
        display: none;
    }
}


/* Menu Extra Content ends
--------------------*/
