/* ═══════════════════════════════════════════════════════
   02_BASIS.CSS — Burgerplatform
   Reset/Bootstrap-correcties, body & typografie, links, formulieren,
   afbeeldingen, algemene utilities en de sitebrede dark-mode basis.
   Kleuren/tokens/fonts → 01_colors-and-typography.css
═══════════════════════════════════════════════════════ */

/* ── Body (font + achtergrond) ─────────────────────── */
body {
    font-family: var(--font-body);
    background-color: var(--bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── Sticky-footer structuur ───────────────────────── */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Content offset voor fixed header ───────────────── */
body > section,
body > section > .container {
    padding-top: var(--header-h, 80px) !important;
}

/* ── Links ─────────────────────────────────────────── */
a {
    transition: color 0.2s;
    text-decoration: none;
    color: var(--accent-ink);
}

a[target="_blank"]::after {
    content: " " url(/icons/box-arrow-up-right.svg);
}

/* ── Typografie ────────────────────────────────────── */
h1, h2 {
    color: var(--ink);
    margin-top: 10px;
    margin-bottom: 20px;
}

h1#pagetitle {
    padding-top: 28px;
    margin-bottom: 16px;
}

h3, h4, h5 {
    color: var(--accent-ink);
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
    font-size: 2rem;
}

h3 > a {
    text-decoration: none;
}

/* ── Sidebar ───────────────────────────────────────── */
#rightcol {
    padding-left: 20px;
}

.linklist li {
    border-bottom: 2px solid var(--border-color);
    padding: 10px 0 0 0;
}

/* ── Formulieren ───────────────────────────────────── */
.textcounter {
    visibility: hidden;
    display: none;
}

::-webkit-input-placeholder { color: var(--ink-soft); }
::-moz-placeholder { color: var(--ink-soft); }
:-ms-input-placeholder { color: var(--ink-soft); }

/* ── Afbeeldingen ──────────────────────────────────── */
.header-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

figure.wp-block-image img {
    width: 100% !important;
    height: auto;
}

/* ── Overige klassen ───────────────────────────────── */
.maincontent-wrapped {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-name {
    font-size: 1.0em;
}

.payoff {
    text-align: center;
    font-size: 40px;
    height: 1px;
}

.payoff p { margin: 0; }

.like_footer {
    margin-top: 20px;
    margin-bottom: 20px;
}

.a2a_kit {
    margin-bottom: 50px;
}

.googlelogin {
    width: 45%;
    float: left;
}

/* ── Label-lijsten ─────────────────────────────────── */
ul.labellist,
ul.labelsublist {
    list-style-type: none !important;
    padding-left: 0;
}

.labelsublist li {
    position: relative;
    padding-left: 25px;
}

/* ── Mobiel ────────────────────────────────────────── */
@media (max-width: 768px) {
    body { background-size: auto; }

    #div-maincontainer { padding: 1em; }

    .thema_block { display: none !important; }

    p, .jumbotron p, #jumbotronlist > ol > li, ul li {
        font-size: 16px;
        font-weight: 500;
    }

    .col-lg-15 {
        width: 100%;
        float: left;
        text-align: center;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 30px;
    }

    .judgement_partyname { margin-left: 15px; }

    .judgement_name {
        margin-left: 15px;
        border-left: none !important;
        padding-top: 0;
    }

    #petitie .form-group { margin-bottom: 4px; }
    #petitie .form-group label { margin-bottom: 0; }
}

@media screen and (min-width: 768px) {
    .thema_select_small { display: none !important; }
}

@media (max-width: 768px) and (orientation: portrait) {
    .rotate-hint { display: block; }
}

/* ── Legacy widgets (Bootstrap 3/4, alerts, share-icoontjes, kalender) ── */
/* Bootstrap 3 correcties*/
    label {
        font-weight: 500;
    }

/* standaard stijlen voor numerieke waarden */

/*decimale en money waarden */
.d, .m, .n {text-align: right;}
/* boolean , wordt vinkje als glyphicon getoond */
.b {text-align:center;}


/*bootstrap rounded circle*/
.btn-circle.btn-xs {
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 0px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 10px;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}

/*padding bootstrap 4*/
.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

/* schaduwen */
.z-depth-3 {
    box-shadow: 0 12px 15px 0 rgba(0,0,0,.24), 0 17px 50px 0 rgba(0,0,0,.19);
}

/* textcounter onder input fields*/

.textcounter {font-size:9px;margin-top:3px;}

/* bootstrapalerts hebben bruine fontkleur*/
.alert{color:#1F2544}

/* help-block voor validatietekst in form validation*/
SPAN.help-block {
    font-size:smaller;
    margin:0;
}

.htmlafterinput {
    font-size:smaller;
    background-color:InfoBackground;
    color:InfoText;
    padding:2px;
}


/* Voor keywords */
ul.keywords {list-style-type:none}
ul.keywords > li {display:inline; }
ul.keywords > li > a > dfn { font-style:normal; }

/* Share buttons */
.share-buttons-embedded {
   text-align:center;
   padding:10px;
}

.share-buttons > svg {width:16px;font-size:1.1em;margin:10px;cursor:pointer;}

/*    background-color: #00bd6f;*/
.share-buttons.whatsapp {
/*    color: #fff;*/
    color: #00bd6f;
    padding: 3px;
    border-radius: 3px;
}

.share-buttons.facebook {
    color: #4c66a4;
}

.share-buttons.twitter {
    color: #00a0d1;
}

.share-buttons.linkedin {
    color: #0082b9;
}

.fab.fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
}

.share-buttons.email {
    color: #c40000;
}

.share-buttons.api {
    color: #222;
}

.share-buttons > svg {width:18px;height:18px;}

.modal-dialog{z-index:999999999999;}

/*li.dropdown > a::after, li.open > a::after {
    display:inline-block;
    content: ' ';
    background-image: url('/libs/fa/svgs/light/sort-down.svg');
    background-size: 18px 15px;
    height: 15px;
    width: 18px;
}*/

/* testtabel voor mailing  mailer.cs */

#table-mailing-test td {padding:2px;border:1px solid #ccc;font-size:smaller}

.btn-group-xs > .btn, .btn-xs {
    padding: .3rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.container-reading {
    max-width: 720px; /* Ideale breedte voor leesbaarheid */
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════════════════
   DARK MODE — sitebrede basis
══════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {

    /* ── Body en structuur ──────────────────────────── */
    body,
    header,
    section,
    main,
    footer.bg-dark,
    .footer {
        background-color: var(--bg) !important;
        color: var(--ink);
    }
    /* ── Tabellen ───────────────────────────────────── */
    td, th {
        color: var(--ink);
        border-color: var(--border-color);
    }
    /* ── Links ──────────────────────────────────────── */
    a:not(.btn):not(footer a) {
        color: var(--accent-ink);
    }
    /* ── Bootstrap achtergrond overrides ────────────── */
    .bg-white,
    .bg-light {
        background-color: #141414 !important;
    }
    /* ── Formulieren ────────────────────────────────── */
    input, textarea, select {
        background-color: #1e1e1e !important;
        color: var(--ink) !important;
        border-color: var(--border-color) !important;
    }
    /* ── Foutmeldingen ──────────────────────────────── */
    .alert-danger {
        background-color: rgba(192, 57, 43, 0.16) !important;
        border-color: rgba(220, 53, 69, 0.55) !important;
        color: #ffb3b3 !important;
    }

    .invalid-feedback {
        color: #ff8a8a !important;
    }
    /* ── Utilities ──────────────────────────────────── */
    .text-white {
        color: #ffffff !important;
    }

    .text-muted {
        color: var(--ink-soft) !important;
    }

    .border {
        border-color: var(--border-color) !important;
    }
}
