

.form_wrapper {
    width: 100%;
    position: relative;
}
.form_wrapper div[role="form"] {
    width: 100%;
}
.form_wrapper h6 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
}
.wpcf7-form-control-wrap {
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
}
.form_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .form_wrapper textarea { font-family: var(--roboto); font-weight: 400;
    border: 0;
    outline: none;
    border: solid 1px var(--gray-light);
    background-color: transparent;
    padding:13px;
    display: inline-block;
    width: 100%;
    transition: all 0.4s;
    transition-timing-function: var(--cubic-bezier);
    border-radius: 4px;
    font-size: 16px; line-height: 16px;
}
.form_wrapper textarea {resize: none;}
.form_wrapper input:not([type="submit"]):focus, .form_wrapper textarea:focus {
    border: solid 1px var(--green) !important;
}
.form_wrapper .button_wrapper {
    display: inline-block;
    position: relative;
    z-index: 0;
    overflow: hidden;
    border-radius: 4px;
}
.form_wrapper .button_wrapper:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: var(--primery-color);
    z-index: -2;
    border-radius: 4px;
    transition: all 0.4s;
    transition-timing-function: var(--cubic_speed);
}
.form_wrapper .button_wrapper:hover:before {
    background-color: var(--primery-dark);

}
.form_wrapper .button_wrapper:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-100%, -50%);
    z-index: -1;
    opacity: 0;
    border-radius: 4px;
    background-color: var(--dark_gray);
    transition: all 0.4s;
    transition-timing-function: var(--cubic_speed);
    box-shadow: 0 0 10px var(--dark_gray), 0 0 20px var(--dark_gray), 0 0 25px var(--dark_gray), 0 0 30px var(--dark_gray), 0 0 40px var(--dark_gray), 0 0 50px var(--dark_gray), 0 0 60px var(--dark_gray), 0 0 70px var(--dark_gray);
}
.form_wrapper .button_wrapper:hover:after {
    opacity: 1;
    transform: translate(-50%, -50%);
    top: 50%;
}
.ajax-loader {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}
.form_wrapper .button_wrapper input[type="submit"] {
    display: inline-block;
    padding: 17px 28px;
    text-transform: uppercase;
    font-family: var(--roboto);
    font-weight: 400;
    font-size: 17px;
    line-height: 17px;
    text-align: center;
    background-color: transparent;
    outline: none !important;
}
.form_wrapper .use-floating-validation-tip span.wpcf7-not-valid-tip {
    background-color: transparent;
    padding: 8px 15px;
    display: inline-block;
    border: none;
    border-radius: 4px;
    color: var(--light_red);
    font-size: 14px;
    line-height: 15px;
    position: absolute;
    right: 0px;
    bottom: initial;
    left: initial;
    width: auto;
    top: 22px;
    z-index: 0;
    text-align: right; display: none;
}
.form_wrapper .use-floating-validation-tip span.wpcf7-not-valid-tip:before {
    content: "";
    position: absolute;
    top: calc(100% - 2px);
    right: 20px;
    z-index: 1;
    border-left: solid 10px var(--shadow_0);
    border-top: solid 10px var(--shadow);
    border-right: solid 10px var(--shadow_0);
    border-bottom: solid 10px var(--shadow_0);
}
.form_wrapper .wpcf7-response-output {
    margin: 10px 0 0 0;
    background-color: var(--shadow);
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    color: var(--light_red);
    font-size: 14px;
    line-height: 15px;
}
.form_wrapper .wpcf7-response-output.wpcf7-display-none{display: none;}
.form_wrapper label {
    width: 100%;
    display: inline-block;
    position: relative;
}
.form_wrapper label .wpcf7-form-control-wrap {
    width: auto;
}
.form_wrapper span.wpcf7-list-item {
    margin-left: 0;
}
/* checkbox Radio button */

.form_wrapper .wpcf7-checkbox > span {
    display: inline-block;
    width: 33.33333333333%;
    margin-bottom: 10px;
}
.form_wrapper input[type="checkbox"], input[type="radio"] {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 3;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.form_wrapper input[type="checkbox"] ~ span, .form_wrapper input[type="radio"] ~ span {
    padding-left: 26px;
    display: inline-block;
    padding-right: 15px;
    margin-right: 30px;
}
.form_wrapper input[type="checkbox"] ~ span:before, .form_wrapper input[type="radio"] ~ span:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    display: inline-block;
    border: solid 1px var(--gray-mid);
    left: 0;
    top: 1px;
    transition: all 0.3s;
    transition-timing-function: cubic-bezier(.65, 1.3, .5, 1.3);
}
.form_wrapper input[type="radio"] ~ span:before {
    border-radius: 50%;
}
.form_wrapper input[type="checkbox"]:checked ~ span:before, .form_wrapper input[type="radio"]:checked ~ span:before {
    border: solid 2px var(--primery-color);
}
.form_wrapper input[type="checkbox"] ~ span:after{
    content: "\f00c";
    position: absolute;
    font-family: var(--icons);
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: transparent;
    color: var(--primery-color);
    left: 3px;
    top: 0px;
    opacity:0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s;
    transition-timing-function: cubic-bezier(.65, 1.3, .5, 1.3);
}
.form_wrapper input[type="checkbox"]:checked ~ span:after {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    
}
.form_wrapper input[type="radio"] ~ span:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: var(--gray-light);
    left: 5px;
    top: 6px;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: all 0.3s;
    transition-timing-function: cubic-bezier(.65, 1.3, .5, 1.3);
}
.form_wrapper input[type="radio"] ~ span:after {
    border-radius: 50%;
}
.form_wrapper input[type="radio"]:checked ~ span:after {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    background-color: var(--primery-color);
}
.form_wrapper p {
    font-size: 15px;
    color: var(--gray-mid);
    padding-top: 15px;
}


input.wpcf7-not-valid {
    border: solid 1px #ee6363 !important;
}
.wpcf7-not-valid span.wpcf7-list-item input[type="checkbox"] ~ span:before{border: solid 1px #ee6363 !important;}