/*Error inputs*/
.error-input{
    border-color: #ff3737 !important;
    border-style: solid !important;
}

.main-form{
    position: relative;
}
.contacts-form input, .contacts-form textarea{
    transition: .7s;
    -webkit-transition: .7s;
}
.g-recaptcha{
    margin-top: 20px;
}
.feedback_response{
    position: absolute;
    bottom: 20px;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 17px;
    transition: 1s;
    -webkit-transition: 1s;
    visibility: hidden;
    opacity: 1;
}
.feedback_success{
    background: #13a913;
    /*bottom: -40px;*/
    visibility: visible;
    opacity: 1;
}
.feedback_error{
    background: #ff3737;
    /*bottom: -40px;*/
    visibility: visible;
    opacity: 1;
}
.checkbox-validate.error-input {
    outline: 2px solid #c00;
}

/*-- For checkbox ---*/

.checkbox input[type="checkbox"] {
    opacity: 0;
}

.checkbox label {
    position: relative;
    display: inline-block;

    /*16px width of fake checkbox + 6px distance between fake checkbox and text*/
    padding-left: 22px;
}

.checkbox label::before,
.checkbox label::after {
    position: absolute;
    content: "";

    /*Needed for the line-height to take effect*/
    display: inline-block;
}

/*Outer box of the fake checkbox*/
.checkbox label::before{
    height: 16px;
    width: 16px;

    border: 1px solid;
    left: 0px;

    top: 3px;
}

/*Checkmark of the fake checkbox*/
.checkbox label::after {
    height: 5px;
    width: 9px;
    border-left: 2px solid;
    border-bottom: 2px solid;

    transform: rotate(-45deg);

    left: 4px;
    top: 7px;
}

/*Hide the checkmark by default*/
.checkbox input[type="checkbox"] + label::after {
    content: none;
}

/*Unhide on the checked state*/
.checkbox input[type="checkbox"]:checked + label::after {
    content: "";
}

/*Adding focus styles on the outer-box of the fake checkbox*/
.checkbox input[type="checkbox"]:focus + label::before {
    outline: rgb(59, 153, 252) auto 5px;
}

.checkbox.error-input-checkbox label::before{
    border-color:red;
}

#contact-form .feedback_response {
     bottom: 4px;
}

#contact-form-4 .feedback_response {
    bottom: 4px;
}