/* Vamoz cookiemelding (bron: handboek/tools/cookiemelding). Opmaak zoals rvlautos.nl en lesoleilbloemen.nl.
   Kleur per site via --vzc-accent en --vzc-op-accent (instellingen.php). Lettertype van de site.
   Veel !important: thema's en page builders stylen button, input en p vaak hard; dit moet er overal hetzelfde uitzien. */
.vzc-root { --vzc-text: #212121; --vzc-line: #f4f4f4; }
.vzc-root .vzc, .vzc-root .vzc-pref { box-sizing: border-box; margin: auto !important; padding: 0; border: 1px solid var(--vzc-line) !important; border-radius: 6px !important; background: #fff !important; color: var(--vzc-text) !important; font-family: inherit; font-size: 14px; line-height: 24px; text-align: left; letter-spacing: normal; text-transform: none; }
.vzc-root .vzc *, .vzc-root .vzc-pref * { box-sizing: border-box; color: inherit; } /* tegen thema's met * { color: … } */
.vzc-root .vzc:not([open]), .vzc-root .vzc-pref:not([open]) { display: none !important; } /* Bootstrap 4 zet dialog op block */
.vzc-root .vzc::backdrop, .vzc-root .vzc-pref::backdrop { background: rgb(0 0 0 / .4); }
.vzc-root .vzc { width: 440px; max-width: calc(100% - 16px); padding: 20px 26px; box-shadow: 0 -1px 10px 0 rgb(172 171 171 / .3); }
.vzc-root .vzc__title, .vzc-root .vzc-pref__title { margin: 0 0 12px !important; padding: 0 !important; color: var(--vzc-text) !important; font-family: inherit !important; font-size: 18px !important; font-weight: 700 !important; line-height: 24px !important; letter-spacing: normal !important; text-transform: none !important; }
.vzc-root .vzc-pref__title { margin: 0 !important; }
.vzc-root .vzc__text p, .vzc-root .vzc-pref__intro p, .vzc-root .vzc-acc__text { margin: 0; padding: 0; color: inherit !important; font-family: inherit !important; font-size: 14px !important; line-height: 24px !important; }
.vzc-root .vzc__buttons, .vzc-root .vzc-pref__buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.vzc-root .vzc__buttons { margin-top: 16px; }

.vzc-root .vzc-btn { flex: auto; width: auto; max-width: 100%; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 8px !important; border: 2px solid var(--vzc-accent) !important; border-radius: 2px !important; background: transparent !important; box-shadow: none !important; color: var(--vzc-accent) !important; font-family: inherit !important; font-size: 14px !important; font-weight: 500 !important; line-height: 24px !important; letter-spacing: normal !important; text-align: center !important; text-decoration: none !important; text-transform: none !important; white-space: normal; cursor: pointer; }
.vzc-root .vzc-btn--accept { background: var(--vzc-accent) !important; color: var(--vzc-op-accent) !important; }
.vzc-root .vzc-btn:hover { filter: brightness(.9); }
.vzc-root .vzc-btn:focus-visible, .vzc-root .vzc-pref__close:focus-visible, .vzc-root .vzc-acc__btn:focus-visible, .vzc-root .vzc-switch input:focus-visible { outline: 2px solid var(--vzc-accent) !important; outline-offset: 2px; }

.vzc-root .vzc-pref { width: 845px; max-width: calc(100% - 16px); max-height: 79vh; box-shadow: 0 32px 68px rgb(0 0 0 / .3); overflow: hidden; }
.vzc-root .vzc-pref[open] { display: flex; flex-direction: column; }
.vzc-root .vzc-pref__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--vzc-line); }
.vzc-root .vzc-pref__close { display: grid; place-items: center; flex: none; width: 24px !important; height: 24px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--vzc-text) !important; cursor: pointer; }
.vzc-root .vzc-pref__body { flex: 1; overflow: auto; padding: 0 24px; outline: 0; }
.vzc-root .vzc-pref__intro { padding: 12px 0; border-bottom: 1px solid var(--vzc-line); }
.vzc-root .vzc-pref__intro p { margin: 0 0 1em; }
.vzc-root .vzc-pref__intro p:last-child { margin-bottom: 0; }
.vzc-root .vzc-pref__intro a { color: var(--vzc-accent) !important; text-decoration: underline !important; }
.vzc-root .vzc-pref__categories { margin-bottom: 10px; }

.vzc-root .vzc-acc { border-bottom: 1px solid var(--vzc-line); }
.vzc-root .vzc-acc:last-child { border-bottom: 0; }
.vzc-root .vzc-acc__item { display: flex; margin-top: 10px; cursor: pointer; }
.vzc-root .vzc-acc__chevron { position: relative; flex: none; width: 8px; margin-right: 22px; }
.vzc-root .vzc-acc__chevron::before { content: ""; position: absolute; top: 8px; width: 6px; height: 6px; border-right: 1.4px solid; border-bottom: 1.4px solid; transform: rotate(-45deg); transition: transform .2s ease-in-out; }
.vzc-root .vzc-acc.is-open .vzc-acc__chevron::before { transform: rotate(45deg); }
.vzc-root .vzc-acc__head { flex: 1; min-width: 0; }
.vzc-root .vzc-acc__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vzc-root .vzc-acc__btn { width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--vzc-text) !important; font-family: inherit !important; font-size: 16px !important; font-weight: 700 !important; line-height: 24px !important; letter-spacing: normal !important; text-align: left !important; text-transform: none !important; cursor: pointer; }
.vzc-root .vzc-acc__always { color: var(--vzc-accent); font-size: 14px; font-weight: 600; line-height: 24px; }
.vzc-root .vzc-acc__text { margin: 10px 0 16px !important; }
.vzc-root .vzc-acc__body { padding: 0 22px; margin-bottom: 16px; }
.vzc-root .vzc-acc__body[hidden] { display: none; }

.vzc-root .vzc-table { border-radius: 6px; background: #f4f4f4; }
.vzc-root .vzc-table__cookie { margin: 0 !important; padding: 15px 10px !important; border-bottom: 1px solid #ebebeb; font-size: 12px; line-height: 24px; list-style: none !important; }
.vzc-root .vzc-table__cookie:last-child { border-bottom: 0; }
.vzc-root .vzc-table__cookie li { display: flex; margin: 0 !important; padding: 3px 0 !important; list-style: none !important; font-size: 12px !important; line-height: 24px !important; }
.vzc-root .vzc-table__cookie li::before, .vzc-root .vzc-table__cookie li::marker { content: none !important; display: none !important; }
.vzc-root .vzc-table__cookie li:first-child { padding-top: 0 !important; }
.vzc-root .vzc-table__cookie li span:first-child { flex: none; width: 100px; font-weight: 600; overflow-wrap: anywhere; }
.vzc-root .vzc-table__cookie li span:last-child { flex: 1; margin-left: 8px; overflow-wrap: anywhere; }

.vzc-root .vzc-switch { display: flex; flex: none; }
.vzc-root .vzc-switch input[type="checkbox"] { appearance: none !important; -webkit-appearance: none !important; position: relative !important; display: block !important; width: 44px !important; min-width: 44px !important; height: 24px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50px !important; background: #d0d5d2 !important; box-shadow: none !important; opacity: 1 !important; cursor: pointer; }
.vzc-root .vzc-switch input[type="checkbox"]:checked { background: var(--vzc-accent) !important; }
.vzc-root .vzc-switch input[type="checkbox"]::before { content: "" !important; position: absolute !important; left: 2px !important; top: auto !important; bottom: 2px !important; width: 20px !important; height: 20px !important; border: 0 !important; border-radius: 50% !important; background: #fff !important; transform: none; transition: transform .4s; }
.vzc-root .vzc-switch input[type="checkbox"]::after { content: none !important; display: none !important; }
.vzc-root .vzc-switch input[type="checkbox"]:checked::before { transform: translateX(20px) !important; }

.vzc-root .vzc-pref__footer { position: relative; }
.vzc-root .vzc-pref__shadow { position: absolute; bottom: calc(100% - 1px); width: 100%; height: 40px; background: linear-gradient(180deg, rgb(255 255 255 / 0) 0%, #fff 100%); pointer-events: none; }
.vzc-root .vzc-pref__buttons { padding: 22px 24px; border-top: 1px solid var(--vzc-line); }

@media (max-width: 576px) {
    .vzc-root .vzc-pref { max-width: 100%; max-height: 100vh; max-height: 100dvh; }
    .vzc-root .vzc-pref__buttons { flex-direction: column; gap: 10px; }
    .vzc-root .vzc-pref__buttons .vzc-btn { width: 100%; }
    .vzc-root .vzc-pref__buttons .vzc-btn--accept { order: 1; }
    .vzc-root .vzc-pref__buttons .vzc-btn--save { order: 2; }
    .vzc-root .vzc-pref__buttons .vzc-btn--reject { order: 3; }
    .vzc-root .vzc-acc__body { padding-right: 0; }
}
@media (max-width: 440px) {
    .vzc-root .vzc { width: 100%; max-width: calc(100% - 16px); padding: 20px 24px; }
    .vzc-root .vzc__text { max-height: 40vh; overflow-y: auto; }
    .vzc-root .vzc__buttons { flex-direction: column; gap: 10px; }
    .vzc-root .vzc__buttons .vzc-btn { width: 100%; }
    .vzc-root .vzc__buttons .vzc-btn--accept { order: 1; }
    .vzc-root .vzc__buttons .vzc-btn--customize { order: 2; }
    .vzc-root .vzc__buttons .vzc-btn--reject { order: 3; }
}
@media (max-width: 425px) {
    .vzc-root .vzc-acc__chevron { margin-right: 15px; }
    .vzc-root .vzc-acc__body { padding: 0 15px; }
}

/* Rondje onderin om de keuze later aan te passen (links of rechts en hoogte via instellingen.php). */
.vzc-root .vzc-knop { position: fixed; z-index: 99990; display: inline-flex !important; align-items: center; justify-content: center; width: 45px !important; height: 45px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--vzc-accent) !important; box-shadow: 0 3px 12px rgb(0 0 0 / .35) !important; color: var(--vzc-op-accent) !important; cursor: pointer; }
.vzc-root .vzc-knop[hidden] { display: none !important; }
.vzc-root .vzc-knop svg { width: 26px; height: 26px; }
.vzc-root .vzc-knop:hover { filter: brightness(.9); }
.vzc-root .vzc-knop:focus-visible { outline: 3px solid var(--vzc-accent); outline-offset: 3px; }
@media (max-width: 767px) { .vzc-root .vzc-knop { width: 42px !important; height: 42px !important; } .vzc-root .vzc-knop svg { width: 24px; height: 24px; } }
@media print { .vzc-root .vzc-knop { display: none !important; } }
