/*
 * 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.
 */
html {
    /* 1rem = 16 px */
    scroll-behavior: smooth;
}

:root {
    /* colors */
    --clr-global-link: #626466;
    --clr-global-link-hover: #363436;
    --clr-primary-dark: #4F0077;
    --clr-primary: #702C91;
    --clr-primary-light: #AF14FF;
    --clr-primary-lighter: #CB62FF;
    --clr-primary-lightest: #E4CDF1;
    --clr-secondary: #E16651;
    --clr-mono-000: #161B1E;
    --clr-mono-020: #363436;
    --clr-mono-040: #676E71;
    --clr-mono-050: #8F9699;
    --clr-mono-070: #D2DADD;
    --clr-mono-090: #F0F3F4;
    --clr-mono-100: #FFFFFF;
    --clr-success: #6EA101;
    --clr-warning: #F38926;
    --clr-warning-light: #FEF3E9;
    --clr-danger: #C72C4B;
    --clr-danger-light: #F7E9E3;
    --clr-twitter: #00ACEE;
    --clr-linkedin: #0A66C2;
    /* element colors */
    --link-color: var(--clr-primary);
    --link-hover-color: var(--clr-primary-dark);
    --background-color: var(--clr-mono-100);
    --text-color: var(--clr-mono-020);
    --headline-color: var(--clr-primary-dark);
    --button-text-color: var(--background-color);
    --button-background-color: var(--link-color);
    /* fonts */
    --body-font-family: sans-serif, Arial, proxima-nova, proxima-nova-fallback;
    --heading-font-family: var(--body-font-family);
    --fixed-font-family: 'Roboto Mono', menlo, consolas, 'Liberation Mono', monospace;
    /* body sizes */
    --body-font-size-xl: 1.5rem; /* 24px */
    --body-font-size-l: 1.25rem; /* 20px */
    --body-font-size-m: 1.125rem; /* 18px */
    --body-font-size-s: 1rem; /* 16px */
    --body-font-size-xs: 0.75rem; /* 12px */
    /* heading sizes */
    --heading-font-size-xxl: 3.5rem; /* 56px */
    --heading-font-size-xl: 2rem; /* 32px */
    --heading-font-size-l: 1.75rem; /* 28px */
    --heading-font-size-m: 1.5rem; /* 24px */
    --heading-font-size-s: 1.25rem; /* 20px */
    --heading-font-size-xs: 1.125rem; /* 18px */
    /* misc. */
    --nav-height: 80px;
    --max-content-width: 90rem; /* 1440px */
    --default-content-gap: 24px;
    --spc-xl: var(--default-content-gap);
    --spc-l: 36px;
    --spc-m: 24px;
    --spc-s: 12px;
    --spc-xs: 6px;
}

@media (min-width: 56.25em) {
    :root {
        /* nav height */
        --nav-height: 80px;
        --default-content-gap: 48px;
    }
}

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

@font-face {
    font-family: proxima-nova-fallback;
    src: local('arial black');
    size-adjust: 85%;
    ascent-override: 107%;
    font-weight: 700;
}

@font-face {
    font-family: proxima-nova-fallback;
    src: local(arial);
    size-adjust: 96%;
    font-weight: 400;
}

body {
    font-size: var(--body-font-size-m);
    font-family: var(--body-font-family);
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
    text-wrap: pretty;
}

header {
}

main {
    display: none;
}

    main.appear {
        display: unset;
    }

h1, h2, h3,
h4, h5, h6 {
    font-family: var(--heading-font-family);
    color: var(--headline-color);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: .5em;
    scroll-margin: calc(var(--nav-height) + 1em);
    text-wrap: balance;
}

h1 {
    font-size: var(--heading-font-size-xxl);
}

h2 {
    font-size: var(--heading-font-size-xl);
}

h3 {
    font-size: var(--heading-font-size-l);
}

h4 {
    font-size: var(--heading-font-size-m);
}

h5 {
    font-size: var(--heading-font-size-s);
}

h6 {
    font-size: var(--heading-font-size-xs);
}

p, pre, blockquote {
    margin-block: 1em;
}

p, pre, blockquote, dl, ol, ul {
    color: var(--text-color);
}

    p:last-child {
        margin-bottom: 0;
    }

dl, ol, ul {
    margin-block: 1em;
}

    /* pagination of blogs and news list */
    ul.pages {
        margin-top: var(--default-content-gap);
        margin-bottom: 0;
    }

p, pre, blockquote {
    margin-block: 1em;
}

p, pre, blockquote, dl, ol, ul {
    color: var(--text-color);
}

    p:last-child {
        margin-bottom: 0;
    }

dl, ol, ul {
    margin-block: 1em;
}

    /* pagination of blogs and news list */
    ul.pages {
        margin-top: var(--default-content-gap);
        margin-bottom: 0;
    }

p:first-child {
    margin-top: 0;
}

ul, ol {
    padding-inline: var(--default-content-gap);
}

    ul ul {
        margin-block: 0;
    }

hr {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    border: 0;
    border-bottom: 1px solid var(--overlay-background-color);
}

code, pre, samp {
    font-family: var(--fixed-font-family);
    font-size: var(--body-font-size-l);
}

code, samp {
    padding: .125em;
}

pre {
    overflow: scroll;
}

main pre {
    background-color: var(--overlay-background-color);
    padding: 1em;
    border-radius: .25em;
    overflow-x: auto;
    white-space: pre;
}

/* global form styles */
.form-control,
.custom-select {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .813rem;
    font-size: var(--body-font-size-s);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--clr-mono-090);
    background-clip: padding-box;
    border: 2px solid var(--clr-primary);
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-select {
    display: inline-block;
    appearance: none;
    width: 100%;
    padding-right: 1.813rem;
    vertical-align: middle;
    background: var(--clr-mono-090) url('/icons/chevron-down.svg') no-repeat right .65rem center/20px 20px;
}

.form-control:focus {
    background-color: var(--clr-mono-100);
    border: 2px solid var(--clr-primary-light);
    outline: 0;
}

textarea.form-control {
    height: auto;
}

a:any-link {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--link-hover-color);
}

/* buttons */
a.button:any-link, button {
    font-family: var(--body-font-family);
    font-size: var(--body-font-size-m);
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
    border: 2px solid transparent;
    padding: .5rem 1.5rem;
    text-align: center;
    font-style: normal;
    line-height: 1.3;
    font-weight: 600;
    cursor: pointer;
    color: var(--button-text-color);
    background-color: var(--button-background-color);
    margin: 16px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 24px;
}

    a.button:hover, a.button:focus, button:hover, button:focus {
        --button-background-color: var(--link-hover-color);
        cursor: pointer;
    }

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

    a.button.secondary, button.secondary {
        background-color: unset;
        border: 2px solid currentcolor;
        color: var(--text-color);
    }

main blockquote {
    font-style: italic;
    margin: 1.875rem;
    text-indent: -1rem;
    hanging-punctuation: first;
}

    main blockquote p::before {
        content: "\"";
        line-height: 0;
    }

    main blockquote p::after {
        content: "\"";
        line-height: 0;
    }

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

.icon {
    display: inline-block;
    height: 24px;
    width: 24px;
}

    .icon svg {
        height: 100%;
        width: 100%;
        fill: currentcolor;
    }

.external-links{
    height: .75em;
    width: 1.25em;
}

.icon-arrow-right {
    height: .75em;
    width: 1.25em;
    vertical-align: -0.1em;
}

/* Sections */
main .section {
    padding-inline: var(--default-content-gap);
    padding-block-start: 0;
    padding-block-end: var(--default-content-gap);
}

    main .section .section-container {
        max-width: var(--max-content-width);
        margin: auto;
    }

    main .section:is(.highlight, .secondary-highlight, .alert-highlight),
    main .section:is(.highlight, .secondary-highlight, .alert-highlight) + .section {
        padding-block-start: var(--default-content-gap);
    }

/* special for library to add top padding */
main.sidekick-library .section:first-of-type {
    padding-block-start: var(--default-content-gap);
}

main .section.highlight {
    background-color: var(--clr-primary);
    --headline-color: var(--clr-mono-100);
    --text-color: var(--clr-mono-100);
    --link-color: var(--clr-mono-100);
    --link-hover-color: var(--clr-mono-100);
    --button-text-color: var(--clr-primary);
    --button-background-color: var(--clr-mono-100);
}

main .section.secondary-highlight {
    background-color: var(--clr-primary-lightest);
}

main .section.alert-highlight {
    background-color: var(--clr-warning-light);
}

/* screen reade only text  util class */
.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: -1px !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

/* center align linked headlines in default content */
.default-content-wrapper :is(h1, h2, h3, h4, h5, h6):has(a) {
    text-align: center;
}

/* fallback for :has not supported (firefox) */
@supports not (selector(:has(*))) {
    .default-content-wrapper :is(h1, h2, h3, h4, h5, h6) > a {
        text-align: center;
        display: block;
    }
}

/* two cols page layout */
:is(.blog, .two-columns) main {
    display: grid;
    grid-template-columns: 100%;
    max-width: calc(var(--max-content-width) + var(--default-content-gap) * 2); /* max size up due to how the two column template pulls in section containers that already have default margins */
    margin: 0 auto;
}

@media (min-width: 56.25em) {
    :is(.blog, .two-columns) main {
        grid-template-columns: 1fr 33%;
    }

        :is(.blog, .two-columns) main .section {
            grid-column: 1;
        }

            :is(.blog, .two-columns) main .section.hero-container {
                grid-row: 2;
                grid-column: 1 / -1;
            }

            :is(.blog, .two-columns) main .section:last-of-type {
                grid-row: 2;
                grid-column: 2;
                padding-inline: 0;
            }

            :is(.blog, .two-columns) main .section:is(.secondary-highlight, .highlight):last-of-type {
                padding-inline: var(--default-content-gap);
                margin-block-start: var(--default-content-gap);
                margin-block-end: var(--default-content-gap);
            }

            :is(.blog, .two-columns) main .section.hero-container ~ .section:last-of-type {
                grid-row: 3;
            }

    /* Temporary fix so Contact Us page's secondary highlight background color doesn't fill height of accordion container */
    :is(.two-columns) main .section.accordion-container {
        grid-row: span 2;
    }
}

/* blog */
.blog main :not(.highlight) .section-container :is(h1, h2, h3, h4, h5, h6) {
    color: var(--headline-color);
}

.blog main .default-content-wrapper h2 {
    font-size: var(--heading-font-size-l);
}

.blog main .default-content-wrapper h3 {
    font-size: var(--heading-font-size-m);
}

.blog main .default-content-wrapper h4 {
    font-size: var(--heading-font-size-m);
}

.blog main .default-content-wrapper h5 {
    font-size: var(--heading-font-size-xs);
}

.blog main .default-content-wrapper h6 {
    font-size: var(--heading-font-size-xs);
}

.blog main .default-content-wrapper strong {
    color: var(--clr-mono-040);
}

.blog main .section.highlight a {
    text-decoration: underline;
}

.blog main .section.highlight .section-container {
    padding: 30px 0;
}

.blog main .section.highlight .default-content-wrapper strong {
    color: var(--clr-mono-090);
}

.blog main .default-content-wrapper p:first-child picture img {
    border-radius: 5px;
}

.blog main .default-content-wrapper p picture {
    margin: 0 auto;
    text-align: center;
}

.blog main .default-content-wrapper ol {
    padding-left: 50px;
}

.blog main .default-content-wrapper li {
    margin-bottom: 0.5rem;
}

.blog main .default-content-wrapper .blog-img-hero {
    margin-block-start: 0;
}

.blog main .default-content-wrapper .blog-img-center {
    text-align: center;
    margin-top: 10px;
}

.blog main .default-content-wrapper .blog-img-inline picture {
    float: right;
    margin: 0 20px;
}

/* utility classes */
.bg-light-blue {
    background-color: var(--clr-primary-lightest);
}

.bg-light-grey {
    background-color: var(--clr-mono-090);
}

.bg-light-orange {
    background-color: var(--clr-warning-light);
}

.icon-tag {
    color: var(--clr-primary);
}

.icon-svg-small {
    height: 60px;
}

.icon-svg {
    height: 96px;
}

.icon-svg-large {
    height: 140px;
}

.icon-svg-extralarge {
    height: 350px;
}

.medimpact-banner {
    width: 100%;
    height: auto;
    background-color: #DDE0E2;
    color: black;
    margin: 0;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 5px;
    display: flex;
    align-items: center; /* Ensures the content within .medimpact-banner is vertically centered */
}

.medimpact-image-container {
    display: flex;
    align-items: center; /* Vertically centers the image */
    justify-content: center; /* Horizontally centers the image */
    height: 100%;
    padding: 10px;
}

.medimpact-banner img {
    width: 50px;
}

.banner2-right-content {
    display: inline-block;
}

.banner2-elixirIsMedImpact {
    font-family: Georgia;
}

.banner2-subpar {
    font-family: Helvetica;
    margin: 0;
}


.elixir-button {
    background-color: #0AA998 !important;

}
.elixir-button:hover{
    background-color:#008275 !important;
}