.header-wrap {
  background-color: #fff;
}
#masthead {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 2em 1em 1em 1em;
  max-width: calc(1120px + 2em);
  color: #0d3d60;
  background-color: #ffffff;
  font-family: sans-serif;
}
@media (min-width: 1025px) {
  #masthead {
    -webkit-box-align: unset;
    -moz-box-align: unset;
    -ms-flex-align: unset;
    -webkit-box-align: unset;
    -ms-flex-align: unset;
    align-items: unset;
    padding: 2em 1em;
  }
}
#masthead > div img {
  margin-left: 1em;
  width: 100%;
  max-width: 240px;
}
#masthead > div:last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  justify-content: space-between;
}
#masthead > div:last-child form {
  display: none;
  padding-right: 1em;
}
@media (max-width: 1025px) {
  #masthead > div:last-child form {
    margin-top: 1.5em;
    margin-left: 1em;
  }
}
#masthead > div:last-child form input[type="submit"] {
  display: none;
}
@media (min-width: 1025px) {
  #masthead > div:last-child form {
    display: inline-block;
    margin-left: auto;
  }
  #masthead #primary-menu form {
    display: none !important;
  }
}
#masthead > div:last-child form input[type="search"] {
  border: none;
  padding: 0.5em 0.5em 0.5em 2.5em;
  background-color: #e5e5e5;
}
#masthead ::-ms-input-placeholder { /* Edge 12-18 */
  font-style: italic;
}
#masthead ::placeholder {
  font-style: italic;
}
#masthead > div:last-child form input[type="search"]:focus {
  outline: none;
}
#masthead > div:last-child form label {
  display:inline-block;
  position: relative
}
@media (max-width: 1025px) {
  #masthead > div:last-child form label {
    width: 100%;
  }
  #masthead > div:last-child form input[type="search"] {
    width: 100%;
  }
}
#masthead > div:last-child form label:after {
  font-family: 'FontAwesome';
  content: '\f002';
  position: absolute;
  left: 0.75em;
  top: 50%;
  transform: translateY(-50%);
  color: #666666;
}

#main-nav-toggle {
  position: relative;
  z-index: 99999;
  border: none;
  margin-left: auto;
  width: 40px;
  height: 45px;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}
@media (min-width: 1025px) {
  #main-nav-toggle {
    display: none;
  }
}
#main-nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  border-radius: 2px;
  width: 100%;
  height: 3px;
  background: #000000;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
#main-nav-toggle span:nth-child(1) {
  top: 0px;
}
#main-nav-toggle span:nth-child(2), #main-nav-toggle span:nth-child(3) {
  top: 12px;
}
#main-nav-toggle span:nth-child(4) {
  top: 24px;
}
#main-nav-toggle.open span:nth-child(1) {
  top: 18px;
  left: 50%;
  width: 0%;
}
#main-nav-toggle.open span:nth-child(2) {
  transform: rotate(45deg);
}
#main-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
}
#main-nav-toggle.open span:nth-child(4) {
  top: 18px;
  left: 50%;
  width: 0%;
}
.main-navigation {
  margin-top: 1em;
}
.main-navigation ul {
  display: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0 1.5em;
  width: 100%;
  background-color: #ffffff;
  list-style: none;
}
@media (min-width: 1025px) {
  .main-navigation ul {
    position: relative;
  }
}
.main-navigation ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
}
@media (min-width: 1025px) {
  .main-navigation ul li {
    display: inline-block;
  }
}
.main-navigation ul li.current-menu-ancestor > a,
.main-navigation ul li.current-menu-parent > a,
.main-navigation ul li.current-menu-item > a {
  text-decoration: underline;
}
@media (min-width: 1025px) {
  .main-navigation ul li.current-menu-ancestor > a,
  .main-navigation ul li.current-menu-parent > a,
  .main-navigation ul li.current-menu-item > a {
    color: #fff;
    background-color: #0d3d60;
    text-decoration: none;
  }
}
.main-navigation ul li a {
  display: block;
  width: 100%;
  padding: 0.5em 1em;
  color: #0d3d60;
  text-decoration: none;
}
@media (min-width: 1025px) {
  .main-navigation ul li a {
    width: auto;
    white-space: nowrap;
  }
}
@media (min-width: 1025px) {
  .main-navigation ul li:hover > a {
    color: #ffffff;
    background-color: #0d3d60;
  }
}
.main-navigation > ul {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 100;
  padding-bottom: 1em;
  border-bottom: 1px solid #0d3d60;
}
@media (min-width: 1025px) {
  .main-navigation > ul {
    position: relative;
    top: unset;
    display: block;
    /* padding-bottom: 0; */
    padding: 0;
    border-bottom: none;
  }
}
.main-navigation .menu-item-has-children > a {
  flex: 1;
}
@media (min-width: 1025px) {
  .main-navigation .menu-item-has-children i.fa-plus,
.main-navigation .menu-item-has-children i.fa-minus {
    display: none;
  }
}
.main-navigation .menu-item-has-children i.fa-plus:hover,
.main-navigation .menu-item-has-children i.fa-minus:hover {
  cursor: pointer;
}
.main-navigation .menu-item-has-children ul {
  display: none;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  width: auto;
}
@media (min-width: 1025px) {
  .main-navigation .menu-item-has-children ul {
    position: absolute;
    left: 0;
  }
  .main-navigation > ul li:nth-last-child(2) ul {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1025px) {
  .main-navigation .menu-item-has-children ul {
    border: 1px solid #0d3d60;
    padding: 0.5em;
  }
}
.main-navigation .menu-item-has-children ul li {
  display: block;
  margin: 0;
}
.main-navigation .menu-item-has-children ul li a {
  display: block;
  padding: 0.5em 1em;
}
@media (min-width: 1025px) {
  .main-navigation .menu-item-has-children:hover ul {
    display: block;
    min-width: 100%;
  }
}
@media (max-width: 740px) {
  #container {
    padding-top: 0;
  }
}
.flexslider {
  border: 1px solid #ccc;
  box-shadow: none;
}
