@import "../global.css";

div#root {
  --primary-svg: var(--gray-dark-20);
  --tertiary: #00487c;
  --accordion-fill-light-theme: var(--gray-dark-20);
}

/* 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: bold;
  font-size: 2rem;
  padding-bottom: 1rem;
  border-bottom: 0.125rem solid var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}
.fwm-section-header .fwm-section-header-hgroup::after {
  display: none;
}

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

.fwm-section-header.fwm-text-align-center .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;
  }
}
/* Contact Map Header */
.fwm-team-map-title.fwm-section-header-title-text {
  font-weight: bold;
  font-size: 2rem;
  padding-bottom: 1rem;
  border-bottom: 0.125rem solid var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
}

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

@media (min-width: 48rem) {
  .fwm-team-map-title.fwm-section-header-title-text {
    font-size: 2rem;
  }
}
@media (min-width: 64rem) {
  .fwm-team-map-title.fwm-section-header-title-text {
    font-size: 3rem;
  }
}
/* Primary H3 */
h3.fwm-primary-h3.fwm-primary-h3 {
  color: var(--secondary);
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 1.15rem;
}

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

@media (min-width: 64rem) {
  h3.fwm-primary-h3.fwm-primary-h3 {
    font-size: 1.25rem;
  }
}
/* Accordion Headers */
summary.fwm-pivot-accordion-summary span[class*=SpanStyled],
div.accordion-container .accordion-item-title,
details.mce-accordion summary {
  font-weight: bold;
}

.fwm-lightTheme summary.fwm-pivot-accordion-summary span[class*=SpanStyled],
.fwm-lightTheme div.accordion-container .accordion-item-title,
.fwm-lightTheme details.mce-accordion summary {
  color: var(--primary-text) !important;
}

/* switch to border-bottom */
summary.fwm-pivot-accordion-summary,
details.mce-accordion,
div.accordion-container {
  border-top: none;
  border-bottom: 1px solid var(--secondary);
}

.fwm-pivot-accordion-item:first-of-type summary.fwm-pivot-accordion-summary,
details.mce-accordion:first-of-type summary,
div.accordion-container:first-of-type .accordion-item-title {
  padding-top: 0;
}

summary.fwm-pivot-accordion-summary {
  margin-bottom: 1.5rem;
}

div.accordion-container:first-of-type button {
  align-items: start;
}

details.mce-accordion:first-of-type summary::after {
  top: 0;
  transform: initial;
}

/* Rich Text H2 */
span.fwm-rich-text-editor h2 {
  font-size: 1.5rem;
  font-weight: bold;
  padding-bottom: 1rem !important;
  margin-bottom: 1.5rem;
  border-bottom: 0.125rem solid var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

span.fwm-rich-text-editor h2:last-child {
  margin-bottom: 0;
}

@media (min-width: 48rem) {
  span.fwm-rich-text-editor h2 {
    font-size: 1.75rem;
  }
}
@media (min-width: 64rem) {
  span.fwm-rich-text-editor h2 {
    font-size: 2rem;
  }
}
/* Rich Text H5 */
span.fwm-rich-text-editor h5 {
  font-size: 1.5rem;
  font-weight: bold;
}

@media (min-width: 48rem) {
  span.fwm-rich-text-editor h5 {
    font-size: 1.75rem;
  }
}
@media (min-width: 64rem) {
  span.fwm-rich-text-editor h5 {
    font-size: 2rem;
  }
}
/* Rich Text H6 */
span.fwm-rich-text-editor h6 {
  font-size: 0.9rem !important;
  font-weight: 700;
}

span.fwm-rich-text-editor h6:has(+ h6) {
  padding-bottom: 0;
}

/* Hero Gradient/Box */
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container {
  max-width: 71rem;
}
.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 h2 {
  padding-bottom: 0;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
}
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-heading:not(:has(+ .fwm-hero-large-supporting-text)) h2 {
  border-bottom: 1px solid var(--white);
}
.fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-supporting-text p {
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  font-weight: 300;
}

@media (min-width: 48rem) {
  .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: 4.5rem;
  }
}
@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: 5.5rem;
  }
  .fwm-hero-gradient.fwm-hero-box .fwm-hero-large-text-container hgroup .fwm-hero-large-supporting-text p {
    font-size: 1.75rem;
  }
}
/* Border Cards [Community] */
section.fwm-nestable.fwm-card-border-set .fwm-card-set-item {
  border: 0.125rem solid var(--gray-dark-20);
  padding: 1rem;
}
section.fwm-nestable.fwm-card-border-set .fwm-card-image {
  border: 0.125rem solid var(--gray-dark-20);
}

/* Flip Cards */
.fwm-card-flip-set .fwm-nestable-content {
  padding: 1rem;
  background: var(--gray-dark-20);
}
.fwm-card-flip-set .fwm-nestable-content .nmx-col *:not(.fwm-card-cta-text):not(.fwm-card-cta-link) {
  color: var(--white);
  --primary-svg: var(--white);
}

@media (min-width: 48rem) {
  .fwm-card-flip-set .fwm-nestable-content {
    padding: 3rem;
  }
}
@media (min-width: 64rem) {
  .fwm-card-flip-set .fwm-nestable-content {
    padding: 3rem;
  }
  .fwm-card-flip-set .fwm-nestable-row-selector-3 {
    gap: 0 !important;
  }
  .fwm-card-flip-set .fwm-nestable-row-selector-3 .fwm-nestable-field-container:nth-child(3n+4):nth-last-child(2) {
    grid-column: 1/4;
  }
  .fwm-card-flip-set .fwm-nestable-row-selector-3 .fwm-nestable-field-container:last-child:nth-child(3n+5) {
    grid-column: 4/-1;
  }
}
/* Dynamic Cards 1-col [Testimonials] */
section.fwm-lightTheme.fwm-card-dynamic-set.fwm-card-set .fwm-nestable-field-container {
  background: var(--gray-dark-20);
  padding: 1rem;
  border-radius: 0.625rem;
}
section.fwm-lightTheme.fwm-card-dynamic-set.fwm-card-set .fwm-nestable-field-container *:not(.fwm-card-cta-text):not(.fwm-card-cta-link) {
  color: var(--white);
  --primary-svg: var(--white);
}
section.fwm-lightTheme.fwm-card-dynamic-set.fwm-card-set .fwm-nestable-field-container *:not(.fwm-card-cta-text):not(.fwm-card-cta-link).text-primary {
  color: var(--secondary);
}

@media (min-width: 48rem) {
  section.fwm-lightTheme.fwm-card-dynamic-set.fwm-card-set .fwm-nestable-field-container {
    padding: 2rem;
  }
}
/* Photo Overlay - Wide */
@media (max-width: 48rem) {
  .fwm-photo-overlay.fwm-column-halves.fwm-lightTheme .fwm-photo-overlay-content {
    border: 0.125rem solid var(--secondary);
  }
}
@media (min-width: 48rem) {
  .fwm-photo-overlay.fwm-column-halves.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)) {
    position: relative;
  }
  .fwm-photo-overlay.fwm-column-halves.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-halves.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-halves.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom))::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -0.125rem;
    height: 90%;
    width: 60%;
    border: 0.125rem solid var(--secondary);
    z-index: 5;
  }
  .fwm-photo-overlay.fwm-column-halves.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: var(--gray-dark-20);
  }
  .fwm-photo-overlay.fwm-column-halves.fwm-lightTheme.fwm-not-subcomponent:not(:has(.fwm-nestable-header-top)):not(:has(.fwm-nestable-footer-bottom)).fwm-media-right::before {
    right: -0.125rem;
    left: initial;
  }
  .fwm-photo-overlay.fwm-column-halves.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;
  }
}
/* Callout Panel [Home] */
section.fwm-photo-callout-panel.fwm-bg-lightA .fwm-nestable-container {
  background: var(--gray-dark-20);
  z-index: 10;
}
section.fwm-photo-callout-panel.fwm-bg-lightA .fwm-nestable-container * {
  color: var(--white);
}

@media (min-width: 48rem) {
  section.fwm-photo-callout-panel.fwm-bg-lightA {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
  }
  section.fwm-photo-callout-panel.fwm-bg-lightA .fwm-nestable-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  section.fwm-photo-callout-panel.fwm-bg-lightA::before, section.fwm-photo-callout-panel.fwm-bg-lightA::after {
    content: "";
    height: 6rem;
    width: 100%;
    display: block;
    background-color: var(--white);
    position: absolute;
    left: 0;
    z-index: 1;
  }
  section.fwm-photo-callout-panel.fwm-bg-lightA::before {
    bottom: 0;
  }
}
/* Callout Block [Home] */
.fwm-lightTheme.fwm-photo-callout-block-center .fwm-nestable-container {
  max-width: 75rem;
}
.fwm-lightTheme.fwm-photo-callout-block-center .fwm-nestable-container .fwm-section-header {
  max-width: none;
}