/* Flexnav Base Styles */

.flexnav {
  overflow: hidden;
  width: 100%;
  max-height: 0;
  margin: 0 auto;
  padding-left: 0;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  list-style: none;
}

.flexnav.flexnav-show {
  max-height: 2000px;
  -webkit-transition: all .5s .3s ease-in-out;
  -o-transition: all .5s .3s ease-in-out;
  transition: all .5s .3s ease-in-out;
  opacity: 1;
}

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

.flexnav li:first-child,
.flexnav li:last-child{
  display: inherit;
}

.flexnav li a {
  /* font-family: 'Lora', sans-serif; */
  font-size: 1rem;
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  padding: .96em;
  -webkit-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  text-decoration: none;
  color: #292c34;
  background: #ffffff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flexnav li ul {
  list-style: none;
  margin: 0;
  width: 100%;
  padding-left: 0;
}

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

.flexnav li ul li a {
  display: block;
  background: #eeeeee;
  padding-left: 1.96em;
}

.flexnav .touch-button {
  position: absolute;
  z-index: 999;
  top: 3em;
  right: 0;
  left: 0;
  margin: 0 auto;
  display: inline-block;
  width: 50px;
  height: 47px;
  text-align: center;
  background: transparent;
  -webkit-transform: translateY(-100%) translateZ(0);
  transform: translateY(-100%) translateZ(0);
  -webkit-backface-visibility: hidden;
}

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

.flexnav .touch-button:focus,
.flexnav .touch-button *:focus {
  outline: none;
}

.flexnav .touch-button .navicon {
  position: relative;
  top: 1.1em;
  font-size: 12px;
}

.flexnav .touch-button .navicon svg {
  height: 20px;
  width: 20px;
  border: none;
  background: transparent;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  fill: #514e48;
}

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

.active .flexnav .touch-button .navicon svg,
.active .flexnav .touch-button .navicon svg:focus {
  outline: none;
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
}

/*--- Hamburger Menu Button ---*/

.menu-button {
  position: relative;
  display: block;
  cursor: pointer;
  text-align: right;
  text-transform: uppercase;
  background: #292c34;
  width: 25%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.menu-button .touch-button {
  position: relative;
  z-index: 999;
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  background: transparent;
  -webkit-transition: -webkit-transform .2s .2s ease-in-out;
  transition: -webkit-transform .2s .2s ease-in-out;
  -o-transition: transform .2s .2s ease-in-out;
  transition: transform .2s .2s ease-in-out;
  transition: transform .2s .2s ease-in-out, -webkit-transform .2s .2s ease-in-out;
}

.menu-button .touch-button .navicon {
  display: block;
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: background-color .2s;
  -o-transition: background-color .2s;
  transition: background-color .2s;
}

.menu-button .touch-button .navicon:before,
.menu-button .touch-button .navicon:after {
  content: '';
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
}

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

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

.menu-button .touch-button.active {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

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

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

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

.no-touchevents .flexnav .touch-button,
.no-touch .flexnav .touch-button {
  display: none;
}

.subnav {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+4,ffffff+100 */
  background: #eeeeee;
  /* Old browsers */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(4%, #eeeeee), to(#ffffff));
  background: -o-linear-gradient(top, #eeeeee 4%, #ffffff 100%);
  background: -webkit-linear-gradient(top, #eeeeee 4%, #ffffff 100%);
  background: linear-gradient(to bottom, #eeeeee 4%, #ffffff 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  padding: 1rem 0 10rem 0;
  position: relative;
}

.subnav h2 {
  font-weight: bold;
  margin: 0;
  text-align: center;
  text-transform: none;
  font-size: 32px;
  font-family: 'Quattrocento Sans', sans-serif;
}

.subnav h2 a {
  text-decoration: none;
  display: block;
  color: #4c4e53;
}

.subnav ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

.subnav ul li a {
  padding: .5rem .5rem;
  line-height: 1;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  display: block;
}

.subnav ul li>a {
  position: relative;
  padding: 0.75rem 0.5rem 0.75rem 2.5rem;
  margin-left: -.625rem;
}

.subnav ul li>a::before {
  content: '';
  display: block;
  position: absolute;
  bottom: -.625rem;
  left: .25rem;
  z-index: -1;
  width: 0;
  height: 0;
  border-bottom: .5rem solid transparent;
  /* left arrow slant */
  border-top: .5rem solid transparent;
  /* right arrow slant */
  border-left: .5rem solid #a8812e;
  /* bottom, add background color here */
  font-size: 0;
  line-height: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.subnav ul li:hover>a {
  background-color: #d2ad5c;
  color: #ffffff;
}

.subnav ul li:hover>a::before {
  opacity: 1;
}

.subnav ul li ul {
  display: none;
}

.subnav ul li ul a {
  padding: .875rem 1.25rem;
  color: #6f6f6f;
}

.subnav ul li ul a:hover {
  color: #45b0e2;
}

@media only screen and (min-width: 40rem) {
  .flexnav .touch-button {
    width: 35px;
    height: 48px;
  }
  .flexnav {
    overflow: visible;
    max-height: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; */
    -ms-flex-pack: distribute;
        justify-content: space-around;
    padding: 0 1rem;
  }
  .flexnav>li {
    max-width: 14rem;
  }
  .flexnav>li>a {
    text-align: center;
  }
  .flexnav>li:nth-child(1) {
    margin-right: auto;
  }
  .flexnav>li:nth-child(2) {
    margin-left: auto;
  }
  .flexnav li {
    position: relative;
    display: none;
    float: left;
    overflow: visible;
    padding: 0;
    list-style: none;
    background: none;
  }
  .flexnav li:first-child,
  .flexnav li:last-child{
    display: block;
  }
  .flexnav li:hover>a {
    color: #292c34;
  }
  .flexnav li a {
    overflow: visible;
    line-height: 1.4;
    font-size: 2vw;
    padding: 2.75rem 0.75rem;
    color: #47423f;
    background: none;
    /* letter-spacing: 3px; */
  }
  .flexnav li>ul {
    position: absolute;
    top: auto;
    left: 50%;
    margin: 0 auto;
    padding: 0;
    min-width: 200px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .flexnav li>ul li {
    float: none;
    width: 100%;
  }
  .flexnav li ul li>ul {
    top: 0;
    margin-left: 100%;
  }
  .flexnav li ul li a {
    font-size: 14px;
    padding: .75rem 1.125rem;
    color: #999999;
    border-bottom: 1px solid #dddddd;
    background: #ffffff;
  }
  .flexnav li ul li a:hover {
    color: #999999;
    background: #eeeeee;
  }
  .flexnav>li:first-child>ul {
    left: 0;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  .flexnav>li:last-child>ul {
    left: auto;
    right: 0;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  .menu-button {
    display: none;
  }
  .subnav {
    padding-top: 1.75rem;
  }
  .subnav h2 {
    /* text-align: left; */
  }
  .subnav h2 a {
    padding-left: 1.875rem;
  }
}

@media only screen and (min-width: 64rem) {
  .flexnav {
    padding: 0 5vw;
  }
  .flexnav li a {
    font-size: 1rem;
  }
  .flexnav>li {
    max-width: 14rem;
  }
  .flexnav>li>a {
    padding: 2.75rem 1vw;
    font-size: 1.25rem;
  }
  .flexnav .touch-button {
    width: 30px;
  }
}

@media only screen and (min-width: 68.75rem) {
  .flexnav>li {
    max-width: 15rem;
  }
  .flexnav>li>a {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media only screen and (min-width: 87.5rem) {
  .flexnav>li {
    max-width: 22rem;
  }
  .flexnav>li>a {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}