/* Flexnav Base Styles */
/* html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline; }

html {
  line-height: 1; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes: none; }
  q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none; }

a img {
  border: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block; }

/* Globals */
/* html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  font: inherit;
  vertical-align: baseline; } */

.flexnav {
  *zoom: 1;
  -webkit-transition: 0;
  -moz-transition: 0;
  -o-transition: 0;
  transition: 0;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin: 0 auto;
  max-height: 0;
  
}
  .flexnav:after {
    content: "";
    display: table;
    clear: both; }
  .flexnav.show {
    max-height: 2000px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    transition: 1s; }
/*   .flexnav.one-page {
    position: fixed;
    top: 50px;
    right: 5%;
    max-width: 200px; } */
  .flexnav li {
    font-size: 100%;
	position: relative;
    overflow: hidden; 
	}
  .flexnav li a {
    position: relative;
    display: block;
	padding: 0.75em 0 0.71em 0.5em;
    z-index: 2;
    overflow: hidden;
    color: #999;
	font-weight: bold;
	text-decoration: none;
    background: #fff;
    border-top: 0.1em solid #999; 
	border-bottom: none;
	}
	
	.flexnav a:hover {
	color: #fff;
	background: rgb(113, 135, 169);
	border-top: 0.1em solid #fff;
	}
	
	
/*   .flexnav li ul {
    width: 100%; }
    .flexnav li ul li {
      font-size: 100%;
      position: relative;
      overflow: hidden; }
  .flexnav li ul.show li {
    overflow: visible; }
  .flexnav li ul li a {
    display: block;
    background: #b2b2af; }
  .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: 999;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    background: #acaca1;
    background: rgba(0, 0, 0, 0.075);
    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 span {padding-left: 0.5em;}

.menu-button {
	  position: relative;
	  display: block;
	  width: 100%;
	  padding: 0.75em 0 0.75em 0em; 
	  background: #fff;
	  color: #999;
	  font-weight: bold;
	  cursor: pointer;
      }
/*   .menu-button.one-page {
    position: fixed;
    top: 0;
    right: 5%;
    padding-right: 45px; } */
	
  .menu-button .touch-button {
    background: transparent;
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    text-align: center; }
	
    .menu-button .touch-button .navicon {
      font-size: 24px;
	  position: relative;
      top: 0.3em;
      color: #fff; }
	  

@media all and (min-width: 640px) {
/*   body.one-page {
    padding-top: 70px; } */

  .flexnav {
    overflow: visible;
	/* float: left; */
	padding-bottom: 1.5em;
	}
	
    /* .flexnav.one-page {
      top: 0;
      right: auto;
      max-width: 1080px; } */
    .flexnav li {
      position: relative;
      list-style: none;
      float: left;
	  padding: 0;
	  /* width: 14.283%; */
      display: block;
      overflow: visible; 
	  }
    .flexnav li a {
		padding: 0 0.5em 0 0;
		border: none; 
		color: #999;
		
		}
	  
	.flexnav a:hover {
		color: rgb(68, 115, 183);
		background-color: #fff;
		border: none; 
	}
/*     .flexnav li > ul {
      position: absolute;
      top: auto;
      left: 0;
      display: block; }
      .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; } 
} /* media query ends */

	
	
/* .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; }
  .oldie .flexnav li:hover > ul {
    visibility: visible;
    opacity: 1;
    height: auto;
    display: block;
    position: absolute; }
    .oldie .flexnav li:hover > ul li {
      width: 100%;
      float: none; }
  .oldie .flexnav li a {
    border-left: 1px solid #acaca1;
    border-bottom: none; }
  .oldie .flexnav li > ul {
    position: absolute;
    top: auto;
    left: 0;
    opacity: 0;
    visibility: hidden;
    height: 1px;
    z-index: 1; }
  .oldie .flexnav li ul li ul {
    top: 0; }
  .oldie .flexnav li ul li a {
    border-bottom: none; }
  .oldie .flexnav li ul.open {
    display: block;
    opacity: 1;
    visibility: visible;
    height: auto; }
    .oldie .flexnav li ul.open ul.open {
      margin-left: 100%;
      top: 0; }
  .oldie .flexnav ul li:hover ul {
    margin-left: 100%;
    top: 0; }
.oldie .menu-button {
  display: none; }
.oldie.ie7 .flexnav li {
  width: 19.9%; }
 */