.gform-theme--foundation .gform_heading {
    display: none;
}

.gform-theme--foundation .gform_fields {
    row-gap: 30px !important;
}

.gform-theme--foundation .gfield_label {
    font-weight: 700 !important;
    font-size: 1rem !important;
    font-family: 'Open sans' !important;
    margin-block: 1rem !important;
}

.gform-theme--framework .gform-field-label--type-inline a {
    color: #009CDE;
    text-decoration: underline;
}

.gform-theme--foundation .gform_validation_errors {
    margin-top: 1rem !important;
}

.gform-theme--foundation .gfield.field_validation_below {
    position: relative;
}

.gform-theme--foundation input[type=checkbox] {
    border-color: #E0E0E0 !important;
}

.gform-theme--foundation input[type=checkbox]::before {
    color: #009CDE !important;
}

.gform-theme--foundation input[type=checkbox]~label {
    font-size: 1rem;
    color: #333;
}

.gform-theme--foundation .gfield input:not([type=radio]):not([type=checkbox]),
.gform-theme--foundation .gfield select {
    border-radius: 9999px !important;
    height: 45px !important;
    border-color: #E0E0E0 !important;
    width: 100% !important;
    font-size: 1rem !important;
    font-family: 'Open sans' !important;
    font-weight: 400 !important;
}

.gform-theme--foundation .gfield textarea {
    border-color: #E0E0E0 !important;
    width: 100% !important;
    font-size: 1rem !important;
    font-family: 'Open sans' !important;
    font-weight: 400 !important;
    border-radius: 5px !important;
}

.gform-theme--foundation .gfield select {
    padding: 2px 1rem;
}

.gform-theme--foundation .gform_button,
.gform-theme--foundation .gform_next_button,
.gform-theme--foundation .gform_previous_button {
    height: 45px !important;
    font-weight: 700 !important;
    background-color: #9A40C9 !important;
    border-radius: 9999px !important;
    padding: 0.75rem 1.5rem !important;
    min-width: 12rem !important;
    transition: all ease-in-out .2s !important;
    color: #fff !important;
}

.gform-theme--foundation .gform_previous_button {
    background-color: #009CDE !important;
    border: 0px !important;
}

.gform-theme--foundation .gform_button:hover,
.gform-theme--foundation .gform_next_button:hover,
.gform-theme--foundation .gform_previous_button:hover {
    transform: translateY(-0.25rem);
}

/* ============== Newsletter signup form styling ( ID == 10 ) ============== */

#gform_wrapper_10 .gform_body {
    flex: 1;
}

#gform_wrapper_10 .gform_footer {
    margin: 0px;
    align-items: flex-end;
    justify-content: center;
    margin-top: 1rem;
}

#gform_wrapper_10 form {
    gap: 1rem;
    margin-top: 1rem;
}

#gform_wrapper_10 .gfield_label {
    color: #fff !important;
}

@media screen and (min-width: 768px) {
    #gform_wrapper_10 form {
        display: flex;
    }
}

@media screen and (min-width: 768px) {
    #gform_wrapper_10 .gfield .validation_message {
        position: absolute;
        bottom: -1.5rem;
        width: 200%;
    }
}

/* ============== Donation form styling ( add class "form-donate" in gravityforms form-settings  ) ============== */

form.form-donate {
    position: relative;
}

form.form-donate .gf_progressbar_wrapper {
    position: absolute;
    margin-bottom: 0px;
    bottom: -30px;
    text-align: center;
    width: 100%;
}

form.form-donate .gf_progressbar_title {
    margin-bottom: 0px;
}

form.form-donate .gfield_label {
    color: #333 !important;
}

form.form-donate .gf_progressbar {
    display: none;
}

form.form-donate .gf_progressbar_title {
    text-align: center;
    font-family: 'Open sans';
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

form.form-donate .gfield_radio {
    gap: 1rem;
}

@media screen and (min-width: 1024px) {
    form.form-donate .gfield_radio {
        gap: 0.5rem;
    }
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio {
        flex-direction: initial !important;
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 1024px) {
    form.form-donate .gfield_radio {
        justify-content: space-between;
    }
}


form.form-donate .gfield_radio .gchoice {
    display: block;
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice {
        flex: 1;
    }
}

form.form-donate .gfield_radio .gchoice:nth-child(1) label,
form.form-donate .gfield_radio .gchoice:nth-child(2) label,
form.form-donate .gfield_radio .gchoice:nth-child(3) label {
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 0px;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    width: 100%;
    position: relative;
    font-size: 14px;
    font-family: 'Open sans';
    color: #A3A3A3;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice:nth-child(1) label,
    form.form-donate .gfield_radio .gchoice:nth-child(2) label,
    form.form-donate .gfield_radio .gchoice:nth-child(3) label {
        padding: 2.75rem 1rem 1.25rem 1rem;
    }
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice:nth-child(4),
    form.form-donate .gfield_radio .gchoice:nth-child(4) {
        flex: 100%;
        margin-top: 10px;
    }
}

form.form-donate .gfield_radio .gchoice:nth-child(4) label,
form.form-donate .gfield_radio .gchoice:nth-child(4) label,
form.form-donate .form-link {
    margin: 0px;
    text-decoration: underline;
    color: #009CDE;
    cursor: pointer;
    font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice:nth-child(4) label,
    form.form-donate .gfield_radio .gchoice:nth-child(4) label {
        text-align: center;
    }
}

form.form-donate .gfield_radio .gchoice:nth-child(1) label::before,
form.form-donate .gfield_radio .gchoice:nth-child(2) label::before,
form.form-donate .gfield_radio .gchoice:nth-child(3) label::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid #E0E0E0;
    background-color: #fff;
    border-radius: 50%;
    left: 10px;
    top: calc(50% - 8px);
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice:nth-child(1) label::before,
    form.form-donate .gfield_radio .gchoice:nth-child(2) label::before,
    form.form-donate .gfield_radio .gchoice:nth-child(3) label::before {
        top: 1rem;
        left: calc(50% - 8px);
    }
}

form.form-donate .gfield_radio .gchoice:nth-child(1) label b,
form.form-donate .gfield_radio .gchoice:nth-child(2) label b,
form.form-donate .gfield_radio .gchoice:nth-child(3) label b {
    font-size: 18px;
    font-family: 'proxima-nova';
    color: #333;
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice:nth-child(1) label,
    form.form-donate .gfield_radio .gchoice:nth-child(2) label,
    form.form-donate .gfield_radio .gchoice:nth-child(3) label {
        display: block;
        text-align: center;
        height: 100%;
    }

    form.form-donate .gfield_radio .gchoice:nth-child(1) label b,
    form.form-donate .gfield_radio .gchoice:nth-child(2) label b,
    form.form-donate .gfield_radio .gchoice:nth-child(3) label b {
        display: block;
    }
}

form.form-donate input[type=radio] {
    display: none;
}

form.form-donate .gfield_radio .gchoice:nth-child(1) input[type=radio]:checked~label,
form.form-donate .gfield_radio .gchoice:nth-child(2) input[type=radio]:checked~label,
form.form-donate .gfield_radio .gchoice:nth-child(3) input[type=radio]:checked~label {
    background-color: #009CDE;
    color: #fff;
}

form.form-donate .gfield_radio .gchoice:nth-child(1) input[type=radio]:checked~label b,
form.form-donate .gfield_radio .gchoice:nth-child(2) input[type=radio]:checked~label b,
form.form-donate .gfield_radio .gchoice:nth-child(3) input[type=radio]:checked~label b {
    color: #fff;
}

form.form-donate .gfield_radio .gchoice:nth-child(1) input[type=radio]:checked~label::after,
form.form-donate .gfield_radio .gchoice:nth-child(2) input[type=radio]:checked~label::after,
form.form-donate .gfield_radio .gchoice:nth-child(3) input[type=radio]:checked~label::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #009CDE;
    border-radius: 50%;
    left: 13px;
    top: calc(50% - 5px);
}

@media screen and (min-width: 768px) {
    form.form-donate .gfield_radio .gchoice:nth-child(1) input[type=radio]:checked~label::after,
    form.form-donate .gfield_radio .gchoice:nth-child(2) input[type=radio]:checked~label::after,
    form.form-donate .gfield_radio .gchoice:nth-child(3) input[type=radio]:checked~label::after {
        top: 19px;
        left: calc(50% - 5px);
    }
}

form.form-donate .gform_page_footer input {
    width: 100%;
}

@media screen and (min-width: 768px) {
    form.form-donate .gform_page_footer input {
        width: initial;
        margin: 0px auto;
    }
}

.ginput_container_consent {
    display: flex;
    align-items: center;
}

/* ============== Verjaardagswinkel form styling ( ID == 3 ) ============== */

.gfield--input-type-singleproduct {
    border-bottom: 1px solid #E0E0E0 !important;
    padding-bottom: 20px !important;
}

.gfield--type-product span.ginput_product_price_label {
    display: none !important;
}

.gfield--type-product .gfield_label_before_complex {
    margin: 0px !important;
}

.gfield--input-type-singleproduct .gfield_label_product {
    font-weight: 700 !important;
    font-size: 20px;
}

.gform-theme--foundation .gfield--type-total.gfield .ginput_container_total input:not([type=radio]):not([type=checkbox]) {
    color: #009CDE !important;
    font-weight: 700 !important;
    font-size: 20px !important;
}

.ginput_product_price_wrapper span.ginput_product_price {
    color: #009CDE !important;
    font-weight: 700;
}


@media screen and (min-width: 768px) {
    .gform-theme--framework .gfield--type-product .ginput_container_singleproduct {
        flex-direction: row !important;
        align-items: center !important;
    }

    .ginput_product_price_wrapper {
        order: 0 !important;
        width: 50% !important;
    }

    .ginput_container_singleproduct .ginput_quantity_label.gform-field-label {
        margin-bottom: 0px !important;
        margin-right: 10px;
    }

    .ginput_container_singleproduct .ginput_quantity {
        margin-bottom: 0px !important;
    }

}

/* .gform-theme--foundation .gform_fields {
    row-gap: 30px !important;
    column-gap: 25px !important;
} */

/* @media screen and (min-width: 640px) {
    .gform-theme--foundation .ginput_container span:first-child {
        padding-right: 12.5px;
    }
}

@media screen and (min-width: 640px) {
    .gform-theme--foundation .ginput_container span:last-child {
        padding-left: 12.5px;
    }
} */

/* .gform-theme--foundation .gf_progressbar_wrapper {
    position: relative;
    text-align: center;
}

.gform-theme--foundation .gf_progressbar_wrapper:after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
    display: block;
    position: absolute;
    left: 0px;
    top: 12px;
}

.gform-theme--foundation .gf_progressbar_wrapper .gf_progressbar {
    display: none;
}

.gform-theme--foundation .gf_progressbar_wrapper .gf_progressbar_title {
    text-align: center;
    color: #5F5043;
    font-family: 'Lato' !important;
    font-size: 1rem !important;
    display: inline-block;
    background: white;
    position: relative;
    z-index: 2;
    padding: 0px 33px;
} */

@media (max-width: 640px) {

  /* De hele productcontainer horizontaal */
  #gform_fields_5 .ginput_container_singleproduct {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    flex-direction: row !important;
  }

  /* Naam (komt uit label boven het veld) */
  #gform_fields_5 .ginput_container_singleproduct .gform-field-label:not(.ginput_quantity_label) {
    margin: 0 !important;
    font-size: 14px;
    flex: 1;
  }

  /* Label "Aantal" verbergen */
  #gform_fields_5 .ginput_quantity_label {
    display: none;
  }

  /* Het aantal input compact maken */
  #gform_fields_5 .ginput_quantity {
    width: 120px !important;
    min-width: 70px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
  }

  /* Prijscontainer naast input zetten */
  #gform_fields_5 .ginput_product_price_wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* Label "Prijs:" verbergen */
  #gform_fields_5 .ginput_product_price_label {
    display: none !important;
  }

  /* Prijs zelf */
  #gform_fields_5 .ginput_product_price {
    font-size: 14px;
    color: #2196F3; /* zelfde blauw als screenshot */
    margin: 0 !important;
  }

  /* Verborgen inputs uiteraard gewoon verborgen houden */
  #gform_fields_5 .gform_hidden {
    display: none !important;
  }

}