@import "../global.css";

div#root {
  --primary: #10497B;
  --primary-text: #10497B;
  --primary-svg: #10497B;
}

/* DBA logo */
div#root .fwm-team-header-entity-logo-image {
  width: 18.75rem;
}

/* Connect Bar Hide */
.fwm-utility-nav-header {
  display: none !important;
}

/* Primary H2 */
.fwm-section-header .fwm-section-header-hgroup .fwm-section-header-title-text {
  font-weight: 300;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1875rem;
}
.fwm-section-header .fwm-section-header-hgroup::after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 0.25rem;
  background: var(--secondary);
  margin: 0.75rem 0 0.75rem;
}

.fwm-lightTheme .fwm-section-header .fwm-section-header-hgroup .fwm-section-header-title-text {
  color: var(--primary-text);
}

.fwm-text-align-center.fwm-section-header .fwm-section-header-hgroup::after {
  margin: 0.75rem auto;
}

@media (min-width: 48rem) {
  .fwm-section-header hgroup.fwm-section-header-hgroup .fwm-section-header-title-text {
    font-size: 2.5rem;
  }
}
@media (min-width: 64rem) {
  .fwm-section-header hgroup.fwm-section-header-hgroup .fwm-section-header-title-text {
    font-size: 3rem;
  }
}
/* Primary H3 */
h3.fwm-primary-h3.fwm-primary-h3 {
  line-height: 1.2;
  font-weight: 300;
  font-size: 1.35rem;
}

.fwm-lightTheme h3.fwm-primary-h3.fwm-primary-h3 {
  color: var(--primary);
}

@media (min-width: 64rem) {
  h3.fwm-primary-h3.fwm-primary-h3 {
    font-size: 1.4rem;
  }
}
/* Sequential Headers */
.fwm-sequence-panel .fwm-sequence-panel-item-eyebrow-text {
  font-weight: 700;
  padding-bottom: 0;
}

.fwm-lightTheme.fwm-sequence-panel .fwm-sequence-panel-item-headline-text {
  color: var(--primary-text);
}

/* Hero Gradient/Box */
.fwm-hero-gradient.fwm-hero-box {
  height: auto;
}
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-heading-container {
  min-height: 37.5rem;
}
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup {
  position: relative;
}
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h1,
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
  text-transform: uppercase;
  letter-spacing: 0.375rem;
  font-size: 2.5em;
  font-weight: 300;
}

@media (min-width: 48rem) {
  .fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container {
    margin-top: 13rem;
    padding: 1.875rem 3.25rem;
  }
  .fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h1,
  .fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
    font-size: 4rem;
  }
}
@media (min-width: 64rem) {
  .fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h1,
  .fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading h2 {
    font-size: 5rem;
  }
}
/* Dynamic Cards (lightTheme only) [Second Opinion] */
.fwm-lightTheme.fwm-card-dynamic-set {
  position: relative;
}
.fwm-lightTheme.fwm-card-dynamic-set::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 35rem;
  width: 33rem;
  background: url("https://media.northwesternmutual.com/sites/images/d4cdc134-1eae-48fe-99ac-643af8a10d1b.png?width=original") no-repeat center center/contain;
  opacity: 0.08;
  z-index: 1;
}
.fwm-lightTheme.fwm-card-dynamic-set * {
  position: relative;
  z-index: 5;
}

.fwm-card-dynamic-set .fwm-nestable-row-selector-3 .fwm-nestable-field-container:last-child:nth-child(4) {
  grid-column: -7/-1;
}

/* Photo Overlay - Narrow */
@media (max-width: 48rem) {
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme .fwm-photo-overlay-content {
    border: 0.125rem solid var(--secondary);
  }
}
@media (min-width: 48rem) {
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)) .fwm-photo-overlay-image {
    position: relative;
    z-index: 10;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)) .fwm-photo-overlay-content {
    position: relative;
    z-index: 12;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)) .fwm-photo-overlay-image {
    position: relative;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)) .fwm-photo-overlay-image::after {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: 0.625rem;
    left: 0.625rem;
    height: 35%;
    width: 40%;
    background: url("https://media.northwesternmutual.com/sites/images/530ff653-ceb0-4414-bc32-f43138a3cf18.png?width=original") no-repeat bottom left/contain;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom))::before {
    content: "";
    display: block;
    width: 60%;
    height: 90%;
    position: absolute;
    left: -2%;
    top: 50%;
    z-index: 1;
    transform: translate(0, -50%);
    border: 0.125rem solid var(--primary);
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom))::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 75%;
    background: url("https://media.northwesternmutual.com/sites/images/b8c36357-439d-4e3a-95f1-9763fd6c6c8a.jpeg?width=original") repeat center center/contain;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)).fwm-media-right::before {
    left: initial;
    right: -2%;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)).fwm-media-right::after {
    right: 0;
    left: initial;
  }
  .fwm-photo-overlay.fwm-column-thirds.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)).fwm-media-right .fwm-photo-overlay-image::after {
    left: initial;
    right: 0.625rem;
  }
}