/* hamburger menuContent BC Query
--------------------*/
@media screen {

    #menuContent {
        display: inline;
        margin:0;
        line-height: 2;
        display: inline-block;
        text-transform: uppercase;
        padding-right: 0.75rem;
        margin-right: -0.75rem;
        font-weight: 600;
        font-size: 1.25rem;
    }

    #menuContent p {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        text-indent: -100000px;
    }
    #menuContent p:after {
        content: "";
        width: 3rem;
        height: 3rem;
        display: inline-block;
        background-image: url(../images/icons/menu.svg);
        background-size: 45%;
        background-repeat: no-repeat;
        background-position: center;
        margin-left: -0.25rem;
    }
    #menuContent p:hover {
        color: var(--bc-red);
    }

    #menuContent p:hover:after {
        background-image: url(../images/icons/ring.svg);
        background-size: cover;
    }

}

/* Mobile-landscape (and larger) lansacape */
@media only screen and (min-width: 480px) {
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    #menuContent p {
        text-indent: 0;
        margin-bottom: 0;
    }
}


/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {
}

/* min-width:1100 */
@media only screen and (min-width:1100px) {
}

/* min-width:1300 Laptops (and larger) for width 1300px */
@media only screen and (min-width:1300px) {
}
/* hamburger menuContent ends
--------------------*/


/* hamburger  Media Query
--------------------*/
@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;
    }

    .nav-icon-wrap .doof {
        display: none;
    }

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

    .nav-icon-wrap .nav-icon:hover span {
        background: #222;
    }

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

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

    .nav-icon span:nth-child(4) {
        top: 18px;
    }

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

}

/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    .nav-icon-wrap {
        top:  3.25rem;
    }
}

/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {
    .nav-icon-wrap {
        display: none;
    }
}
/*  hamburger ends
--------------------*/




/* Close button
--------------------*/
@media screen {
    .mm-panels .close {
        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);
        margin-top: 5rem;
        margin-bottom: 10vh;
    }

}
/* 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 {
        background: var(--bc-bg-grey);
        min-height: 100vh;
        --border-color:  var(--bc-medium-grey);
    }

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

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

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

    .mm-listview li>a {
        padding: 10px 10px 10px 20px;
        display: block;
    }

    .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 color */
    .mm-menu .mm-listview>li .mm-next:after {
        border-color: var(--border-color)
    }
    /* arrow color end */

    /* arrow, plus, minus */
    .mm-menu .mm-listview>li .mm-next:after {
        border: none !important;
        width: 16px;
        height: 16px;
        background: url(../images/icons/bc-nav-arrow.svg) center center no-repeat;
        background-size: contain;
        cursor: pointer;
        right: 5px !important;
        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 {
        /* clear: both;*/
        font-size: 18px;
        line-height: 32px;
    }

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

    /* 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>li.mm-vertical>.mm-next, .mm-vertical .mm-listview>li>.mm-next {
        height: 52px;
    }

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

    .mm-menu .level_2 > li > a, .mm-menu .level_2 > li > span {
        padding-left : 20px;
    }

    .mm-menu .level_3 > li > a, .mm-menu .level_3 > li > span {
        padding-left : 40px;
        /* padding-left : 0;
        text-align: center;*/
    }

    .mm-menu .level_4 > li > a, .mm-menu .level_4 > li > span {
        padding-left : 60px;
        /* padding-left : 0;
        text-align: center;*/
    }

    .mm-menu .level_5 > li > a, .mm-menu .level_5 > li > span {
        padding-left : 80px;
    }

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

    .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;
        padding-top: 1rem;
    }

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


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


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

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


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

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

    .mm-listview li a:hover,
    .mm-menu .mm-listview>li.mm-selected > a.active {
        color: var(--bc-red);
    }

    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 {
        border-left: 1px solid var(--border-color)
    }
    .mm-menu {
        margin-right: -20px; /* hide scroller of the menu */
    }
}


.mm-menu .container {
    padding: 0;
}

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


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


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

    /* language changer */
    .mm-menu .mod_changelanguage {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
        margin-top: 0.5rem;
        margin-right: 0.5rem;
        padding-left: 1rem;
    }

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

    .mm-menu .mod_changelanguage li:after {
        color: #000;
    }

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

    .mm-menu .mod_changelanguage a {
        border: none;
        line-height: 1;
        color:  #000 !important;
    }
    .mm-menu .mod_changelanguage li a.active {
        color:  var(--bc-red) !important;
    }


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


    /* #headerNav */
    .mm-menu #headerNav {
        display: block;
    }


    .mm-menu #headerNav li {
        display: block;
        padding: 0;
        text-transform: none;
    }
    .mm-menu #headerNav li a {
        border: none;
        color:  #000 !important;
    }

    .mm-menu #headerNav li a:hover {
        color: var(--bc-red);
    }

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

/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    .mm-menu .mod_changelanguage {
        display: none;
    }
}


/* Tablet-landscape (and larger) for width 992px */
@media only screen and (min-width: 992px) {

}


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