/* *************************** */
/* Website algemeen */
/* *************************** */

/* Label voor filter van cursus mag niet wit zijn (bug als je b.v. Nieuw of Populair als tag kiest om daarop te filteren) */
.lp-course-filter__field label {
  color: #333 !important;
}

/* Zachte schaduw voor afbeeldingen met harde overgang. Gebruikt voor screenshots van kaarten (zoals tegels) */
.zachte-schaduw {
  display: inline-block;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.zachte-schaduw:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform: scale(1.02);
}

/* Schaduw voor cursusafbeeldingen (in de met Elementor gemaakte beschrijving van een cursus) */
/* Desktop-stijl */
.elementor img.cursusinfoimage {  
  float: right;
  width: 250px;
  height: auto;
  margin: 0 0 12px 20px !important;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border-radius: 4px;
}

/* text-transform capitalize uitzetten op veel plekken */
.sc_heading .title,
.course-section__title,
.widget-button.normal,
.wc-block-components-button__text,
.thim-ekit-single-course__meta,
.wc-block-components-checkout-place-order-button__text {
  text-transform: none !important;
}

/* cursusprijs tekst in rondje wit maken */
.course-price,
.course-price .price,
.course-price .course-item-price {
  color: #fff !important;
}

/* Button voor contactformulier groen maken */
.elementor-87 .elementor-element.elementor-element-16f4ebe .fluentform-widget-wrapper .ff-el-group .wpf_has_custom_css.ff-btn-submit {
    background-color: rgba(4, 159, 130, 1) !important;
    border-color: rgba(4, 159, 130, 1) !important;
    color: #ffffff !important;
}

/* Verberg standaard de zoek-popup */
/* Verberg standaard met minimale styling */
.thim-ekits-search-form.ekits-modal {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Zodra popup geopend wordt (meestal door toevoeging van 'ekits-modal--show' of inline style), tonen we hem */
.thim-ekits-search-form.ekits-modal[style*="display: block"] {
  visibility: visible;
  opacity: 1;
}


/* Knop om wachtwoord zichtbaar te maken correcties */
button.show-password-input {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

/* Knop om wachtwoord zichtbaar te maken correcties */
button.show-password-input::before {
  content: "👁️"; /* Oog-emoji als placeholder, vervang door svg of font-icon indien gewenst */
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* *************************** */
/* Cursuslayout */
/* *************************** */
/* De tekst xx% complete in andere kleur groen */
body .elementor-16889 .elementor-element.elementor-element-59775083 .thim-ekit-single-course-item__progress .results {
    color: #1E8449 !important;
}

.course-item-ico.in-progress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px !important; /* Kleiner rondje */
    height: 20px !important; /* Kleiner rondje */
    border-radius: 50% !important; /* Perfecte cirkel */
    background: #d6d6d6 !important; /* Lichtgrijs */
    color: #6c757d; /* Donkergrijs icoon */
    font-size: 12px; /* Kleinere icoon */
    line-height: 20px; /* Zorgt dat het icoon netjes gecentreerd blijft */
    transition: all 0.3s ease-in-out;
}

.course-item-ico.passed.completed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: var(--e-global-color-primary);
    font-size: 12px !important;
    line-height: 20px !important;
    transition: all 0.3s ease-in-out !important;
    position: relative;
}

/* ✅ Het witgekleurde vinkje in het groene rondje */
.course-item-ico.passed.completed::before {
    content: "\f00c"; /* Font Awesome check (fa-check) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: white !important; /* Dwingt het vinkje wit te zijn */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* ********************************* */
/* Cursusomgeving -> Lescontent */
/* ********************************* */

/* Mooiere koppen H3 (zonder stapnummers) */
.subtle-highlight-heading {
  border-left: 4px solid #049F82;
  padding-left: 0.75em;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #333;
}

/* Mooiere koppen H3 voor stapweergave */
.custom-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.custom-step .step-number {
  background-color: var(--e-global-color-primary);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  margin-right: 15px;
  flex-shrink: 0;
}

.custom-step .step-content h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

/* Kosten calculator (kader met verbruik/stroomprijs) */
.gj-costbox{
  border:1px solid #ccc; border-radius:8px; padding:1rem; max-width:320px;
  font-family:Roboto,sans-serif; font-size:16px; line-height:1.4;
  background-color: #E4F7F3;
}
.gj-costbox label{display:block; margin-bottom:.5rem;}
.gj-costbox input{width:100%; padding:4px 6px; box-sizing:border-box;}
.gj-costbox .result{font-weight:700;}

/* Custom callout (box met kader in lessen) */
.custom-callout {
  display: flex;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-left: 6px solid var(--e-global-color-primary); /* blauwe rand links */
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0 0 0;
  align-items: flex-start;
  gap: 20px;
}

.custom-callout-icon {
  font-size: 30px;
  color: var(--e-global-color-primary);
  margin-top: 5px;
}

.custom-callout-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.custom-callout-content p {
  margin: 0;
  color: #555;
  font-size: 17px;
}

/* Custom callout variant (box met kader, icoontje en zachtgroene achtergrond) */

.custom-callout-alt {
  display: flex;
  align-items: flex-start;
  background-color: #f1f9f6;
  border: 1px solid #c8e6dc;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0 10px 0;
  gap: 14px;
  color: #2e5e4e;
}

.custom-callout-alt .callout-icon {
  font-size: 24px;
  margin-top: 0px;
  flex-shrink: 0;
}

.custom-callout-alt .callout-text h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #2e5e4e;
}

.custom-callout-alt .callout-text p {
  margin: 0;
  font-size: 17px;
  color: #2e5e4e;
}


/*********************************************/
/* Cursusomgeving -> Lescontent - Cursusafbeeldingen */
/*********************************************/
/* Extra marge boven en onder afbeelding */
.wp-block-image.size-cursus-afbeelding {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

/* schaduw en extra ruimte voor cursus-afbeelding */
.wp-block-image.size-cursus-afbeelding img {
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    margin-bottom: 12px;
    display: block;
    max-width: 100%;
    height: auto;
}

/* onderschrift aanpassen voor cursus-afbeelding */
.wp-block-image.size-cursus-afbeelding figcaption {
    font-size: 16px;
    color: #666;
    margin-top: 0px !important; /* <-- maak kleiner, of gebruik 0 */
	text-align: left !important;
}

/* Extra ruimte boven een kop H2 in een les */
.lesson-description h2 {
    margin-top: 30px;
}

/* Extra ruimte boven en onder een Code Block in een les */
.wp-block-kevinbatdorf-code-block-pro {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Ander lettertype voor de Simple Lightbox Plugin */
.slb_data_title .slb_template_tag_item_title {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: #222; /* Iets lichter dan puur wit, maar goed leesbaar */
  font-weight: 400;                 /* Licht, maar niet onleesbaar */
  text-align: center;
  padding: 0.5rem 1rem;
}

/* Extra marge bij afbeeldingen die links of rechts worden uitgelijnd. Voeg de klasse afbeelding-met-marge toe bij de afbeelding! */
.wp-block-image.afbeelding-met-marge figure.alignleft {
  margin-right: 1.1em !important;
  margin-bottom: 1em !important;
}

.wp-block-image.afbeelding-met-marge figure.alignright {
  margin-left: 1.1em !important;
  margin-bottom: 1em !important;
}

/* *************************** */
/* LearnPress */
/* *************************** */
/* Succesmeldingen */
body .message.message-success,
body .learn-press .message.message-success {
    background-color: #E4F7F3;
    color: #000000;
    font-size: 17px;
    padding: 20px;
    border-radius: 6px; /* afgeronde hoeken voor een zachtere look */	
}

.lp-button.completed[disabled] {
  background-color: var(--e-global-color-primary) !important; /* groene achtergrond bijvoorbeeld */
  color: white; /* optioneel: tekstkleur aanpassen */
}

/* success box groene achtergrondkleur*/
body .learn-press-message.success {
    background-color: var(--e-global-color-ec35f56);
	  color: #000;
}
/* icoontje in de notice box ook zwart */
body .learn-press-message.success::before {
    color: #000; /* Kies hier je gewenste kleur */
}

/* notice box groene achtergrondkleur */
body .learn-press-message.notice {
    background-color: #E4F7F3; /* Of een kleur naar keuze */
    color: #000 !important; /* Optioneel: tekstkleur */
    border-left: 4px solid #0073aa; /* Voor een accent */
}
/* icoontje in de notice box ook zwart */
body .learn-press-message.notice::before {
    color: #000; /* Kies hier je gewenste kleur */
}

/* Voer hier je aangepaste CSS in */
body .message.message-error {
    color: #000000;
    font-size: 17px;
    padding: 20px;
    border-radius: 6px; /* afgeronde hoeken voor een zachtere look */	
}

/* *************************** */
/* WooCommerce */
/* *************************** */
/* De login-optie verbergen omdat we dit nu duidelijker aangeven */
.wc-block-checkout__login-prompt {
    display: none !important;
}


