.main-nav {
  float: right;
  margin-top: 0px;
  font-size: 13px;
  line-height: 28px;
  text-transform: uppercase;
}

.main-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.main-nav ul li {
  float: left;
  list-style: none;
  margin-left: 0px;
  padding:0 15px;
}
.main-nav ul li a {
  padding: 10px 0;
  display: block;
  color: #041E42;
  position: relative;
  text-decoration: none !important;
}
.main-nav ul li a:hover {
  color: #041E42;
}
.main-nav ul li:last-child{
  padding-right: 0;
}

.main-nav ul li a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 6px;
  content: "";
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  background: #00AEEF;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.main-nav ul li a:hover:after,
.main-nav ul li.current_page_item a:after {
  width: 100%;
  left: 0;
}

.main-nav {
    /* display: block !important; */
    margin-top: 0px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out
}
body.sticky header .main-nav{
  margin-top: 0;
}
.menuBtn {
    float: right;
    display: none;
    margin-top: 15px;
}
.menuoverlay {
    position: fixed;
    right: -100px;
    top: -100px;
    z-index: 4;
    width: 100px;
    height: 100px;
    background: #041E42;
    border-radius: 50% 50% 50% 50%;
    transition: .3s ease-in-out;
    box-shadow: 0 0 0 0 #041E42, 0 0 0 0 #041E42;
    cursor: pointer;
}
.menuOpen .menuoverlay {
    box-shadow: 0 0 0 150vw #041E42, 0 0 0 150vh #041E42;
    border-radius: 10px;
}
.hamburger {
    padding: 0px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, -webkit-filter;
    transition-property: opacity, filter;
    transition-property: opacity, filter, -webkit-filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger-box {
    width: 40px;
    height: 25px;
    display: inline-block;
    position: relative;
	vertical-align: top;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: 0px;
    margin-left: 0px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 2px;
    background-color: #000;
    border-radius: 0px;
    position: absolute;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -9px;
}
.hamburger-inner::after {
    bottom: -9px;
}
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.1s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.1s 0.14s ease, opacity 0.1s ease;
}
.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze.is-active .hamburger-inner {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-delay: 0.14s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease, opacity 0.1s 0.14s ease;
}
.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:after, .hamburger.is-active .hamburger-inner:before {
    background-color: #fff
}

/**/

@media screen and (min-width: 0px) and (max-width: 960px) {

  .main-nav{
    font-size: 11px;
  }
  .main-nav ul li{
    padding: 0 11px;
  }

}
@media screen and (min-width: 0px) and (max-width: 850px) {

  .main-nav{
    font-size: 10px;
  }
  .main-nav ul li{
    padding: 0 8px;
  }
  .main-nav ul li:first-child{
    padding-left: 0;
  }


}


@media screen and (min-width: 768px) {
  .main-nav {
    display: block !important;
  }
  /* .menuWrapper {
      float: right;
  } */
}

@media screen and (min-width: 0px) and (max-width: 767px) {
  .menuBtn {
    display: block;
    position: relative;
    z-index: 9999;
    margin-top: 10px;
  }
  .main-nav{
    /* display: none; */
  }

  .main-nav {
      position: fixed;
      opacity: 0;
      visibility: hidden;
      height: 100%;
      width: 100%;
      top: 0px;
      right: 0px;
      overflow: auto;
      padding: 40px 0px;
      margin: 0;
      z-index: 9;
      font-size: 14px;
  }
  .menuOpen .main-nav {
      animation: activemenu 1s;
      animation-delay: 0.1s;
      animation-fill-mode: forwards;
      visibility: visible;
  }
  @keyframes activemenu {
   from {
  opacity: 0;
  }
   to {
  opacity: 1;
  }
  }
  @-webkit-keyframes activemenu {
   from {
  opacity: 0;
  }
   to {
  opacity: 1;
  }
  }

  .main-nav > div.menuWrapper {
      width: 100%;
      margin: 0 auto;
      display: table;
      height: 100%;
      text-align: center;
  }
  .main-nav> div.menuWrapper > div {
      width: 100%;
      margin: 0 auto;
      display: table-cell;
      vertical-align: middle;
  }

  .main-nav ul li {
      float: none;
      display: block;
      text-align: center;
      position: relative;
      padding: 15px 0 13px;
  }
  .main-nav ul li a{
    color: #fff;
    opacity: 0.9;
  }
  .main-nav ul li.current_page_item a,
  .main-nav ul li.current-page-ancestor a,
  .main-nav ul li.current_page_parent a {
    color: #00AAFF;
    /* font-weight: 600; */
    opacity: 1;
  }
  .main-nav ul li a:hover{
    color: #00AAFF;
  }
  .main-nav ul li a::after,
  .main-nav ul li a:hover:after,
  .main-nav ul li.current_page_item a:after,
  .main-nav ul li.current-page-ancestor a:after,
  .main-nav ul li.current_page_parent a:after{
    background: none;
  }
  .main-nav ul li::before {
      width: 35px;
      height: 2px;
      content: '';
      display: block;
      position: absolute;
      top: -0px;
      left: 50%;
      margin-left: -20px;
      background-color: #fff;
  }

  .main-nav ul li:first-child::before{
    display: none;
  }



  .main-nav ul li.current_page_item a::after,
  .main-nav ul li.current-page-ancestor a::after{
    display: none;
  }
  .main-nav ul li a, .main-nav ul li:last-child a, .main-nav ul li:first-child a {
      padding: 10px 20px;
  }

}

@media screen and (min-width: 0px) and (max-width: 600px) {
.menuBtn{
  margin-top: 2px;
}

}
