#ArticlePane{
    font-size: 18px;
}

@media (max-width: 330px) {
    #ArticlePane {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    #ArticlePane {
        font-size: 18px;
    }
}

.in-page-navigation-container h3 {
    font-size: 1.1rem;
}

ul.in-page-navigation {
    padding-left: 0;
    list-style-position: inside;
}

    ul.in-page-navigation li {
        padding: .25rem 0;
        font-size: .9rem;
    }

        ul.in-page-navigation li::before {
            left: 0;
        }

        ul.in-page-navigation li:not(:last-child) {
            padding: .25rem 0;
            border-bottom: 1px solid lightgrey;
        }

        ul.in-page-navigation li > * {
            margin-left: 1.2rem;
        }

.topic-chapters img {
    width: 370px;
    aspect-ratio: 370 / 240;
    object-fit: cover;
    max-width: 100%
}

.structured .topic-chapters img {
    width: 100%;
}

.topic-chapters img + .caption {
    border-left: solid 1rem #e7f4dd;
    background: white;
    border-radius: 0 1rem 1rem 0;
    padding: 1.5rem;
    margin-top: -3rem;
    z-index: 1;
    position: relative;
    width: 90%;
}

.topic-chapters h2 {
    font-size: 1.3rem;
}

.topic-chapters p {
    font-size: .9rem;
    line-height: 1.6;
}

.topic-chapter {
    margin-bottom: 3rem;
}

.medicines {
    background: #F0F0F0;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9em, 1fr));
    gap: 1.75rem;
}

.medicine {
    background: #FFF;
    min-height: 240px;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
}

    .medicine:hover {
        box-shadow: 0 .1rem 1rem #00000028;
    }

.medicine-pictogram {
    font-size: 3.5rem;
    padding: 1rem;
}

.medicine-name {
    font-size: 1.2rem;
}

.medicine-category {
    color: #969696;
    font-size: .9rem;
}

.medicine:hover .medicine-category, .medicine:hover .medicine-name, .medicine:not(:hover) .more-info-button {
    display: none;
}

#faq-title {
    margin-top: 6rem;
}

#faq-accordion .accordion-header {
    padding-top: 0;
}

#ArticleBodyDesktop h2, #ArticleBodyMobile h2 {
    padding-top: 1.5em;
}

#ArticleBodyDesktop p, #ArticleBodyMobile p {
    font-size: 1em;
    margin-bottom: 1em;
    color: #969696;
    font-weight: 500;
    line-height: 29px;
}

#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;
    width: 100%;
    font-size: 1em;
}

    #ArticleBodyDesktop ul ul, #ArticleBodyMobile ul ul {
        padding-left: 0.8em;
    }

#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.2em;
    }

#ArticleBodyDesktop ul ul li::before, #ArticleBodyMobile ul ul li::before {
    content: '\25E6';
}

#ArticleBodyDesktop img, #ArticleBodyMobile img {
    max-height: 300px;
}

@media (min-width : 576px) {
    .topic-chapters h2 {
        font-size: 1.5em;
    }

    ul.in-page-navigation {
        padding-bottom: 2em;
    }
}

.inner-container {
    align-items: start;
}

    .inner-container > .left-side {
        margin-left: calc(-10px - 0.75rem);
        padding-left: calc(0px + 0.75rem);
        width: calc(100% + 10px + 0.75rem);
        border-left: 10px solid #87c857;
    }

    .inner-container > .right-side {
        width: 100%;
    }

.images-container {
    display: flex;
    column-gap: 1.25rem;
    padding-bottom: 2.5rem;
    margin-right: calc(-10px - 0.75rem);
    padding-right: calc(0px + 0.75rem);
    width: calc(100% + 10px + 0.75rem);
    border-right: 10px solid #4CA1EF;
}

@media (min-width : 768px) {
    .inner-container > .left-side {
        margin-left: calc(-40px - 0.75rem);
        padding-left: calc(20px + 0.75rem);
        width: calc(100% + 40px + 0.75rem);
        border-left: 20px solid #87c857;
    }

    .images-container {
        margin-right: calc(-40px - 0.75rem);
        padding-right: calc(20px + 0.75rem);
        width: calc(100% + 40px + 0.75rem);
        border-right: 20px solid #4CA1EF;
    }
}

@media (min-width : 992px) {
    .inner-container > .left-side {
        margin-left: calc(-120px - 0.75rem);
        padding-left: calc(70px + 0.75rem);
        width: calc(100% + 120px + 0.75rem);
        border-left: 50px solid #87c857;
    }

    .images-container {
        margin-right: calc(-120px - 0.75rem);
        padding-right: calc(70px + 0.75rem);
        width: calc(100% + 120px + 0.75rem);
        border-right: 50px solid #4CA1EF;
    }
}

@media (min-width : 1200px) {
    .inner-container > .left-side {
        column-gap: 1.75rem;
        margin-left: calc(-120px - 0.75rem - max(0px, (100vw - 17px - 1140px - 240px) / 2)); /* 17px is de meest gebruikte scrollbar width */
        padding-left: calc(70px + 0.75rem + max(0px, (100vw - 17px - 1140px - 240px) / 2));
        width: calc(100% + 120px + 0.75rem + max(0px, (100vw - 17px - 1140px - 240px) / 2));
        border-left: 50px solid #87c857;
    }

        .inner-container > .left-side.w-xl-33 {
            width: calc(33.3% + 120px + 0.75rem + max(0px, (100vw - 17px - 1140px - 240px) / 2));
        }

    .inner-container > .right-side.w-xl-67 {
        width: 66.7%;
    }

    .images-container {
        margin-right: calc(-120px - 0.75rem - max(0px, (100vw - 17px - 1140px - 240px) / 2)); /* 17px is de meest gebruikte scrollbar width */
        padding-right: calc(70px + 0.75rem + max(0px, (100vw - 17px - 1140px - 240px) / 2));
        width: calc(100% + 120px + 0.75rem + max(0px, (100vw - 17px - 1140px - 240px) / 2));
        border-right: 50px solid #4CA1EF;
    }
}

@media (min-width : 1400px) {
    .inner-container > .left-side {
        margin-left: calc(-160px - 0.75rem - max(0px, (100vw - 17px - 1320px - 320px) / 2)); /* 17px is de meest gebruikte scrollbar width */
        padding-left: calc(80px + 0.75rem + max(0px, (100vw - 17px - 1320px - 320px) / 2));
        width: calc(100% + 160px + 0.75rem + max(0px, (100vw - 17px - 1320px - 320px) / 2));
        border-left: 80px solid #87c857;
    }

        .inner-container > .left-side.w-xl-33 {
            width: calc(33.3% + 160px + 0.75rem + max(0px, (100vw - 17px - 1320px - 320px) / 2));
        }

    .images-container {
        margin-right: calc(-160px - 0.75rem - max(0px, (100vw - 17px - 1320px - 320px) / 2)); /* 17px is de meest gebruikte scrollbar width */
        padding-right: calc(80px + 0.75rem + max(0px, (100vw - 17px - 1320px - 320px) / 2));
        width: calc(100% + 160px + 0.75rem + max(0px, (100vw - 17px - 1320px - 320px) / 2));
        border-right: 80px solid #4CA1EF;
    }
}

@media print {
    html, body {
        overflow: unset;
    }

    .article-image {
        width: 50% !important;
        max-height: 250px !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;
        margin-top: -100px !important;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    }

    .stretch-to-left-border {
        margin-left: -1px !important;
        padding-left: 5vw !important;
        border-left: solid 1rem #e7f4dd;
    }

    .stretch-to-right-border {
        margin-right: -1px !important;
        padding-right: 5vw !important;
        border-right: none;
    }

    .images-container {
        border: none;
        padding-bottom: 0;
    }

    #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;
    }

    @page {
        margin: 1.6cm;
    }
}

.article-image {
    max-height: 500px;
    object-fit: cover;
    width: 100%
}

.topic-chapters img {
    width: 370px;
    aspect-ratio: 370 / 240;
    object-fit: cover;
    max-width: 100%;
}

.structured .topic-chapters img {
    width: 100%;
}

/************** MAP **************/

#map {
    width: 100%;
    border-radius: 1rem;
}

.map-wrapper {
    margin-right: 0px;
}

@media (min-width: 768px) { /* >= MD */
    .map-wrapper {
        margin-right: -80px;
    }
}

#marker {
    background-image: url('../img/pin.svg');
    background-size: fit;
    background-position: center;
    background-repeat: no-repeat;
    width: 3em;
    height: 3em;
}


.intro-text-wrapper {
    margin-top: -4rem;
    display: grid;
    grid-template-columns: 10px 10px auto 10px 10px;
    grid-template-areas: "shadow shadow shadow . .";
}

.intro-text-container {
    display: grid;
    grid-template-columns: 10px 10px auto;
    grid-template-areas: "border-left bg-white body";
    grid-area: shadow;
    border-radius: 0 1rem 1rem 0;
}

.intro-text-border-left {
    background: #D4EBC2;
    grid-area: border-left;
}

.intro-text-bg-white {
    grid-area: bg-white;
    background: white;
}

.intro-text-body-container {
    grid-area: body;
    background: white;
    border-radius: 0 1rem 1rem 0;
    padding: 2rem 2rem 2rem .75rem;
}

.intro-text {
    font-weight: 500;
    font-size: 1.2rem;
}

@media (min-width : 768px) {
    .intro-text-wrapper {
        grid-template-columns: 20px 20px 7fr 5fr 20px 20px;
        grid-template-areas: "shadow shadow shadow . . .";
    }

    .intro-text-container {
        grid-template-columns: 20px 20px auto;
        grid-template-areas: "border-left bg-white body";
    }
}

@media (min-width : 992px) {
    .intro-text-wrapper {
        grid-template-columns: 50px 70px 7fr 5fr 50px 70px;
        grid-template-areas: "shadow shadow shadow . . .";
    }

    .intro-text-container {
        grid-template-columns: 50px 70px auto;
        grid-template-areas: "border-left bg-white body";
    }
}

@media (min-width : 992px) {
    .intro-text-wrapper {
        grid-template-columns: 80px 80px 7fr 5fr 80px 80px;
        grid-template-areas: "shadow shadow shadow . . .";
    }

    .intro-text-container {
        grid-template-columns: 80px 80px 1fr;
        grid-template-areas: "border-left bg-white body";
    }
}

@media (min-width : 1656px) {
    .intro-text-wrapper {
        grid-template-columns: 80px 80px auto calc(1320px / 12 * 7) calc(1320px / 12 * 5) auto 80px 80px;
        grid-template-areas: "shadow shadow shadow shadow . . . .";
    }

    .intro-text-container {
        grid-template-columns: 80px 80px auto calc(1320px / 12 * 7);
        grid-template-areas: "border-left bg-white bg-white body";
    }
}