#module-nkmbiovivadefisnature-register .page-header {
    display: flex;
    flex-direction: column;
}

#module-nkmbiovivadefisnature-register .page-header::before {
    background: url(../img/club-defis-nature-logo.png) no-repeat center / contain;
    content: "";
    display: block;
    height: clamp(3.75rem, 14vw, 6.25rem);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    width: clamp(3.75rem, 14vw, 6.25rem);
}

#module-nkmbiovivadefisnature-register #register-club-defis-nature .form-group:first-child {
    display: none !important;
}

@media (min-width: 1025px) {

    #module-nkmbiovivadefisnature-register .page-header {
        padding-top: 1em;
    }

    #register-club-defis-nature {
        padding-bottom: 3em;
    }

}

.biovivadefisnature-form-wrapper {
    margin-bottom: 1rem;
    position: relative;
}

.biovivadefisnature-form-wrapper .form-control-comment {
    display: none;
}

/* .biovivadefisnature-form-wrapper .custom-checkbox  {
    display: flex;
    gap: 5px;
} */

.biovivadefisnature-form-wrapper::after {
    background: url(../img/club-defis-nature-logo.png) no-repeat center / contain;
    content: "";
    height: clamp(3.75rem, 14vw, 6.25rem);
    margin-top: -3.125rem;
    position: absolute; right: 0; top: 0;
    transform: translate(25%, -60%);
    transition: all 0.25s ease-in-out;
    width: clamp(3.75rem, 14vw, 6.25rem);
}

@media (min-width: 1025px) {

    .biovivadefisnature-form-wrapper::after {
        left: 0; right: auto;
    }

}

.biovivadefisnature-form-wrapper:has(.biovivadefisnature-form:not([style="display: none;"]))::after {
    margin-top: 0;
}

.biovivadefisnature-form {
    background-color: #fff;
    border-radius: 0.75rem;
    border: 0.1875rem dashed #005ba9;
    padding: 2rem 1rem;
}

.biovivadefisnature-form .form-group:last-child {
    margin-bottom: 0;
}

label[for="is_defis_nature_registered"] {
    margin-right: 3.75rem;
}

@media (min-width: 768px) {

    .biovivadefisnature-form::after {
        transform: translate(50%, -50%);
    }

    label[for="is_defis_nature_registered"] {
        margin-right: 0;
    }

}

.biovivadefisnature-form {
    border-width: 0.125rem;
}

.biovivadefisnature-form > .biovivadefisnature-form-child-wrapper:not(:last-of-type) {
    padding-bottom: clamp(0.5rem, 2vw, 2rem);
}

.biovivadefisnature-form > .biovivadefisnature-form-child-wrapper:not(:last-of-type) > .form-group:last-child > .col-md-6 {
    border-bottom: 1px dashed #999999;
    padding-bottom: clamp(1.5rem, 2vw, 2rem);
}

.biovivadefisnature-form .form-group {
    margin-bottom: clamp(0.25rem, 1vw, 1rem);
}

.biovivadefisnature-form .form-group:last-child {
    margin-bottom: 0;
}

.biovivadefisnature-form .biovivadefisnature-form-button {
    border-radius: 10px;
    margin-left: auto;
    margin-bottom: clamp(0.5rem, 2vw, 2rem);
    margin-right: auto;
    padding: 0.875rem;
    text-align: center;
}

.biovivadefisnature-form .biovivadefisnature-form-button .h3 {
    color: #005ba9;
    display: block;
    font-family: Hand Originals,cursive;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
    text-transform: uppercase;
    text-align: center;
}

.biovivadefisnature-form .biovivadefisnature-form-button .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 0;
    width: 48px;
    height: 48px;
}
