.gravity-form-with-image .gfield{
    width: 100% !important;
    margin: 0 !important;
}

.gravity-form-with-image .gfield_label{
    line-height: 0 !important;
    font-size: 0.7rem !important;
}

.gravity-form-with-image .ginput_container{
    margin-top: 0 !important;
}

.gravity-form-with-image input.large{
    padding: 5px !important;
}

.gravity-form-with-image textarea.large{
    height: 100px !important;
}

#gravity-form-with-image .image-gfwi{
    height: 100%;
    width: 100%;
    max-height: 469px;
    /*max-width: 328px;*/
    min-width: 328px;
    margin-bottom: 5rem;
    object-fit: cover !important;
    border-radius: 20px !important;
}

/*___________________________________________*/

.gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper form textarea,
.gform_wrapper form select{
    height: 40px;
    margin: -2px;
}

span#input_2_1_3_container,
span#input_2_1_6_container,
span#input_2_7_3_container,
span#input_2_8_4_container {
    display: flex;
    flex-direction: column-reverse;
}

.ginput_container.ginput_container_consent {
    display: flex;
    gap: 10px;
}

div#gform_fields_2 label {
    font-size: 12px !important;
}

label.gfield_consent_label {
    color: black;
    font-weight: 500;
    font-size: 10px !important;
    margin-bottom: 0px !important;
}

legend.gfield_label.gfield_label_before_complex {
    font-size: 13px !important;
}

.gform_wrapper.gravity-theme .ginput_container_address span {
    flex: 1 1 100% !important; 
}

div#input_2_7 {
    flex-grow: 1;
}

input#gform_submit_button_2 {
    width: 158px;
    border-radius: 21px;
    height: 48px;
    margin: auto;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer{
    padding:0px;
}

span#input_8_11_3_container,
span#input_8_11_6_container,
span#input_3_11_3_container,
span#input_3_11_6_container,
span#input_7_1_3_container,
span#input_7_1_6_container {
    display: flex;
    flex-direction: column-reverse;
}


form#gform_3 label,
form#gform_7 label,
legend.gfield_label.gfield_label_before_complex{
    font-weight: 900 !important;
}

.gform_wrapper.gravity-theme .gfield_label,
form#gform_3 label,
form#gform_7 label,
.gform_wrapper .gfield_required .gfield_required_text{
    color: #d31145;
}

legend.gfield_label.gfield_label_before_complex{
    color: #d31145 !important;
}


.gform_wrapper .gfield_required .gfield_required_text ,
.gform_wrapper .gfield_required .gfield_required_text,
.gform_wrapper .gfield_required .gfield_required_text, 
.gform_wrapper .gfield_required .gfield_required_text{
  font-size: 0;      /* oculta el texto */
}
.gform_wrapper .gfield_required .gfield_required_text::after,
.gform_wrapper .gfield_required .gfield_required_text::after,
.gform_wrapper .gfield_required .gfield_required_text::after, 
.gform_wrapper .gfield_required .gfield_required_text::after {
  content: '*';
  font-size: 1rem;   /* tamaño visible del asterisco */
}

label.gfield_consent_label,
label.gfield_consent_label{
    color: #333 !important;
    font-weight: 500 !important;
}

.gform_wrapper.gravity-theme .ginput_complex label, 
.gform_wrapper.gravity-theme .ginput_complex legend{
    line-height: 0 !important;
    font-size: 0.7rem !important;
}

.gform_wrapper.gravity-theme .ginput_complex label, 
.gform_wrapper.gravity-theme .ginput_complex legend,
.gform_wrapper.gravity-theme .gfield_label,
legend.gfield_label.gfield_label_before_complex{
    font-size: 14px !important;
}

.gform_wrapper .gfield_required .gfield_required_text{
    display:none;
}

div#input_3_11 label,
div#input_7_1 label {
    height: 16px;
}

.gform_wrapper.gravity-theme .gfield_label {
    height: 17px;
    line-height: 1 !important;
}

span#input_8_11_3_container label,
#field_8_4 label,
#field_8_12 label,
#field_8_13 label,
#field_8_14 label,
#field_8_15 label,
#field_8_23 label,
#field_8_24 label,
#field_8_18 label,
#field_8_25 label,
#input_7_1 label,
#field_8_26 label {
    color: #d31145;
    font-weight: 900;
    /*font-family: "HDUAlrightSans-Black", Verdana;*/
}

html[lang="vi"] body span#input_8_11_3_container label,
html[lang="vi"] body #field_8_4 label,
html[lang="vi"] body #field_8_12 label,
html[lang="vi"] body #field_8_13 label,
html[lang="vi"] body #field_8_14 label,
html[lang="vi"] body #field_8_15 label,
html[lang="vi"] body #field_8_23 label,
html[lang="vi"] body #field_8_24 label,
html[lang="vi"] body #field_8_18 label,
html[lang="vi"] body #field_8_25 label,
html[lang="vi"] body #input_7_1 label,
html[lang="vi"] body #field_8_26 label{
    font-family:  Verdana !important;
}

html[lang="en-US"] body span#input_8_11_3_container label,
html[lang="en-US"] body #field_8_4 label,
html[lang="en-US"] body #field_8_12 label,
html[lang="en-US"] body #field_8_13 label,
html[lang="en-US"] body #field_8_14 label,
html[lang="en-US"] body #field_8_15 label,
html[lang="en-US"] body #field_8_23 label,
html[lang="en-US"] body #field_8_24 label,
html[lang="en-US"] body #field_8_18 label,
html[lang="en-US"] body #field_8_25 label,
html[lang="en-US"] body #input_7_1 label,
html[lang="en-US"] body #field_8_26 label{
    font-family: "Alright Sans" !important;
}

.gform_wrapper.gravity-theme .gfield select.medium {
    width: 100% !important;
}


div#field_8_15 {
    grid-column: span 6;
}

span#input_2_1_6_container {
    padding-right: 0px !important;
}

span#input_8_11_3_container label {
    margin-bottom: 15px;
}

legend.gfield_label.gfield_label_before_complex {
  text-transform: uppercase;
}

@media (max-width: 768px) {
    #gravity-form-with-image .image-gfwi {
        width: 100% !important;
        max-height: 490px;
        margin-top: 40px;
    }
    .our-products-style{
        padding-right: 4px !important;
        padding-left: 4px !important;
    }
    span#input_2_1_3_container{
        margin-bottom: 22px;
    }
    label#input_2_1_3{
        margin-bottom: 22px;
    }
    #input_2_1_3_container label {
        margin-bottom: 14px !important;
    }
    #input_2_1_6_container label {
        margin-bottom: 14px;
    }
    #input_2_7_3_container label {
        margin-bottom: 14px;
        margin-top: 8px;
    }
    #input_2_8_4_container label {
        margin-bottom: 14px;
    }
    #field_2_11{
        margin-top: 20px !important;
    }
    #field_2_11 .gfield_label{
        color:#212F37 !important;
        margin-bottom: 14px !important;
    }
    .gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
    .gform_wrapper form textarea,
    .gform_wrapper form select{
        height: 44px;
    }
    #input_2_14 {
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
        background-repeat: no-repeat;
        background-position: right 10px center;
        color:#212F37;
    }
    label.gfield_consent_label,
    label.gfield_consent_label{
        color: #212F37 !important;
        font-weight: 500 !important;
    }
    input#gform_submit_button_2 {
        background-color: #BA0C2F !important;
        height: 42px !important;
    }
    .ginput_container.ginput_container_consent {
        align-items: flex-start;
    }
    div#field_8_15 {
        grid-column: 1/-1 !important;
    }
}
