/**
** @project        schaefer-engineering
** @description    Website for Schaefer Engineering
** @author         Stephen Flannery Jr. - Captiva Marketing
** @build          Wed, Jul 3, 2019 2:50 PM
** @copyright      Copyright (c) 2019, 
**/
.flexnav {
  margin: 0;
  padding: 0;
  z-index: 99;
  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;
}

@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;
    margin-right: -1rem;
    margin-left: 4rem;
    z-index: 9999;
  }
  .header--sticky .flexnav {
    margin-left: 0;
    margin-right: 1rem;
  }
}

.flexnav.flexnav-show {
  max-height: 2000px;
  padding-top: 4rem;
  padding-bottom: 2rem;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.flexnav > li {
  width: 100%;
  position: relative;
}

@media only screen and (min-width: 64rem) {
  .flexnav > li {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 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;
  }
}

.flexnav > li > a {
  font-size: 1.5rem;
  line-height: 1.33;
}

@media only screen and (min-width: 64rem) {
  .flexnav > li > a {
    text-transform: uppercase;
    border-right: 1px solid #ffffff;
    line-height: 1;
    font-size: 1rem;
  }
}

.flexnav > li > a:hover {
  color: #ffffff;
}

.flexnav > li:last-child > a {
  border-right: 0;
}

.flexnav li > ul {
  background: #092134;
}

@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%);
    background: transparent;
    min-width: 250px;
    top: 100%;
    padding-top: 1rem;
  }
}

.flexnav li > ul.flexnav-show {
  padding: 1rem 0;
}

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

.flexnav li > ul li a {
  font-size: 1rem;
}

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

.flexnav li > ul li:first-child {
  padding-top: 0.5rem;
}

.flexnav li > ul li:last-child {
  padding-bottom: 0.5rem;
}

.flexnav li > ul > li:hover a {
  background: #e6e6e6;
}

@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.5rem;
  right: 0.5rem;
  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%;
    top: 1.25rem;
    right: auto;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

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

.flexnav .touch-button .navicon {
  color: #ffffff;
  font-size: 1rem;
  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-inline-box;
  display: -ms-inline-flexbox;
  display: inline-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: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 55px;
  width: 55px;
  background: #67B0EA;
  margin-right: -0.625rem;
  /* margin-left: 1rem; */
}

@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;
}

.menu-button .touch-button .navicon {
  height: 4px;
  width: 35px;
  display: block;
  margin: 13px 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: 4px;
  display: block;
  position: absolute;
  background: #ffffff;
}

.menu-button .touch-button .navicon:before {
  top: -12px;
  -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: -12px;
  -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 only screen and (min-width: 64rem) and (hover: hover) {
  .flexnav .touch-button {
    display: none;
  }
}
