﻿.section {
    display: inline-block;
    background-color: #969696;
    color: #FFF;
    padding: 0.3em 0.8em 0.3em 0.8em;
    text-transform: uppercase;
}

.article-image {
    max-height: 500px;
    object-fit: cover;
    width: 100%
}

.labels {
    gap: .25rem;
    margin-bottom: 2rem;
}

.labels a {
    border-radius: 10rem;
    border: solid 1px #aeaeae;
    text-decoration: none;
    padding: .125rem .5rem .1rem .5rem;
    text-transform: uppercase;
    font-size:.8rem;
    font-weight: 500;
    color: #aaa;
}

.labels a.section {
    background: #4ca1ef;
    border-color: #4ca1ef;
    color: white;
}

.keywords {
    text-transform: lowercase;
}

.keywords > a:not(:last-child) {
    margin-right: .5em;
}

.keywords > a:not(:last-child)::after {
    content: ',';
}

#ArticlePane h3 {
    line-height: 1.4;
}

#documents-title {
    margin-top: 4rem;
}

#faq-title {
    margin-top: 6rem;
}

#ArticleBodyDesktop h2, #ArticleBodyMobile h2 {
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#ArticleBodyDesktop p, #ArticleBodyMobile p {
    font-size: 1em;
    margin-bottom: 1rem;
    color: #757575;
    font-weight: 400;
    line-height: 29px;
}

#ArticleBodyDesktop blockquote, #ArticleBodyMobile blockquote {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin: 0;
}

#ArticleBodyDesktop blockquote p, #ArticleBodyMobile blockquote p {
    color: #87c857;
    font-size: 1.25em;
    border-left: 10px solid #62B4FF;
    padding: .3rem 0 .3rem 1rem;
    font-family: bitter;
}

#ArticleBodyDesktop blockquote p::after, #ArticleBodyMobile blockquote p::after {
    content: close-quote;
}

#ArticleBodyDesktop blockquote p::before, #ArticleBodyMobile blockquote p::before {
    content: open-quote;
}

#ArticleBodyDesktop ul, #ArticleBodyMobile ul {
    color: #969696;
    padding-left: 1.2rem;
    width: 100%;
    font-size: 18px;
}

#ArticleBodyDesktop ul ul, #ArticleBodyMobile ul ul {
    padding-left: 18px;
}

#ArticleBodyDesktop li, #ArticleBodyMobile li {
    display: block;
    flex-wrap: wrap;
    position: relative;
}

#ArticleBodyDesktop li::before, #ArticleBodyMobile li::before {
    content: '\2022';
    color: #C73E32;
    font-size: 150%;
    line-height: .5;
    padding: .3rem .8rem 0 0;
    position: absolute;
    left: -1.2rem;
}

#ArticleBodyDesktop ul ul li::before, #ArticleBodyMobile ul ul li::before {
    content: '\25E6';
}

#ArticleBodyDesktop img, #ArticleBodyMobile img {
    max-height: 300px;
}

.article-basic-caption {
    margin-top: -100px;
    display: grid;
    width: 100%;
    grid-template-columns: 10px 0px minmax(0, 100%) 0px 10px;
    grid-template-areas: "border . main . .";
}

@media (min-width: 768px) {
    .article-basic-caption {
        grid-template-columns: 20px 20px minmax(0, 100%) 20px 20px;
    }
}

@media (min-width: 992px) {
    .article-basic-caption {
        grid-template-columns: 50px 70px minmax(0, 100%) 70px 50px;
    }
}

@media (min-width: 1400px) {
    .article-basic-caption {
        grid-template-columns: 80px 80px minmax(0, 100%) 80px 80px;
    }
}

.article-basic-caption #border {
    grid-area: border;
    background-color: #c3e4ab;
}

.article-basic-caption #caption {
    grid-area: main;
}

.article-basic-caption #caption h3 {
    margin-bottom: 0;
    padding: 2.5rem 2rem 2.5rem 0;
}

@media print {
    html, body {
        overflow: unset;
    }

    .article-image {
        width: 50%;
        max-height: 250px;
    }

    .topic-chapters img + .caption {
        margin-top: 0 !important;
    }

    #pharmacy-locator, #nav, .navbar-toggler, footer, .breadcrumb, #related-articles, .labels, .keywords, #redaction-date, .left-side {
        display: none !important;
    }

    #title-desktop {
        display: block !important;
    }

    .green-border-on-the-left {
        border-color: transparent;
    }

    .caption {
        font-size: 1.2rem;
        padding: 2.5rem 2rem 2.5rem 5vw !important;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    }

    .article-basic-caption {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .article-basic-caption #border {
        background-color: transparent;
    }

    .stretch-to-left-border {
        margin-left: -1px !important;
        padding-left: 5vw !important;
        border-left: solid 1rem #e7f4dd;
    }

    #redaction-date {
        color: #c3e4ab;
    }

    .structured, #ArticlePane {
        margin-top: 1rem;
        padding-top: 0 !important;
    }

    .structured .topic-chapters {
        padding-top: 0 !important;
    }

    .structured h1 {
        padding-bottom: 1rem;
    }

    h1, h2, h3, h4, h5 {
        page-break-after: avoid;
    }

    h1, h2, h3, h4, h5, .caption, .article-image {
        page-break-inside: avoid;
    }

    @page {
        margin: 1.6cm;
    }
}
