/* ===================================================
   MEADOWS-HALE EUROPE — Website CSS (opgeschoond)
   Versie 2 — huisstijl geconsolideerd
   ---------------------------------------------------
   Wijzigingen t.o.v. vorige versie:
   - CSS-variabelen in :root voor kleuren en font
   - #3f7fb0 en #3498db -> --mhe-primary (#0079d1)
   - #bee5eb / #e3f2fd / #bbdefb -> --mhe-bg-light / --mhe-bg-box
   - Groen alleen nog semantisch (succes/actief);
     gewone hovers zijn nu blauw
   - Rood-op-geel waarschuwingen -> --mhe-warn op --mhe-warn-bg
   - Tahoma overal via --mhe-font
   - Nieuwe klasse .mhe-alert voor attentiekaders
   - Ongeldige //-commentaren, dubbele selectors en
     overige technische punten gefixt
   Oude waarden staan als commentaar: was: ...
   =================================================== */

:root {
  --mhe-primary: #0079d1;
  --mhe-primary-dark: #005fa3;      /* hover-variant van primary */
  --mhe-bg-light: #ddeeff;          /* lichte huisstijl-achtergrond */
  --mhe-bg-box: #e8f0f8;            /* kaders / blokken */
  --mhe-bg-neutral: #f1f1f1;        /* neutrale lijst-achtergrond */
  --mhe-border-light: #c0d0e0;      /* lichte rand bij kaders */
  --mhe-text: #333333;
  --mhe-success: #4caf50;
  --mhe-success-bg: #c8e6c9;
  --mhe-warn: #c0392b;              /* vervangt rood #FF0000 */
  --mhe-warn-bg: #fdecea;           /* vervangt geel #FFFF00 */
  --mhe-font: tahoma, arial, sans-serif;
}

/* ===================================================
   Content blok stijlen (mhe-email blokken in CMS)
   =================================================== */

/* Info-kaders */
.mhe-box {
  max-width: 550px;
  margin: 0 auto 10px auto;
  padding: 8px 12px;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Grijs kader — neutrale info */
.mhe-box-gray {
  background: var(--mhe-bg-box);
  border: 1px solid var(--mhe-border-light);
  font-size: 90%;
}

/* Blauw accent kader — uitgelicht nieuws / gastsprekers */
.mhe-box-accent {
  background: var(--mhe-bg-light); /* was: #e6f2ff */
  border-left: 4px solid var(--mhe-primary);
  font-size: 100%;
}

/* Attentiekader — bestel- en bevestigingsberichten.
   Vervangt de inline styles uit de CMS-fragmenten:
   gebruik <div class="mhe-alert"> ... </div> */
.mhe-alert {
  background: var(--mhe-bg-box);
  border-left: 5px solid var(--mhe-primary);
  padding: 15px 20px;
  margin: 0 0 25px 0;
  color: var(--mhe-text);
}

.mhe-alert p {
  margin: 0 0 8px 0;
  font-size: 15px;
}

.mhe-alert p:last-child {
  margin-bottom: 0;
}

.mhe-alert p.mhe-alert-title {
  font-size: 17px;
  font-weight: bold;
}

/* Onderstrepingstitel (vervangt <ins>) */
.mhe-label {
  font-weight: bold;
  border-bottom: 2px solid var(--mhe-primary);
  padding-bottom: 1px;
}

/* Twee-kolommen blok — mobiel responsive */
.mhe-col {
  display: inline-block;
  width: 100%;
  max-width: 260px;
  vertical-align: top;
  padding: 5px;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .mhe-col {
    max-width: 100% !important;
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Linkkleur binnen kaders — overschrijft eventuele websitestijl */
.mhe-box a,
.mhe-box-accent a,
.mhe-alert a {
  color: var(--mhe-primary);
}

/* Verberg email-only elementen op de website */
.email-only {
  display: none !important;
}

/* ===================================================
   #### TEMP #### (START)
   Let op: dit blok stond al als tijdelijk gemarkeerd.
   Kleuren zijn meegenomen in de huisstijl; beslis of
   dit blok definitief wordt of kan vervallen.
   =================================================== */

.am-thanks-login-offer H3 {
    border: var(--mhe-primary) solid 1px; /* was: #3f7fb0 */
    color: var(--mhe-text); /* was: #000000 */
    border-radius: 3px;
    padding: 3px 5px;
    font-size: 12px;
    text-transform: uppercase;
    vertical-align: middle;
    margin: 5px;
    font-weight: bold;
}

.am-thanks-login-offer a {
    color: var(--mhe-primary); /* was: #f1f1f1 op #e3f2fd — onleesbaar (licht op licht) */
    background-color: var(--mhe-bg-light); /* was: #e3f2fd */
}

.am-thanks-login-offer a:hover {
    color: #ffffff; /* was: black op groen */
    background: var(--mhe-primary-dark);
}

div#grid-credits.am-grid-wrap H1 {
    font-size: 175%;
    color: #808080;
    font-weight: bold;
    background: #dedede;
    border: 1px solid #cccccc;
    border-radius: 0px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    box-sizing: content-box;
}

/* #### TEMP #### (END) */

.am-user-identity-block-avatar-pic img {
    width: 50px;
    height: 50px;
}

.am-user-identity-block-avatar-pic {
    width: 50px;
    height: 50px;
}

/* Semantisch groen: betaalde/toegevoegde factuurinfo */
.user-invoice-add-info,
.user-invoice-header .user-invoice-add-info {
    background: var(--mhe-success);
}

.am-login-layout-with-sidebar .am-login-layout-with-sidebar_sidebar {
    padding-left: 10px;
    background: #ffffff;
}

.am-footer-content {
    margin-left: -20px;
    margin-right: -20px;
}

.am-common H1 {
    font-size: 200%;
    color: #ffffff;
    font-weight: bold;
    background-color: var(--mhe-primary);
    border: 1px solid var(--mhe-bg-light); /* was: #bee5eb */
    border-radius: 3px;
    padding: 5px 10px;
    font-family: var(--mhe-font);
    text-align: center;
}

.am-common H1 a {
    text-decoration: none;
}

.am-common H2 {
    font-size: 125%;
    color: var(--mhe-primary);
    border-bottom: 2px solid var(--mhe-primary);
    padding: 5px 0px;
    font-weight: bold;
    font-family: var(--mhe-font);
}

.am-common H2 a {
    text-decoration: none;
}

.am-common H3 {
    font-size: 1.2rem;
    line-height: 1em;
    height: auto;
    font-weight: bold;
    margin: 0 0 0.6em;
}

.am-common H4 {
    padding: 5px 5px;
}

.am-grid-title-desc {
    font-weight: normal;
}

.am-lang-choice {
    float: right;
    line-height: 24px;
    margin-left: 0.5em;
    margin-right: 2em;
}

div#html1, div#html2, div#html3, div#html4 {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.am-notification-close {
    border-radius: 2px;
    background: #ffffff;
}

.am-notification-close:link {
    border: 2px solid transparent; /* was: #ffffff00 */
    color: #ffffff;
    background: var(--mhe-warn); /* was: red */
}

.am-notification-close:hover {
    border-radius: 0px;
    border: 2px solid var(--mhe-warn); /* was: red */
    font-size: 110%;
    color: #ffffff;
    background: var(--mhe-warn); /* was: red */
    font-weight: bold;
}

/* Knoppen: hover nu in huisstijlblauw i.p.v. groen */
.am-body-content input[type="submit"] {
    font-size: 13px;
    padding: 9px 18px 7px 18px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    font-family: var(--mhe-font); /* was: (browser-default / Arial) */
}

.am-body-content input[type="submit"]:hover,
.am-body-content input[type="button"]:hover,
.am-body-content a.button:hover,
.am-body-content button:hover {
    color: #ffffff; /* was: black */
    background: var(--mhe-primary-dark); /* was: #c8e6c9 */
    border-color: var(--mhe-primary-dark); /* was: #4caf50 */
}

.am-body-content input[type="button"] {
    font-size: 13px;
    border: 1px solid #ffffff;
    font-family: var(--mhe-font);
}

.am-body-content a.button {
    font-size: 13px;
    border: 1px solid #ffffff;
    font-family: var(--mhe-font);
}

.am-body-content button {
    font-size: 14px;
    border: 1px solid #ffffff;
    font-family: var(--mhe-font);
}

.am-audio-no-access {
    font-size: 14px;
    font-weight: bold;
    border-bottom-style: solid;
    border-bottom-color: var(--mhe-warn); /* was: red */
}

/* #### Widgets Startpage #### (START) */

ul.am-widget-list.am-list-subscriptions li {
    list-style-type: circle;
    list-style-position: inside;
    border-left: 5px solid var(--mhe-primary);
    background-color: var(--mhe-bg-neutral);
    padding: 10px 20px;
}

ul.am-widget-list.am-list-resources li {
    list-style-type: none;
    list-style-position: inside;
    border-left: 5px solid var(--mhe-bg-light); /* was: #bbdefb */
    background-color: var(--mhe-bg-neutral);
    padding: 10px 20px;
}

ul.am-widget-list.am-list-links li {
    list-style-type: none;
    list-style-position: inside;
    border-left: 5px solid #bcaaa4;
    background-color: var(--mhe-bg-neutral);
    padding: 10px 20px;
}

/* Semantisch groen: toekomstige startdatum */
span.am-list-subscriptions-date_future {
    color: var(--mhe-success);
    background: #D3FFD3;
    font-weight: normal;
    padding: 3px 6px;
}

span.am-list-subscriptions-date_future_date {
    font-weight: bold;
}

/* Waarschuwing: verloopdatum (was rood op geel) */
span.am-list-subscriptions-date_expires {
    color: var(--mhe-warn); /* was: #FF0000 */
    background: var(--mhe-warn-bg); /* was: #FFFF00 */
    font-weight: normal;
}

span.am-list-subscriptions-date_expires_date {
    font-weight: bold;
}

span.am-list-subscriptions-date_rebill {
    white-space: nowrap; /* was: pre */
    color: var(--mhe-primary); /* was: #3f7fb0 */
    background-color: var(--mhe-bg-light); /* was: #e3f2fd */
    font-weight: normal;
    padding: 3px 6px;
}

span.am-list-subscriptions-date_rebill_date {
    font-weight: bold;
}

/* Semantisch groen: actieve verlenging */
span.am-active-invoice-rebill-date {
    color: #FFFFFF;
    background: var(--mhe-success);
    font-weight: bold;
}

/* Waarschuwing: opzegging (was rood op geel) */
.am-active-invoice-cancel {
    color: var(--mhe-warn); /* was: #FF0000 */
    background: var(--mhe-warn-bg); /* was: #FFFF00 */
}

a.cancel-subscription.local-link {
    white-space: nowrap; /* was: pre */
}

a.upgrade-subscription.local-link {
    white-space: nowrap; /* was: pre */
    text-align: center;
    border: var(--mhe-primary) solid 1px; /* was: #3f7fb0 */
    color: var(--mhe-primary); /* was: #3f7fb0 */
    background-color: var(--mhe-bg-light); /* was: #e3f2fd */
    line-height: 225%;
    padding: 3px 5px;
    vertical-align: middle;
    font-weight: bold;
    border-radius: 5px;
}

a.upgrade-subscription.local-link:hover {
    color: #ffffff; /* was: black */
    background: var(--mhe-primary-dark); /* was: #c8e6c9 */
    border-color: var(--mhe-primary-dark); /* was: #4caf50 */
}

span.am-list-subscriptions-date_lifetime {
    color: var(--mhe-success);
}

/* Waarschuwing: openstaande factuur (was rood/geel op #ffebcd) */
div#block-pending-invoice.am-block li {
    list-style-type: square;
    list-style-position: inside;
    border-left: 5px solid var(--mhe-warn); /* was: #FF0000 */
    background-color: var(--mhe-warn-bg); /* was: #ffebcd */
    padding: 10px 20px;
}

div#block-pending-invoice.am-block li a {
    color: var(--mhe-warn); /* was: #FF0000 op #FFFF00 */
    background: transparent;
    font-weight: bold;
}

/* #### Widgets Startpage #### (END) */
/* #### Add Subscription #### (START) */

.am-product-title {
    font-weight: bold;
    line-height: 1.4; /* was: 2 — veroorzaakte grote afstand tot de terms */
}

.am-product-terms {
    display: block; /* FIX: stond inline naast de titel; nu op eigen regel eronder */
    width: fit-content;
    margin: 1px 0 4px 1.6em; /* was: 4px 0 6px — compacter onder de titel */
    white-space: normal; /* was: pre — brak af bij lange FR/DE-teksten op mobiel */
    font-style: normal;
    font-weight: bold;
    font-size: 90%;
    color: var(--mhe-primary);
    /* was: rand + achtergrond (#ffebcd, later --mhe-bg-light) — te veel nadruk
       t.o.v. de titel; vet + huisstijlblauw volstaat als accent */
    border: none;
    background: none;
    padding: 0;
}

.am-popup input {
    vertical-align: 0;
}

.am-upgrade-options-comment {
    color: var(--mhe-primary); /* was: #3f7fb0 */
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    padding: 3px 5px;
}

.am-product-desc {
    margin-top: 0.4em;
}

/* Productomschrijving-blok — vervangt de row/column float-constructie.
   Gebruik: <div class="mhe-desc mhe-desc-green"> ... </div>
   De vlag gaat als <img class="mhe-flag"> ín de tekst mee. */
.am-product-desc .mhe-desc {
    background: var(--mhe-bg-neutral); /* was: inline #eeeeee */
    padding: 6px 10px;
    margin-left: 1.6em; /* FIX: uitlijnen met .am-product-title en .am-product-terms */
    border-bottom: 4px solid var(--mhe-primary); /* standaard accent; overschrijfbaar met modifier */
    border-radius: 3px 3px 0 0;
}

/* Abonnementstype — kleurlijn onderaan het omschrijvingsblok.
   De vlag in de tekst geeft de taal aan; de lijnkleur het type. */
.am-product-desc .mhe-desc-premium   { border-bottom-color: #b0bec5; } /* Premium website-toegang */
.am-product-desc .mhe-desc-sop-bk    { border-bottom-color: #f1c40f; } /* SOP boek + audio (was: #ffff00) */
.am-product-desc .mhe-desc-sop-audio { border-bottom-color: var(--mhe-primary); } /* SOP audio only */
.am-product-desc .mhe-desc-sop-add   { border-bottom-color: #8e44ad; } /* SOP additional (was: #d1c4e9) */

/* Modifier: inclusief Basic Audios voor de eerste 3 maanden —
   dubbele lijn in de typekleur (was: aparte kleuren #488f37 / #bbdefb) */
.am-product-desc .mhe-desc-basics {
    border-bottom-width: 6px;
    border-bottom-style: double;
}

/* Vlagsymbool — schaalt mee met de tekstregel en steekt er niet bovenuit */
.am-product-desc .mhe-flag {
    height: 1.1em;
    width: auto; /* FIX: was 1.1em — perste de 48×32 (3:2) bronbestanden in een vierkant */
    vertical-align: -0.15em; /* optisch gecentreerd op de tekstlijn */
    margin: 0 6px 0 0;
    display: inline-block;
}

div.am-element.element.group a {
    color: white;
    background: var(--mhe-primary); /* was: #3f7fb0 */
    border: 1px solid var(--mhe-primary); /* was: #3f7fb0 */
    padding: 0.6em 1.2em;
    margin: 0px;
    border-radius: 4px;
    font-family: var(--mhe-font); /* was: Arial, Helvetica */
    line-height: 1.25em;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    vertical-align: middle;
}

div.am-element.element.group a:hover {
    color: #ffffff; /* was: black */
    background: var(--mhe-primary-dark); /* was: #c8e6c9 */
    border-color: var(--mhe-primary-dark); /* was: #4caf50 */
}

.am-invoice-summary {
    background: var(--mhe-bg-box); /* was: #F0FFFF */
}

.am-invoice-summary-item .am-invoice-summary-item-num {
    border-radius: 3px;
    color: #e0e0e0;
    background: #616161;
    padding: 2px;
}

div.am-invoice-summary-terms-subscription {
    color: var(--mhe-warn); /* was: #FF0000 */
    background: var(--mhe-warn-bg); /* was: #FFFF00 */
}

.am-paysystem-desc {
    margin: 10px;
}

/* Betaalmethode-keuze: hover neutraal blauw, gekozen = groen (semantisch) */
.payment label.radio {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    margin-bottom: 1em;
    border-bottom: #dfe8f0 solid 1px;
    border-left: 5px solid #bcaaa4;
    background-color: var(--mhe-bg-neutral);
}

.payment label.radio:hover {
    background-color: var(--mhe-bg-light); /* was: #c8e6c9 — groen gereserveerd voor gekozen status */
}

.payment label.radio.am-el-checked {
    border-left: 5px solid var(--mhe-success);
    border-right: #dfe8f0 solid 1px;
    border-bottom: var(--mhe-success) solid 1px;
    background-color: var(--mhe-success-bg);
}

.am-popup .am-brick-product-popup-cats a {
    padding: 3px;
    font-size: 12px;
    text-transform: uppercase;
    vertical-align: middle;
    text-align: center;
    border: var(--mhe-primary) solid 1px; /* was: #3f7fb0 */
    border-radius: 5px;
    margin: 3px;
    color: #ffffff; /* was: #f1f1f1 */
    background-color: var(--mhe-primary); /* was: #3f7fb0 */
    font-weight: bold;
    line-height: 2em;
}

.am-popup .am-brick-product-popup-cats a:hover {
    border: var(--mhe-primary) solid 1px;
    color: var(--mhe-primary);
    background-color: var(--mhe-bg-light); /* was: #e3f2fd */
}

/* Sectie-markering bestelformulier — zachter dan fel geel */
.subscription,
.tickets,
.bsmorder,
.shipping {
    background: var(--mhe-bg-light); /* was: #ffffbb */
}

.address {
    border-bottom: 1px;
    border-color: var(--mhe-warn); /* was: #F00 */
    border-style: solid;
}

.payment {
    /* background: var(--mhe-bg-light); */
}

/* Semantisch groen: succesmelding */
div.am-thanks-status-success {
    padding: 6px;
    margin: 6px;
    font-size: 125%;
    font-weight: bold;
    text-align: center;
    border: var(--mhe-success) solid 1px;
    background-color: var(--mhe-success-bg);
}

/* #### Add Subscription #### (END) */
/* #### Agreement Popup #### (START) */

.agreement {
    border-radius: 3px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 1px -1px #b0b0b0;
    background: #eee;
    margin: 0;
    padding: 0;
    white-space: normal;
}

/* #### Agreement Popup #### (END) */
/* #### Purchases and Subscriptions #### (START) */

.am-active-invoice {
    list-style-type: circle;
    list-style-position: inside;
    border-left: 5px solid var(--mhe-primary);
    background-color: var(--mhe-bg-neutral);
    padding: 10px 20px;
}

.am-active-invoice-header {
    margin-bottom: 0.4em;
}

.am-active-invoice-terms {
    font-style: normal;
    font-weight: bold;
    font-size: 90%;
    color: var(--mhe-primary);
    border-radius: 5px;
    border: 1px solid var(--mhe-primary);
    background-color: var(--mhe-bg-light); /* was: #bbdefb */
    padding: 1px;
}

/* Waarschuwing: mislukte betaling (was geel op rood) */
span.am-active-invoice-failed {
    color: #ffffff; /* was: #FFFF00 */
    background: var(--mhe-warn); /* was: #FF0000 */
    font-weight: bold;
}

/* #### Purchases and Subscriptions #### (END) */
/* #### MHE - BSM-Shop #### (START) */

.am-cart .am-cart-main H2 {
    font-size: large;
    line-height: 100%;
    font-weight: bold;
    border-bottom: 5px solid var(--mhe-primary); /* was: #3f7fb0 */
    background-color: var(--mhe-bg-neutral);
    padding: 0.5em 1em 0.3em 1em;
    font-family: var(--mhe-font);
}

.am-cart .am-cart-main H3 {
    font-weight: bold;
    background-color: var(--mhe-bg-neutral);
    padding: 1em;
}

ul.am-product-feedback {
    margin: 0 0 0.1em 0;
}

ul.am-product-feedback li.am-product-feedback_item {
    background-color: var(--mhe-bg-neutral);
    margin-top: 1em;
}

.am-product-feedback_item_rating {
    margin-bottom: 0.4em;
}

.am-product-feedback_item_message {
    margin-bottom: 0.4em;
}

.am-product-feedback_item_user {
    font-weight: bold;
}

.am-cart-product-status {
    color: var(--mhe-primary);
    background: var(--mhe-success-bg); /* was: #b9dfba */
    padding: 0.3em;
}

.am-cart-category-desc {
    font-size: 16px;
}

#cart-basket-head {
    font-size: 16px;
}

.am-cart-front-category-list-grid .am-cart-front-category-list-item {
    font-size: 120%;
    color: var(--mhe-primary); /* was: #3f7fb0 */
    transition: border-color 0.5s;
    box-shadow: 0 1px 1px #a0a0a0;
    border-radius: 3px;
    height: 90%;
}

.am-cart-front-category-list-grid .am-cart-front-category-list-item img {
    width: 100px;
    aspect-ratio: auto 100 / 100;
    height: 100px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.am-cart-front-category-list-grid .am-cart-front-category-list-item:hover {
    border: var(--mhe-primary) solid 1px; /* was: #3f7fb0 */
    color: #f1f1f1;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item {
    list-style-position: inside;
    border-left: 5px solid var(--mhe-primary); /* was: #4caf50 — groen gereserveerd voor semantiek */
    padding: 10px 20px;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item a {
    background-color: #ffffff;
    text-decoration: none;
    padding: 5px 5px;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item a:hover {
    background-color: var(--mhe-bg-neutral);
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item .am-cart-front-category-list-item-desc a {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: 0;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item:hover {
    background-color: var(--mhe-bg-light); /* was: #c8e6c9 */
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item-desc {
    font-style: italic;
    font-size: 75%;
    margin-top: 10px;
    padding: 5px;
}

.am-cart ul.am-cart-front-category-list .am-cart-front-category-list-item-desc:before {
    content: none;
}

.am-cart ul.am-cart-title-category li a {
    border: var(--mhe-primary) solid 1px; /* was: #3f7fb0 */
    color: var(--mhe-primary); /* was: #3f7fb0 */
    border-radius: 5px;
    background-color: var(--mhe-bg-light); /* was: #e3f2fd */
    line-height: 225%;
    padding: 3px 5px;
    font-size: 12px;
    text-transform: uppercase;
    vertical-align: middle;
    margin: 5px;
    font-weight: bold;
}

.am-cart ul.am-cart-title-category li a:hover {
    border: var(--mhe-primary) solid 1px;
    color: #ffffff; /* was: #f1f1f1 */
    background-color: var(--mhe-primary); /* was: #3f7fb0 */
}

.am-cart ul.am-cart-title-category .am-cart-title-category_separator {
    padding: 0px;
    font-size: 1px;
    border: 0px;
    border-radius: 0px;
    margin: 0px;
    color: transparent;
    background-color: transparent;
    content: none;
    list-style-type: none;
}

.am-cart .am-cart-product .am-cart-product-content-desc .am-cart-product-content-desc-img-wrapper {
    float: none;
    text-align: center;
    margin: 0px 0.5em 0.5em 0px;
    max-width: 100%;
    box-sizing: border-box;
}

.am-cart .am-cart-product .am-cart-product-content-title {
    font-size: 115%;
    font-weight: bold;
    margin-bottom: 0.5em;
}

/* NEW-badge: zelfde attentiekleur, rustiger dan rood-op-geel */
.am-cart .am-cart-product .am-cart-product-content-title .am-cart-new {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--mhe-warn); /* was: #FF0000 */
    background-color: var(--mhe-warn-bg); /* was: #FFFF00 */
    line-height: 6px;
    vertical-align: middle;
    margin: 5px;
    padding: 1px 3px;
    border: var(--mhe-warn) dotted 1px; /* was: #FF0000 */
    border-radius: 3px;
}

.am-cart-product-content-title H2 {
    color: grey;
    width: 100%;
    border-color: grey;
}

.am-cart-product-content-terms {
    font-size: 150%;
}

.am-cart-product-content-buttons::after {
    color: var(--mhe-warn); /* was: red */
    background: var(--mhe-warn-bg); /* was: yellow */
    font-weight: bold;
    margin-top: 0.5em;
    padding: 0.2em;
}

.am-cart-checkout-empty {
    font-size: 110%;
    font-family: var(--mhe-font); /* was: Arial, Helvetica */
    font-weight: normal;
    font-style: italic;
    line-height: 18px;
    padding: 15px 15px;
    color: var(--mhe-warn); /* was: red */
    vertical-align: baseline;
    border-color: inherit;
}

.am-cart-checkout .am-cart-checkout-paysys .am-cart-checkout-paysys-item {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    margin-bottom: 1em;
    border-bottom: #dfe8f0 solid 1px;
    border-left: 5px solid #bcaaa4;
    background-color: var(--mhe-bg-neutral);
}

.am-cart-checkout .am-cart-checkout-paysys div:hover {
    background-color: var(--mhe-bg-light); /* was: #c8e6c9 */
}

.am-cart-checkout .am-cart-checkout-paysys div.active {
    border-left: 5px solid var(--mhe-success);
    border-right: #dfe8f0 solid 1px;
    border-bottom: var(--mhe-success) solid 1px;
    background-color: var(--mhe-success-bg);
}

.cart-item-book table {
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.cart-item-book caption {
    text-align: right;
    vertical-align: top;
    padding: 0;
    margin: 0px 0px 30px 0px;
}

.cart-item-book thead {
    font-size: 110%;
    font-family: var(--mhe-font); /* was: Arial, Helvetica */
    font-weight: normal;
    font-style: italic;
    display: table-header-group;
    vertical-align: baseline;
    border-color: inherit;
}

.cart-item-book th {
    font-size: 90%;
    font-family: var(--mhe-font); /* was: Arial, Helvetica */
    font-weight: bold;
    font-style: normal;
    text-align: left;
    width: 100px;
    vertical-align: baseline;
    border-color: inherit;
}

.cart-item-book H2 {
    font-size: 120%;
    font-family: var(--mhe-font); /* was: Arial, Helvetica */
    font-style: normal;
    text-align: left;
    background-color: transparent;
    border-left: 0px;
    width: 100px;
    padding: 0px;
}

.cart-item-book tbody {
    line-height: 1.5em;
}

.cart-item-book tfoot {
    font-size: 110%;
    font-family: var(--mhe-font); /* was: Arial, Helvetica */
    font-weight: normal;
    font-style: normal;
    text-align: left;
    vertical-align: baseline;
    border-color: inherit;
}

.am-cart-product-tags {
    font-size: 110%;
    font-weight: bold;
}

/* #### MHE - BSM-Shop #### (END) */
/* #### Payment Pop-up #### (START) */

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 90%; /* was: 30% — te smal op mobiel */
    max-width: 450px;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    color: var(--mhe-text);
    font-family: var(--mhe-font);
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: var(--mhe-text);
}

.popup .close:hover {
    color: var(--mhe-primary); /* was: #3f7fb0 */
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

/* #### Payment Pop-up #### (END) */
/* #### Blog-News & Calendar/Events #### (START) */

.am-blog-main H2,
.am-event-main H2 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
    background-color: var(--mhe-primary);
    border: 1px solid var(--mhe-bg-light); /* was: #bee5eb */
    border-radius: 3px;
    padding: 5px 10px;
    font-family: var(--mhe-font);
    text-align: center;
}

.am-blog-layout-post-list_item_date,
.am-event-layout-event-list_item_date {
    color: var(--mhe-primary); /* was: #3f7fb0 */
}

.am-blog-layout-post-list_item_date_y,
.am-event-layout-event-list_item_date_y {
    font-size: 135%;
}

.am-blog-layout-post-list_item_date_dm,
.am-event-layout-event-list_item_date_dm {
    font-size: 95%;
}

.am-blog-layout-post-list_item_body,
.am-event-layout-event-list_item_body {
    padding: 0.8em 0.5em 0.5em;
}

.am-blog-layout-post-list_item_body H3,
.am-event-layout-event-list_item_body H3 {
    font-size: 135%;
}

/* #### Blog-News & Calendar/Events #### (END) */
/* #### Blog-News #### (START) */

.am-blog-post-content-date {
    width: 100%;
    text-align: right;
    border-bottom: 2px solid var(--mhe-bg-light); /* was: #bee5eb */
    margin: 0px 0px 30px;
}

.am-blog-post-content-date__label {
    font-size: 85%;
    color: var(--mhe-text);
    text-decoration: none;
}

.am-blog-post-content-date__date {
    font-size: 90%;
    color: var(--mhe-primary); /* was: #3f7fb0 */
    font-weight: bold;
    text-decoration: none;
}

div.am-blog-post.am-blog-post-full {
    /* was: //-commentaren (ongeldige CSS) verwijderd */
    margin: 10px 0px 15px;
}

.am-blog-post-content-desc-full {
    /* was: //-commentaar (ongeldige CSS) verwijderd */
    padding-bottom: 15px;
}

.am-blog-post-content-desc {
    border-bottom: 2px solid var(--mhe-bg-light); /* was: #bee5eb */
    padding-bottom: 15px;
}

.am-post-comment-head {
    font-size: 100%;
    font-style: italic;
    text-decoration: none;
    text-align: left;
    color: grey;
}

div.am-blog-layout-post-back {
    font-size: 100%;
    border-top: 2px solid var(--mhe-bg-light); /* was: #bee5eb */
    padding: 10px 0px 10px;
    text-align: center;
}

div.am-blog-layout-post-back a,
div.event-purchase-ticket-link-wrapper a {
    color: var(--mhe-primary); /* was: #3f7fb0 */
    border: var(--mhe-primary) solid 1px;
    border-radius: 5px;
    background-color: var(--mhe-bg-light); /* was: #e3f2fd */
    line-height: 225%;
    padding: 3px 5px;
    text-decoration: none;
    vertical-align: middle;
    font-weight: bold;
    cursor: pointer;
}

div.am-blog-layout-post-back a:hover,
div.event-purchase-ticket-link-wrapper a:hover {
    border: var(--mhe-primary) solid 1px;
    color: #ffffff; /* was: #f1f1f1 */
    background-color: var(--mhe-primary); /* was: #3f7fb0 */
    text-decoration: none;
}

.am-blog-layout-post-categories {
    display: flex;
    float: left;
    margin: 0 1em 0 0;
    vertical-align: middle;
}

.am-blog .am-blog-layout-post-categories-list {
    float: left;
    margin: 0 .5em;
    vertical-align: middle;
}

/* Categorie- en navigatielinks blog/events — geconsolideerd op huisstijlblauw */
.post-related-events a,
.am-blog-layout-post-categories-list a,
.am-event-navigation__prev a,
.am-event-navigation__back a,
.am-event-navigation__next a,
.event-related-posts a,
.am-event-layout-event-categories-list a {
    margin: 2px;
    display: inline-block;
    background: #fff;
    color: var(--mhe-primary); /* was: #3498db */
    border-top: var(--mhe-primary) solid 1px; /* was: #3498db */
    border-bottom: var(--mhe-primary) solid 1px; /* was: #3498db */
    border-radius: 5px;
    padding: 0.2em 0.4em;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
}

.am-event-navigation__prev a,
.am-event-navigation__back a,
.am-event-navigation__next a {
    margin: -2px 2px;
}

.post-related-events a:link,
.am-blog-layout-post-categories-list a:link,
.am-event-navigation__prev a:link,
.am-event-navigation__back a:link,
.am-event-navigation__next a:link,
.event-related-posts a:link,
.am-event-layout-event-categories-list a:link {
    color: var(--mhe-primary); /* was: #3498db */
    border-top: var(--mhe-primary) solid 1px;
    border-bottom: var(--mhe-primary) solid 1px;
    border-radius: 5px;
    text-decoration: none;
}

.post-related-events a:hover,
.am-blog-layout-post-categories-list a:hover,
.am-event-navigation__prev a:hover,
.am-event-navigation__back a:hover,
.am-event-navigation__next a:hover,
.event-related-posts a:hover,
.am-event-layout-event-categories-list a:hover {
    color: #ffffff; /* was: #f1f1f1 */
    border-top: var(--mhe-primary-dark) solid 1px; /* was: #3f7fb0 */
    border-bottom: var(--mhe-primary-dark) solid 1px;
    border-radius: 5px;
    background-color: var(--mhe-primary-dark); /* was: #3f7fb0 */
    text-decoration: none;
}

.am-blog-post-attachments-block {
    font-size: 100%;
    font-style: italic;
    text-decoration: none;
    text-align: left;
    color: grey;
    border-top: 2px dotted var(--mhe-bg-light); /* was: #bee5eb */
    /* was: //-commentaar (ongeldige CSS) verwijderd */
    margin: 10px 0px 0px;
    padding-top: 5px;
}

/* #### Blog-News #### (END) */
/* #### Calendar/Events #### (START) */

.am-event-layout-event-list_item_date_end_dm {
    font-size: 95%;
    border-top: 2px dotted var(--mhe-primary); /* was: #3498db */
}

.am-event-event-content-meta {
    display: flex;
    border-bottom: 2px solid var(--mhe-bg-light); /* was: #bee5eb */
    margin: 0px 0px 30px;
}

.am-event-event-content-date {
    float: left;
    width: 50%;
    text-align: left;
}

.am-event-event-content-date__label {
    font-size: 90%;
    color: var(--mhe-text);
    text-decoration: none;
}

.am-event-event-content-date__date {
    font-size: 110%;
    color: var(--mhe-primary);
    font-weight: bold;
}

.am-event-event-content-organization {
    float: left;
    width: 50%;
    text-align: right;
}

.am-event-event-content-organization__label {
    font-size: 90%;
    color: var(--mhe-text);
    text-decoration: none;
}

.am-event-event-content-organization__val {
    color: var(--mhe-primary); /* was: #3f7fb0 */
    font-weight: bold;
    text-decoration: none;
}

/* Semantisch groen: actief (lopend) event */
.am-event-item__active.am-event-item__multi {
    border-top: 2px dotted var(--mhe-success);
    background: var(--mhe-success-bg);
}

div.am-event-event.am-event-event-full {
    border-bottom: 2px solid var(--mhe-bg-light); /* was: #bee5eb */
    padding-bottom: 15px;
    margin: 10px 0px 15px;
}

div.event-purchase-ticket-link-wrapper {
    font-size: 100%;
    border-top: 2px solid var(--mhe-bg-light); /* was: #bee5eb */
    padding: 10px 0px 10px;
    text-align: center;
}

.am-event-event-content-address H2,
.am-event-event-content-organization-address H2 {
    font-size: 1.2rem;
    color: var(--mhe-primary); /* was: #3f7fb0 */
    font-weight: bold;
    background: var(--mhe-bg-box); /* was: #dcdcdc */
    border: 1px solid var(--mhe-border-light); /* was: #c0c0c0 */
    border-radius: 3px;
    padding: 5px 10px;
    text-align: center;
    line-height: 1em;
    height: auto;
    margin: 0 0 0.6em;
    font-family: var(--mhe-font);
}

.am-event-layout-event-categories {
    display: flex;
    float: left;
    margin: 0 1em 0 0;
}

.am-event .am-event-layout-event-categories-list {
    float: left;
    margin: 0 .5em;
}

/* #### Calendar/Events #### (END) */

.am-pagination .am-pagination-current.am-pagination-prev,
.am-pagination .am-pagination-current.am-pagination-next {
    color: #afb5ba !important;
    background: #e3e6e8;
}

.am-pagination .am-pagination-current {
    background: var(--mhe-primary); /* was: #3f7fb0 */
    color: #fff !important;
}

.am-pagination a:hover {
    text-decoration: none;
}

/* Header — twee eerdere blokken samengevoegd */
.am-header .am-header-content {
    box-shadow: var(--am_content_shadow);
    border-radius: 20px 20px 0 0; /* was: var(--am_border_radius_px) in het eerste blok, overschreven door het tweede */
    background: var(--am_page_bg);
    margin-top: 1em;
}

.am-layout-two-coll {
    margin-bottom: 1em;
}

.am-header-content img {
    max-width: 550px;
}

.am-header-content {
    text-align: center;
}

.am-body .am-body-content-wrapper {
    border-radius: 0 0 20px 20px;
}

.am-header-line {
    display: none;
}

/* ===================================================
   AFSTEMMING OP AMEMBER STANDAARD-CSS (v2.1)
   Toegevoegd na doorlichting van amember.css + theme.css.
   Deze sectie vangt hardcoded standaardwaarden af die
   NIET via de thema-configuratie (--am_ variabelen)
   instelbaar zijn.
   =================================================== */

/* --- Audiospeler (Plyr) ---
   De ingebouwde speler gebruikt hardcoded cyaan (#00b2ff),
   maar biedt eigen CSS-variabelen als haak. Eén variabele
   kleurt vrijwel de hele speler in huisstijl. */
:root {
    --plyr-color-main: var(--mhe-primary);
}

/* --- Restanten hardcoded #3f7fb0 (niet variabel-gestuurd) --- */
.am-credits a {
    color: var(--mhe-primary) !important; /* bron gebruikt zelf !important */
}

.ui-widget-content a,
.ui-widget-content a:visited {
    color: var(--mhe-primary); /* jQuery UI widgets (o.a. datepicker) */
}

.am-form fieldset.am-adv-fieldset > legend {
    color: var(--mhe-primary);
}

.am-body-content button.am-button-as-link,
.am-body-content button.am-button-as-link:hover {
    color: var(--mhe-primary);
}

/* --- Upload-knoppen: standaard rode hover (#e34b3d) --- */
.upload-control .upload-control-upload.hover,
.upload-control .upload-control-browse.hover,
.input-file.hover .input-file-button {
    background-color: var(--mhe-primary-dark);
}

/* --- Dropdowns/autocomplete: focus- en selectiekleur (#5897fb) --- */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.ui-autocomplete li.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: var(--mhe-primary);
    border-color: var(--mhe-primary);
}

/* --- Meldingen: bronkleuren (#dfe8f0 / #ba2727 / #fcbdbd)
       gelijktrekken met de huisstijl- en waarschuwingskleuren --- */
.am-info,
.am-flash-content-message {
    background: var(--mhe-bg-box);
    border-color: var(--mhe-border-light);
}

div.am-errors ul,
ul.am-error,
ul.am-errors,
.am-error,
.am-form span.error,
.am-form span.required {
    color: var(--mhe-warn);
}

.am-flash-content-error {
    color: var(--mhe-warn);
    background: var(--mhe-warn-bg);
    border-color: var(--mhe-warn);
}

.am-form input.am-error,
.am-form textarea.am-error,
.am-form select.am-error,
.am-body-content textarea.am-error,
.am-body-content input.am-error,
.am-body-content select.am-error {
    border-color: var(--mhe-warn); /* was: #a94442 */
}

.am-pass-indicator-bar_bar-weak {
    background: var(--mhe-warn); /* was: #a94442 */
}

/* --- Grid/tabellen: zebra en sortering in huisstijltinten --- */
.am-grid tr.am-grid-row.odd td {
    background-color: var(--mhe-bg-box); /* was: #d3dce3 */
}

.am-grid tr.am-grid-row.odd td.sorted {
    background-color: var(--mhe-bg-light); /* was: #bed4e2 */
}

.am-grid tr.am-grid-row > td.sorted,
.am-grid tr.am-grid-row > td.selected {
    background: var(--mhe-bg-light); /* was: #d9e6ee */
}

/* --- Fontfallback-fix ---
   theme.css bevat de typfout 'san-serif' als fallback;
   deze herdeclaratie (zelfde specificiteit, laadt later)
   herstelt de geldige fallback. */
.am-common {
    font-family: var(--am_font_family), sans-serif;
}

.am-body-content input,
.am-body-content textarea,
.am-body-content select,
.am-body-content button,
.am-popup input,
.am-popup textarea,
.am-popup select,
.am-popup button {
    font-family: var(--am_font_family), sans-serif;
}

/* --- Hoofdmenu (ul.am-tabs): linkstijl expliciet vastleggen ---
   De basisregel in amember.css (kleur #555960, geen onderstreping)
   heeft lage specificiteit en verliest van generieke linkregels
   uit de website-stylesheet, waardoor normale menu-items als
   blauwe onderstreepte links verschenen. !important is hier
   bewust: zelfde aanpak als bij de CMS-fragmenten. */
ul.am-tabs a,
ul.am-tabs li.normal > a,
ul.am-tabs li ul a {
    color: var(--mhe-text) !important; /* was bron: #555960 */
    text-decoration: none !important;
}

ul.am-tabs li.active > a,
ul.am-tabs li.normal > a:hover {
    color: #ffffff !important; /* op menukleur-achtergrond (--am_menu_color) */
    text-decoration: none !important;
}