#megamenu {
  z-index: 99;
  background-color: #ffffff;
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0px;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
       -o-transform: translateY(-100%);
          transform: translateY(-100%);
  -webkit-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
  transition: all ease 0.5s;
}
#megamenu .container {
  position: relative;
}
#megamenu .container .megamenu {
  position: relative;
  display: none;
  -webkit-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
  transition: all ease 0.5s;
  list-style: none;
}
#megamenu .container .megamenu.open {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid #e1e1dc;
}
#megamenu .container .megamenu li a {
  color: #025e87;
  text-decoration: none;
  font-size: 17px;
  line-height: 27px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.035em;
  -webkit-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
  transition: all ease 0.5s;
}
#megamenu .container .megamenu > li > a {
  position: relative;
}
#megamenu .container .megamenu > li > a:before {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: currentColor;
}
#megamenu .container .megamenu > li > a:hover:before,
#megamenu .container .megamenu > li > a:focus:before,
#megamenu .container .megamenu > li > a.active:before {
  width: 45px;
}
#megamenu .container .megamenu > li > a:hover + ul,
#megamenu .container .megamenu > li > a:focus + ul,
#megamenu .container .megamenu > li > a.active + ul {
  overflow: visible;
  height: auto;
  padding: 45px 0 15px;
  border-top: 1px solid #e1e1dc;
}
#megamenu .container .megamenu > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  list-style: none;
  overflow: hidden;
  height: 0;
}
#megamenu .container .megamenu > li > ul:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -1px;
  left: -100vw;
  width: 200vw;
  height: 100%;
  background-color: #ffffff;
}
#megamenu .container .megamenu > li > ul > li {
  line-height: 1;
  margin-bottom: 30px;
  -webkit-box-flex: 50%;
  -webkit-flex: 50%;
      -ms-flex: 50%;
          flex: 50%;
}
#megamenu .container .megamenu > li > ul > li > a {
  font-size: 15px;
}
body.openmenu #megamenu {
  overflow: visible;
  top: 120px;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
       -o-transform: translateY(0);
          transform: translateY(0);
}
body.lightennav #header a {
  color: blue;
}
body.lightennav #megamenu {
  color: blue;
}
