/**
** @project        empoweren-boilerplate
** @description    Empoweren Boilerplate
** @author         Stephen Flannery Jr. - Captiva Marketing
** @build          Fri, May 3, 2019 12:44 PM
** @copyright      Copyright (c) 2019, 
**/
.flexnav {
  margin: 0;
  padding: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: 0;
  overflow: hidden;
  list-style: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  font-family: "Catamaran", sans-serif;
}

@media only screen and (min-width: 64rem) {
  .flexnav {
    top: auto;
    max-height: none;
    overflow: visible;
    position: relative;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    background: transparent;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

.flexnav.flexnav-show {
  max-height: 2000px;
  -webkit-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flexnav ul {
  margin: 0;
  padding: 0;
}

.flexnav > ul {
  display: none;
}

.flexnav li {
  width: 100%;
}

@media only screen and (min-width: 64rem) {
  .flexnav li {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto;
    text-align: center;
  }
  .flexnav li:hover > a {
    color: #ffffff;
  }
}

.flexnav li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
}

@media only screen and (min-width: 64rem) {
  .flexnav li a {
    padding: 0;
    font-size: 1.25rem;
  }
}

@media only screen and (min-width: 64rem) {
  .flexnav > li > ul {
    background: #ffffff;
  }
}

@media only screen and (min-width: 64rem) {
  .flexnav li > ul {
    left: 50%;
    width: 100%;
    position: absolute;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@media only screen and (min-width: 64rem) {
  .flexnav li > ul li {
    margin: 0;
    width: 100%;
    position: relative;
  }
}

@media only screen and (min-width: 64rem) {
  .flexnav li > ul li a {
    text-align: center;
    color: #24587a;
  }
}

@media only screen and (min-width: 64rem) {
  .flexnav li > ul li ul {
    top: 0;
    left: 100%;
  }
}

.flexnav li ul {
  margin: 0;
  list-style: none;
}

.flexnav li ul li a {
  margin-left: 1rem;
}

@media only screen and (min-width: 64rem) {
  .flexnav li ul li a {
    margin: 0;
  }
}

.flexnav li ul li ul li a {
  margin-left: 2rem;
}

@media only screen and (min-width: 64rem) {
  .flexnav li ul li ul li a {
    margin: 0;
  }
}

.flexnav .touch-button {
  top: 0;
  right: 0;
  width: 25px;
  height: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1;
  position: absolute;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media only screen and (min-width: 64rem) {
  .flexnav .touch-button {
    height: 100%;
  }
}

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

.flexnav .touch-button .navicon {
  line-height: 1;
  font-style: normal;
  -webkit-transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flexnav .touch-button.active .navicon {
  -webkit-transform: rotateX(180deg) translateY(0.25rem);
  transform: rotateX(180deg) translateY(0.25rem);
}

/*--- Hamburger Menu Button ---*/
.menu-button {
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  color: #ffffff;
  text-transform: uppercase;
}

@media only screen and (min-width: 64rem) {
  .menu-button {
    display: none;
  }
}

.menu-button .touch-button {
  margin: 0;
  z-index: 1000;
  text-align: center;
  position: relative;
  margin-left: 1rem;
}

.menu-button .touch-button .navicon {
  height: 3px;
  width: 35px;
  display: block;
  margin: 0;
  position: relative;
  background: #ffffff;
  -webkit-transition: background 0s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: background 0s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: background 0s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-button .touch-button .navicon:before, .menu-button .touch-button .navicon:after {
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  display: block;
  position: absolute;
  background: #ffffff;
}

.menu-button .touch-button .navicon:before {
  top: -10px;
  -webkit-transition: top 0.3s 0.3s, -webkit-transform 0.3s 0s;
  transition: top 0.3s 0.3s, -webkit-transform 0.3s 0s;
  -o-transition: top 0.3s 0.3s, transform 0.3s 0s;
  transition: top 0.3s 0.3s, transform 0.3s 0s;
  transition: top 0.3s 0.3s, transform 0.3s 0s, -webkit-transform 0.3s 0s;
}

.menu-button .touch-button .navicon:after {
  bottom: -10px;
  -webkit-transition: bottom 0.3s 0.3s, -webkit-transform 0.3s 0s;
  transition: bottom 0.3s 0.3s, -webkit-transform 0.3s 0s;
  -o-transition: bottom 0.3s 0.3s, transform 0.3s 0s;
  transition: bottom 0.3s 0.3s, transform 0.3s 0s;
  transition: bottom 0.3s 0.3s, transform 0.3s 0s, -webkit-transform 0.3s 0s;
}

.menu-button .touch-button.active .navicon {
  background: transparent;
}

.menu-button .touch-button.active .navicon:before {
  top: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: top 0.3s 0s, bottom 0.3s 0s, -webkit-transform 0.3s 0.3s;
  transition: top 0.3s 0s, bottom 0.3s 0s, -webkit-transform 0.3s 0.3s;
  -o-transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s;
  transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s;
  transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s;
}

.menu-button .touch-button.active .navicon:after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: top 0.3s 0s, bottom 0.3s 0s, -webkit-transform 0.3s 0.3s;
  transition: top 0.3s 0s, bottom 0.3s 0s, -webkit-transform 0.3s 0.3s;
  -o-transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s;
  transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s;
  transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s;
}

@media (hover: hover) {
  .flexnav .touch-button {
    display: none;
  }
}
