html {
  font-size: 0.625em;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #ffffff;
}

.adl-signin__link,
.adl-signin__logout-link {
  color: #fff !important;
}

#aafp-body .white-background {
  background-color: transparent !important;
}

#aafp-body {
  font-family: Roboto, sans-serif !important;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#aafp-body .scroll-top.floating {
  display: none;
}

#aafp-body hgroup.horizontal-gradient,
#aafp-body h1.horizontal-gradient {
  background: none !important;
  border: none !important;
}

#aafp-body .block-drop-shadow,
#aafp-body .block-drop-shadow.nine {
  background-image: none;
}

#aafp-body:not(.template-blogarticle):not(.template-bloglandingpage):not(.template-standardcontent):not(.template-standardpage)
  section#content:not(.article-page):not(.blog) {
  margin: 0 auto;
  text-align: left;
  width: 100%;
}

#aafp-body section .horizontal-gradient h1,
#aafp-body section .horizontal-gradient h1.secondary,
#aafp-body section .horizontal-gradient h2,
#aafp-body section .horizontal-gradient h2.secondary,
#aafp-body section .horizontal-gradient h3,
#aafp-body section .horizontal-gradient h3.secondary,
#aafp-body section .horizontal-gradient h4,
#aafp-body section .horizontal-gradient h4.secondary,
#aafp-body section .horizontal-gradient h5,
#aafp-body section .horizontal-gradient h5.secondary,
#aafp-body section .horizontal-gradient h6,
#aafp-body section.horizontal-gradient h6.secondary {
  display: block;
  padding: 0;
  margin: 0;
  margin-bottom: 0.3em;
  line-height: 1.1em;
}

#aafp-body .page-wrap h3 {
  font-size: 2rem;
  margin-top: 6px;
  margin-bottom: 6px;
}
#aafp-body .page-wrap h4 {
  font-size: 1.6rem;
  margin-top: 4px;
  margin-bottom: 4px;
}

#aafp-body select {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
}

#aafp-body ul.basic-list {
  margin-bottom: 1em;
  list-style: disc;
}

#aafp-body .aafp-brand-overrides {
  font-family: Roboto, sans-serif;
}

.aafp-brand-overrides .adl-search__nav-menu--hide {
  display: none !important;
}

.aafp-brand-overrides .adl-footer--copyright p {
  font-family: Roboto, sans-serif !important;
  font-weight: 300;
  color: #63666a !important;
  font-size: 12px !important;
}

.aafp-brand-overrides .adl-footer--copyright a {
  font-family: Roboto, sans-serif !important;
  font-weight: 300;
  color: #63666a !important;
  font-size: 12px !important;
  text-decoration: underline !important;
}

.aafp-brand-overrides .adl-secondary-nav__list {
  padding: 0 0 2em 1.5em !important;
}

.aafp-brand-overrides a.adl-universal-nav__link {
  font-size: 15px !important;
  font-weight: 300;
  font-family: Roboto, sans-serif;
}

.aafp-brand-overrides a.adl-universal-nav__link--active {
  font-weight: 700;
}

.aafp-brand-overrides a.adl-global-nav__link {
  font-size: 18px;
  font-weight: 400;
  font-family: Roboto, sans-serif;
}

.aafp-brand-overrides .adl-global-nav__menu-toggle {
  box-shadow: none !important;
}

.aafp-brand-overrides a.adl-secondary-nav__header-link {
  font-weight: 700;
  color: #1195a5;
}

.aafp-brand-overrides a.adl-secondary-nav__header-link:hover {
  color: #0d7a9e;
}

.aafp-brand-overrides a.adl-flyout-nav__link {
  font-size: 16px;
  font-weight: 300;
  font-family: Roboto, sans-serif;
  color: #09142a;
  line-height: 1.5;
}
aafp-nav-item.adl-secondary-nav__nav-item:hover,
aafp-nav-item.adl-secondary-nav__nav-item:hover a.adl-flyout-nav__link {
  font-weight: 400;
  text-shadow: 0.1rem 0 0 #09142a;
}

@media (max-width: 601px) {
  .aafp-brand-overrides .adl-universal-nav__link {
    font-size: 12px !important;
  }
}

.adl-flyout-nav__link--chevron-back,
.adl-nav-item--inactive {
  display: none;
}
