header{
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
  }
.menu_outer_bg {
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  position: absolute;
  top: 0;
}
.misc_nav{
  position: absolute;
  top:2rem;
  right:0;
  a{
    margin-left: 2rem;
    color: #666;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: all 0.5s;
    border-bottom: 2px solid transparent;
    }
  a:hover, a:active, a.current, a.selected {
    color: $nav_l1_h !important;
    background-color: $nav_l1_bg_h;
    //text-decoration: underline;l
    border-bottom: 2px solid $nav_l1_h;
    }
  }
#main_navbar {
  .brand-img2{
    height:95px;
    }
  //z-index: 1000;
  background-color: $nav_bg1;
  font-family: $font-gen;
  min-height: 140px;
  padding: 0;
  position: relative;

  ul li{
    list-style: none;
    margin-right: 1rem;
    }
  li a {
    color: $nav_l1 !important;
    font-size: 1.0rem;
    font-weight:700;
    transition: all 0.5s;
    border-bottom: 2px solid transparent;
    }
  li a:hover, li a:active, li a.current, li a.selected {
    color: $nav_l1_h !important;
    background-color: $nav_l1_bg_h;
    //text-decoration: underline;
    border-bottom: 2px solid $nav_l1_h;
    }
  #hashtag{
    margin-top: 3rem;
    z-index: 1;
    color: #999;
    span.twitter-handle{
      padding-left: 5rem;
      a{
        color: #9d9d9d;
        margin-left:1.5rem;
        }
      a:hover{
        text-decoration: none;
        border-bottom: none;
        }
      }
    }

  }


/* Bootstrap Overrides */
.fixed-top{
  //z-index: auto!important;
  }
.navbar {
  //background-color: black;
  //border-bottom:2px solid $sec_color;
  //padding: 0!important;
  }
.navbar-fixed-top {
  border: 0;
  }
.dropdown-menu {
  background-color: $dropdown-menu;
  > li > a:hover, .ul_prod > li > a:hover {
    color: $nav_l1_h;
    background-color: $dd_a_bg_hov;
    }
  > li > a {
    color: $nav_l1;
    //text-transform: uppercase;
    font-size: 12px;
    }
  > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: $prim_color;
    color: $nav_l1_h;
    }
  .divider {
    background-color: rgba(255, 255, 255, 0.52);
    }
  }
nav .navbar-nav {
  margin-top: 0;
  padding: 6px 0;
  }
.navbar-brand {
  padding: 5px;
  //margin-top: 1rem;
  }
.ul_prod {
  margin-left: 10px;
  list-style: none;

  li a {
    display: block;
    padding: 5px 5px;
    }
  }
.dropdown-header {
  color: #000000;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 5px;
  margin-bottom: 5px;
  border-bottom: double 2px $dd_a_bg_hov;
  }
.navbar-nav a {
  }
.nav > li > a:hover, .nav > li > a:focus {
  background-color: transparent;
  }
.navbar {
  .navbar-nav > .open > a, .navbar-nav > .open > a:focus, .navbar-nav > .open > a:hover {
    color: $nav_l1;
    //background-color: rgba(245, 130, 31, 0.04);
    //border-top-left-radius: 10px;
    //border-top-right-radius: 10px;
    }
  .navbar-collapse .navbar-nav > li {
    border-bottom-width: 0;
    }
  }
.navbar-toggle span:before {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  //content: "\f063";
  }
.navbar-toggle.collapsed span:before {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  //content: "\f062" !important;
  }

/* ______Bootstrap Overrides */

.navbar-toggle {
  position: relative;
  float: right;
  padding: 0.7em 0.6em;
  margin-top: 8px;
  margin-right: 0;
  margin-bottom: 8px;
  background-color: transparent;
  border: 0 solid transparent;
  border-radius: 0em;
  height: 4em;
  width: 4em;
  }
.navbar {
  margin-bottom: 0;
  .navbar-toggle {
    border-color: rgba(228, 118, 31, 0.51);
    }
  .navbar-toggle, .navbar-toggle:focus, .navbar-toggle:hover {
    //background-color: rgba(255, 255, 255, 0.8);
    }
  }
.navbar-toggle {
  margin: 0;
  .icon-bar {
    background-color: $toggle;
    //margin-bottom: 0.5em;
    transition: all 0.2s;
    margin: 0 auto 0.5em auto;
    }
  .top-bar {
    opacity: 0.9;
    width: 30%;
    }
  .middle-bar {
    opacity: 0.6;
    width: 60%;
    }
  .bottom-bar {
    opacity: 0.3;
    width: 100%;
    }
  &.collapsed .top-bar {
    opacity: 0.3;
    width: 100%;
    }
  &.collapsed .middle-bar {
    opacity: 0.6;
    width: 60%;
    }
  &.collapsed .bottom-bar {
    opacity: 0.9;
    width: 30%;
    }
  }


/* NEW */
.navbar-toggler{
  transition: all 0.4s;
  }
button.navbar-toggler:active, button.navbar-toggler, button.navbar-toggler:focus, .btn:focus, .btn.focus{
  border:0!important;
  box-shadow: none;
  }
button:focus{
  outline: none;
  }
.navbar-toggler{
  padding: 0;
  }
.navbar-toggler.collapsed i{
  //transform: rotate(90deg);
  transition: ease all 0.4s;
  }
.navbar-toggler i{
  //transform: rotate(0deg);
  transition: ease all 0.4s;
  }
/* End Meganavbar */


.nav-item .ulsub{
  display: none;
  }
.sub-menu-items{
  display: none;
  }
#navbarCollapse{
  margin-top: 3rem;
  align-items: flex-end;
  }
#navbarCollapse, .navbar-brand{
  z-index: 1050;
  }
#menu-panel-wrap {
  position: fixed;
  top:0;
  width:100%;
  min-height: 200px;
  background-color: #fff;
  padding-top:140px;
  z-index: 1020;
    box-shadow: 0 0 20px #333;
  .sub_menu_wrapper{
    border-top: 1px solid #ccc;

    }
  .menu-contents{
    div.sub-menu-page{
      display: none;
      &.show{
        display: block;
        }
      }
    ul.ulsub{
      margin-bottom: 0;
      width:100%;
      //height:10rem;
      //float: left;
      list-style: none;
      display: flex;
      //align-items: flex-start;
      flex-wrap: wrap;
      >li{
        flex:1;
        display: inline-block;
        width:50%; /*as flex item try to get 50% width if not, adjust the width depending on no of items */
        border-left: 1px solid #ccc;
        &:first-child{
          border-left:none;
          }
        padding: 3rem 1rem;
        ul{
          list-style: none;
          li {
            padding:0.3rem;
            &.heading{
              font-size:1.2rem;
              font-weight:700;
              color: $nav_l1;
              }
            a {
              font-size: 0.9rem;
              color: $nav_l1;
              }
            a.type2{
              font-size:18px;
              font-weight:700;
              text-align: center;
              text-decoration: none;
              &:hover{
                color: $prim_color;
                } 
              i{
                font-size: 3rem;
                display: block;
                margin-bottom: 1rem;
                }
              span{
                display: block;
                }
              }
            }
          }
        }
      }
    }
  &.closed{
    display: none;
    }
  #close-nav{
    position: absolute;
    right:5rem;
    width:2rem;
    height:2rem;
    margin-top:-5.0rem;
    img{
      width:100%;
      }
    }
  }
