div.contatti div.gform_wrapper{
    max-width: 500px;
    margin: 0 auto;
}
div.gform_wrapper *{
    margin: 0px !important;
}

/*INPUTS*/
div.gform_wrapper div.gform_body input,
div.gform_wrapper div.gform_body select,
div.gform_wrapper div.gform_body textarea{
    margin-bottom: 20px !important;
    padding: 10px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    min-height: unset !important;
    font-weight: 500 !important;
    font-family: sans-serif !important;
    background-color: white !important;
    border: 1px solid #c2c2c2 !important;
    border-radius: 3px;
    color: #222222;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
div.gform_wrapper div.gform_body input,
div.gform_wrapper div.gform_body select{
    border-left-width: 10px !important;
}
div.gform_wrapper div.gform_body input:focus,
div.gform_wrapper div.gform_body select:focus,
div.gform_wrapper div.gform_body textarea:focus{
    border-color: var(--first-color) !important;
}
div.gform_wrapper div.gform_body li.gfield:not(.one_field),
div.gform_wrapper div.gform_body div.ginput_complex  > span{
    padding-right: 0px !important;
}
div.gform_wrapper div.gform_body div.ginput_container_date input{
    width: 100% !important;
}
div.gform_wrapper div.gform_body div.ginput_container_time > input{
    max-width: unset;
}
div.gform_wrapper div.gform_body span.gfield_required{
	display: inline-block !important;
	width: unset !important;
}
/*CONSENT CUSTOMIZATION*/
div.gform_wrapper div.gform_body div.ginput_container_consent input{
    margin-bottom: 0px !important;
}
div.gform_wrapper div.ginput_container.ginput_container_consent label:before{
    display: inline-block;
    content: "";
    position: relative;
    height: 20px;
    width: 20px;
    margin-top: -2px;
    margin-right: 10px;
    vertical-align: middle;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    color: white;
    background-color: var(--first-color);
    border: 2px solid white;
    outline: 2px solid var(--first-color);
    border-radius: 100% !important;
    cursor: pointer;
    z-index: 1;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
div.gform_wrapper div.ginput_container.ginput_container_consent input{
    position: absolute;
    height: 20px;
    width: 20px;
    margin-top: 4px !important;
    opacity: 0;
    cursor: pointer;
    z-index: 999999;
}
div.gform_wrapper div.ginput_container.ginput_container_consent input:checked + label:before{
    background-color: var(--first-color);
    content: "\f00c";
}

/*NAME*/
div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_name span{
    width: 50%;
    float: left;
}
div.gform_wrapper div.gform_body li.one_field div.ginput_complex.ginput_container_name span{
    width: 100%;
}

/*PRIVACY CONSENT*/
div.gform_wrapper div.gform_body div.ginput_container_consent label.gfield_consent_label{
    font-size: 14px;
}
div.gform_wrapper div.gform_body div.ginput_container_consent label.gfield_consent_label a{
    text-decoration: underline;
}
div.gform_wrapper div.gform_body div.charleft{
    display: none;
}

/*DATE INPUT*/
div.gform_wrapper div.gform_body div.ginput_container_date{
    position: relative;
}
div.gform_wrapper div.gform_body div.ginput_container_date:before{
    display: block;
    content: "\f073";
    font-family: "Font Awesome 5 Pro";
    color: #ababab;
    position: absolute;
    top: calc(50% - 20px);
    right: 20px;
    height: 20px;
    width: 20px;
    font-size: 20px;
    line-height: 1;
}
div.gform_wrapper div.gform_body div.ginput_container_date img{
    display: none !important;
}

/*TIME INPUT*/
div.gform_wrapper div.gform_body div.clear-multi{
    display: grid !important;
    grid-template-columns: 10.5fr 10fr;
    grid-column-gap: 10px;
}
div.gform_wrapper div.gform_body div.ginput_container_time{
    display: inline-block;
    width: 100% !important;
    max-width: unset;
}
div.gform_wrapper div.gform_body div.ginput_container_time:last-of-type{
    text-align: right;
}
div.gform_wrapper div.gform_body div.ginput_container_time > i{
    display: inline-block;
    font-size: 20px;
    line-height: 40px;
    height: 100% !important;
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    -o-transform: translateX(5px);
    transform: translateX(5px);
}

/*ADDRESS INPUT*/
div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_address .ginput_left{
    padding-right: 16px !important;
}
div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_address .ginput_right{
    padding-right: 0px !important;
}

/*REPETABLE INPUTS*/
div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons a img{
    display: none;
}
div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons{
    width: 115px !important;
    vertical-align: top !important;
    padding: 5px 0px 0px 10px !important;
}
div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons a{
    display: block;
    width: 50px;
    height: 50px;
    font-size: 20px;
    line-height: 45px;
    text-align: center;
    background-color: var(--first-color);
    border-radius: 10px;
    float: left;
}
div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons a.add_list_item{
    margin-right: 5px !important;
}
div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons a.add_list_item:before{
    content: "\f055";
    font-family: "Font Awesome 5 Pro";
    color: white;
}
div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons a.delete_list_item:before{
    content: "\f056";
    font-family: "Font Awesome 5 Pro";
    color: white;
}

/*VALIDATON ERRORS*/
div.gform_wrapper div.gform_body div.validation_message{
    padding: 0px;
}
div.gform_wrapper div.validation_error{
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.2;
}

/*FORM FOOTER INPUT*/
div.gform_wrapper div.gform_footer input{
    height: unset !important;
    line-height: unset !important;
    padding: 10px 40px !important;
    border-radius: 3px !important;
    border-color: var(--first-color) !important;
    color: white !important;
    background-color: var(--first-color) !important;
    cursor: pointer !important;
    text-align: center;
}
div.gform_wrapper div.gform_footer input:hover{
    border-color: var(--second-color) !important;
    background-color: var(--second-color) !important;
}
/*ADD white_submit TO PARENT CLASS*/
footer div.gform_wrapper div.gform_footer input,
div.white_submit div.gform_wrapper div.gform_footer input{
    border-color: white !important;
    color: var(--first-color) !important;
    background-color: white !important;
}
footer div.gform_wrapper div.gform_footer input:hover,
div.white_submit div.gform_wrapper div.gform_footer input:hover{
    border-color: white !important;
    color: var(--second-color) !important;
    background-color: white !important;
}
/*ADD green_submit TO PARENT CLASS*/
div.green_submit div.gform_wrapper div.gform_footer input{
    border-color: var(--second-color) !important;
    color: white !important;
    background-color: var(--second-color) !important;
}
div.green_submit div.gform_wrapper div.gform_footer input:hover{
    border-color: var(--first-color) !important;
    color: white !important;
    background-color: var(--first-color) !important;
}

/*FOOTER FORMS*/
footer div.gform_widget h5,
footer div.gform_widget div.gform_wrapper{
    margin: 0px !important;
}
footer div.gform_widget div.gform_body{
    margin-top: 20px !important;
}

/*ASIDE FORMS*/
aside div.gform_widget{
    max-width: 800px;
    margin: 0 auto;
}
aside div.widget div.gform_wrapper form{
    padding: 10px 0px 10px 15px;
}
aside div.gform_widget h3.widget-title{
    background-color: unset !important;
    color: #222222 !important;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px !important;
    font-weight: 700 !important;
}
aside div.gform_wrapper div.gform_footer{
    padding-right: 20px;
}

/*RESPONSIVE*/
@media screen and (min-width: 600px){
    div.gform_wrapper form#gform_2 div.gform_body ul li#field_2_3{
        padding-right: 8px !important;
    }
    div.gform_wrapper form#gform_2 div.gform_body ul li#field_2_6{
        padding-left: 8px;
    }
    div.gform_wrapper form#gform_2 div.gform_body ul li#field_2_3,
    div.gform_wrapper form#gform_2 div.gform_body ul li#field_2_6{
        display: inline-block;
        width: 50%;
        clear: none;
    }
}
@media screen and (max-width: 600px){
    div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_name span{
        width: 100%;
    }
    div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_address span.ginput_left,
    div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_address span.ginput_right{
        padding-right: 0px !important;
    }
}
@media screen and (min-width: 1000px){
    div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_address span.address_state{
        width: 25%;
        padding-right: 16px !important;
    }
    div.gform_wrapper div.gform_body div.ginput_complex.ginput_container_address span.address_zip{
        width: 25%;
        padding-right: 0px !important;
    }
}
@media screen and (max-width: 1000px){
    div.gform_wrapper div.gform_body table.gfield_list tr,
    div.gform_wrapper div.gform_body table.gfield_list td{
        padding: 0px !important;
        border: none !important;
    }
    div.gform_wrapper div.gform_body table.gfield_list td::before {
        content: attr(data-label);
        font-size: 17px;
        line-height: 2;
        white-space: nowrap;
        display: block;
        clear: both;
        background-color: var(--first-color);
        color: white;
        font-family: Raleway,sans-serif;
    }
    div.gform_wrapper div.gform_body table.gfield_list td::after{
        display: none !important;
    }
    div.gform_wrapper div.gform_body table.gfield_list td input{
        margin-bottom: 0px !important;
    }
    div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons{
        margin-top: 0px !important;
    }
    div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons{
        width: 100% !important;
        padding-bottom: 5px !important;
    }
    div.gform_wrapper div.gform_body table.gfield_list td.gfield_list_icons a{
        height: 40px;
        width: 40px;
        line-height: 35px;
        float: none !important;
    }
}
