/* Start custom CSS for shortcode, class: .elementor-element-76383dbe *//* Checkbox styling */
#request-enrolment .gform_body input[type=checkbox] {
    transform: scale(1.5);
    margin-right: 10px; /* Added margin for spacing */
}

/* Specific styling for consent checkboxes */
#request-enrolment .ginput_container_consent input[type=checkbox] {
    display: inline-block;
    margin-top: 4px;
    text-align: left;
    vertical-align: middle; /* Ensures alignment with text */
    transform: scale(1.5); /* Ensure the same scaling */
    margin-right: 0; /* No additional margin for consent checkboxes */
    width: auto; /* Adjusted width for better alignment */
}

/* Nudge general checkbox labels down by 2px */
#request-enrolment .gform_body input[type=checkbox] + label {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
}

#request-enrolment .ginput_container_consent label {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    vertical-align: middle; /* Ensures alignment with checkbox */
    padding-left: 10px!important;
    width: calc(100% - 30px)!important; /* Adjusted to match checkbox width */
    margin-top: 2px; /* Drop the consent copy down by 2px */
}

/* Inputs, selects, textareas */
#request-enrolment .gform_body input,
#request-enrolment .gform_body select,
#request-enrolment .gform_body textarea {
    border: none;
    border-bottom: 1px solid #b6b5bd;
    padding-left: 0!important;
}

#request-enrolment .gform_body input option,
#request-enrolment .gform_body select option,
#request-enrolment .gform_body textarea option {
    padding-left: 0!important;
}

/* Consent label styling */
#request-enrolment .gform_body .ginput_container_consent label {
    color: #616161;
}

#request-enrolment .gform_body .gfield--type-consent label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

@media screen and (max-width: 576px) {
    #request-enrolment .gform_body .gfield--type-consent label {
        padding-left:10px;
    }
}

/* Required text/asterisks */
#request-enrolment .gform_body .gfield_required {
    color: #000!important;
}

#request-enrolment .gfield_required,
#request-enrolment .ginput_counter {
    display: none!important;
}

#request-enrolment .asterisk-black .gfield_required_asterisk {
    color: #000;
    font-weight: 800;
}

/* Footer layout */
#request-enrolment .gform_footer {
    align-items: stretch;
    display: flex!important;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right!important;
}

@media screen and (max-width: 567px) {
    #request-enrolment .gform_footer {
        justify-content:center;
    }
}

@media(max-width: 630px) {
    #request-enrolment .gform_footer {
        flex-direction:column;
    }
}

/* Submit button */
#request-enrolment .gform_footer input[type=submit] {
    border-radius: 80px;
    font-weight: 700;
    text-transform: uppercase;
    width: auto;
}

@media screen and (max-width: 567px) {
    #request-enrolment .gform_footer input[type=submit] {
        width:100%;
    }
}

#request-enrolment input[type=email],
#request-enrolment input[type=tel],
#request-enrolment input[type=text],
#request-enrolment select,
#request-enrolment textarea {
    border: none;
    border-bottom: 1px solid #b6b5bd;
}

#request-enrolment input[type=submit] {
    background: #FFC82E;
    border: none;
    border-radius: 24px;
    color: #000;
    gap: 10px;
    padding: 15px 32px;
}

/* Reset button */
#request-enrolment .gform_reset_button {
    background-color: transparent;
    border: 1px solid #240f6e;
    border-radius: 80px;
    color: #240f6e;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    min-width: 165px;
    padding: 13px 32px;
    text-transform: uppercase;
}

@media(max-width: 576px) {
    #request-enrolment .gform_reset_button {
        padding:17px 32px!important;
    }
}

#request-enrolment .gform_reset_button:hover {
    background-color: #240f6e;
    color: #fff;
}

/* Submit button text */
#request-enrolment .gform_button {
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

@media(max-width: 650px) {
    #request-enrolment .gform_button {
        margin-left:0!important;
    }
}

/* Tooltip styling */
#request-enrolment .tooltipstered {
    border-bottom: none!important;
}

#request-enrolment .tooltipstered:after {
    background-color: #ccc;
    border-radius: 20px;
    color: #fff;
    content: "i";
    display: inline-block;
    font-size: 12px;
    height: 16px;
    line-height: 18px;
    margin-left: 3px;
    width: 16px;
}

/* Headings and text inside this element */
#request-enrolment h3 {
    color: #240f6e;
    font-size: 32px;
    font-weight: 700;
    line-height: 110%;
}

@media screen and (max-width: 768px) {
    #request-enrolment h3 {
        font-size:24px;
        font-weight: 700;
        line-height: 36px;
    }
}

#request-enrolment p {
    color: #3c3a47;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

/* Select + input padding */
#request-enrolment .gfield_select {
    color: inherit!important;
    padding-inline:0!important;
}

#request-enrolment .ginput_container input {
    padding-inline:0!important;
}

/* Links in consent text */
#request-enrolment .ginput_container/* End custom CSS */