﻿/*#region GENERAL */

:root {
    --shadow-blue: 0 0.1rem 0.6rem 0.1rem #4CA1EF25 !important;
    --red: #DF5346;
}

html {
    font-size: 18px;
}

@media (max-width: 330px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .popup-message-desktop {
        display: none !important;
    }
    .popup-search-button-mobile {
        padding: .065rem .65rem;
    }
    .search-and-actions-desktop {
        display: none !important;
    }
}

@media (min-width: 500px) {
    .popup-message-mobile {
        display: none !important;
    }
    .search-and-actions-mobile {
        display: none !important;
    }
}

.search-and-actions-desktop {
    gap: 1rem;
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    color: #232323;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

html, body {
    overflow-x: hidden;
    margin: 0;
    height: 100%;
}

h1, .h1 {
    font-family: 'Bitter', serif;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: black;
}

h2 {
    font-family: 'Bitter', serif;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.h2 {
    font-family: 'Bitter', serif;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: .8rem;
}

h4 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.1rem;
}

@media (min-width: 768px) { /* md */
    h1 {
        font-size: 2.3rem;
        line-height: 1.35;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h4 {
        font-family: 'Fira Sans', sans-serif;
        font-size: 1.15rem;
    }
}

p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #757575;
}

.bg-grey p, .bg-grey-50 p {
    color: #535353 !important;
}

a {
    color: #232323;
}

a:hover, button.btn.btn-link:hover {
    color: #C73E32;
}

.btn:disabled {
    color: gray;
    border-color: gray;
    background-color: unset;
}

label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #969696;
}

small {
    font-size: .9em;
}

q {
    quotes: "“" "”" "‘" "’";
}

.whiteInput {
    background-color: white !important;
    border-color: rgb(206, 212, 218) !important;
}

input:not([type="radio"]) {
    line-height: 1.5;
    padding: .375rem .75rem;
    color: black;
    background-color: #F5F5F5;
    border: solid 2px #F5F5F5;
    font-weight: 500;
}

input:not([type="radio"]):focus-visible {
    box-shadow: 0 0 1rem -0.5rem #96969680 inset;
    outline: 0;
}

input::placeholder {
    color: #000;
    font-weight: 500;
}

input:placeholder-shown {
    text-overflow: ellipsis;
}

#apotheekbeLogo {
    height: 54px;
}

@media (min-width: 1200px) { /* lg */
    #apotheekbeLogo {
        height: 78px;
    }
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: inherit;
}

@media (min-width: 1200px) {
    .desktop-only {
        display: inherit;
    }

    .mobile-only {
        display: none;
    }
}

/*#endregion */

/*#region UTILITIES */

.bg-white-50 {
    background: #FFFFFF80;
}

.bg-grey-50 {
    background: #EBEBEB80;
}

.bg-grey {
    background: #F5F5F5;
}

.bg-lightblue {
    background: #D1E6FA;
}

.bg-blue {
    background: #62B4FF;
}

.bg-darkblue {
    background: #4CA1EF;
}

.black {
    color: black;
}

.dark-grey {
    color: #696969;
}

.grey {
    color: #535353;
}

.red {
    color: var(--red);
}

.green {
    color: #87c857;
}

.shadow-blue {
    box-shadow: 0 0.1rem 0.6rem 0.1rem #4CA1EF25 !important;
}

.shadow-grey-small {
    box-shadow: 0 0.1rem 0.6rem 0.1rem #69696925 !important;
}

.underline {
    text-decoration: underline;
}

.smaller {
    font-size: .9em;
}

.font-size-regular {
    font-size: 1rem !important;
}

.regular {
    font-weight: 400 !important;
}

.bolder {
    font-weight: 500 !important;
}

.bold {
    font-weight: 900 !important;
}

.left-side-rounded {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
}

.right-side-rounded {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
}

.top-side-rounded {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

.bottom-side-rounded {
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

.rounded-4 {
    border-radius: .5rem;
}

.rounded-5 {
    border-radius: 1rem;
}

*:nth-child(1) {
    --index: 1;
}

*:nth-child(2) {
    --index: 2;
}

*:nth-child(3) {
    --index: 3;
}

*:nth-child(4) {
    --index: 4;
}

*:nth-child(5) {
    --index: 5;
}

*:nth-child(6) {
    --index: 6;
}

@media print {
    .no-print {
        display: none !important;
    }
}

@media not print {
    .only-print {
        display: none !important;
    }
}
/*#endregion */

/*#region VARIOUS */

.read-more-link {
    text-decoration: underline;
}

a:hover .read-more-link {
    color: #C73E32;
}

.read-more-link::before {
    display: inline-block;
    padding-right: .35rem;
    content: '\e901';
    font-family: 'Aposites' !important;
    color: #DF5346;
    text-decoration: none;
    top: 0.1rem;
    position: relative;
}

.fa-chevron-circle-right::before {
    content: "\e901";
    font-family: 'ApoSites';
    font-weight: 500;
    position: relative;
    top: 0.1rem;
}

.intro-text {
    font-size: 1.1rem;
    font-weight: 400;
}

.tags-container {
    font-size: .8em;
    line-height: 2;
    margin-bottom: .5rem;
}

.tag {
    text-transform: uppercase;
    background: #969696;
    border-radius: 10rem;
    padding: .25em 1em;
    color: white;
}

.tag.section-tag {
    background: #4CA1EF;
}

@media (min-width: 1200px) {
    .intro-text {
        line-height: 1.8;
    }
}


.primary-badge {
    border-width: 20px;
    border-radius: 10rem;
    border: solid 2px #87c857;
    box-shadow: 0px 0px 10px -5px #87c857;
    padding: 10px 20px;
    font-weight: bold;
}

 .primary-badge:hover {
     box-shadow: 0px 0px 20px -5px #87c857;
 }

.cursor-pointer {
    cursor: pointer;
}

.hanging-icon {
    text-indent: -1em;
    margin-left: 1em;
    padding-left: 1em;
}

.hanging-icon i {
    width: 1em;
}

.share-buttons {
    float: right;
    text-align: center;
    margin: 0 -.5rem;
}

.share-buttons button, .share-buttons i, .share-buttons a {
    background: #f0f0f0;
    width: 45px;
    height: 45px;
    line-height: 45px;
    margin: 0 .5rem;
    border-radius: 10rem;
    font-size: 125%;
    color: #232323;
    border: none;
    text-decoration: none;
}

.success-tooltip .tooltip-inner {
    background: #87c857;
}

.tooltip.show {
    opacity: 1;
}

.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #87c857 !important;
}
.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #87c857 !important;
}
.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #87c857 !important;
}
.bs-tooltip-right .tooltip-arrow::before {
    border-left-color: #87c857 !important;
}

.image-copyright {
    font-size:.6rem;
    position: relative;
    top:110px;
    left:-308px;
}

/*#endregion */
/*#region BUTTONS */
.primary-button {
    color: #FFFFFF;
    background-color: #CC4B3F;
    border-color: #CC4B3F;
    border-width: 2px;
    border-radius: 10rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #4CA1EF25;
}

    .primary-button:hover {
        color: #FFFFFF;
        background-color: #DF5346;
        border-color: #DF5346;
    }

.primary-button:focus, .primary-button:active, .primary-button:active:focus {
    box-shadow: 0 0 0 0.25rem #DF534660;
}

.secondary-button {
    color: #DF5346;
    background-color: #FFFFFF;
    border-color: #DF5346;
    border-width: 2px;
    border-radius: 10rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #4CA1EF25;
}

.secondary-button:hover {
    color: #C73E32;
    border-color: #C73E32;
    background-color: #FFFFFF;
}

.secondary-button:focus, .secondary-button:active, .secondary-button:active:focus {
    box-shadow: 0 0 0 0.25rem rgba(223, 83, 70, .5);
}

.tertiary-button {
    color: #FFFFFF;
    background-color: #87c857;
    border-color: #87c857;
    border-width: 2px;
    border-radius: 10rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #4CA1EF25;
}

.tertiary-button:hover {
    color: #FFFFFF;
    background-color: #6dbf31;
    border-color: #6dbf31;
}

.tertiary-button:focus, .tertiary-button:active, .tertiary-button:active:focus {
    box-shadow: 0 0 0 0.25rem #87c85760;
}

.quaternary-button {
    color: #FFFFFF;
    background-color: #757575;
    border-color: #757575;
    border-width: 2px;
    border-radius: 10rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #77777725;
}

.quaternary-button:hover {
    color: #FFFFFF;
    background-color: #777;
    border-color: #777;
}

.quaternary-button:focus, .quaternary-button:active, .quaternary-button:active:focus {
    box-shadow: 0 0 0 0.25rem #75757560;
}

.quinary-button {
    color: #333;
    background-color: white;
    border-color: #333;
    border-width: 2px;
    border-radius: 10rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #77777725;
    font-weight: 500;
    transition: box-shadow 0s;
}

.quinary-button:hover {
    box-shadow: 0 0 0 1px #777;
}

.quinary-button:focus, .quinary-button:active, .quinary-button:active:focus {
    box-shadow: 0 0 0 0.25rem #83838360;
}

.pop-up-tel-button {
    color: #838383;
    background-color: #d9d9d9;
    border-color: #d9d9d9;
    border-width: 2px;
    border-radius: 10rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #77777725;
}

    .pop-up-tel-button:hover {
    }

    .pop-up-tel-button:focus, .pop-up-tel-button:active, .pop-up-tel-button:active:focus {
        box-shadow: 0 0 0 0.25rem #83838360;
    }

[type=button] {
    -webkit-appearance: unset;
}

/*#endregion */

/*#region BRANDED BORDERS */

.green-border-on-the-left {
    border-left: 10px solid #87c857;
    border-right: 10px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.green-border-on-the-right {
    border-right: 10px solid #87c857;
    border-left: 10px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.blue-border-on-the-left {
    border-left: 10px solid #4CA1EF;
    border-right: 10px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.no-border-on-either-side {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.stretch-to-left-border {
    margin-left: -100vw !important;
    padding-left: 100vw !important;
}

.stretch-to-right-border {
    margin-right: -100vw !important;
    padding-right: 100vw !important;
}

@media (min-width: 768px) { /*MD*/
    .smaller-container {
        flex: 0 0 auto;
        width: 83.33333333%;
        margin-left: 8.33333333%;
    }

    .green-border-on-the-left {
        border-left: 20px solid #87c857;
        border-right: 20px solid transparent;
        padding-left: 20px;
        padding-right: 20px;
    }

    .green-border-on-the-right {
        border-right: 20px solid #87c857;
        border-left: 20px solid transparent;
        padding-right: 20px;
        padding-left: 20px;
    }

    .no-border-on-either-side {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        padding-left: 20px;
        padding-right: 20px;
    }

    .blue-border-on-the-left {
        border-left: 20px solid #4CA1EF;
        border-right: 20px solid transparent;
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media (min-width: 992px) { /* LG & XL */
    .smaller-container {
        flex: 0 0 auto;
        width: 66.66666667%;
        margin-left: 16.66666667%;
    }

    .green-border-on-the-left {
        border-left: 50px solid #87c857;
        border-right: 50px solid transparent;
        padding-left: 70px;
        padding-right: 70px;
    }

    .green-border-on-the-right {
        border-right: 50px solid #87c857;
        border-left: 50px solid transparent;
        padding-right: 70px;
        padding-left: 70px;
    }

    .no-border-on-either-side {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        padding-left: 70px;
        padding-right: 70px;
    }

    .blue-border-on-the-left {
        border-left: 50px solid #4CA1EF;
        border-right: 50px solid transparent;
        padding-left: 70px;
        padding-right: 70px;
    }

}

@media (min-width: 1400px) { /* XXL*/
    .green-border-on-the-left {
        border-left: 80px solid #87c857;
        border-right: 80px solid transparent;
        padding-left: 80px;
        padding-right: 80px;
    }

    .green-border-on-the-right {
        border-right: 80px solid #87c857;
        border-left: 80px solid transparent;
        padding-right: 80px;
        padding-left: 80px;
    }

    .no-border-on-either-side {
        border-left: 80px solid transparent;
        border-right: 80px solid transparent;
        padding-left: 80px;
        padding-right: 80px;
    }

    .blue-border-on-the-left {
        border-left: 80px solid #4CA1EF;
        border-right: 80px solid transparent;
        padding-left: 80px;
        padding-right: 80px;
    }

}

/*#endregion */

/*#region BRANDED BORDERS WITH GRID */

.border-grid {
    display: grid;
    width: 100%;
    grid-template-columns: 10px 0px minmax(0, 100%) 0px 10px;
    grid-template-areas: "border-left padding-left main padding-right border-right";
}

.border-grid > .border-left,
.border-grid > .padding-left,
.border-grid > .main,
.border-grid > .padding-right,
.border-grid > .border-right {
    grid-row: 1 / -1;
}

.border-grid > .border-left {
    grid-column: border-left / border-left;
}

.border-grid > .padding-left {
    grid-column: padding-left / padding-left;
}

.border-grid > .main {
    grid-column: main / main;
}

.border-grid > .padding-right {
    grid-column: padding-right / padding-right;
}

.border-grid > .border-right {
    grid-column: border-right / border-right;
}

.border-grid-2x .main * {
    pointer-events: auto;
}

.border-grid-2x .main {
    pointer-events: none;
}

@media (min-width: 768px) {
    .border-grid {
        grid-template-columns: 20px 20px minmax(0, 100%) 20px 20px;
    }
}

@media (min-width: 992px) {
    .border-grid {
        grid-template-columns: 50px 70px minmax(0, 100%) 70px 50px;
    }
}

@media (min-width: 1200px) {
    .border-grid.border-grid-2x {
        grid-template-columns: 50px 70px 1fr [center] 1fr 70px 50px;
        grid-template-areas: "border-left padding-left main main padding-right border-right";
    }

    .border-grid-2x > .main-left,
    .border-grid-2x > .main-right,
    .border-grid-2x > .main > .left,
    .border-grid-2x > .main > .right,
    .border-grid-2x > .main > .main {
        grid-row: 1 / -1;
    }

    .border-grid-2x > .main {
        grid-column: main / main;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "left right";
    }

    .border-grid > .main > .main {
        grid-column: left / right;
    }

    .border-grid-2x > .main-left {
        grid-column: main-start / center;
    }

    .border-grid-2x > .main-right {
        grid-column: center / main-end;
    }

    .border-grid-2x > .main > .left {
        grid-column: left-start / left-end;
    }

    .border-grid-2x > .main > .right {
        grid-column: right-start / right-end;
    }
}

@media (min-width: 1400px) {
    .border-grid {
        grid-template-columns: 80px 80px minmax(0, 100%) 80px 80px;
    }

    .border-grid.border-grid-2x {
        grid-template-columns: 80px 80px 1fr [center] 1fr 80px 80px;
    }
}
/*#endregion */

/*#region NAVBAR */
#NavItemsContainer {
    margin: 1rem -0.5rem 1rem auto;
}

#NavItemsContainer .nav-link.active {
    text-decoration: underline;
}

#NavItemsContainer .nav-link {
    color: rgba(0,0,0,.9);
}

.btn-group-item-left {
    border-radius: 30px 0 0 30px;
    border: 1px solid #8C8882;
}

.btn-group-item-right {
    border-radius: 0 30px 30px 0;
    border: 1px solid #8C8882;
}

.btn-group-item-active, .navbar-toggler .navbar-search-button {
    background: #efefef;
    font-weight: bold;
}

.btn-group-item-inactive {
    color: #757575;
    font-weight: bold;
}

.navbar-search-button {
    text-decoration: none;
    align-items: center;
    display: none;
}

.navbar-search-button.btn-link {
    color: black;
    padding: 0;
    align-items: center;
    box-shadow: none !important;
}

.navbar-search-button:hover {
    color: #C73E32;
}

@media (min-width: 1200px) { /* lg */
    .navbar-search-button {
        display: flex;
    }
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler .navbar-search-button {
    display: flex;
}

/*#endregion */

/*#region FOOTER*/

footer {
    margin-top: auto;
    width: 100%;
}

#footer-links a, #partners-titel {
    text-decoration: none;
    line-height: 2;
    font-size: 1.15rem;
}

#partners a {
    color: #969696;
    text-decoration: none;
    font-size: 0.85rem;
}

#partners a:hover {
    color: unset;
}

#socials a {
    font-size: 1.3rem;
    padding: 0 .5rem;
}

/*#endregion */

/*#region LISTS */

.link-list a {
    display: list-item;
    list-style-position: inside;
    padding: .33rem 0;
    font-size: .9em;
}

.link-list a:not(:last-child) {
    border-bottom: solid 1px lightgrey;
}

.link-list a::marker {
    color: #C73E32;
    font-size: 1.2em;
}

.list-group {
    border-radius: 1rem;
}

.list-group .list-group-item-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 1.2rem;
}

@media (min-width:922px) {
    .list-group .list-group-item-action {
        padding: .8rem 1.8rem;
    }
}

.list-group .list-group-item-action::after {
    content: '\e901';
    font-family: 'Aposites';
    font-weight: 500;
    color: #DF5346;
    margin-left: .5rem;
    top: .1rem;
    position: relative;
}

ul.custom-list, ul.custom-list {
    color: #969696;
    padding-left: 1.2rem;
    width: 100%;
}

ul.custom-list ul, ul.custom-list ul {
    padding-left: 0.8rem;
    width: 100%;
}

ul.custom-list li, ul.custom-list li {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

ul.custom-list li::before, ul.custom-list li::before {
    content: '\2022';
    color: #C73E32;
    font-size: 150%;
    line-height: .5;
    padding: .3rem .8rem 0 0;
    position: absolute;
    left: -1.2rem;
}

ul.custom-list ul li::before, ul.custom-list ul li::before {
    content: '\25E6';
}

/*#endregion */

/*#region GAP */

.gx-1 {
    column-gap: .25rem;
}

.gx-2 {
    column-gap: .5rem;
}

.gx-3 {
    column-gap: 1rem;
}

.gx-4 {
    column-gap: 1.5rem;
}

.gx-5 {
    column-gap: 3rem;
}

.gy-1 {
    row-gap: .25rem;
}

.gy-2 {
    row-gap: .5rem;
}

.gy-3 {
    row-gap: 1rem;
}

.gy-4 {
    row-gap: 1.5rem;
}

.gy-5 {
    row-gap: 3rem;
}

/*#endregion */

/*#region BREADCRUMB */

.breadcrumb {
    display: flex;
    font-size: .9rem;
    padding: 1rem 0;
    text-transform: lowercase;
    border-bottom-right-radius: 1rem;
    column-gap: .3rem;
}

.breadcrumb-item {
    white-space: nowrap;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: black;
    padding-right: .3rem;
}

/*#endregion */

/*#region CUSTOM CHECKBOX */

input[type="checkbox"] {
    appearance: none;
    background: #D4CDC5;
    margin: 0;
    color: white;
    width: 1.35em;
    height: 1.35em;
    border: 0;
    padding: 0;
    display: grid;
    place-content: center;
    transition: .2s background ease-in-out;
}

input[type="checkbox"]:checked {
    background: #87c857;
}

input[type="checkbox"]:disabled {
    background: #cccccc;
}

input[type="checkbox"]::before {
    content: "\f00c";
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    transform: scale(0);
    transition: .2s transform ease-in-out;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

label.custom-checkbox {
    color: black;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 1em;
    margin: 0;
}

/*#endregion */

/*#region SEARCH BAR CONTAINER */

.search-bar-container {
    background: white;
    padding: 1.8rem;
    box-shadow: 0 .2rem 0.6rem 0.1rem #4CA1EF25;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    column-gap: 1rem;
    width: 100%;
    /*min-width: calc(214px + 1.8rem + 1.8rem)*/
}

.search-bar {
    flex-grow: 100;
    min-width: 100px;
}

.search-button {
    flex-grow: 1;
    white-space: nowrap;
    padding-left: 1rem;
    padding-right: 1rem;
}

.search-query {
    color: var(--red);
}

.search-query::before, .search-query::after {
    content: "'";
    color: black;
}

/*#endregion */

/*#region CARD */

.card {
    padding: 1.75rem;
    border: none;
    border-left: solid 1rem #e7f4dd;
    border-radius: 0 1rem 1rem 0;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.card-body {
    padding: 0;
}

.card-body p {
    font-size: .875em;
    line-height: 1.75;
    font-weight: 500;
}

.card-body p.important {
    font-size: 1.15em;
    font-weight: 500;
    color: black;
}


/*#endregion */

/*#region PAGINATION */

.pagination {
    margin: 2rem 0;
}

.pagination-button {
    border: none;
    border-top: 1px solid #D4CDC5;
    border-bottom: 1px solid #D4CDC5;
    background: white;
    color: #969696;
    font-weight: 500;
    padding: .5rem .85rem;
    text-decoration: none;
}

.pagination-button.disabled {
    color: #D0D0D0;
}

.pagination-button.active, .pagination-button:not(.disabled):hover {
    color: black;
}

.pagination-button.disabled, .pagination-button.active {
    pointer-events: none;
}

.pagination-button:first-child {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border-left: 1px solid #D4CDC5;
    padding-left: 1rem;
}

.pagination-button:last-child {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-right: 1px solid #D4CDC5;
    padding-right: 1rem;
}

/*#endregion */

/*#region TABBING */

.nav-tabs {
    border: none;
}

.nav-tabs .nav-item .nav-link {
    color: black;
    box-shadow: 0 .1rem .5rem .1rem #F0F0F0;
    border-radius: 1.5rem;
    background: white;
}

.nav-tabs .nav-item .nav-link.active {
    border: solid 2px #87c857;
}

.nav-tabs .result-count {
    color: #87c857;
}

/*#endregion */

/*#region SEARCH OVERLAY */

body:not(.search-overlay) .on-search-overlay {
    display: none;
}

body.search-overlay {
    overflow-y: hidden;
}

.on-search-overlay {
    z-index: 10000;
}

.search-overlay-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.search-overlay-title > span {
    padding-bottom: 2rem;
}

.goto-container {
    background: white;
    box-shadow: 0 -.1rem .25rem .1rem #F0F0F0;
    padding: 2rem;
}

.goto-container a {
    display: list-item;
    list-style-position: inside;
    padding: .33rem 0;
    font-size: .9em;
}

.goto-container a::marker {
    color: #C73E32;
    font-size: 1.2em;
}

.goto-container div:nth-child(-n+5) > a {
    border-bottom: 1px solid lightgrey;
}

@media (min-width: 576px) {
    .goto-container div:nth-child(5) > a {
        border-bottom: none;
    }
}

@media (min-width : 992px) {
    .on-search-overlay .search-bar-container, .goto-container {
        margin-left: -2rem;
        width: calc(100% + 4rem);
    }
}

/*#endregion */

/*#region COOKIE CONSENT */

#cookie-consent-overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 10001;
    background: #0005;
    display: flex;
}

#consent-container {
    width: 100%;
    background: white;
    padding: 1rem 0;
    align-self: center;
}

#consent-form {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

/*#endregion */

/*#region CUSTOM SCROLLBAR */

.custom-scroll {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #F0F0F080 white;
}

.custom-scroll::-webkit-scrollbar {
    width: 12px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: white;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #96969680;
    border-radius: 20px;
    border: 3px solid white;
}

/*#endregion */

/*#region PREVIEW BANNER */

.button--share {
    width: 30px;
    aspect-ratio: 1 / 1;
    line-height: 30px;
    border: none;
    font-size: 0.9rem;
    padding: 0;
    text-align: center;
    color: #777;
    background-color: white;
    border-radius: 10rem;
    font-family: 'Roboto Slab';
    transition: filter .2s;
    overflow: hidden;
}

    .button--share:hover {
        --button-foreground-color: var(--category-color, var(--primary-color));
        filter: none;
    }

/*#endregion */