.megaMenu {
  margin: 0 auto;
  padding: 0;
  display: block;
  float: none;
  min-width: 200px;
  position: relative;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  font-weight: 400;
  clear: both;
  min-height: 3.75em;
  background-color: #1782dd;
}

.megaMenu:after {
  content: "";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

@media screen and (max-width: 991px) {
  .megaMenu {
    border-radius: 4px;
    overflow: hidden;
    background-color: #1782dd;
  }
}

.megaMenu * {
  outline: none !important;
  text-decoration: none;
  list-style: none;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.megaMenu a, .megaMenu img {
  max-width: 100%;
}

.megaMenu i.fa {
  font-family: FontAwesome, serif !important;
}

.megaMenu .nav-container {
  margin: 0 auto;
  padding: 0;
  display: block;
  float: none;
  width: 100%;
  position: relative;
  z-index: 10;
  background: #333333;
}

.megaMenu ul.menu-links {
  float: left;
  margin: 0;
  padding: 0;
  display: block;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-links {
    width: 100%;
    display: none;
  }
  .megaMenu.collapse_hide ul.menu-links {
    display: block;
  }
}

.megaMenu ul.menu-links > li {
  margin: 0;
  padding: 0;
  display: block;
  float: left;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-links > li {
    width: 100%;
    clear: both;
    border-bottom: 1px solid rgba(35, 35, 35, 0.4);
  }
  .megaMenu.vertical_lines_hide ul.menu-links > li {
    border-bottom: none;
  }
}

@media screen and (min-width: 992px) {
  .megaMenu ul.menu-links > li {
    border-left: 1px solid #232323;
  }
  .megaMenu.vertical_lines_hide ul.menu-links > li {
    border-left: none;
  }
  .megaMenu ul.menu-links > li:last-child a {
    border-right: 1px solid #232323;
  }
  .megaMenu.vertical_lines_hide ul.menu-links > li:last-child a {
    border-right: none;
  }
}

.megaMenu ul.menu-links > li > a {
  margin: 0;
  padding: 0 0.875em;
  height: 3.75em;
  width: 100%;
  font-size: 1em;
  font-weight: 600;
  overflow: hidden;
  text-decoration: none;
  transition: color 300ms ease;
  position: relative;
  z-index: 10;
  text-align: center;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  cursor: pointer;
  color: #242424;
}

.megaMenu ul.menu-links.pull-right > li > a {
  border-right: none;
  color: #FFF;
}

@media screen and (max-width: 1199px) {
  .megaMenu ul.menu-links > li > a {
    padding-left: 0.625em;
    padding-right: 0.625em;
  }
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-links > li > a {
    height: auto;
    display: block;
    text-align: left;
    padding: 0.5em 0.9375em;
  }
  .megaMenu ul.menu-links > li > a:after {
    height: 101%;
  }
}

.megaMenu ul.menu-links > li:hover > a {
  color: #f44a56;
}

.megaMenu ul.menu-links > li:hover > a:after {
  opacity: 1;
}

.megaMenu ul.menu-links > li > a span.text {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  clear: both;
  font-weight: 500;
  text-transform:uppercase;
}

.megaMenu ul.menu-logo {
  margin: 0;
  padding: 0;
  float: left;
  display: block;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-logo {
    width: 100%;
    min-height: 3.75em;
    position: relative;
  }
}

.megaMenu ul.menu-logo > li {
  margin: 0;
  padding: 0;
  display: block;
  float: left;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-logo > li {
    width: 100%;
    border-bottom: 1px solid rgba(35, 35, 35, 0.6);
  }
  .megaMenu.vertical_lines_hide ul.menu-logo > li {
    border-bottom: none;
  }
}

.megaMenu ul.menu-logo > li > a {
  margin: 0;
  padding: 0 0.625em;
  height: 2.5em;
  width: 100%;
  font-size: 1.5em;
  font-weight: 600;
  text-decoration: none;
  transition: color 300ms ease;
  position: relative;
  z-index: 10;
  text-align: center;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: #ffffff;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-logo > li > a {
    display: block;
    text-align: left;
    padding-top: 10px;
    line-height: 30px;
    font-size: 1.125em;
    min-height: 3.375em;
    padding-right: 3.75em;
    word-break: break-all;
  }
}

.megaMenu ul.menu-logo > li > a:hover {
  color: #ffffff;
}

.megaMenu ul.menu-logo > li:hover > a:after {
  opacity: 1;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-logo > li > a:after {
    display: none;
  }
}

.megaMenu ul.menu-logo > li > a img {
  padding: 0;
  display: inline-block;
  max-width: 100%;
  max-height: 1em;
  margin: 0 0.3125em 0 0;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-logo > li > a img {
    position: relative;
    top: -0.0625em;
  }
}

.megaMenu ul.menu-mobile-trigger {
  margin: 0;
  padding: 0;
  display: none;
  list-style: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9999;
  height: 3.75em;
  width: 6.25em;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .megaMenu ul.menu-mobile-trigger {
    display: block;
  }
}

.megaMenu ul.menu-mobile-trigger li {
  margin: 0;
  padding: 0;
  display: block;
  list-style: none;
  height: 3.75em;
  width: 3.75em;
  float: right;
  position: relative;
}

.megaMenu ul.menu-mobile-trigger i.fa {
  text-decoration: none;
  border-radius: 4px;
  float: right;
  height: 2.5em;
  width: 2.5em;
  line-height: 2.5em;
  text-align: center;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  transition: color 300ms ease, background 300ms ease;
  color: #fff;
  background: #374fc0;
}

.megaMenu ul.menu-mobile-trigger:hover i.fa {
  color: #f44a56;
  background: #1a1a1a;
}

.megaMenu ul.menu-mobile-trigger i.fa:before {
  font-size: 1.5625em;
}

.megaMenu .menu-logo > li > a:after,
.megaMenu .menu-links > li > a:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
  transition: all 300ms ease;
  background-color: #f44a56;
}

.megaMenu.mega-menu-sticky-move .sticky-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-duration: 300ms;
          animation-duration: 300ms;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
}

.megaMenu .sticky-container {
  position: relative;
  background: #333333;
}

.megaMenu.mega-menu-sticky-move .sticky-container {
  -webkit-animation-name: sticky_expand;
          animation-name: sticky_expand;
}

@-webkit-keyframes sticky_expand {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes sticky_expand {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}