.gravityform-custom-widget .gform_required_legend {
    margin-bottom: 30px;
    color: #fff !important;
}


/* Transition pour le label */
.gform_wrapper form .gform_fields {
    grid-column-gap: 4% !important;
    grid-row-gap: 12px !important;
}

.gform_wrapper form .gfield {
    position: relative;
}

.gform_wrapper form .gfield.gfield_visibility_hidden {
    position: absolute;
}

.gform_wrapper form .gfield .gfield_label {
    opacity: 0;
    position: absolute;
    top: -8px;
    z-index: 9;
    left: -2px;
    font-weight: 400;
    transition: all 0.3s ease;
    pointer-events: none;
    padding: 2px 2px;
}

/* Label visible lorsqu'il y a du focus ou du contenu */
.gform_wrapper form .gfield input:focus~.gfield_label,
.gform_wrapper form .gfield textarea:focus~.gfield_label,
.gform_wrapper form .gfield input:not(:placeholder-shown)~.gfield_label,
.gform_wrapper form .gfield textarea:not(:placeholder-shown)~.gfield_label {
    opacity: 1;
    top: -10px;
}

/* Style de l'input */
.gform_wrapper form .gfield input,
.gform_wrapper form .gfield textarea,
.gform_wrapper form .gfield select {
    outline: none;
    border: none;
    transition: border-color 0.3s;
    position: relative;
    /* NÃ©cessaire pour la position absolue du label */

    border-bottom: 1px solid;
    border-radius: 10px;
    padding: 10px !important;

    box-shadow: none;
}

.gform_wrapper form .gfield input[type="checkbox"] {
    border: 1px solid;
}

.gform_wrapper form .gfield textarea {
    height: 100px !important;
    min-block-size: 100px !important;
}

/* Effet focus sur l'input */
.gform_wrapper form input[type="submit"] {
    padding: 6px 34px !important;
    border: 1px solid;
}

.gform_footer {
    margin-top: 50px !important;
}

.gform_wrapper form .gfield--type-choice {
    margin-top: 10px;
}

.gform_wrapper form .gfield--type-select {
    margin-top: 10px;
}


/* gravity form radio btn */
.gfield--type-radio legend,
.gfield--type-select label {
    opacity: 1 !important;
}

.gfield--type-radio .ginput_container_radio,
.gfield--type-select .ginput_container_select {
    margin-top: 15px;
}

.gfield--type-radio .ginput_container_radio .gfield-choice-input {
    border-radius: 50% !important;
    border: 1px solid;
}

/* gravity form checkboxes */
.gform_wrapper input[type="checkbox"]:before,
.gform_wrapper input[type="radio"]:before {
    content: "" !important;
    height: 10px !important;
    width: 10px !important;
}

.gform_wrapper .gfield--type-checkbox legend {
    opacity: 1 !important;
}

.gform_wrapper .gfield--type-checkbox .ginput_container_checkbox {
    margin-top: 15px;
}

.gform_wrapper .gfield--type-checkbox .ginput_container_checkbox .gchoice,
.gform_wrapper .gfield--type-radio .ginput_container_radio .gchoice {
    display: flex;
    align-items: center;
    cursor: pointer;
}



/* TEXTAREA */
.gform_wrapper form .gfield--type-textarea {
    margin-top: 10px;
}

.gform_wrapper form .gfield textarea {
    margin-top: 15px;
}

/* DATE PICKER */
.gform_wrapper form .gfield--type-date {
    margin-top: 10px;
}

.gform_wrapper form .gfield input.datepicker {
    margin-top: 15px;
    width: 100%;
}


/* PHONE */
.gform_wrapper form .gfield--type-phone {
    margin-top: 10px;
}

.gform_wrapper form .gfield input[type="tel"] {
    margin-top: 15px;
}

/* TEXT / NUMBER */
.gform_wrapper form .gfield--type-text,
.gform_wrapper form .gfield--type-email,
.gform_wrapper form .gfield--type-number {
    margin-top: 10px;
}

.gform_wrapper form .gfield input[type="text"],
.gform_wrapper form .gfield input[type="email"],
.gform_wrapper form .gfield input[type="number"],
.gform_wrapper form .gfield input[type="password"] {
    margin-top: 15px;
}


/* ADRESSE */
.gform_wrapper form .gfield--type-address {
    margin-top: 10px;
}

.gform_wrapper form .gfield .ginput_container_address {
    margin-top: 15px;
}


/* Custom select2 multichoice */
.gfield--type-multiselect label {
    opacity: 1 !important;
}

.gfield--type-multiselect .chosen-container-multi {
    background-color: #ff000000 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-bottom: 1px solid #fff !important;
    margin-top: 15px !important;
}

.gfield--type-multiselect .chosen-container-active {
    outline-color: #ff000000 !important;
}

.gfield--type-multiselect .chosen-choices {
    padding-left: 0 !important;
}

.gfield--type-multiselect .chosen-choices .search-choice {
    background-color: var(--e-global-color-primary) !important;
}


/* FILE UPLOAD */
.gfield--type-fileupload .gfield_description.gform_fileupload_rules
{
    color: #fff !important;
}


/* STEP PAGES */
.gf_page_steps .gf_step_number {}

.gf_page_steps .gf_step_number:before {
    content: "";
}