body {
  background-color: var(--surface-base);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  padding-top: 6.25rem;
  transition: all 0.5s;
}

adr-navbar {
  top: 0rem;
  position: fixed;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 3;
  transform: translateY(0rem);
  opacity: 1;
  transition: all 1s;
}
.visiable {
  transform: translateY(-11.25rem);
}
.visiable-meta {
  position: fixed;
  width: 100%;
}
adr-meta-nav {
  z-index: 2;
  position: relative;
  opacity: 1;
  transform: translateY(0rem);
  transition: transform 1s;
}

main {
  flex: 1;
  margin: auto;
  width: 100%; /* temporary */

  @media only screen and (max-width: 1200px) {
    width: 100%;
  }
}

adr-navbar {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0 3.75rem;
  box-sizing: border-box;

  @media only screen and (max-width: 1200px) {
    width: 100%;
    margin-top: 0px;
    padding: 1rem;
  }
}

/*
This is for the news article. ASP.NET CSS isolation is fundamentally broken
and does not apply namespaced attributes [b-.*] equally to all HTML tags.
*/
#article-body {
  font: var(--text-regular-normal);

  blockquote {
    font: var(--subheading-desktop-s1);
    margin: 30px 120px 30px 0;
    padding-left: 40px;
    border-left: 3px solid var(--brand-accents-blue);
  }
  h2 {
    font: var(--heading-desktop-h2);
  }
  h3 {
    font: var(--heading-desktop-h3);
  }
  h4 {
    font: var(--heading-desktop-h4);
  }
  h5 {
    font: var(--heading-desktop-h5);
  }
  h6 {
    font: var(--heading-desktop-h6);
  }
  img {
    max-width: 100%;
  }
  figure {
    margin-block: 3rem;
    margin-inline: 0;

    img {
      border: 1px solid var(--surface-offset-darker);
    }
    figcaption {
      font: var(--text-small-normal);
      color: var(--base-neutral-600);
      padding-left: 8px;
      border-left: 2px solid black;
    }
  }

  @media screen and (max-width: 1200px) {
    blockquote {
      font: var(--subheading-mobile-s1);
      margin-right: 10px;
    }
    h2 {
      font: var(--heading-mobile-h2);
    }
    h3 {
      font: var(--heading-mobile-h3);
    }
    h4 {
      font: var(--heading-mobile-h4);
    }
    h5 {
      font: var(--heading-mobile-h5);
    }
    h6 {
      font: var(--heading-mobile-h6);
    }
  }
}

/*
This is for the Privacy page (and other pages using the same template)
*/
#privacy-body {
  word-wrap: break-word;
  font: var(--text-regular-normal);

  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    margin-block: 1rem;
    padding: 0;
  }
  h2 {
    font: var(--heading-desktop-h2);
  }
  h3 {
    font: var(--heading-desktop-h3);
  }
  h4 {
    font: var(--heading-desktop-h4);
  }
  h5 {
    font: var(--heading-desktop-h5);
  }
  h6 {
    font: var(--heading-desktop-h6);
  }

  @media screen and (max-width: 1200px) {
    blockquote {
      font: var(--subheading-mobile-s1);
      margin-right: 10px;
    }
    h2 {
      font: var(--heading-mobile-h2);
    }
    h3 {
      font: var(--heading-mobile-h3);
    }
    h4 {
      font: var(--heading-mobile-h4);
    }
    h5 {
      font: var(--heading-mobile-h5);
    }
    h6 {
      font: var(--heading-mobile-h6);
    }
  }
}
.skip-link {
  position: absolute;
  top: -15.75rem; /* Hide it off-screen */
  left: 8rem;
  z-index: 100;
}

/* Show link when focused */
.skip-link:focus {
  top: -4rem;
  position: absolute;
}

/* Chat Bot CSS*/
.grecaptcha-badge {
  z-index: 3;
}
.chatbot-btn {
  z-index: 3;
  background: rgba(74, 30, 200, 1);
  border: none;
  color: #fff;
  padding: 13px 7px 13px 18px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  border-radius: 0.25rem;
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
}
.chatbot-btn spam {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  width: 0;
}

.chatbot-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.5);
  background: rgba(74, 30, 200, 1);
  border: none;
  color: #fff;
  spam {
    -webkit-transition: width 0.5s ease-in-out;
    -moz-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
    width: 100%;
    margin-right: 0.5rem;
  }
}

.chatbot-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.chatbot-btn:hover .bi-stars {
  animation: star-grow 1s ease-in-out infinite;
}

@keyframes star-grow {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 4; /* Sit on top */
  padding-top: 2rem; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
.model-iframe {
  height: -webkit-fill-available;
  max-height: 95%;
}
/* Modal Content */
.modal-content {
  height: -webkit-fill-available;
  background-color: #fefefe;
  border-radius: 0.25rem;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  height: 80%;
  max-width: var(--desktop-max-width);
  max-height: var(--desktop-max-width);
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.vertical-accord-bodytext {
  font: var(--text-regular-normal);
  @media only screen and (max-width: 699px) {
    font: var(--text-small-normal);
  }
}
.small {
  font: var(--text-small-normal);
  @media only screen and (max-width: 699px) {
    font: var(--text-tiny-normal);
  }
}
.vertical-accord-bodytext.light a {
  color: var(--base-red-900, #c52213);
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: var(--base-red-900, #db2817);
  text-decoration-thickness: 15%;
  text-underline-offset: 22%;
  text-underline-position: from-font;
}

.vertical-accord-bodytext.dark a {
  color: var(--base-green-100, #dcfdeb);
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: var(--base-green-100, #b9bdfd);
  text-decoration-thickness: 15%;
  text-underline-offset: 22%;
  text-underline-position: from-font;
}
.vertical-accord-bodytext.margin-top {
  margin-top: 1.5rem;
}
.vertical-accord-bodytext {
  ol,
  p {
    margin-top: 0.25rem;
  }
}

iframe {
  max-width: 100%;
}

/* styles for all custom elements */
adr-article,
adr-article-body,
adr-article-footer,
adr-banner,
adr-breadcrumbs,
adr-burger-menu,
adr-button,
adr-card-body-text,
adr-card-content-wrapper,
adr-card-headline,
adr-card-subheading,
adr-card-title,
adr-carousel,
adr-contactus,
adr-copy-paste-card,
adr-dropdown,
adr-featured-article-card,
adr-featured-card,
adr-footer,
adr-footer-link-group,
adr-heading,
adr-hero-header-illustrative-image,
adr-hero-header-second-third-level,
adr-hero-header-sub-title-section,
adr-hero-header-title-section,
adr-hero-photo-header-image,
adr-icon-link-card,
adr-icon-link-cards-wrapper,
adr-icon-tabler,
adr-image-link-card,
adr-image-link-card-container,
adr-informative-card,
adr-informative-card-wrapper,
adr-input,
adr-label,
adr-link-list-component,
adr-list-card,
adr-list-card-wrapper,
adr-map-location-container,
adr-meta-nav,
adr-meta-nav-select,
adr-navbar,
adr-navigationlinks,
adr-news-blog-filter,
adr-news-card,
adr-news-cards-wrapper,
adr-notification-message-box,
adr-pagination,
adr-people-card,
adr-people-card-wrapper,
adr-podcast-cards-wrapper,
adr-rules-and-forms-card,
adr-rules-and-forms-cards-wrapper,
adr-searchbar,
adr-searchbox,
adr-select,
adr-single-card-wrapper,
adr-stat-card,
adr-stat-cards-wrapper,
adr-table-of-contents,
adr-tagline-header,
adr-tagline-header-news-card,
adr-tagline-header-with-news,
adr-tagline-header-wrapper,
adr-team-card-wrapper,
adr-textarea,
adr-toggle,
adr-vertical-accordion,
adr-vertical-accordion-container,
card-layout-wrapper,
text-box-component {
  /* prevent flash of unstyled content (FOUC) */
  &:not(:defined) {
    display: inline-block;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
}
