/* Flexnav Base Styles */
.flexnav {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-height: 0; }
  .flexnav.opacity {
    opacity: 0; }
  .flexnav.flexnav-show {
    max-height: 2000px;
    margin-top: -3px;
    opacity: 1;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out; }
  .flexnav li {
    font-size: 100%;
    position: relative;
    overflow: hidden; 
    background-color: white;
    max-height: 60px;
    z-index: 5; }
  /*.flexnav li img {
    max-width: 100%;
    max-height: 60px;
    display: block;
    margin: auto;
  }*/
  .flexnav li a {
    position: relative;
    display: block;
    width: 100%;
    line-height: 60px;
    text-align: center;
    z-index: 12;
    overflow: hidden;
    color: #268CDD; }  
  .flexnav li.active a,
  .flexnav li:hover a {
    /*background-color: #003A50; */
    color: #003A50;
  }
.menu-button {
  position: relative;
  display: block;
  /*padding: 1em;*/
  padding: 20px;
  /*background: #268CDD;*/
  color: #268CDD;
  cursor: pointer;}
  .menu-button .touch-button {
    background: transparent;
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    width: 50px;
    height: 60px;
    display: inline-block;
    text-align: center; }
    .menu-button .touch-button .navicon {
      font-size: 16px;
      position: relative;
      top: 1em;
      color: #268CDD; }
#index .menu-button.without-video { color: #268CDD; }
#index .menu-button.without-video .touch-button .navicon { color: #268CDD; }
#index .scrolled .menu-button { color: #268CDD; }
#index .scrolled .menu-button .touch-button .navicon { color: #268CDD; }
#index .scrolled #main_nav:not(.scrolled) .flexnav > li > a { text-shadow: none; }
#index .scrolled #main_nav:not(.scrolled) .flexnav > li > a:hover { color: #003A50; }

@media all and (min-width: 991px) {
  #index .menu-button { color: white; }
  #index .menu-button .touch-button .navicon { color: white; }
  .flexnav .touch-button {
    display: none;
  }
  .flexnav {
    overflow: visible; }
    .flexnav.opacity {
      opacity: 1; }
    /*.flexnav.one-page {
      top: 0;
      right: auto;
      max-width: 1080px; }*/
    .flexnav li {
      position: relative;
      list-style: none;
      float: left;
      display: block;
      /*border-right: 1px solid white;*/
      /*background-color: #a6a6a2; */
      overflow: visible;
      background-color: transparent;
      width: 12%; }
    .flexnav li.home_button {
      width: 16%;
    }
    .flexnav li a {
      /*border-left: 1px solid #acaca1;
      border-bottom: none;*/ }
  .menu-button {
    display: none; } }
/* To make it fixed */
#main_nav {
  width: 100%;
  min-height: 60px;
  z-index: 99;
}
#main_nav.scrolled {
  position: fixed;
  top: 0; 
}