.site-footer{
    div.gform_wrapper{
        margin-top: 5px;
    }
}

body {
    div.gform_wrapper{
        .gform_heading{
            display: none;
        }
        .gform_confirmation_message{
            color: #999;
        }
        .gform_validation_errors{
            display: none;
        }
        form{
            div.gform_body.gform-body{
                .gform_fields{
                    row-gap: 10px;
                    .gfield{
                        display: flex;
                        flex-direction: column;

                        &.gform_hidden{
                            display: none;
                        }
                        &.gfield_visibility_hidden{
                            display: none;
                        }

                        .gform-field-label{
                            order: 1;
                            color: #fff;
                            font-size: 16px;
                            .gfield_required{
                                display: none;
                            }
                        }
                        .gfield_description:not(.validation_message){
                            color: #fff;
                            order: 2;
                            font-size: 13px;
                        }
                        .validation_message{
                            order: 4;
                        }
                        .ginput_container{
                            order: 3;
                            input{
                                box-shadow: none;
                                outline: unset;
                                border: 0;
                                max-width: 100%;
                                padding: 10px 5px;
                                height: auto;
                                background-color: transparent;
                                -webkit-box-shadow: none;
                                box-shadow: none;
                                border-width: 0 0 1px;
                                border-style: solid;
                                display: block;
                                width: 100%;
                                line-height: 1.5em;
                                font-size: 16px;
                                font-weight: 400;
                                color: #1a1a1a;
                                background-image: none;
                                border-bottom: 1px solid #323232;
                                border-radius: 0;
                                &:focus{
                                    border-bottom-width: 1px;
                                    border-color: $primary-color;
                                }
                            }
                            textarea{
                                outline: none;
                                max-width: 100%;
                                padding: 10px 5px;
                                height: auto;
                                background-color: transparent;
                                -webkit-box-shadow: none;
                                box-shadow: none;
                                border-width: 0 0 1px;
                                border-style: solid;
                                display: block;
                                width: 100%;
                                line-height: 1.5em;
                                font-size: 16px;
                                font-weight: 400;
                                color: #1a1a1a;
                                background-image: none;
                                border-bottom: 1px solid #323232;
                                border-radius: 0;
                                height: 120px;
                                &:focus{
                                    border-bottom-width: 1px;
                                    border-color: $primary-color;
                                }
                            }
                            select{
                                color: #fff;
                                background-color: transparent;
                                outline: none;
                                box-shadow: none;
                                border-radius: 0;
                                border: 0;
                                border-bottom: 1px solid #fff;
                            }
                        }
                    }
                }
            }
            div.gform_footer.gform-footer{
                margin-top: 25px;
                position: relative;
                .gform-button-box{
                    position: relative;
                    font-weight: 300;
                    font-family: $oswald-font;
                    text-transform: uppercase;
                    color: #fff;
                    font-size: 16px;
                    line-height: 1.2em;
                    letter-spacing: 3px;
                    border: 1px solid $primary-color;
                    border-radius: 0;
                    -webkit-transition: background-color .15s ease-out;
                    transition: background-color .15s ease-out;
                    &::after{
                        content: '';
                        width: 0;
                        height: 100%;
                        position: absolute;
                        bottom: 0;
                        left: 100%;
                        z-index: 1;
                        background: $primary-color;
                        color: #fff;
                        -webkit-transition: all 0.3s ease;
                        transition: all 0.3s ease;
                    }
                    .gform-loader{
                        padding: 0 !important;
                        margin: 0 !important;
                        position: absolute;
                        top: calc(50% - 9px);
                        left: calc(50% - 9px);
                        transform: translate(-50%,-50%);
                        z-index: 9;
                    }
                    img{
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%,-50%);
                        z-index: 9;
                        width: 24px;
                        height: 24px;
                        border-radius: 50%;
                        mix-blend-mode: hard-light;
                    }

                    .gform_button.button{
                        position: relative;
                        z-index: 9;
                        font-weight: 500;
                        font-family: $barlow-font;
                        text-transform: uppercase;
                        background: transparent;
                        color: #fff;
                        padding: 13px 30px;
                        margin: 0;
                        font-size: 16px;
                        letter-spacing: 3px;
                        box-shadow: none;
                        outline: unset;
                        border: 0;
                    }
                    &:hover{
                        border-color: $primary-color;
                        &::after{
                            width: 100%;
                            left: 0;
                            -webkit-transition: width 0.3s ease;
                            transition: width 0.3s ease;
                        }
                        .gform_button.button{
                            color: #fff;
                        }
                    }
                }

            }

        }
    }

}
