/* 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;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 1.65rem;
    right: 0.85rem;
  }

  .nav-icon {
    margin: 0;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
    position: relative;
  }

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

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

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

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

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

  .mm-opened .mm-panels .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-panels .nav-icon-wrap {
    border-radius: 20px;
    box-shadow: 0 0 0 1px #aaaaaa;
    top: 1.5rem;
    right: 1.5rem;
  }
}

/* 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) {
}

/* Tablet-landscape (and larger) for width 960px */
@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 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);
  }
}
/* 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 {
    background: #06398c;
    min-height: 100vh;
  }

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

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

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

  .mm-listview>li  {
    border-bottom: 1px solid #fff;        
    padding-top: 7px;
    padding-bottom: 12px;
  }
  .mm-panel > ul.level_2.mm-listview li,
  .mm-listview>li:not(.mm-divider):after  {
      border: none;  
      padding-top: 0;
      padding-bottom: 0;
  }

  .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: #000;
  }
  /* arrow color end */

  /* arrow plus minus */
  .mm-menu .mm-listview > li .mm-next:after {
    border: none !important;
    width: 20px;
    height: 20px;
    background: url(../images/icons/arrow.svg) center center no-repeat;
    background-size: contain;
    cursor: pointer;
    top: 14px;
    right: 5px !important;
    transform: rotate(-90deg);
    transform-origin: center;
  }

  .mm-menu .mm-listview > li.mm-opened > .mm-next:after {
    transform: rotate(0deg);
  }

  .mm-menu .mm-listview.level_2 li .mm-next:after {
    z-index: 0;
    top: 0px;
  }

  .mm-listview > li.mm-vertical > .mm-next,
  .mm-vertical .mm-listview > li > .mm-next {
    height: 60px;        
  }

  .mm-listview.level_2 .mm-next,
  .mm-vertical.level_2 .mm-next {
    height: 40px !important;        
  }

  /* arrow plus minus ends */

  .mm-listview {
    clear: both;
    font-size: 16px;
  }

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

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

  .mm-menu a,
  .mm-menu span {
    font-weight: 800;
  }
  .mm-menu .level_2 > li > a,
  .mm-menu .level_2 > li > span {
    text-transform: none;
    padding-left : 20px;
    font-size: 1rem;
  }

  .mm-menu .level_3 > li > a,
  .mm-menu .level_3 > li > span {
    padding-left: 40px;
    text-transform: none;
    font-size: 1rem;
  }

  .mm-menu .level_4 > li > a,
  .mm-menu .level_4 > li > span {
    padding-left: 60px;
    text-transform: none;
  }

  .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-top: 3rem !important;
    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;
  }

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

  .small-view #mm-mainNavi ul.level_1 {
  }


    /* show scroll bar
    html.mm-opened {
        overflow: auto !important;
    }
    */
    html.mm-opened .nicescroll-rails {
    z-index: 0 !important;
    }

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


@media only screen and (min-width: 375px) {
    .mm-panels>.mm-panel {
        padding: 0 30px;
    }
        
}

/* 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-panels>.mm-panel {
        padding: 0 40px 0 30px;
    }        
}



/* logo */
.mm-panel .block.logo {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-left: -1.5rem !important;
  margin-right: -1.5rem !important;
  margin-bottom: 0;
  width: 180px;
}

/* 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 {
  border: none;
  color: #fff;
}

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

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

/*
@media only screen and (min-width: 480px) {
    #mm-mainNavi ul.level_1>li.first>a.first{
        background-size : 35%;
    }
}

@media only screen and (min-width: 667px) {
    #mm-mainNavi ul.level_1>li.first>a.first{
        background-size : 30%;
    }
}

@media only screen and (min-width: 768px) {
    #mm-mainNavi ul.level_1>li.first>a{
        background-size : 25%;
    }
}

*/

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

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

/* Menu Extra Content
--------------------*/
@media screen {
  /* language address */
  .mm-menu .address {
    color: #999999;
    font-size: 1rem;
    font-family: "Helvetica Neue LT Light", Arial, Helvetica, sans-serif;
    margin-bottom: 5rem;
  }
  .mm-menu .address br {
    display: block;
    content: " ";
    margin-bottom: 0.5rem;
  }
  .mm-menu .address br.js-br {
    margin-bottom: 0;
  }

  .mm-menu .address p {
    text-align: left !important;
  }
  .mm-menu .address a {
    color: #999999 !important;
    border: none;
  }

  /* language changer */
  .mm-menu .mod_changelanguage {
    margin-top: 3rem;
  }
  .mm-menu .mod_changelanguage + .mm-listview {
    margin-top: 0 !important;
  }

  .mm-menu .mod_changelanguage li {
    float: left;
    width: auto;
    color: #999999;
  }

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

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

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

  /* search form */
  .mm-menu .search-form input.text {
    background: #999999;
  }
  .mm-menu form ::placeholder {
    color: #999999;
  }
}

/* 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) {
}

/* Tablet-landscape (and larger) for width 960px */
@media only screen and (min-width: 992px) {
  .mm-menu .address {
    margin-bottom: 2rem;
  }
}

/* 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) {
}
/* Menu Extra Content ends
--------------------*/
