/* Standalone header. Not the Divi menu. */
body {
  padding-top: 74px !important;
}
.ap-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background: #102433;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  overflow: visible;
}
.ap-header button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: none;
  margin: 0;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
.ap-header__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 22px;
}
.ap-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}
.ap-header__logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: 240px;
}
.ap-header__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.ap-header__bars,
.ap-header__bars:before,
.ap-header__bars:after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  content: "";
}
.ap-header__bars:before { position: absolute; top: -6px; }
.ap-header__bars:after { position: absolute; top: 6px; }
.ap-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.ap-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-nav__item {
  position: relative;
  list-style: none;
}
.ap-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff !important;
  border: 0;
  padding: 12px 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  font-family: inherit;
  white-space: nowrap;
}
.ap-nav__link:hover,
.ap-nav__item.is-current > .ap-nav__link,
.ap-nav__link[aria-current="page"] {
  color: #8ec8ff !important;
}
.ap-nav__caret {
  display: inline-block;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
.ap-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  z-index: 100001;
}
.ap-nav__sub a {
  display: block;
  padding: 10px 16px;
  color: #102433 !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.ap-nav__sub a:hover,
.ap-nav__sub a[aria-current="page"] {
  background: #e7f3fc;
  color: #0c71c3 !important;
}
.ap-nav__item--drop:hover > .ap-nav__sub,
.ap-nav__item--drop:focus-within > .ap-nav__sub,
.ap-nav__item--drop.is-open > .ap-nav__sub {
  display: block;
}
@media (min-width: 1100px) {
  .ap-nav__list > .ap-nav__item--drop:nth-child(n+2) > .ap-nav__sub {
    left: auto;
    right: 0;
  }
}
.ap-quote {
  display: inline-block;
  margin-left: 8px;
  background: #0c71c3;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 21px;
  padding: 10px 16px;
  white-space: nowrap;
}
.ap-quote:hover { background: #095a9c; }

@media (max-width: 1099px) {
  body { padding-top: 68px !important; }
  .ap-header__bar { padding: 10px 14px; }
  .ap-header__logo img { max-height: 40px; }
  .ap-header__toggle { display: inline-flex; }
  .ap-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 68px);
    overflow: auto;
    background: #102433;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 0 18px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  }
  .ap-header.is-open .ap-nav { display: flex; }
  .ap-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .ap-nav__link {
    width: 100%;
    justify-content: space-between;
    font-size: 18px;
    padding: 14px 18px;
    text-align: left;
  }
  .ap-nav__item--drop:hover > .ap-nav__sub,
  .ap-nav__item--drop:focus-within > .ap-nav__sub {
    display: none;
  }
  .ap-nav__item--drop.is-open > .ap-nav__sub {
    display: block;
  }
  .ap-nav__sub {
    position: static;
    min-width: 0;
    width: 100%;
    background: #0b1b27;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px;
  }
  .ap-nav__sub a {
    color: #fff !important;
    font-size: 16px;
    padding: 12px 18px 12px 32px;
    white-space: normal;
  }
  .ap-nav__sub a:hover,
  .ap-nav__sub a[aria-current="page"] {
    background: #16344a;
    color: #8ec8ff !important;
  }
  .ap-nav__item--drop.is-open > .ap-nav__link .ap-nav__caret {
    transform: rotate(180deg);
  }
  .ap-quote {
    margin: 12px 18px 0;
    text-align: center;
    font-size: 16px;
    padding: 14px 16px;
  }
}

.ap-crumb {
  background: #f4f7fa;
  border-bottom: 1px solid #d7dde3;
  color: #102433;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.ap-crumb__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 22px;
}
.ap-crumb a {
  color: #0c71c3;
  text-decoration: none;
}
.ap-crumb a:hover {
  text-decoration: underline;
}
.ap-crumb [aria-current="page"] {
  color: #102433;
}
.ap-crumb__sep {
  margin: 0 8px;
  color: #6b7c8a;
}
.ap-area {
  background: #fff;
  color: #102433;
  font-family: "Open Sans", Arial, sans-serif;
}
.ap-area__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 22px 72px;
}
.ap-area h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #102433;
}
.ap-area p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}
.ap-area__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.ap-area__list a {
  display: block;
  background: #102433;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 22px 20px;
  border-radius: 8px;
}
.ap-area__list a:hover {
  background: #0c71c3;
}
@media (max-width: 767px) {
  .ap-area h1 { font-size: 32px; }
  .ap-area p { font-size: 16px; }
}

/* Homepage before/after row: three sliders, equal width. */
@media (min-width: 981px) {
  body.home .et_pb_section_4 > .et_pb_row.et_pb_row_5 {
    width: 96% !important;
    max-width: 1640px !important;
    display: flex;
    align-items: flex-start;
  }
  body.home .et_pb_section_4 .et_pb_row_5 > .et_pb_column {
    float: none;
    width: 32% !important;
    margin-right: 2% !important;
  }
  body.home .et_pb_section_4 .et_pb_column_13 {
    margin-right: 0 !important;
  }
  body.home .et_pb_section_4 .et_pb_row_5 .dsm_before_after_image_wrapper {
    aspect-ratio: 453 / 511;
    height: auto !important;
    overflow: hidden;
  }
}

/* Divi scroll-in items stay visible without the Divi script. */
.et_pb_animation_left,
.et_pb_animation_right,
.et_pb_animation_top,
.et_pb_animation_bottom,
.et_pb_animation_fade_in {
  opacity: 1 !important;
  animation: none !important;
}
