#block-mainnavigation {
  display: none;
}

.mega-menu-container {
  position: absolute;
  right: 0;
  top: 0px;
}

.mega-menu-container a {
  text-decoration: none;
}

/* large screens */
@media(min-width:991px) {

  /* When inside of main link is active make white */

  .we-mega-menu-ul .dropdown-menu:hover > a, .we-mega-menu-ul .dropdown-menu:hover > span, .we-mega-menu-ul .dropdown-menu:focus > a, .we-mega-menu-ul .dropdown-menu:focus > span {
    color: white;
  }

  .we-mega-menu-submenu > .we-mega-menu-submenu-inner {
    min-height: 0px;
  }

  .navbar-we-mega-menu {
    background-color: #363453;
  }

  /* Main Links in header */
  .we-mega-menu-ul>.we-mega-menu-li>span, .we-mega-menu-ul>.we-mega-menu-li>a {
    background-color: #363453;
    color: #eee;
    font-family: 'Domine';
    font-size: 16px;
    text-transform: none;
    transition: 0.2s all ease-in-out;
  }
  .we-mega-menu-ul>.we-mega-menu-li>span:hover, .we-mega-menu-ul>.we-mega-menu-li>a:hover {
    text-decoration: underline;
  }

  .we-mega-menu-ul>.we-mega-menu-li {
    border: none;
  }

  .we-mega-menu-ul .dropdown-menu>a:after, .we-mega-menu-ul .dropdown-menu>span:after {
    display: none;
  }

  .we-mega-menu-ul>.we-mega-menu-li>span:before {
    display: none;
  }

  .we-mega-menu-ul .we-mega-menu-li.dropdown-menu .we-mega-menu-submenu {
    display: none;
  }
  .we-mega-menu-ul .dropdown-menu:hover > .we-mega-menu-submenu, .we-mega-menu-ul .dropdown-menu:focus > .we-mega-menu-submenu {
    display: block !important;
  }

  .we-mega-menu-submenu li.we-mega-menu-li {
    width: 100%;
  }

  /* Heading links */
  .we-mega-menu-submenu li.we-mega-menu-li a {
    font-family: 'Domine';
    font-style: normal;
    font-weight: 400;
    color: #fff;
    text-transform: none;
    font-size: 16px;
    transition: 0.2s all ease-in-out;
    border-bottom: none;
    padding-top: 15px;
    padding-bottom: 0px;
  }

  .we-mega-menu-submenu li.we-mega-menu-li a:hover {
    color: #eee;
    text-decoration: underline;
  }

  .we-mega-menu-ul .dropdown-menu>a:before, .we-mega-menu-ul .dropdown-menu>span:before {
    background-image: none;
  }

  /* Sub Menus */
  .navbar-we-mega-menu .we-mega-menu-group>.we-mega-menu-submenu {
    background-color: #363453;
  }

  /* Smaller links overrides */
  .we-mega-menu-submenu-inner .we-mega-menu-submenu li.we-mega-menu-li a {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 200;
    color: #fff;
    text-transform: none;
    border-bottom: none;
    font-size: 12px;
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  /* First Child */
  .navbar-we-mega-menu .we-mega-menu-group > .we-mega-menu-submenu li:first-child > a, .navbar-we-mega-menu .we-mega-menu-group > .we-mega-menu-submenu li:first-child > span {
    padding-top: 0px;
  }


  .large-menu {
    position: fixed;
    left: 20%;
    top: 106px;
    overflow-y: scroll;
    max-height: calc(100vh - 115px);
    width: 75%;
    background-color: #363453;
  }
}
/* End Large Screens */

/* Mobile */
@media(max-width: 990px) {

  .mega-menu-container {
    position: absolute;
    right: 10px;
    top: 14px;
  }

  .overlay {
    z-index: 1;
  }

  .navbar-we-mega-menu.navbar .nav-tabs .dropdown-menu {
    width: 100%;
  }
}
