/* hamburger  Media Query
--------------------*/
@media screen {
    .mm-slideout {
        z-index: 2;
    }
    
    /* there may be 2 instances of .nav-icon-wrap 1inHeader and 1inMMenu*/
    .nav-icon-wrap {
        z-index: 1;
        position: absolute;
        top:  2.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;
    }

    .nav-icon span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
        border-radius: 2px;
        background: #000;
    }

    .nav-icon-wrap .nav-icon:hover span {
        background: var(--theme-blue);
    }
    .kva .nav-icon-wrap .nav-icon:hover span {
        background: var(--theme-red);
    }

    .nav-icon span:nth-child(1) {
        top: 0px;
    }

    .nav-icon span:nth-child(2), .nav-icon span:nth-child(3) {
        top: 13px;
    }
    
    .nav-icon span:nth-child(4) {
        top: 26px;
    }

    .mm-opened_ .mm-panel .nav-icon span {
        border-radius: 0;
        height: 2px;
        top: 17px;
        right: 0;
        left: 1px;
        width: 70%;
        margin: auto;
        transform-origin: center;
    }
    
    .mm-opened_ .nav-icon span:nth-child(1) {
        top: 0px;
        width: 0%;
        left: 50%;
    }
    
    .mm-opened_ .nav-icon span:nth-child(2) {
        transform: rotate(45deg);
    }
    
    .mm-opened_ .nav-icon span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    .mm-opened_ .nav-icon span:nth-child(4) {
        top: 10px;
        width: 0;
        left: 50%;
    }
    
    .mm-opened_ .mm-panel .nav-icon-wrap {
        top: 0.5rem;
        right: 1.5rem;
    }

}


/* Tablet-landscape (and larger) for width 960px */
@media only screen and (min-width: 992px) {
    .nav-icon-wrap {
        top:  2.5rem;
        right: 0.5rem;
    }
    .nav-icon {
        width: 40px;
        height: 30px;
    }
}
/*  hamburger ends 
--------------------*/

/* Close button
--------------------*/
@media screen {
    .mm-panels .close {
        width: 28px;
        height: 28px;
        margin: 3rem 0rem 1rem auto;
        cursor: pointer;
        text-indent: -9000px;
        background-size: cover;
        background-repeat: no-repeat;
        background-image: url(../images/icons/cross.svg);
        position: relative;
        z-index: 2;        
    }

}
/* 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: 100.7vh;
        overflow: hidden;
    }

    /* show scroll bar
    html.mm-opened {
        overflow: auto !important;
    }
    */

    .mm-menu { /* same #mm-mainNavi */
        background: var(--mut-darkgrey);
        min-height: 100vh;
        --border-color: rgba(255, 255, 255, 0.25);
        --active-color:  rgba(255, 255, 255, 0.05);
        --active-color: var(--mut-red);
        --grp-color:  rgba(0, 0, 0, 0.20);
        font-family: Roboto;
    }
    
    .mm-panels {
        padding-bottom: 1.5rem;
    }
    
    .mm-listview {
        font-size: 18px;
    }

    .level_1.mm-listview {
        padding-bottom: 3rem;
        font-size: 20px;
    }
    
    /* border color*/
    .mm-panel > ul.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-listview > li, .mm-listview > li .mm-next, .mm-listview>li .mm-next:before, .mm-listview>li:after {
        border-color: var(--border-color)
    }   
    /* border color ends */
    
    /* arrow, plus, minus */
    .mm-listview a.mm-next {
        right: 0px;
        display: flex;
        height: auto;
    }

    .mm-menu .mm-listview>li .mm-next:after {
        border: none !important;
        width: 24px;
        height: 24px;
        background: url(../images/icons/plus.svg) center center no-repeat;
        background-size: 90%;
        cursor: pointer;
        right: 10px !important;
        transform: rotate(-90deg);
        transform-origin: center;
    }
    
    .mm-menu .mm-listview>li.mm-opened > .mm-next:after {
        transform: rotate(0deg);
        background-image: url(../images/icons/minus.svg);
    }
    /* arrow, plus, minus ends */

     /* 
    .mm-listview .mm-next{
        z-index: 0;
    }
     */

    html.mm-front .mm-menu.mm-offcanvas {
        z-index: 6;
    }

    /* removing dot dot dot for long items */
    .mm-listview > li > a {
        overflow: auto;
        white-space: normal;    
        color: #fff;
        padding: 20px 15px;
    }
    
    
    .mm-menu .mm-listview a.mm-next {     
        height: 60px;
        display: flex;
        padding: 0 !important;
    }

    .mm-menu .level_3 a.mm-next {   
        height: 50px;
    }
    
    .mm-menu .mm-listview a.mm-next:before {
        content: "";
        display: block;
        margin: 10px 5px;
        border-left : 1px solid #ccc;
    }
        
    .mm-listview .mm-next+a, .mm-listview .mm-next+span {
        margin: auto;
    }

    .mm-menu .level_2 > li > a, .mm-menu .level_2 > li > span {
        color: #fff;
        padding-left: 40px;
        font-size: 18px;
    }
    
    .mm-menu .level_3 > li > a, .mm-menu .level_3 > li > span {
        padding: 14px;  
        padding-left: 70px;
    }
    
    .mm-menu .level_4 > li > a, .mm-menu .level_4 > li > span {
        padding: 10px;  
        padding-left: 90px;
    }
    
    .mm-menu .level_5 > li > a, .mm-menu .level_5 > li > span {
        padding-left: 110px;
    }
    
    .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-menu .mm-listview>li.mm-opened.mm-vertical>.mm-panel {
        background-color: var(--grp-color)
    }


    .mm-panels .mm-listview .mm-panel {
        padding: 0;
    }

    .mm-panels>.mm-panel>.mm-listview {
        margin-top: 3rem !important;
        margin-bottom: 2rem;
        margin-left: 0;
        margin-right: 0;
        padding-top: 1rem;
    }
    
    .mm-panels .mm-panel { /* #mm-1 */
        padding: 0 15px;
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox */
    }
    
    .mm-panels>.mm-panel::-webkit-scrollbar { 
        display: none;  /* Safari and Chrome */
    }
    
    .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: #f0f;
    }

    .mm-listview li a {
        border: none;
        border-radius: 2rem;
        border-radius: 0;
        color: var(--mut-ivory);
    }

    .mm-menu .mm-listview a.trail:last-child {
        background-color: var(--active-color);
    }

    .mm-menu .mm-listview>li.mm-selected > a.active,
    .mm-menu .mm-highlight a.active {
        color: var(--mut-white);
        background-color: var(--active-color);
    }

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

    .mm-menu .hasIcon .navImage {
        width: 3rem;
        max-height: 3rem;
        margin-right: 0.5rem;
    }
}

@media only screen and (min-width: 375px) {
        
}

/* Mobile-landscape (and larger) lansacape */
@media only screen and (min-width: 480px) {
    .mm-menu.mm-offcanvas {
        max-width: 500px;
    }
}


/* 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 { 
        /*  margin-right: -20px;  hide scroller of the menu */
    }

    /* .mm-menu .mm-listview a:not(.mm-next):hover { */
    
    .mm-menu .mm-listview a:hover,
    .mm-menu .mm-listview a:hover + a {
        background-color: var(--active-color);
    }
    .mm-menu .mm-listview .mm-next:hover:after {
        transform: rotate(0deg);
    }
}


/* logo 
--------------------*/
@media screen {
    .mm-panel .logo {
        float: left;
        width: 100%;
        padding-top: 1.5rem !important;
        margin: 0;
    }
    
    .mm-panel .logo figure.image_container {
        width: 220px;
        margin-top: 15px;
        margin-left: 15px;
    }

    .mm-panel .logo a:before{
        display: none;
    }

    .mm-panel .logo img {
        filter: brightness(0) invert(1);
    }


}
/* logo ends 
--------------------*/


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

    .mm-menu .footerNavi {
        top: unset;
        font-weight: 300;
        margin-top: 1rem;
        width: auto !important;
        margin-bottom: 5rem;
    }

    .mm-menu .footerNavi li {
        margin: 1.5rem; 
    }

    .mm-menu .footerNavi a {
        padding: 8px;
    }

    .mm-menu .footerNavi .menu {
        display: none;
    }

    .mm-menu .search-form,
    .mm-menu .search-link {
        border-bottom: 1px solid var(--border-color) !important; 
        padding-bottom: 2rem;
        margin: 1.5rem; 
        margin-bottom: 0rem;
        line-height: 1.3;
    }


    .mm-menu .search-form .formbody {
        border-radius: 1.75rem;;
        margin: 0;
    }
    .mm-menu .search-form input {
        border: none !important
    }

    .search-link {
        border: 0px solid #000;
    }



    .search-link a {
        background-color: #fff;
        border: 2px solid #fff;
        display: flex;
        padding: 8px;
        border-radius: 1.75rem;
        justify-content: space-between;
    }

    .search-link a:hover {
        background-color: var(--mut-lightgrey);
        border: 2px solid var(--mut-red) !important;
    }

    .search-link a:after {
        content: "";
        display: inline-block;
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 0.25rem;
        margin-top: 0rem;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-image: url(/bundles/alnvprosearchindexercontaoadapter/search-icon.svg);
    } 

    /* language changer */    
    .mm-menu .mod_changelanguage {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
    }

    .mm-menu .mod_changelanguage li {
        display: inline;
    }

    .mm-menu .mod_changelanguage li:after {
        content: "|";
        padding-left: 0.15rem;
        padding-right: 0.35rem;
        display: inline-block;
        color: #fff;
    }

    .mm-menu .mod_changelanguage li.last:after {
        display: none;
    }

    .mm-menu .mod_changelanguage a {
        border: none;
        line-height: 1;
        color:  #fff !important;
    }
    .mm-menu .mod_changelanguage li a.active {
        color:  #fff !important;
        border-bottom: 1px solid #fff !important;
    }

    .mm-menu .mod_changelanguage li a:after{
        display: none;
    }

}

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