:root {
    --gf-text: lato, sans-serif;
    --gf-black: #000000;
    --gf-white: #FFFFFF;
    --gf-red: #e94633;
}

.offerte-form,
.contact-form {
    font-size: 16px !important;
}

.offerte-form .gform_fields {
    row-gap: 16px;
}

.offerte-form .gform_fields select,
.offerte-form .gform_fields .ginput_container.ginput_container_select {
    position: relative;
}

.offerte-form .gform_fields select {
    appearance: none;
    width: 100%;
    padding-right: 40px;
}

.offerte-form .gform_fields .ginput_container.ginput_container_select:after {
    content: "\2303" !important; /* Unicode for a down arrow */
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(180deg) !important;
    pointer-events: none !important;
    color: white !important;
}

.offerte-form .gform_body .gform_fields .gfield_label,
.offerte-form .gform_body .gform_fields .gfield_legend,
.offerte-form .gform_body .gform_fields .gform-field-label,
.contact-form .gform_body .gform_fields .gfield_label,
.contact-form .gform_body .gform_fields .gfield_legend,
.contact-form .gform_body .gform_fields .gform-field-label {
    color: var(--gf-white) !important;
}

.offerte-form .gform_fields .ginput_container input,
.offerte-form .gform_fields .ginput_container select,
.offerte-form .gform_fields .ginput_container textarea,
.contact-form .gform_fields .ginput_container input,
.contact-form .gform_fields .ginput_container select,
.contact-form .gform_fields .ginput_container textarea {
    outline: none !important;
    box-shadow: none;
}

.offerte-form .gform_fields .ginput_container.ginput_container_consent {
    margin-top: 30px;
}

.offerte-form .gform_fields .ginput_container.ginput_container_consent a,
.contact-form .gform_fields .ginput_container.ginput_container_consent a {
    color: var(--gf-white);
    text-decoration: underline;
}

/*CHECKBOXES*/
.offerte-form .gform_fields .gfield input[type="checkbox"],
.offerte-form .gform_fields .gfield input[type="radio"],
.contact-form .gform_fields .gfield input[type="checkbox"],
.contact-form .gform_fields .gfield input[type="radio"] {
    height: 28px !important;
    width: 28px !important;
    border-radius: 8px !important;
}

.offerte-form .gform_fields .gfield input[type="checkbox"]:checked,
.offerte-form .gform_fields .gfield input[type="radio"]:checked,
.contact-form .gform_fields .gfield input[type="checkbox"]:checked,
.contact-form .gform_fields .gfield input[type="radio"]:checked {
    position: relative;
    box-shadow: none;
    padding: 12px;
    border-radius: 0;
    display: inline-block;
    outline: none !important;
    vertical-align: middle;
}

.offerte-form .gform_fields .gfield input[type="checkbox"]:checked:before,
.offerte-form .gform_fields .gfield input[type="radio"]:checked:before,
.contact-form .gform_fields .gfield input[type="checkbox"]:checked:before,
.contact-form .gform_fields .gfield input[type="radio"]:checked:before {
    display: none;
}

.offerte-form .gform_fields .gfield input[type="checkbox"]:checked:after,
.offerte-form .gform_fields .gfield input[type="radio"]:checked:after,
.contact-form .gform_fields .gfield input[type="checkbox"]:checked:after,
.contact-form .gform_fields .gfield input[type="radio"]:checked:after {
    content: '\2713';
    font-size: 25px;
    position: absolute;
    top: -4px;
    left: 4px;
    color: var(--gf-red);
    line-height: 32px;
}

.offerte-form .gform_footer,
.contact-form .gform_footer {
    justify-content: end;
}

.offerte-form .gform_footer input[type=submit],
.contact-form .gform_footer input[type=submit],
.offerte-form .gform_footer input.button,
.contact-form .gform_footer input.button {
    font-family: magistral-condensed, 'sans-serif' !important;
    background-color: transparent !important;
    text-transform: uppercase !important;
    color: var(--gf-red) !important;
    font-size: 22px !important;
    border: none !important;
    transition: 250ms ease-in-out !important;
}


.offerte-form .gform_footer input[type=submit]:hover,
.contact-form .gform_footer input[type=submit]:hover,
.offerte-form .gform_footer input.button:hover,
.contact-form .gform_footer input.button:hover {
    color: var(--gf-white) !important;
    letter-spacing: 2px !important;
}

/**
  /$$$$$$                        /$$                           /$$
 /$$__  $$                      | $$                          | $$
| $$  \__/  /$$$$$$  /$$$$$$$  /$$$$$$    /$$$$$$   /$$$$$$$ /$$$$$$
| $$       /$$__  $$| $$__  $$|_  $$_/   |____  $$ /$$_____/|_  $$_/
| $$      | $$  \ $$| $$  \ $$  | $$      /$$$$$$$| $$        | $$
| $$    $$| $$  | $$| $$  | $$  | $$ /$$ /$$__  $$| $$        | $$ /$$
|  $$$$$$/|  $$$$$$/| $$  | $$  |  $$$$/|  $$$$$$$|  $$$$$$$  |  $$$$/
 \______/  \______/ |__/  |__/   \___/   \_______/ \_______/   \___/

 */

.contact-form .gform_fields {
    row-gap: 22px !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
    "name name"
    "email email"
    "phone phone"
    "text text" !important;
}

@media screen and (min-width: 991px) {
    .contact-form .gform_fields {
        row-gap: 22px !important;
        grid-template-columns: 50% 50% !important;
        grid-template-areas:
    "name text"
    "email text"
    "phone text" !important;
    }
}

.contact-form .gform_fields .contact-name {
    grid-area: name;
}

.contact-form .gform_fields .contact-email {
    grid-area: email;
}

.contact-form .gform_fields .contact-phone-number {
    grid-area: phone;
}

.contact-form .gform_fields .contact-textarea {
    grid-area: text;
}


.contact-form .gform_fields .ginput_container.ginput_container_consent {
    text-align: right;
}

.contact-form .gform_fields .ginput_container_consent input[type="checkbox"] {
   border-radius: 999px !important;
}

.gform_validation_errors {
    display: none !important;
}

input[type=submit].gform_button.button:focus{
    outline: none!important;
}

