/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

/* Fallback fonts */
@font-face {
  font-family: roboto-fallback;
  size-adjust: 100.06%;
  ascent-override: 95%;
  src: local("Arial");
}

/* ========================================================================
   Base Styles
   ======================================================================== */

html {
  -webkit-font-smoothing: antialiased;
}

body,
html {
  font-family: var(--body-font-family);
  font-size: 62.5%; /* stylelint-disable-line scale-unlimited/declaration-strict-value */
  line-height: 1.5;
}

*,
::after,
::before {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  display: none;
  margin: 0;
  background-color: var(--color-surface-default);
  color: var(--corp-color-text-default);
  text-rendering: optimizespeed;
}

body.appear {
  display: block;
}

img,
picture {
  display: block;
  max-width: 100%;
}

header .header,
footer .footer {
  visibility: hidden;
}

header .header[data-block-status="loaded"],
footer .footer[data-block-status="loaded"] {
  visibility: visible;
}

/* Breadcrumbs are now inside the hero block, not the header */

/* ========================================================================
   Typography (h1 - h6, h1-size - h6-size)
   ======================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font-family-bold);
  font-weight: var(--corp-font-weight-extrabold);
  margin-bottom: var(--corp-spacing-24);
  color: var(--corp-color-text-default);
}

h1 {
  font-size: var(--corp-font-size-30);
  line-height: var(--corp-typography-lineheight-relaxed-xl);
}

h2 {
  font-size: var(--corp-font-size-28);
  line-height: var(--corp-typography-lineheight-relaxed-lg);
}

h3 {
  font-size: var(--corp-font-size-26);
  line-height: var(--corp-typography-lineheight-relaxed-md);
}

h4 {
  font-size: var(--corp-font-size-24);
  line-height: var(--corp-typography-lineheight-relaxed-sm);
}

h5 {
  font-size: var(--corp-font-size-20);
  line-height: var(--corp-typography-lineheight-body-lg);
}

h6 {
  font-size: var(--corp-font-size-28);
  line-height: var(--corp-typography-lineheight-relaxed-lg);
}

p,
dl,
ol,
ul,
pre,
blockquote {
  margin: 0;
  padding: 0;
}

p,
a,
li,
dd,
dt {
  font-size: var(--corp-font-size-16);
  line-height: var(--corp-typography-lineheight-body-sm);
  margin-bottom: 0;
}

p {
  margin-bottom: var(--corp-spacing-30);
}

.h1-size,
.h1-size h2,
.h1-size h3,
.h1-size h4,
.h1-size h5,
.h1-size h6 {
  font-size: var(--corp-font-size-30);
  line-height: var(--corp-typography-lineheight-relaxed-xl);
}

.h2-size,
.h2-size h1,
.h2-size h3,
.h2-size h4,
.h2-size h5,
.h2-size h6,
.h2-size p,
.quote-h2 {
  font-size: var(--corp-font-size-28);
  line-height: var(--corp-typography-lineheight-relaxed-lg);
}

.h3-size,
.h3-size h1,
.h3-size h2,
.h3-size h4,
.h3-size h5,
.h3-size h6,
.h3-size p,
.quote-h3 {
  font-size: var(--corp-font-size-26);
  line-height: var(--corp-typography-lineheight-relaxed-md);
}

.h4-size,
.h4-size h1,
.h4-size h2,
.h4-size h3,
.h4-size h5,
.h4-size h6,
.h4-size p,
.quote-h4 {
  font-size: var(--corp-font-size-24);
  line-height: var(--corp-typography-lineheight-relaxed-sm);
}

.h5-size,
.h5-size h1,
.h5-size h2,
.h5-size h3,
.h5-size h4,
.h5-size h6,
.h5-size p,
.quote-h5 {
  font-size: var(--corp-font-size-20);
  line-height: var(--corp-typography-lineheight-body-lg);
}

.h6-size,
.h6-size h1,
.h6-size h2,
.h6-size h3,
.h6-size h4,
.h6-size h5,
.h6-size p {
  font-size: var(--corp-font-size-28);
  line-height: var(--corp-typography-lineheight-relaxed-lg);
}

@media (width >= 744px) {
  h1 {
    font-size: var(--corp-font-size-40);
    line-height: var(--corp-typography-lineheight-heading-md);
  }

  h2 {
    font-size: var(--corp-font-size-36);
    line-height: var(--corp-typography-lineheight-heading-sm);
  }

  h3 {
    font-size: var(--corp-font-size-32);
    line-height: var(--corp-typography-lineheight-relaxed-3xl);
  }

  h4 {
    font-size: var(--corp-font-size-30);
    line-height: var(--corp-typography-lineheight-relaxed-xl);
  }

  h5 {
    font-size: var(--corp-font-size-28);
    line-height: var(--corp-typography-lineheight-relaxed-lg);
  }

  .h1-size,
  .h1-size h2,
  .h1-size h3,
  .h1-size h4,
  .h1-size h5,
  .h1-size h6 {
    font-size: var(--corp-font-size-40);
    line-height: var(--corp-typography-lineheight-heading-md);
  }

  .h2-size,
  .h2-size h1,
  .h2-size h3,
  .h2-size h4,
  .h2-size h5,
  .h2-size h6,
  .h2-size p,
  .quote-h2 {
    font-size: var(--corp-font-size-36);
    line-height: var(--corp-typography-lineheight-heading-sm);
  }

  .h3-size,
  .h3-size h1,
  .h3-size h2,
  .h3-size h4,
  .h3-size h5,
  .h3-size h6,
  .h3-size p,
  .quote-h3 {
    font-size: var(--corp-font-size-32);
    line-height: var(--corp-typography-lineheight-relaxed-3xl);
  }

  .h4-size,
  .h4-size h1,
  .h4-size h2,
  .h4-size h3,
  .h4-size h5,
  .h4-size h6,
  .h4-size p,
  .quote-h4 {
    font-size: var(--corp-font-size-30);
    line-height: var(--corp-typography-lineheight-relaxed-xl);
  }

  .h5-size,
  .h5-size h1,
  .h5-size h2,
  .h5-size h3,
  .h5-size h4,
  .h5-size h6,
  .h5-size p,
  .quote-h5 {
    font-size: var(--corp-font-size-28);
    line-height: var(--corp-typography-lineheight-relaxed-lg);
  }
}

@media (width >= 1024px) {
  h1 {
    font-size: var(--corp-font-size-64);
    letter-spacing: var(--corp-typography-letterspacing-tight-em-sm);
    line-height: var(--corp-typography-lineheight-display-xl);
  }

  h2 {
    font-size: var(--corp-font-size-56);
    line-height: var(--corp-typography-lineheight-display-xl);
    letter-spacing: var(--corp-typography-letterspacing-tight-em-sm);
  }

  h3 {
    font-size: var(--corp-font-size-48);
    line-height: var(--corp-typography-lineheight-display-sm);
  }

  h4 {
    font-size: var(--corp-font-size-40);
    line-height: var(--corp-typography-lineheight-heading-md);
  }

  h5 {
    font-size: var(--corp-font-size-32);
    line-height: var(--corp-typography-lineheight-relaxed-3xl);
  }

  .h1-size,
  .h1-size h2,
  .h1-size h3,
  .h1-size h4,
  .h1-size h5,
  .h1-size h6 {
    font-size: var(--corp-font-size-64);
    letter-spacing: var(--corp-typography-letterspacing-tight-em-sm);
    line-height: var(--corp-typography-lineheight-display-xl);
  }

  .h2-size,
  .h2-size h1,
  .h2-size h3,
  .h2-size h4,
  .h2-size h5,
  .h2-size h6,
  .h2-size p,
  .quote-h2 {
    font-size: var(--corp-font-size-56);
    line-height: var(--corp-typography-lineheight-display-xl);
    letter-spacing: var(--corp-typography-letterspacing-tight-em-sm);
  }

  .h3-size,
  .h3-size h1,
  .h3-size h2,
  .h3-size h4,
  .h3-size h5,
  .h3-size h6,
  .h3-size p,
  .quote-h3 {
    font-size: var(--corp-font-size-48);
    line-height: var(--corp-typography-lineheight-display-sm);
  }

  .h4-size,
  .h4-size h1,
  .h4-size h2,
  .h4-size h3,
  .h4-size h5,
  .h4-size h6,
  .h4-size p,
  .quote-h4 {
    font-size: var(--corp-font-size-40);
    line-height: var(--corp-typography-lineheight-heading-md);
  }

  .h5-size,
  .h5-size h1,
  .h5-size h2,
  .h5-size h3,
  .h5-size h4,
  .h5-size h6,
  .h5-size p,
  .quote-h5 {
    font-size: var(--corp-font-size-32);
    line-height: var(--corp-typography-lineheight-relaxed-3xl);
  }
}

/* rte body unica custom classes */

.body-unica-32-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--roboto-small-font-family);
  font-size: var(--corp-font-size-20);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-body-xl);
}

.body-unica-26-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--body-font-family);
  font-size: var(--corp-font-size-16);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-body-md);
}

.body-unica-24-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--body-font-family);
  font-size: var(--corp-font-size-18);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-body-lg);
}

.body-unica-20-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--body-font-family);
  font-size: var(--corp-font-size-14);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-body-sm);
}

.body-unica-18-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--body-font-family);
  font-size: var(--corp-font-size-13);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-body-sm);
}

.body-unica-16-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--body-font-family);
  font-size: var(--corp-font-size-12);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-tight-sm);
}

.body-unica-14-reg p {
  color: var(--corp-color-text-default);
  font-family: var(--body-font-family);
  font-size: var(--corp-font-size-12);
  font-weight: var(--corp-font-weight-regular);
  line-height: var(--corp-typography-lineheight-tight-sm);
}

@media (width >= 744px) {
  .body-unica-32-reg p {
    font-size: var(--corp-font-size-24);
    line-height: var(--corp-typography-lineheight-relaxed-md);
  }

  .body-unica-26-reg p {
    font-size: var(--corp-font-size-22);
    line-height: var(--corp-typography-lineheight-relaxed-md);
  }

  .body-unica-24-reg p {
    font-size: var(--corp-font-size-20);
    line-height: var(--corp-typography-lineheight-body-xl);
  }

  .body-unica-20-reg p {
    font-size: var(--corp-font-size-18);
    line-height: var(--corp-typography-lineheight-body-lg);
  }

  .body-unica-18-reg p {
    font-size: var(--corp-font-size-16);
    line-height: var(--corp-typography-lineheight-body-md);
  }

  .body-unica-16-reg p {
    font-size: var(--corp-font-size-14);
    line-height: var(--corp-typography-lineheight-body-sm);
  }
}

@media (width >= 1024px) {
  .body-unica-32-reg p {
    font-size: var(--corp-font-size-32);
    line-height: var(--corp-typography-lineheight-heading-sm);
  }

  .body-unica-26-reg p {
    font-size: var(--corp-font-size-26);
    line-height: var(--corp-typography-lineheight-relaxed-lg);
  }

  .body-unica-24-reg p {
    font-size: var(--corp-font-size-24);
    line-height: var(--corp-typography-lineheight-relaxed-lg);
  }

  .body-unica-20-reg p {
    font-size: var(--corp-font-size-20);
    line-height: var(--corp-typography-lineheight-body-lg);
  }

  .body-unica-18-reg p {
    font-size: var(--corp-font-size-18);
    line-height: var(--corp-typography-lineheight-body-lg);
  }

  .body-unica-16-reg p {
    font-size: var(--corp-font-size-16);
    line-height: var(--corp-typography-lineheight-body-sm);
  }

  .body-unica-14-reg p {
    font-size: var(--corp-font-size-14);
    line-height: var(--corp-typography-lineheight-body-sm);
  }
}

/* body unica custom classes - end */

@media (width >= 744px) {
  p,
  a,
  li,
  dd,
  dt {
    font-size: var(--corp-font-size-16);
    line-height: var(--corp-typography-lineheight-body-md);
  }
}

@media (width >= 1024px) {
  p,
  a,
  li,
  dd,
  dt {
    font-size: var(--body-font-size-m);
    line-height: var(--corp-spacing-24);
  }
}

code,
pre {
  font-size: var(--body-font-size-s);
}

pre {
  padding: var(--corp-spacing-16);
  border-radius: var(--border-radius-m);
  background-color: var(--color-surface-highlight);
  overflow-x: auto;
  white-space: pre;
}

input,
textarea,
select,
button {
  font: inherit;
}

/* ========================================================================
   Links
   ======================================================================== */

a:any-link {
  color: var(--corp-color-link-default);
  text-decoration: none;
  overflow-wrap: break-word;
}

a:hover {
  color: var(--corp-color-link-hover);
}

a:focus-visible {
  outline: var(--corp-focus-visible-outline);
  outline-offset: var(--corp-focus-visible-outline-offset-sm);
  outline-style: auto;
  outline-width: var(--corp-focus-visible-outline-width);
}

/* ========================================================================
   Buttons — AbbVie outlined style
   ======================================================================== */

a.button:any-link,
button {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  margin: var(--corp-spacing-12) 0;
  border: var(--border-width-thick) solid transparent;
  border-radius: 2.4em;
  padding: 0.5em 1.2em;
  font-family: var(--body-font-family);
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background-color: var(--corp-color-link-default);
  color: var(--color-surface-default);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.button:hover,
a.button:focus,
button:hover,
button:focus {
  background-color: var(--color-surface-highlight-inverse);
  color: var(--color-surface-default);
  cursor: pointer;
}

button:disabled,
button:disabled:hover {
  background-color: var(--corp-color-surface-subtle);
  cursor: unset;
}

a.button.secondary,
button.secondary {
  background-color: unset;
  border: var(--border-width-thin) solid currentcolor;
  color: var(--corp-color-text-default);
}

/* ========================================================================
   Images
   ======================================================================== */

main img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* ========================================================================
   Icons
   ======================================================================== */

.icon {
  display: inline-block;
  height: var(--corp-icon-size-md);
  width: var(--corp-icon-size-md);
}

.icon img {
  height: 100%;
  width: 100%;
}

/* ========================================================================
   Sections — Layout
   ======================================================================== */

main > .section {
  max-width: var(--corp-layout-container-max-width-md);
  margin-bottom: var(--corp-spacing-32);
  margin-left: var(--corp-spacing-20);
  margin-right: var(--corp-spacing-20);
  row-gap: var(--corp-spacing-15);
}

main > .section:first-of-type {
  margin-top: 0;
}

main > .section > div {
  max-width: 100%;
}

@media (width >= 744px) {
  main > .section {
    margin-bottom: var(--corp-spacing-80);
    margin-left: var(--corp-spacing-70);
    margin-right: var(--corp-spacing-70);
    row-gap: var(--corp-spacing-20);
  }
}

@media (width >= 1024px) {
  main > .section {
    margin-bottom: var(--corp-spacing-80);
    margin-left: var(--corp-spacing-55);
    margin-right: var(--corp-spacing-55);
  }
}

@media (width >= 1440px) {
  main > .section {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--corp-layout-container-max-width-md);
  }
}

/* ========================================================================
   Utilities
   ======================================================================== */

.spacing-bottom {
  margin-bottom: var(--corp-spacing-32);
}

@media (width >= 744px) {
  .spacing-bottom {
    margin-bottom: var(--corp-spacing-80);
  }
}

.padding-bottom {
  padding-bottom: var(--corp-spacing-56);
}

@media (width >= 744px) {
  .padding-bottom {
    padding-bottom: var(--corp-spacing-80);
  }
}

.sr-only {
  position: absolute;
  /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */
  width: 1px;
  /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */
  height: 1px;
  padding: 0;
  /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

.hide {
  display: none !important; /* stylelint-disable-line declaration-no-important */
}

.bg-f4f4f4 {
  background-color: var(--color-gray-light);
}

.section-padding {
  padding-left: var(--corp-spacing-35);
  padding-right: var(--corp-spacing-35);
  padding-top: var(--corp-spacing-32);
}

@media (width >= 744px) {
  .section-padding {
    padding-left: var(--corp-spacing-70);
    padding-right: var(--corp-spacing-70);
    padding-top: var(--corp-spacing-56);
  }
}

@media (width >= 1024px) {
  .section-padding {
    padding-left: var(--corp-spacing-55);
    padding-right: var(--corp-spacing-55);
    padding-top: var(--corp-spacing-80);
  }
}

/* abbvie container styles */
.abbvie-container {
  display: grid;
  align-items: start;
  column-gap: var(--corp-spacing-15);
  grid-template-columns: repeat(6, 1fr);
  margin-left: var(--corp-spacing-20);
  margin-right: var(--corp-spacing-20);
}

/* inner cmp-container base setup */
/* stylelint-disable-next-line no-descending-specificity */
.abbvie-container div {
  grid-column: 1 / span 6;
}

.abbvie-separator hr {
  border: var(--border-width-thin) solid var(--color-gray-medium);
}

@media (width >=744px) {
  .abbvie-container {
    column-gap: var(--corp-spacing-20);
    grid-template-columns: repeat(8, 1fr);
    margin-left: var(--corp-spacing-70);
    margin-right: var(--corp-spacing-70);
  }

  .abbvie-container div {
    grid-column: 1 / span 8;
  }
}

@media (width >= 1024px) {
  .abbvie-container {
    grid-template-columns: repeat(12, 1fr);
    margin-left: var(--corp-spacing-55);
    margin-right: var(--corp-spacing-55);
  }

  .abbvie-container div {
    grid-column: 1 / span 12;
  }
}
