/* 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;
  padding: 0;
  width: 100%;
  max-height: 0;
  position: relative;
  z-index: 999;
}

.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: 10px;
  right: 5%;
  max-width: 200px;
}

.flexnav ul {
  margin-top: 1px;
}

.flexnav li {
  font-size: 100%;
  position: relative;
  overflow: hidden;
}

.flexnav li a {
  position: relative;
  display: block;
  padding: 6px;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: #666;
  border-bottom: 1px solid #747474;
}

.flexnav li a:hover {
  background: #dac1bb;
}

.flexnav li ul {
  width: 100%;
  padding: 0;
  margin:0; 
}

.flexnav li ul li {
  font-size: 100%;
  position: relative;
  overflow: hidden; 
  margin-left: 0;
}

.flexnav li ul.flexnav-show li {
  overflow: visible; 
}

.flexnav li ul li a {
  display: block;
  background: #999;
  color: #fff; 
}

.flexnav ul li ul li a {
  background: #ccc;
}

.flexnav ul li ul li ul li a {
  background: #ccc;
}

.flexnav .touch-button {
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  width: 37px;
  height: 37px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.075);
  text-align: center;
}

.flexnav .touch-button:hover {
  cursor: pointer; 
}

.flexnav .touch-button .navicon {
  position: relative;
  top: 20%;
  font-size: 12px;
  color: #FFF;
}

.menu-button {
  text-align: center;
  background: #666;
  color: #fff;
  font-size:16px;
  cursor: pointer;
  z-index: 1;
  width: 17%;
  padding: 4% 2%;
  margin: 0.25%;
  float: left;
  z-index: 11;
  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: none;
  text-align: center;
}

.menu-button .touch-button .navicon {
  font-size: 16px;
  position: relative;
  top: 1em;
  color: #c191d0; }
}