.footer {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
}
.footer_contacts {
    background: #FFFFFF;
    padding: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    max-width: 370px;
    width: 100%;
}
.footer_title {
    font-style: normal;
    font-weight: 800;
    font-size: 30px;
    line-height: 60px;
}
.footer_address {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    /*font-size: 18px;*/
    /*line-height: 28px;*/
    margin-bottom: 20px;
    padding-left: 44px;
    position: relative;
    line-height: 24px;
    font-size: 16px;
}
.footer_address:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../assets/logo/geo.svg);
}
.footer_phone {
    position: relative;
    margin-bottom: 20px;
    padding-left: 44px;

}
.footer_phone:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../../assets/logo/phone.svg);
}
.footer_phone a {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    /*font-size: 18px;*/
    /*line-height: 28px;*/
    color: #3E3D3D;
    line-height: 24px;
    font-size: 16px;
}
.footer_email {
    position: relative;
    margin-bottom: 20px;
    padding-left: 44px;
}
.footer_email:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../assets/logo/mail.svg);
}
.footer_email a {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    /*font-size: 18px;*/
    /*line-height: 28px;*/
    color: #3E3D3D;
    line-height: 24px;
    font-size: 16px;
}
.messengers,
.messengers_items {
    display: flex;
    align-items: center;
}
.messengers_items {
    gap: 10px;
}
.messengers {
    padding-left: 44px;
    margin-bottom: 46px;
}
.messengers_item a img {
    transition: all 0.3s ease-in-out;
}
.messengers_item a img:hover {
    transition: all 0.3s ease-in-out;
    transform: scale(1.1);
}
.messengers_text {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    /*font-size: 18px;*/
    /*line-height: 28px;*/
    color: #000000;
    margin-right: 15px;
    line-height: 24px;
    font-size: 16px;
}

.social_networks_items {
    display: flex;
    gap: 10px;
}
.social_networks_item a img {
    transition: all 0.3s ease-in-out;
}
.social_networks_item a img:hover {
    transition: all 0.3s ease-in-out;
    transform: scale(1.1);
}

.footer_form {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 610px;
    height: 100%;
    background: #6699FF;
}
.footer_form_code {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.footer_form_code iframe {
    overflow: hidden;
}
.footer_form_cf {
    text-align: center;
}
.wpcf7-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#wpcf7-f7-o4 > form > span {
    margin-bottom: 38px;
}
#wpcf7-f7-o4 > form > span > input {
    width: 350px;
    height: 42px;
    padding-left: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    border: none;
}
#wpcf7-f7-o4 > form > span > input::placeholder {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 19px;
    color: #000000;
    opacity: .5;
}
#wpcf7-f7-o4 > form > .sent_btn input.wpcf7-submit {
    width: 100%;
    height: 42px;
    background: linear-gradient(142.93deg, #FFFF66 17.05%, #FFE353 88.95%);
    box-shadow: 0px 2px 10px #DFC630;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 0 28px;
    font-family: "Raleway", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #3E3D3D;
    border: none;
    position: relative;
}
.sent_btn {
    position: relative;
    width: 100%;
}
.sent_btn:after {
    position: absolute;
    content: '';
    top: 4px;
    right: 6px;
    width: 33px;
    height: 33px;
    background: #FFFFFF;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    z-index: 1;
}
.sent_btn:before {
    position: absolute;
    content: '';
    top: 21px;
    right: 2px;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(https://agro.testarea.pp.ua/wp-content/themes/agro/assets/logo/phonecalback.svg);
    z-index: 2;
}
@media only screen
and (min-device-width: 414px)
and (max-device-width: 1024px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2.75) {
    .footer_form {
        max-width: 400px;
    }
    .footer_contacts {
        max-width: 330px;
    }
}
button.back-to-top{
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    height: 0px;
    width: 0px;
    overflow: hidden;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    color: transparent;
    clear: both;
    visibility: hidden;
    position: fixed;
    cursor: pointer;
    display: block;
    border: none;
    right: 50px;
    bottom: 75px;
    font-size: 0px;
    outline: 0 !important;
    z-index: 99;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
button.back-to-top:hover,
button.back-to-top:active,
button.back-to-top:focus,{
    outline: 0 !important;
}
button.back-to-top::before,
button.back-to-top::after {
    content: "";
    display: block;
    vertical-align: middle;
    border-bottom: solid 10px #6699ff;
    border-left: solid 10px transparent;
    line-height: 0;
    border-right: solid 10px transparent;
    height: 0;
    margin: 18px auto 0;
    width: 0;
    border-radius:20px;
    visibility: hidden;
}
button.back-to-top.show::after,
button.back-to-top.show::before{
    visibility: visible;
}
button.back-to-top::after {
    border-bottom-color:#fff;
    position: relative;
    top:-24px;
}
button.back-to-top.show {
    display: block;
    background: #fff;
    color: #00ab6c;
    font-size: 25px;
    right: 25px;
    bottom: 50px;
    height: 50px;
    width: 50px;
    visibility: visible;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
}
button.back-to-top.show:active {
    box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
}
@media only screen and (max-width: 600px) {
    .footer_form {
        position: relative;
        padding: 50px 0;
    }

    .footer_contacts {
        padding: 0;
    }

    .footer_contacts_block {
        padding: 16px;
        margin-bottom: 50px;
    }

    #wpcf7-f7-o4 > form > span > input {
        width: 285px;
    }


}

.privacy_link {
    padding: 20px 0 0 0;

}
.privacy_link a {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #3E3D3D;
    line-height: 24px;
    font-size: 16px;

    display: flex;
    align-items: center;
}
.privacy_link a svg {
    width: 25px;
    height: 25px;
    object-fit: contain;
    margin-right: 18px;
}