.footer-t{
    display: flex;
}
.contacts-f,.map-f{
    width: 50%;
    height: 415px;
}
.map-f iframe{
   width: 100%;
   height: 100%;
}
.contacts-f>div{
    background: rgba(51, 51, 51, .7);
    padding: 40px 0;
    padding-left: calc(100% - 585px);
    width: calc(100% - calc(100% - 585px));
    height: calc(100% - 80px);
}
.contacts-f-headline{
    font-family: Montserrat;
    font-weight: bold;
    font-size: 50px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 80px;
}
/*.contacts-f-content{*/
    /*padding-right: 10px;*/
/*}*/
.contacts-f-content,.contacts-f-content a{
    font-family: Montserrat;
    font-size: 18px;
    color: #FFFFFF;
}
.contacts-f-content>div{
    display: flex;
    margin-bottom: 30px;
}
.contacts-f-content>div>div{
    display: flex;
    flex-direction: column;
}
.contacts-f-content>div>div a{
    margin-bottom: 10px;
}
.contacts-f-content>div>div a:last-child{
    margin-bottom: 0;
}
.contacts-f-content img{
    margin-right: 30px;
}
.footer-b{
    background: #333333;
}
.footer-b-content{
    width: 1170px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-family: Montserrat;
    font-size: 12px;
    color: #FFFFFF;
}
.footer-b-content>div:last-child{
    display: flex;
    align-items: center;
}
.footer-b-content>div:last-child span{
    margin-right: 10px;
}
.container_form{
    width: 100%;
}
.container_form>div{
    background: rgba(255, 255, 255, .6);
    padding: 50px 0;
    transition: .5s;
}
.container_form:hover >div{
    background: rgba(255, 255, 255, .4);
    transition: .5s;
}
.form_content{
    width: 1170px;
    margin: auto;
}
.form_headline{
    font-family: Montserrat;
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
    color: #333333;
    text-align: center;
    margin-bottom: 50px;
}
.form_inputs{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.form_inputs form >div{
    display: flex;
    align-items: center;
}
.form_inputs input{
    border: 2px solid #333333;
    box-sizing: border-box;
    border-radius: 5px;
    width: 510px;
    height: 57px;
    background: none;
    font-family: Montserrat;
    font-size: 14px;
    color: #333333;
    padding-left: 20px;
}
input::placeholder {
    color: #333333;
}
.form_inputs input:first-child{
    margin-right: 30px;
}
.form_button{
    margin-top: 40px;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    color: #F2F2F2;
    border-radius: 50px;
    background: #27AE60;
    padding: 18px 33px;
    cursor: pointer;
    position: relative;
    transition: border-radius linear 0.1s, width linear 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form_button.animate {
    width: 60px;
    height: 30px;
    /*width: 48px;*/
    /*height: 18px;*/
    min-width: 0;
    border-radius: 50%;
    color: transparent;
    transition: .5s;
    padding: 15px 0;
}
.form_button.animate:after {
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    border: 4px solid #fefefe;
    border-radius: 50%;
    border-left-color: transparent;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation: spin ease-in 2.5s forwards;
    animation-name: spin;
    -webkit-animation-name: spin;
    transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    animation-duration: 2.5s;
    -webkit-animation-duration: 2.5s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}
.form_button.animate.success:before {
    position: absolute;
    content: '';
    width: 25px;
    height: 12.5px;
    border: 4px solid #fefefe;
    border-right: 0;
    border-top: 0;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(0);
    transform: translate(-50%, -50%) rotate(0deg) scale(0);
    -webkit-animation: success ease-in 0.15s forwards;
    animation: success ease-in 0.15s forwards;
    animation-delay: 2.5s;
}
.form_button.animate.error {
    position: relative;
    -webkit-animation: vibrate ease-in 0.5s forwards;
    animation: vibrate ease-in 0.5s forwards;
    -webkit-animation-delay: 2.5s;
    animation-delay: 2.5s;
}
.form_button.animate.error:before {
    color: #fff;
    position: absolute;
    content: '!';
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    -webkit-animation: error ease-in 0.5s forwards;
    animation: error ease-in 0.5s forwards;
    animation-delay: 2.5s;
}
@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    90% {
        transform: translate(-50%, -50%) rotate(1080deg) scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    98% {
        -webkit-transform: translate(-50%, -50%) rotate(1080deg) scale(1);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(1080deg) scale(0);
    }
}
@keyframes success {
    from {
        transform: translate(-50%, -50%) rotate(0) scale(0);
    }
    to {
        transform: translate(-50%, -50%) rotate(-45deg) scale(1);
    }
}
@-webkit-keyframes success {
    from {
        -webkit-transform: translate(-50%, -50%) rotate(0) scale(0);
    }
    to {
        -webkit-transform: translate(-50%, -50%) rotate(-45deg) scale(1);
    }
}
@keyframes error {
    from {
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        background-color: #f44336;
    }
}
@-webkit-keyframes error {
    from {
        -webkit-transform: translate(-50%, -50%) scale(0);
    }
    to {
        -webkit-transform: translate(-50%, -50%) scale(1);
        background-color: #f44336;
    }
}
@keyframes vibrate {
    0%, 30%, 60%, 85%, 100% {
        left: 0;
        background-color: #f44336;
    }
    10%, 40%, 90%, 70% {
        left: -2px;
        background-color: #f44336;
    }
    20%, 50%, 80%, 95% {
        left: 2px;
        background-color: #f44336;
    }
}
.form_text,.form_text_call {
    width: 557px;
    height: 10px;
    border: none;
    position: absolute;
    top: 30px;
    margin: 0;
}
.form_text div{
    border: none;
    width: max-content;
}
.form_text_call{
    width: 370px;
    text-align: center;
    top: -38px;
}
#form_success,#form_success_call, #form_danger, #form_data {
    font-family: Montserrat;
    font-size: 16px;
    color: #31FF1E;
    margin: auto;
    display: none;
}
#form_danger, #form_data {
    color: #FF0008;
}
input.placeholder::-webkit-input-placeholder {
    color: #FF0008;
}
input.placeholder::-moz-placeholder {
    color: #FF0008;
}
/* Firefox 19+ */
input.placeholder:-moz-placeholder {
    color: #FF0008;
}
/* Firefox 18- */
input.placeholder:-ms-input-placeholder {
    color: #FF0008;
}



@media (max-width: 1200px) {
   .footer-t-content, .footer-b-content,.form_content {
        width: calc(100vw - 30px);
        margin: auto;
    }
    .contacts-f > div {
        padding: 40px 15px;
        width: calc(100% - 30px);
    }
}
@media (max-width: 1110px) {
    .menu_main-f {
        display: none;
    }
    .phones-f {
        width: 600px;
    }
    .form_inputs input {
        width: calc(50vw - 30px);
    }
    /*.form_inputs form>div {*/
    /*    display: flex;*/
    /*    flex-direction: column;*/
    /*}*/
    /*.form_inputs input:first-child {*/
    /*    margin: 0 0 30px 0;*/
    /*}*/
}

@media (max-width: 1000px) {
    .phones-f {
        width: 550px;
    }
    .container_form > div {
        padding: 30px 0;
    }
    .form_button {
        font-size: 16px;
        padding: 15px 38px;
    }
    .contacts-f-headline {
        font-size: 40px;
        margin-bottom: 60px;
    }
    .contacts-f-content, .contacts-f-content a {
        font-size: 16px;
    }
}

@media (max-width: 950px) {
    .phones-f {
        width: 500px;
    }
}
@media (max-width: 850px) {
    .phones-f {
        width: 450px;
    }
    .form_headline {
        margin-bottom: 30px;
    }
    .form_text_call {
        top: -25px;
    }
}
@media (max-width: 750px) {
    .phones-f > div img {
        margin-right: 5px;
    }

    .phones-f a {
        font-size: 12px;
    }

    .phones-f > div {
        margin: 0 15px 15px 0;
    }

    .phones-f {
        width: 350px;
    }
    .form_inputs form > div {
        flex-direction: column;
        align-items: flex-start;
    }
    .form_inputs input:first-child {
        margin:0 0 30px 0;
    }
    .form_inputs input {
        width: 400px;
    }
    .form_button {
        margin-top: 30px;
    }
    .footer-t{
        flex-direction: column;
    }
    .contacts-f,.map-f {
        width: 100%;
    }
}
@media (max-width: 630px) {
    .footer-t-content {
        flex-direction: column;
    }

    .footer-t-content > div:first-child {
        display: none;
    }

    .footer-t-content > div:last-child {
        display: block;
    }

    .phones-f {
        flex-wrap: nowrap;
        width: max-content;
        height: unset;
    }

    .email-f {
        margin-bottom: 15px;
    }

    .phones-f > div {
        margin: 0 0 15px 0;
    }

    .phones-f > div img {
        margin-right: 10px;
    }

    .phones-f a {
        font-size: 15px;
    }
}
@media (max-width: 500px) {
    .footer-b-content span {
        display: none;
    }
    .form_headline {
        font-size: 20px;
    }
    .form_button {
        font-size: 14px;

    }
}
@media (max-width: 430px) {
    .form_inputs input {
        width: calc(100vw - 30px);
    }
    .contacts-f-headline {
        font-size: 30px;
        margin-bottom: 40px;
    }
    .contacts-f{
        height: 380px;
    }
    .map-f {
        height: 328px;
    }
}
@media (max-width: 370px) {
    .form_text_call {
        width: 100%;
    }
}