﻿.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.5rem;
}

#ArticleBodyDesktop p, #ArticleBodyDesktop li {
    font-size: .925rem;
    font-weight: 400;
    color: #757575;
}

#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.5rem;
    }

    ul.in-page-navigation {
        padding-bottom: 2rem;
    }
}

.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;
    }
}
