/* Bread Crumbs */
.bread_crumbs {
  color: #ce3334;
  font-family: 'Kalam', serif;
}

.bread_crumbs.active {
  font-weight: 800;
}

/* Flexnav Base Styles */
.flexnav, .flexnav ul {
	list-style: none;
} 
.flexnav {
  list-style: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-height: 0;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 9999;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #FFF;
}

.flexnav > * {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.flexnav.opacity {
  opacity: 0;
}

.flexnav.flexnav-show {
  max-height: 2000px;
  opacity: 1;
  padding-top: 2rem;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
}

.flexnav.one-page {
  position: fixed;
  top: 50px;
  right: 5%;
  max-width: 200px;
}

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

.flexnav li a {
  position: relative;
  display: block;
  padding: 0.96em;
  z-index: 2;
  overflow: hidden;
  color: #297aaa;
  text-decoration: none;
  font-weight: 600;
}

.flexnav li a:hover {
  color: #3796cf;
}

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

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

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

.flexnav li ul li a {
  display: block;
}

.flexnav .touch-button {
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: inline-block;
  background: transparent;
  text-align: center;
}

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

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

.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: 16px;
  position: relative;
  top: 1em;
  color: #666;
}

/*-------------------*/
.menu-button {
  position: relative;
  width: auto;
  margin: 0.25rem auto;
  padding: 0 0.5em;
  background: transparent;
  cursor: pointer;
  border: none;
  text-align: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 100;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.25rem;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: sans-serif;
  font-weight: 600;
  color: #297aaa;
  font-family: 'lato';
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
}

.flexnav .touch-button {
  position: absolute;
  z-index: 999;
  top: 12px;
  right: 0;
  width: 25px;
  height: 14px;
  line-height: 1;
  display: inline-block;
  background: transparent;
  text-align: center;
  -ms-transform-origin: center;
  transform-origin: center;
  transition: all 0.3s ease-in-out;
}

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

.flexnav .touch-button.active {
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

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

.flexnav .touch-button .navicon {
  position: relative;
  top: 0;
  left: 0;
  font-size: 1rem;
  color: #297aaa;
  font-style: normal;
  line-height: 1;
}

.menu-button .touch-button {
  background: transparent;
  position: relative;
  z-index: 999;
  top: inherit;
  -ms-transform: translateY(0);
  transform: translateY(0);
  right: 0;
  width: 25px;
  height: 20px;
  display: inline-block;
  text-align: center;
  border-radius: 100%;
  margin: 0 0.5rem;
}

.menu-button .touch-button .navicon {
  display: block;
  position: relative;
  top: 50%;
  left: 0;
  right: 12px;
  height: 2px;
  background: #297aaa;
  transition: background 0.2s;
  border-radius: 0;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.menu-button .touch-button .navicon:before {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #297aaa;
  content: "";
  top: -6px;
  border-radius: 0;
  transition: top 0.3s 0.3s, transform 0.3s 0s;
}

.menu-button .touch-button .navicon:after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #297aaa;
  content: "";
  bottom: -6px;
  border-radius: 0;
  transition: bottom 0.3s 0.3s, transform 0.3s 0s;
}

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

.menu-button .touch-button.active .navicon:before,
.menu-button .touch-button.active .navicon:after {
  transition: top 0.3s 0s, bottom 0.3s 0s, transform 0.3s 0.3s;
}

.menu-button .touch-button.active .navicon:before {
  top: 0;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-button .touch-button.active .navicon:after {
  bottom: 0;
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*************
Subnav Styles
*************/
nav.subnav {
  position: relative;
  background: #FFF;
  height: auto;
  margin: 1rem auto 3rem auto;
  padding: 1.5em 0 2rem 0;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
  background: #FFF;
  position: relative;
  -webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

nav.subnav:before {
  content: "";
  background: url(../images/paper-waves.png) repeat-x center center;
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

nav.subnav:after {
  content: "";
  background: url(../images/paper-waves.png) repeat-x center center;
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 12px;
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

nav.subnav h2 {
  text-align: center;
  line-height: 1.25;
  margin: 0;
}

nav.subnav h2 a {
  color: #3683af;
  text-decoration: none;
  font-weight: 400;
  font-size: 2.25rem;
}

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

.subnav ul:after {
  content: url("../images/star.png");
  position: absolute;
  bottom: 0;
  right: 1rem;
  height: auto;
  width: auto;
}

.subnav ul li {
  padding: 0;
  margin: 0;
}

.subnav ul li:before {
  display: none;
}

.subnav ul li:hover {
  background: #AAA;
}

.subnav ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  line-height: 1;
  border: 1px solid #297aaa;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.subnav ul li:last-child a {
  border-bottom: 1px solid #297aaa;
}

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

.subnav ul li ul {
  display: none;
}

@media all and (min-width: 640px) {
  .flexnav.flexnav-show {
    padding-top: 4rem;
  }

  .flexnav li a{
    padding: 0.96rem 0.5rem;
  }
}

@media all and (min-width: 800px) {
  body.one-page {
    padding-top: 70px;
  }
  .flexnav {
    overflow: visible;
    -ms-flex-direction: row;
    flex-direction: row;
    height: auto;
    max-height: none;
    -ms-flex-pack: end;
    justify-content: flex-end;
    background: transparent;
  }
  .flexnav.opacity {
    opacity: 1;
  }
  .flexnav.one-page {
    top: 0;
    right: auto;
    max-width: 1080px;
  }
  .flexnav li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
    overflow: visible;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
  }
  .flexnav li:hover {
    background: transparent;
  }
  .flexnav li a {
    border-bottom: none;
  }
  .flexnav li > ul {
    position: absolute;
    top: auto;
    left: 50%;
    margin: 0 auto;
    padding: 0;
    min-width: 200px;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0px 0px 10px 10px;
  }
  .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;
  }
  .flexnav .touch-button {
    position: absolute;
    z-index: 999;
    top: 12px;
    left: 75%;
    width: 25px;
    height: 24px;
    line-height: 1;
    display: inline-block;
    background: transparent;
    text-align: center;
    -ms-transform-origin: center;
    transform-origin: center;
    transition: all 0.3s ease-in-out;
  }
  .flexnav .touch-button .navicon {
    position: relative;
    top: 6px;
    left: 0;
    font-size: 1rem;
    color: #297aaa;
    font-style: normal;
  }
  nav.subnav {
    margin: 3rem 1.5rem 3rem 0;
  }
  .no-touchevents .flexnav .touch-button,
  .no-touch .flexnav .touch-button {
    display: none;
  }
}

@media all and (min-width: 1100px){
  .flexnav li a{
    padding: 0.96rem;
  }
}

/* Flexbox Fallback */
.no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav {
  display: inline-block;
}

.no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav li {
  width: 100%;
}

.no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav li ul li {
  width: 100%;
}

@media all and (min-width: 800px) {
  .no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav li {
    width: 20%;
  }
}
