/* 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;
  padding:0; 
  
}
ul.flexnav-show{
  margin:0;
  padding:0;
  list-style: none;
}
ul.flexnav li ul{
  margin:0;
  padding:0;
  list-style: none;
}
  .flexnav.opacity {
    opacity: 0; }
  .flexnav.flexnav-show {
    max-height: 2000px;
    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.one-page {
    position: fixed;
    top: 50px;
    right: 5%;
    max-width: 200px; }
  .flexnav li {
    font-size: 100%;
    position: relative;
    overflow: hidden;
    border-bottom:1px solid; }
  .flexnav li a {
    position: relative;
    display: block;
    padding: .96em;
    z-index: 2;
    overflow: hidden;
    color: #5E5E5F;

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #dae1e6 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dae1e6)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#dae1e6 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#dae1e6 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#dae1e6 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#dae1e6 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dae1e6',GradientType=0 ); /* IE6-9 */

    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
  .flexnav li ul {
    width: 100%; }
    .flexnav li ul li {
      font-size: 100%;
      position: relative;
      overflow: hidden;
      border:0; }
  .flexnav li ul.flexnav-show li {
    overflow: visible; }
  .flexnav li ul li a {
    display: block;
    background: #FFFFFF; }
  .flexnav ul li ul li a {
    background: #bfbfbc; }
  .flexnav ul li ul li ul li a {
    background: #cbcbc9; }
  .flexnav .touch-button {
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    text-align: center; }
    .flexnav .touch-button:hover {
      cursor: pointer; }
    .flexnav .touch-button .navicon {
      position: relative;
      top: 1.4em;
      font-size: 12px;
      color: #666; }

.menu-button {
  position: relative;
  display: block;
  padding: 1em;
  
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #dae1e6 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dae1e6)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#dae1e6 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#dae1e6 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#dae1e6 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#dae1e6 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dae1e6',GradientType=0 ); /* IE6-9 */

  color: #222222;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
  .menu-button.one-page {
    position: fixed;
    top: 0;
    right: 5%;
    padding-right: 45px; }
  .menu-button .touch-button {
    background: transparent;

    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    text-align: center; }
    .menu-button .touch-button .navicon {
      background-image: url("../img/arrow_button.png");
      background-size: contain;
      color: #fff;
      display: block;
      font-size: 16px;
      height: 26px;
      padding: 6px 10px;
      position: absolute;
      right: 9px;
      top: 9px;
      width: 18px;
    }

  ul.flexnav li span.touch-button i.navicon{
      background-image: url("../img/arrow_button2.png");
      background-size: contain;
      color: #fff;
      display: block;
      font-size: 16px;
      height: 26px;
      padding: 6px 10px;
      position: absolute;
      right: 9px;
      top: 9px;
      width: 18px;
  }

@media all and (min-width: 768px) {
  body.one-page {
    padding-top: 70px; }

  .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;
      background-color: #a6a6a2;
      overflow: visible;
      width: 20%; }
    .flexnav li a {
      border-left: 1px solid #acaca1;
      border-bottom: none; }
    .flexnav li > ul {
      position: absolute;
      top: auto;
      left: 0; }
      .flexnav li > ul li {
        width: 100%; }
    .flexnav li ul li > ul {
      margin-left: 100%;
      top: 0; }
    .flexnav li ul li a {
      border-bottom: none; }
    .flexnav li ul.open {
      display: block;
      opacity: 1;
      visibility: visible;
      z-index: 1; }
      .flexnav li ul.open li {
        overflow: visible;
        max-height: 100px; }
      .flexnav li ul.open ul.open {
        margin-left: 100%;
        top: 0; }

  .menu-button {
    display: none; } }
.oldie body.one-page {
  padding-top: 70px; }
.oldie .flexnav {
  overflow: visible; }
  .oldie .flexnav.one-page {
    top: 0;
    right: auto;
    max-width: 1080px; }
  .oldie .flexnav li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
    background-color: #a6a6a2;
    width: 20%;
    min-height: 50px;
    overflow: visible; }
  .oldie .flexnav li:hover > ul {
    display: block;
    width: 100%;
    overflow: visible; }
    .oldie .flexnav li:hover > ul li {
      width: 100%;
      float: none; }
  .oldie .flexnav li a {
    border-left: 1px solid #acaca1;
    border-bottom: none;
    overflow: visible; }
  .oldie .flexnav li > ul {
    background: #acaca1;
    position: absolute;
    top: auto;
    left: 0;
    display: none;
    z-index: 1;
    overflow: visible; }
  .oldie .flexnav li ul li ul {
    top: 0; }
  .oldie .flexnav li ul li a {
    border-bottom: none; }
  .oldie .flexnav li ul.open {
    display: block;
    width: 100%;
    overflow: visible; }
    .oldie .flexnav li ul.open li {
      width: 100%; }
    .oldie .flexnav li ul.open ul.open {
      margin-left: 100%;
      top: 0;
      display: block;
      width: 100%;
      overflow: visible; }
  .oldie .flexnav ul li:hover ul {
    margin-left: 100%;
    top: 0; }
.oldie .menu-button {
  display: none; }
.oldie.ie7 .flexnav li {
  width: 19.9%; }

div.page div.left div.mobile-submenu div.menu-button{
    color:#fff;
}
div.page div.left div.mobile-submenu div.menu-button{
    background: #3e7497; /* Old browsers */
    background: -moz-linear-gradient(top, #3e7497 0%, #0e446d 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3e7497), color-stop(100%,#0e446d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #3e7497 0%,#0e446d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #3e7497 0%,#0e446d 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #3e7497 0%,#0e446d 100%); /* IE10+ */
    background: linear-gradient(to bottom, #3e7497 0%,#0e446d 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e7497', endColorstr='#0e446d',GradientType=0 ); /* IE6-9 */
}
div.page.orange div.left div.mobile-submenu div.menu-button{
    background: #fd9200; /* Old browsers */
    background: -moz-linear-gradient(top, #fd9200 0%, #fc6700 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fd9200), color-stop(100%,#fc6700)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fd9200 0%,#fc6700 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fd9200 0%,#fc6700 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fd9200 0%,#fc6700 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fd9200 0%,#fc6700 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9200', endColorstr='#fc6700',GradientType=0 ); /* IE6-9 */
}
div.page.red div.left div.mobile-submenu div.menu-button{
    background: #f64735; /* Old browsers */
    background: -moz-linear-gradient(top, #f64735 0%, #f02116 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f64735), color-stop(100%,#f02116)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f64735 0%,#f02116 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f64735 0%,#f02116 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f64735 0%,#f02116 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f64735 0%,#f02116 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f64735', endColorstr='#f02116',GradientType=0 ); /* IE6-9 */
}
div.page.pink div.left div.mobile-submenu div.menu-button{
    background: #ff989e; /* Old browsers */
    background: -moz-linear-gradient(top, #ff989e 0%, #ff6f75 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff989e), color-stop(100%,#ff6f75)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ff989e 0%,#ff6f75 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ff989e 0%,#ff6f75 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ff989e 0%,#ff6f75 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ff989e 0%,#ff6f75 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff989e', endColorstr='#ff6f75',GradientType=0 ); /* IE6-9 */
}
div.page.light-blue div.left div.mobile-submenu div.menu-button{
    background: #89d5dc; /* Old browsers */
    background: -moz-linear-gradient(top, #89d5dc 0%, #05dbec 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#89d5dc), color-stop(100%,#05dbec)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #89d5dc 0%,#05dbec 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #89d5dc 0%,#05dbec 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #89d5dc 0%,#05dbec 100%); /* IE10+ */
    background: linear-gradient(to bottom, #89d5dc 0%,#05dbec 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#89d5dc', endColorstr='#05dbec',GradientType=0 ); /* IE6-9 */
}
div.page.yellow div.left div.mobile-submenu div.menu-button{
    background: #ffca34; /* Old browsers */
    background: -moz-linear-gradient(top, #ffca34 0%, #ffaf16 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffca34), color-stop(100%,#ffaf16)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffca34 0%,#ffaf16 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffca34 0%,#ffaf16 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffca34 0%,#ffaf16 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffca34 0%,#ffaf16 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffca34', endColorstr='#ffaf16',GradientType=0 ); /* IE6-9 */
}
div.page.navy-blue div.left div.mobile-submenu div.menu-button{
    background: #6174a0; /* Old browsers */
    background: -moz-linear-gradient(top, #6174a0 0%, #374978 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6174a0), color-stop(100%,#374978)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #6174a0 0%,#374978 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #6174a0 0%,#374978 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #6174a0 0%,#374978 100%); /* IE10+ */
    background: linear-gradient(to bottom, #6174a0 0%,#374978 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6174a0', endColorstr='#374978',GradientType=0 ); /* IE6-9 */
}
div.page.blue div.left div.mobile-submenu div.menu-button{
    background: #009cde; /* Old browsers */
    background: -moz-linear-gradient(top, #009cde 0%, #0075cc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#009cde), color-stop(100%,#0075cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #009cde 0%,#0075cc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #009cde 0%,#0075cc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #009cde 0%,#0075cc 100%); /* IE10+ */
    background: linear-gradient(to bottom, #009cde 0%,#0075cc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009cde', endColorstr='#0075cc',GradientType=0 ); /* IE6-9 */
}
